@myx-trade/sdk 0.1.63 → 0.1.65
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 +2 -1
- package/dist/index.mjs +2 -1
- 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.65",
|
|
1845
1845
|
private: false,
|
|
1846
1846
|
publishConfig: {
|
|
1847
1847
|
access: "public"
|
|
@@ -20740,6 +20740,7 @@ var Seamless = class {
|
|
|
20740
20740
|
});
|
|
20741
20741
|
const privateKey = decrypted.toString(import_crypto_js.default.enc.Utf8);
|
|
20742
20742
|
const wallet = new import_ethers27.ethers.Wallet(privateKey);
|
|
20743
|
+
console.log("wallet.address-->", wallet.address, this.seamlessWallet);
|
|
20743
20744
|
if (wallet.address !== this.seamlessWallet?.address) {
|
|
20744
20745
|
throw new MyxSDKError("INVALID_PRIVATE_KEY" /* InvalidPrivateKey */, "Invalid private key");
|
|
20745
20746
|
}
|
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.65",
|
|
1756
1756
|
private: false,
|
|
1757
1757
|
publishConfig: {
|
|
1758
1758
|
access: "public"
|
|
@@ -20651,6 +20651,7 @@ var Seamless = class {
|
|
|
20651
20651
|
});
|
|
20652
20652
|
const privateKey = decrypted.toString(CryptoJS.enc.Utf8);
|
|
20653
20653
|
const wallet = new ethers9.Wallet(privateKey);
|
|
20654
|
+
console.log("wallet.address-->", wallet.address, this.seamlessWallet);
|
|
20654
20655
|
if (wallet.address !== this.seamlessWallet?.address) {
|
|
20655
20656
|
throw new MyxSDKError("INVALID_PRIVATE_KEY" /* InvalidPrivateKey */, "Invalid private key");
|
|
20656
20657
|
}
|