@myx-trade/sdk 0.1.105 → 0.1.107
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 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -4
- package/dist/index.mjs +7 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1213,7 +1213,7 @@ declare class ConfigManager {
|
|
|
1213
1213
|
private accessTokenExpiry?;
|
|
1214
1214
|
constructor(config: MyxClientConfig);
|
|
1215
1215
|
clear(): void;
|
|
1216
|
-
startSeamlessMode(open: boolean):
|
|
1216
|
+
startSeamlessMode(open: boolean): MyxClientConfig;
|
|
1217
1217
|
updateSeamlessWallet({ wallet, authorized, masterAddress }: {
|
|
1218
1218
|
wallet?: ethers$1.Wallet;
|
|
1219
1219
|
authorized?: boolean;
|
|
@@ -1606,6 +1606,7 @@ declare class Seamless {
|
|
|
1606
1606
|
code: number;
|
|
1607
1607
|
data: {
|
|
1608
1608
|
open: boolean;
|
|
1609
|
+
config: MyxClientConfig;
|
|
1609
1610
|
};
|
|
1610
1611
|
}>;
|
|
1611
1612
|
createSeamless({ password, chainId }: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1213,7 +1213,7 @@ declare class ConfigManager {
|
|
|
1213
1213
|
private accessTokenExpiry?;
|
|
1214
1214
|
constructor(config: MyxClientConfig);
|
|
1215
1215
|
clear(): void;
|
|
1216
|
-
startSeamlessMode(open: boolean):
|
|
1216
|
+
startSeamlessMode(open: boolean): MyxClientConfig;
|
|
1217
1217
|
updateSeamlessWallet({ wallet, authorized, masterAddress }: {
|
|
1218
1218
|
wallet?: ethers$1.Wallet;
|
|
1219
1219
|
authorized?: boolean;
|
|
@@ -1606,6 +1606,7 @@ declare class Seamless {
|
|
|
1606
1606
|
code: number;
|
|
1607
1607
|
data: {
|
|
1608
1608
|
open: boolean;
|
|
1609
|
+
config: MyxClientConfig;
|
|
1609
1610
|
};
|
|
1610
1611
|
}>;
|
|
1611
1612
|
createSeamless({ password, chainId }: {
|
package/dist/index.js
CHANGED
|
@@ -1822,7 +1822,7 @@ var RotationProvider = class extends import_providers.BaseProvider {
|
|
|
1822
1822
|
// package.json
|
|
1823
1823
|
var package_default = {
|
|
1824
1824
|
name: "@myx-trade/sdk",
|
|
1825
|
-
version: "0.1.
|
|
1825
|
+
version: "0.1.107",
|
|
1826
1826
|
private: false,
|
|
1827
1827
|
publishConfig: {
|
|
1828
1828
|
access: "public"
|
|
@@ -13744,7 +13744,7 @@ var ConfigManager = class {
|
|
|
13744
13744
|
...this.config,
|
|
13745
13745
|
seamlessMode: open
|
|
13746
13746
|
};
|
|
13747
|
-
|
|
13747
|
+
return this.config;
|
|
13748
13748
|
}
|
|
13749
13749
|
updateSeamlessWallet({ wallet, authorized, masterAddress }) {
|
|
13750
13750
|
this.config = {
|
|
@@ -21363,11 +21363,14 @@ var Seamless = class {
|
|
|
21363
21363
|
};
|
|
21364
21364
|
}
|
|
21365
21365
|
async startSeamlessMode({ open }) {
|
|
21366
|
-
this.
|
|
21366
|
+
this.logger.info("startSeamlessMode-->", open);
|
|
21367
|
+
const config = this.configManager.startSeamlessMode(open);
|
|
21368
|
+
this.logger.info("startSeamlessMode config-->", config);
|
|
21367
21369
|
return {
|
|
21368
21370
|
code: 0,
|
|
21369
21371
|
data: {
|
|
21370
|
-
open
|
|
21372
|
+
open,
|
|
21373
|
+
config
|
|
21371
21374
|
}
|
|
21372
21375
|
};
|
|
21373
21376
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1732,7 +1732,7 @@ var RotationProvider = class extends BaseProvider {
|
|
|
1732
1732
|
// package.json
|
|
1733
1733
|
var package_default = {
|
|
1734
1734
|
name: "@myx-trade/sdk",
|
|
1735
|
-
version: "0.1.
|
|
1735
|
+
version: "0.1.107",
|
|
1736
1736
|
private: false,
|
|
1737
1737
|
publishConfig: {
|
|
1738
1738
|
access: "public"
|
|
@@ -13654,7 +13654,7 @@ var ConfigManager = class {
|
|
|
13654
13654
|
...this.config,
|
|
13655
13655
|
seamlessMode: open
|
|
13656
13656
|
};
|
|
13657
|
-
|
|
13657
|
+
return this.config;
|
|
13658
13658
|
}
|
|
13659
13659
|
updateSeamlessWallet({ wallet, authorized, masterAddress }) {
|
|
13660
13660
|
this.config = {
|
|
@@ -21273,11 +21273,14 @@ var Seamless = class {
|
|
|
21273
21273
|
};
|
|
21274
21274
|
}
|
|
21275
21275
|
async startSeamlessMode({ open }) {
|
|
21276
|
-
this.
|
|
21276
|
+
this.logger.info("startSeamlessMode-->", open);
|
|
21277
|
+
const config = this.configManager.startSeamlessMode(open);
|
|
21278
|
+
this.logger.info("startSeamlessMode config-->", config);
|
|
21277
21279
|
return {
|
|
21278
21280
|
code: 0,
|
|
21279
21281
|
data: {
|
|
21280
|
-
open
|
|
21282
|
+
open,
|
|
21283
|
+
config
|
|
21281
21284
|
}
|
|
21282
21285
|
};
|
|
21283
21286
|
}
|