@dydxprotocol/v4-client-js 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,7 +78,7 @@ async function removeAuthenticator(
78
78
  subaccount: SubaccountInfo,
79
79
  id: Long,
80
80
  ): Promise<void> {
81
- await client.removeAuthenticator(subaccount, id);
81
+ await client.removeAuthenticator(subaccount, id.toString());
82
82
  }
83
83
 
84
84
  async function addTestAuthenticator(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-client-js",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "General client library for the new dYdX system (v4 decentralized)",
5
5
  "main": "build/cjs/src/index.js",
6
6
  "module": "build/esm/src/index.js",
@@ -1381,9 +1381,9 @@ export class CompositeClient {
1381
1381
 
1382
1382
  async removeAuthenticator(
1383
1383
  subaccount: SubaccountInfo,
1384
- id: Long,
1384
+ id: string,
1385
1385
  ): Promise<BroadcastTxAsyncResponse | BroadcastTxSyncResponse | IndexedTx> {
1386
- return this.validatorClient.post.removeAuthenticator(subaccount, id);
1386
+ return this.validatorClient.post.removeAuthenticator(subaccount, Long.fromString(id));
1387
1387
  }
1388
1388
 
1389
1389
  async getAuthenticators(address: string): Promise<GetAuthenticatorsResponse> {