@myx-trade/sdk 0.1.65 → 0.1.66
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.js +1 -6
- package/dist/index.mjs +1 -6
- package/package.json +1 -1
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.66",
|
|
1845
1845
|
private: false,
|
|
1846
1846
|
publishConfig: {
|
|
1847
1847
|
access: "public"
|
|
@@ -20739,11 +20739,6 @@ var Seamless = class {
|
|
|
20739
20739
|
padding: import_crypto_js.default.pad.Pkcs7
|
|
20740
20740
|
});
|
|
20741
20741
|
const privateKey = decrypted.toString(import_crypto_js.default.enc.Utf8);
|
|
20742
|
-
const wallet = new import_ethers27.ethers.Wallet(privateKey);
|
|
20743
|
-
console.log("wallet.address-->", wallet.address, this.seamlessWallet);
|
|
20744
|
-
if (wallet.address !== this.seamlessWallet?.address) {
|
|
20745
|
-
throw new MyxSDKError("INVALID_PRIVATE_KEY" /* InvalidPrivateKey */, "Invalid private key");
|
|
20746
|
-
}
|
|
20747
20742
|
return {
|
|
20748
20743
|
code: 0,
|
|
20749
20744
|
data: {
|
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.66",
|
|
1756
1756
|
private: false,
|
|
1757
1757
|
publishConfig: {
|
|
1758
1758
|
access: "public"
|
|
@@ -20650,11 +20650,6 @@ var Seamless = class {
|
|
|
20650
20650
|
padding: CryptoJS.pad.Pkcs7
|
|
20651
20651
|
});
|
|
20652
20652
|
const privateKey = decrypted.toString(CryptoJS.enc.Utf8);
|
|
20653
|
-
const wallet = new ethers9.Wallet(privateKey);
|
|
20654
|
-
console.log("wallet.address-->", wallet.address, this.seamlessWallet);
|
|
20655
|
-
if (wallet.address !== this.seamlessWallet?.address) {
|
|
20656
|
-
throw new MyxSDKError("INVALID_PRIVATE_KEY" /* InvalidPrivateKey */, "Invalid private key");
|
|
20657
|
-
}
|
|
20658
20653
|
return {
|
|
20659
20654
|
code: 0,
|
|
20660
20655
|
data: {
|