From 0f91282985876cc80de46e755782d57e590b4ca1 Mon Sep 17 00:00:00 2001 From: Guru Date: Thu, 21 Nov 2024 16:38:34 +0530 Subject: [PATCH] feat: update package --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- tests/controller/controllerModule.test.ts | 1 + 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index f638b729..1a46037a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "@solana/spl-name-service": "^0.2.0", "@solana/spl-token": "0.3.8", "@solana/web3.js": "^1.87.3", - "@toruslabs/base-controllers": "file:../controllers/packages/base-controllers/toruslabs-base-controllers-6.0.1.tgz", + "@toruslabs/base-controllers": "^6.2.4", "@toruslabs/broadcast-channel": "^11.0.0", "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/http-helpers": "^6.0.0", @@ -33,7 +33,7 @@ "@toruslabs/openlogin-session-manager": "^3.0.0", "@toruslabs/openlogin-subkey": "^6.0.0", "@toruslabs/openlogin-utils": "^6.1.0", - "@toruslabs/solana-controllers": "file:../controllers/packages/solana-controllers/toruslabs-solana-controllers-6.0.1.tgz", + "@toruslabs/solana-controllers": "^6.3.0", "@toruslabs/tweetnacl-js": "^1.0.4", "@toruslabs/vue-components": "^2.0.1", "@toruslabs/vue-icons": "^2.0.0", @@ -3711,9 +3711,9 @@ } }, "node_modules/@toruslabs/base-controllers": { - "version": "6.0.1", - "resolved": "file:../controllers/packages/base-controllers/toruslabs-base-controllers-6.0.1.tgz", - "integrity": "sha512-kA+ieqx9V0lrSL+Mm42wPDFKm3TatqCCSDo69rXmE6sW8y5oyVPTTVQ8UB3gDdlF2LYrCqVM92wYp1eTLJEOng==", + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-6.2.4.tgz", + "integrity": "sha512-VRki0iYnSL3Chy2W/mwk2dc3tiLuSR5a/dwaapCNn3SgMGIEgnJMwq1wNQO1l5eaHgl3eN7b/IL8Y2DfqHnW4g==", "license": "ISC", "dependencies": { "@ethereumjs/util": "^9.1.0", @@ -4493,15 +4493,15 @@ } }, "node_modules/@toruslabs/solana-controllers": { - "version": "6.0.1", - "resolved": "file:../controllers/packages/solana-controllers/toruslabs-solana-controllers-6.0.1.tgz", - "integrity": "sha512-hRebBqPErf5pokZz4IplS6rpAIxiXcr2C9rfNvu/4tBeZqxdDIj6Y2kbv4I+ZjjDR0ffGOO8Hz2KwHbXwDBefQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@toruslabs/solana-controllers/-/solana-controllers-6.3.0.tgz", + "integrity": "sha512-zfcVzcttPoaFgyFP4tzFDjjxWNWWCRWC4myMyPYDY+FIwFswbRjMe8SEbbZZgjSB+6WEzdiXlR4sieIgYuH3cA==", "license": "ISC", "dependencies": { "@metaplex-foundation/mpl-token-metadata": "^2.13.0", "@solana/spl-token": "0.3.9", "@solana/web3.js": "^1.95.3", - "@toruslabs/base-controllers": "^6.0.1", + "@toruslabs/base-controllers": "^6.2.4", "@toruslabs/http-helpers": "^7.0.0", "@toruslabs/tweetnacl-js": "^1.0.4", "@web3auth/auth": "^9.3.3", diff --git a/package.json b/package.json index bfa50a0c..c7fad099 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "@solana/spl-token": "0.3.8", "@web3auth/auth": "^9.3.1", "@solana/web3.js": "^1.87.3", - "@toruslabs/base-controllers": "file:../controllers/packages/base-controllers/toruslabs-base-controllers-6.0.1.tgz", + "@toruslabs/base-controllers": "^6.2.4", "@toruslabs/broadcast-channel": "^11.0.0", "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/http-helpers": "^6.0.0", @@ -45,7 +45,7 @@ "@toruslabs/openlogin-session-manager": "^3.0.0", "@toruslabs/openlogin-subkey": "^6.0.0", "@toruslabs/openlogin-utils": "^6.1.0", - "@toruslabs/solana-controllers": "file:../controllers/packages/solana-controllers/toruslabs-solana-controllers-6.0.1.tgz", + "@toruslabs/solana-controllers": "^6.3.0", "@toruslabs/tweetnacl-js": "^1.0.4", "@toruslabs/vue-components": "^2.0.1", "@toruslabs/vue-icons": "^2.0.0", diff --git a/tests/controller/controllerModule.test.ts b/tests/controller/controllerModule.test.ts index 70cba5e4..3859bee2 100644 --- a/tests/controller/controllerModule.test.ts +++ b/tests/controller/controllerModule.test.ts @@ -377,6 +377,7 @@ describe("Controller Module", () => { tokenAddress: "", isFungible: false, balance: { decimals: mockMintInfo[mockMintAddress[1]].decimals, amount: "0", uiAmount: 0, uiAmountString: "0" }, + isImportToken: false, }; const splTransaction = await SolanaHelper.generateSPLTransaction( sKeyPair[0].publicKey.toBase58(),