@myx-trade/sdk 0.1.272-beta.3 → 0.1.272-beta.5
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/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1981,6 +1981,8 @@ declare class Account {
|
|
|
1981
1981
|
private utils;
|
|
1982
1982
|
private client;
|
|
1983
1983
|
constructor(configManager: ConfigManager, logger: Logger, utils: Utils, client: MyxClient);
|
|
1984
|
+
/** Retry an async call a few times to tolerate intermittent RPC/decoding failures (e.g. BAD_DATA / 0x). */
|
|
1985
|
+
private withRetry;
|
|
1984
1986
|
getWalletQuoteTokenBalance(chainId: number, address?: string): Promise<{
|
|
1985
1987
|
code: number;
|
|
1986
1988
|
data: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -1981,6 +1981,8 @@ declare class Account {
|
|
|
1981
1981
|
private utils;
|
|
1982
1982
|
private client;
|
|
1983
1983
|
constructor(configManager: ConfigManager, logger: Logger, utils: Utils, client: MyxClient);
|
|
1984
|
+
/** Retry an async call a few times to tolerate intermittent RPC/decoding failures (e.g. BAD_DATA / 0x). */
|
|
1985
|
+
private withRetry;
|
|
1984
1986
|
getWalletQuoteTokenBalance(chainId: number, address?: string): Promise<{
|
|
1985
1987
|
code: number;
|
|
1986
1988
|
data: any;
|