@myx-trade/sdk 0.1.79 → 0.1.80
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 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -5
- package/dist/index.mjs +6 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1200,7 +1200,7 @@ declare class ConfigManager {
|
|
|
1200
1200
|
constructor(config: MyxClientConfig);
|
|
1201
1201
|
clear(): void;
|
|
1202
1202
|
startSeamlessMode(open: boolean): void;
|
|
1203
|
-
updateClientChainId(chainId: number): void;
|
|
1203
|
+
updateClientChainId(chainId: number, brokerAddress: string): void;
|
|
1204
1204
|
auth(params: Pick<MyxClientConfig, "signer" | "getAccessToken">): void;
|
|
1205
1205
|
private validateConfig;
|
|
1206
1206
|
/**
|
|
@@ -1759,7 +1759,7 @@ declare class MyxClient {
|
|
|
1759
1759
|
* auth the client
|
|
1760
1760
|
*/
|
|
1761
1761
|
auth(params: Required<Pick<MyxClientConfig, "signer" | "getAccessToken" | "walletClient">>): void;
|
|
1762
|
-
updateClientChainId(chainId: number): void;
|
|
1762
|
+
updateClientChainId(chainId: number, brokerAddress: string): void;
|
|
1763
1763
|
/**
|
|
1764
1764
|
* close the client
|
|
1765
1765
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1200,7 +1200,7 @@ declare class ConfigManager {
|
|
|
1200
1200
|
constructor(config: MyxClientConfig);
|
|
1201
1201
|
clear(): void;
|
|
1202
1202
|
startSeamlessMode(open: boolean): void;
|
|
1203
|
-
updateClientChainId(chainId: number): void;
|
|
1203
|
+
updateClientChainId(chainId: number, brokerAddress: string): void;
|
|
1204
1204
|
auth(params: Pick<MyxClientConfig, "signer" | "getAccessToken">): void;
|
|
1205
1205
|
private validateConfig;
|
|
1206
1206
|
/**
|
|
@@ -1759,7 +1759,7 @@ declare class MyxClient {
|
|
|
1759
1759
|
* auth the client
|
|
1760
1760
|
*/
|
|
1761
1761
|
auth(params: Required<Pick<MyxClientConfig, "signer" | "getAccessToken" | "walletClient">>): void;
|
|
1762
|
-
updateClientChainId(chainId: number): void;
|
|
1762
|
+
updateClientChainId(chainId: number, brokerAddress: string): void;
|
|
1763
1763
|
/**
|
|
1764
1764
|
* close the client
|
|
1765
1765
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1841,7 +1841,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
|
|
|
1841
1841
|
// package.json
|
|
1842
1842
|
var package_default = {
|
|
1843
1843
|
name: "@myx-trade/sdk",
|
|
1844
|
-
version: "0.1.
|
|
1844
|
+
version: "0.1.80",
|
|
1845
1845
|
private: false,
|
|
1846
1846
|
publishConfig: {
|
|
1847
1847
|
access: "public"
|
|
@@ -13668,10 +13668,11 @@ var ConfigManager = class {
|
|
|
13668
13668
|
seamlessMode: open
|
|
13669
13669
|
};
|
|
13670
13670
|
}
|
|
13671
|
-
updateClientChainId(chainId) {
|
|
13671
|
+
updateClientChainId(chainId, brokerAddress) {
|
|
13672
13672
|
this.config = {
|
|
13673
13673
|
...this.config,
|
|
13674
|
-
chainId
|
|
13674
|
+
chainId,
|
|
13675
|
+
brokerAddress
|
|
13675
13676
|
};
|
|
13676
13677
|
}
|
|
13677
13678
|
auth(params) {
|
|
@@ -20967,8 +20968,8 @@ var MyxClient = class {
|
|
|
20967
20968
|
auth(params) {
|
|
20968
20969
|
this.configManager.auth(params);
|
|
20969
20970
|
}
|
|
20970
|
-
updateClientChainId(chainId) {
|
|
20971
|
-
this.configManager.updateClientChainId(chainId);
|
|
20971
|
+
updateClientChainId(chainId, brokerAddress) {
|
|
20972
|
+
this.configManager.updateClientChainId(chainId, brokerAddress);
|
|
20972
20973
|
}
|
|
20973
20974
|
/**
|
|
20974
20975
|
* close the client
|
package/dist/index.mjs
CHANGED
|
@@ -1752,7 +1752,7 @@ var RotationProvider = class extends BaseProvider {
|
|
|
1752
1752
|
// package.json
|
|
1753
1753
|
var package_default = {
|
|
1754
1754
|
name: "@myx-trade/sdk",
|
|
1755
|
-
version: "0.1.
|
|
1755
|
+
version: "0.1.80",
|
|
1756
1756
|
private: false,
|
|
1757
1757
|
publishConfig: {
|
|
1758
1758
|
access: "public"
|
|
@@ -13579,10 +13579,11 @@ var ConfigManager = class {
|
|
|
13579
13579
|
seamlessMode: open
|
|
13580
13580
|
};
|
|
13581
13581
|
}
|
|
13582
|
-
updateClientChainId(chainId) {
|
|
13582
|
+
updateClientChainId(chainId, brokerAddress) {
|
|
13583
13583
|
this.config = {
|
|
13584
13584
|
...this.config,
|
|
13585
|
-
chainId
|
|
13585
|
+
chainId,
|
|
13586
|
+
brokerAddress
|
|
13586
13587
|
};
|
|
13587
13588
|
}
|
|
13588
13589
|
auth(params) {
|
|
@@ -20878,8 +20879,8 @@ var MyxClient = class {
|
|
|
20878
20879
|
auth(params) {
|
|
20879
20880
|
this.configManager.auth(params);
|
|
20880
20881
|
}
|
|
20881
|
-
updateClientChainId(chainId) {
|
|
20882
|
-
this.configManager.updateClientChainId(chainId);
|
|
20882
|
+
updateClientChainId(chainId, brokerAddress) {
|
|
20883
|
+
this.configManager.updateClientChainId(chainId, brokerAddress);
|
|
20883
20884
|
}
|
|
20884
20885
|
/**
|
|
20885
20886
|
* close the client
|