@dydxprotocol/v4-client-js 3.0.0 → 3.0.2
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.
- package/CHANGELOG.md +3 -8
- package/build/cjs/examples/permissioned_keys_example.js +2 -2
- package/build/cjs/src/clients/composite-client.js +2 -2
- package/build/cjs/src/clients/modules/post.js +2 -2
- package/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/build/esm/examples/permissioned_keys_example.js +2 -2
- package/build/esm/src/clients/composite-client.d.ts +1 -2
- package/build/esm/src/clients/composite-client.d.ts.map +1 -1
- package/build/esm/src/clients/composite-client.js +2 -2
- package/build/esm/src/clients/modules/post.js +2 -2
- package/build/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/examples/permissioned_keys_example.ts +1 -1
- package/package.json +1 -1
- package/src/clients/composite-client.ts +2 -2
- package/src/clients/modules/post.ts +1 -1
|
@@ -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
|
@@ -1381,9 +1381,9 @@ export class CompositeClient {
|
|
|
1381
1381
|
|
|
1382
1382
|
async removeAuthenticator(
|
|
1383
1383
|
subaccount: SubaccountInfo,
|
|
1384
|
-
id:
|
|
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> {
|