Skip to content

Commit

Permalink
fix: typing (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo authored Oct 18, 2024
1 parent cf67d5d commit 2035784
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions v4-client-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion v4-client-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dydxprotocol/v4-client-js",
"version": "1.3.12",
"version": "1.3.13",
"description": "General client library for the new dYdX system (v4 decentralized)",
"main": "build/src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion v4-client-js/src/clients/modules/local-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class LocalWallet {
registry: generateRegistry(),
});
const accountData = await signer.getAccounts();
const firstAccount = accountData[0];
const firstAccount = accountData[0]!;
this.accounts = [...accountData];
this.address = firstAccount.address;
this.pubKey = encodeSecp256k1Pubkey(firstAccount.pubkey);
Expand Down

0 comments on commit 2035784

Please sign in to comment.