From 98140c687829d2bb0f7711b701b79dd00f7ffefe Mon Sep 17 00:00:00 2001 From: Bill He Date: Thu, 30 Nov 2023 17:34:10 -0800 Subject: [PATCH] Bump abacus --- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- src/lib/abacus/dydxChainTransactions.ts | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 37427bc..b7b1aa9 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@cosmjs/proto-signing": "^0.31.0", "@cosmjs/stargate": "^0.31.0", "@cosmjs/tendermint-rpc": "^0.31.0", - "@dydxprotocol/v4-abacus": "^1.1.3", + "@dydxprotocol/v4-abacus": "^1.1.4", "@dydxprotocol/v4-client-js": "^1.0.6", "@dydxprotocol/v4-localization": "^1.0.17", "@ethersproject/providers": "^5.7.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1accc93..bdb47df 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ dependencies: specifier: ^0.31.0 version: 0.31.0 '@dydxprotocol/v4-abacus': - specifier: ^1.1.3 - version: 1.1.3 + specifier: ^1.1.4 + version: 1.1.4 '@dydxprotocol/v4-client-js': specifier: ^1.0.6 version: 1.0.6 @@ -988,8 +988,8 @@ packages: resolution: {integrity: sha512-RpfLEtTlyIxeNPGKcokS+p3BZII/Q3bYxryFRglh5H3A3T8q9fsLYm72VYAMEOOIBLEa8o93kFLiBDUWKrwXZA==} dev: true - /@dydxprotocol/v4-abacus@1.1.3: - resolution: {integrity: sha512-LjJP80yubO4H2kNHO5XNQR7TBa0EL2U/sivADmWxc2V0U4VDk2+iAxJnpcxIO79IVoJjjRwdV56tImK9cNIe0w==} + /@dydxprotocol/v4-abacus@1.1.4: + resolution: {integrity: sha512-gml6qheFsPShE9p3FmzFeStYM9ZVhgMq0K0+y12V7pObnMKbumkOIISgCzc47idkah0GMNhiqwi9faD5SjOy/A==} dev: false /@dydxprotocol/v4-client-js@1.0.6: diff --git a/src/lib/abacus/dydxChainTransactions.ts b/src/lib/abacus/dydxChainTransactions.ts index 3687219..0a7db20 100644 --- a/src/lib/abacus/dydxChainTransactions.ts +++ b/src/lib/abacus/dydxChainTransactions.ts @@ -78,7 +78,7 @@ class DydxChainTransactions implements AbacusDYDXChainTransactionsProtocol { websocketUrl, validatorUrl, chainId, - nobleValidator, + nobleValidatorUrl, USDC_DENOM, USDC_DECIMALS, USDC_GAS_DENOM, @@ -109,7 +109,7 @@ class DydxChainTransactions implements AbacusDYDXChainTransactionsProtocol { ); this.compositeClient = compositeClient; - this.nobleClient = new NobleClient(nobleValidator); + this.nobleClient = new NobleClient(nobleValidatorUrl); if (this.nobleWallet) await this.nobleClient.connect(this.nobleWallet); // Dispatch custom event to notify other parts of the app that the network has been connected const customEvent = new CustomEvent('abacus:connectNetwork', {