@myx-trade/sdk 0.1.270 → 0.1.271-beta.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.
package/dist/index.d.mts CHANGED
@@ -773,6 +773,8 @@ interface PoolSymbolAllResponse {
773
773
  baseTokenIcon: string;
774
774
  baseToken: string;
775
775
  quoteToken: string;
776
+ baseDecimals: number;
777
+ quoteDecimals: number;
776
778
  }
777
779
 
778
780
  declare const getBaseUrlByEnv: () => "https://api-beta.myx.finance" | "https://api-test.myx.cash" | "https://api.myx.finance";
@@ -1361,9 +1363,11 @@ declare class SubScription {
1361
1363
  */
1362
1364
  subscribeKline(globalId: number, resolution: KlineResolution, callback: OnKlineCallback): void;
1363
1365
  unsubscribeKline(globalId: number, resolution: KlineResolution, callback: OnKlineCallback): void;
1364
- private getAccessToken;
1366
+ private _preSigner;
1367
+ private _preUserAddress;
1368
+ private getSdkAuthParams;
1365
1369
  private clientAuth;
1366
- private prevAccessToken;
1370
+ private prevUserAddress;
1367
1371
  /**
1368
1372
  * with auth methods
1369
1373
  */
package/dist/index.d.ts CHANGED
@@ -773,6 +773,8 @@ interface PoolSymbolAllResponse {
773
773
  baseTokenIcon: string;
774
774
  baseToken: string;
775
775
  quoteToken: string;
776
+ baseDecimals: number;
777
+ quoteDecimals: number;
776
778
  }
777
779
 
778
780
  declare const getBaseUrlByEnv: () => "https://api-beta.myx.finance" | "https://api-test.myx.cash" | "https://api.myx.finance";
@@ -1361,9 +1363,11 @@ declare class SubScription {
1361
1363
  */
1362
1364
  subscribeKline(globalId: number, resolution: KlineResolution, callback: OnKlineCallback): void;
1363
1365
  unsubscribeKline(globalId: number, resolution: KlineResolution, callback: OnKlineCallback): void;
1364
- private getAccessToken;
1366
+ private _preSigner;
1367
+ private _preUserAddress;
1368
+ private getSdkAuthParams;
1365
1369
  private clientAuth;
1366
- private prevAccessToken;
1370
+ private prevUserAddress;
1367
1371
  /**
1368
1372
  * with auth methods
1369
1373
  */