From 1f9392b2080d35a4b199fd97f75b75b5376a5040 Mon Sep 17 00:00:00 2001 From: Chaitanya Potti Date: Mon, 4 Nov 2024 16:34:00 +0800 Subject: [PATCH 01/19] add comment --- packages/no-modal/src/noModal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/no-modal/src/noModal.ts b/packages/no-modal/src/noModal.ts index 2790e0cca..deaf2ed61 100644 --- a/packages/no-modal/src/noModal.ts +++ b/packages/no-modal/src/noModal.ts @@ -319,7 +319,7 @@ export class Web3AuthNoModal extends SafeEventEmitter imp this.coreOptions.accountAbstractionProvider && (data.adapter === WALLET_ADAPTERS.AUTH || (data.adapter !== WALLET_ADAPTERS.AUTH && this.coreOptions.useAAWithExternalWallet)) ) { - await this.coreOptions.accountAbstractionProvider.setupProvider(provider); + await this.coreOptions.accountAbstractionProvider.setupProvider(provider); // Don't change this to finalProvider finalProvider = this.coreOptions.accountAbstractionProvider; } From afe62ea66187439b57e21fef97d4c040465237af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:46:46 +0000 Subject: [PATCH 02/19] Bump @coinbase/wallet-sdk from 4.1.0 to 4.2.0 Bumps [@coinbase/wallet-sdk](https://github.com/coinbase/coinbase-wallet-sdk) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/coinbase/coinbase-wallet-sdk/releases) - [Commits](https://github.com/coinbase/coinbase-wallet-sdk/compare/v4.1.0...v4.2.0) --- updated-dependencies: - dependency-name: "@coinbase/wallet-sdk" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 795 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 769 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index 403ffb739..3f46b3673 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1804,16 +1804,16 @@ } }, "node_modules/@coinbase/wallet-sdk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-4.1.0.tgz", - "integrity": "sha512-SkJJ72X/AA3+aS21sPs/4o4t6RVeDSA7HuBW4zauySX3eBiPU0zmVw95tXH/eNSX50agKz9WzeN8P5F+HcwLOw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@coinbase/wallet-sdk/-/wallet-sdk-4.2.0.tgz", + "integrity": "sha512-dkw3B3fNZ5T5Ei0A7iOTWK+aJEk2lnUQBOPYdXRo70tEXZQJ2dE4rmXx+ExWe9ObPYtgM9U0Q6GNWAWMpHKZtA==", "dev": true, - "license": "Apache-2.0", "dependencies": { "@noble/hashes": "^1.4.0", "clsx": "^1.2.1", "eventemitter3": "^5.0.1", - "preact": "^10.16.0" + "preact": "^10.24.2", + "vitest": "^2.1.2" } }, "node_modules/@cspotcode/source-map-support": { @@ -1869,6 +1869,374 @@ "tslib": "^2.4.0" } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "dev": true, @@ -6441,6 +6809,121 @@ "dev": true, "license": "ISC" }, + "node_modules/@vitest/expect": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.4.tgz", + "integrity": "sha512-DOETT0Oh1avie/D/o2sgMHGrzYUFFo3zqESB2Hn70z6QB1HrS2IQ9z5DfyTqU8sg4Bpu13zZe9V4+UTNQlUeQA==", + "dev": true, + "dependencies": { + "@vitest/spy": "2.1.4", + "@vitest/utils": "2.1.4", + "chai": "^5.1.2", + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/mocker": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.4.tgz", + "integrity": "sha512-Ky/O1Lc0QBbutJdW0rqLeFNbuLEyS+mIPiNdlVlp2/yhJ0SbyYqObS5IHdhferJud8MbbwMnexg4jordE5cCoQ==", + "dev": true, + "dependencies": { + "@vitest/spy": "2.1.4", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.12" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "msw": "^2.4.9", + "vite": "^5.0.0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } + } + }, + "node_modules/@vitest/mocker/node_modules/estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "dependencies": { + "@types/estree": "^1.0.0" + } + }, + "node_modules/@vitest/pretty-format": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.4.tgz", + "integrity": "sha512-L95zIAkEuTDbUX1IsjRl+vyBSLh3PwLLgKpghl37aCK9Jvw0iP+wKwIFhfjdUtA2myLgjrG6VU6JCFLv8q/3Ww==", + "dev": true, + "dependencies": { + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/runner": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.4.tgz", + "integrity": "sha512-sKRautINI9XICAMl2bjxQM8VfCMTB0EbsBc/EDFA57V6UQevEKY/TOPOF5nzcvCALltiLfXWbq4MaAwWx/YxIA==", + "dev": true, + "dependencies": { + "@vitest/utils": "2.1.4", + "pathe": "^1.1.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/snapshot": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.4.tgz", + "integrity": "sha512-3Kab14fn/5QZRog5BPj6Rs8dc4B+mim27XaKWFWHWA87R56AKjHTGcBFKpvZKDzC4u5Wd0w/qKsUIio3KzWW4Q==", + "dev": true, + "dependencies": { + "@vitest/pretty-format": "2.1.4", + "magic-string": "^0.30.12", + "pathe": "^1.1.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/spy": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.4.tgz", + "integrity": "sha512-4JOxa+UAizJgpZfaCPKK2smq9d8mmjZVPMt2kOsg/R8QkoRzydHH1qHxIYNvr1zlEaFj4SXiaaJWxq/LPLKaLg==", + "dev": true, + "dependencies": { + "tinyspy": "^3.0.2" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/@vitest/utils": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.4.tgz", + "integrity": "sha512-MXDnZn0Awl2S86PSNIim5PWXgIAx8CIkzu35mBdSApUip6RFOGXBCf3YFyeEu8n1IHk4bWD46DeYFu9mQlFIRg==", + "dev": true, + "dependencies": { + "@vitest/pretty-format": "2.1.4", + "loupe": "^3.1.2", + "tinyrainbow": "^1.2.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, "node_modules/@vue/compiler-core": { "version": "3.5.3", "license": "MIT", @@ -8943,6 +9426,15 @@ "node": ">=12.17" } }, + "node_modules/cac": { + "version": "6.7.14", + "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", + "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/cacache": { "version": "18.0.4", "dev": true, @@ -9079,9 +9571,10 @@ "license": "CC-BY-4.0" }, "node_modules/chai": { - "version": "5.1.1", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/chai/-/chai-5.1.2.tgz", + "integrity": "sha512-aGtmf24DW6MLHHG5gCx4zaI3uBq3KRtxeVs0DjFH6Z0rDNbsvTxFASFvdj79pxjxZ8/5u3PIiN3IwEIQkiiuPw==", "dev": true, - "license": "MIT", "dependencies": { "assertion-error": "^2.0.1", "check-error": "^2.1.1", @@ -11456,6 +11949,44 @@ "es6-promise": "^4.0.3" } }, + "node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, "node_modules/escalade": { "version": "3.2.0", "dev": true, @@ -12619,6 +13150,15 @@ "dev": true, "license": "MIT" }, + "node_modules/expect-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.1.0.tgz", + "integrity": "sha512-bFi65yM+xZgk+u/KRIpekdSYkTB5W1pEf0Lt8Q8Msh7b+eQ7LXVtIB1Bkm4fvclDEL1b2CZkMhv2mOeF8tMdkA==", + "dev": true, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/exponential-backoff": { "version": "3.1.1", "dev": true, @@ -13427,14 +13967,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/get-func-name": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, "node_modules/get-intrinsic": { "version": "1.2.4", "license": "MIT", @@ -17375,12 +17907,10 @@ } }, "node_modules/loupe": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "get-func-name": "^2.0.1" - } + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.2.tgz", + "integrity": "sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==", + "dev": true }, "node_modules/lower-case": { "version": "2.0.2", @@ -17412,9 +17942,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.11", - "license": "MIT", - "peer": true, + "version": "0.30.12", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.12.tgz", + "integrity": "sha512-Ea8I3sQMVXr8JhN4z+H/d8zwo+tYDgHE9+5G4Wnrwhs0gaK9fXTKx0Tw5Xwsd/bCPTTZNRAdpyzvoeORe9LYpw==", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" } @@ -20878,9 +21408,10 @@ "license": "MIT" }, "node_modules/preact": { - "version": "10.23.2", + "version": "10.24.3", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.24.3.tgz", + "integrity": "sha512-Z2dPnBnMUfyQfSQ+GBdsGa16hz35YmLmtTLhM169uW944hYL6xzTYkJjC07j+Wosz733pMWx0fgON3JNw1jJQA==", "dev": true, - "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/preact" @@ -23672,6 +24203,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/siginfo": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz", + "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==", + "dev": true + }, "node_modules/signal-exit": { "version": "3.0.7", "dev": true, @@ -24090,6 +24627,12 @@ "dev": true, "license": "MIT" }, + "node_modules/stackback": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz", + "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==", + "dev": true + }, "node_modules/static-extend": { "version": "0.1.2", "dev": true, @@ -24975,6 +25518,45 @@ "dev": true, "license": "MIT" }, + "node_modules/tinybench": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz", + "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==", + "dev": true + }, + "node_modules/tinyexec": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.1.tgz", + "integrity": "sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==", + "dev": true + }, + "node_modules/tinypool": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.0.1.tgz", + "integrity": "sha512-URZYihUbRPcGv95En+sz6MfghfIc2OJ1sv/RmhWZLouPY0/8Vo80viwPvg3dlaS9fuq7fQMEfgRRK7BBZThBEA==", + "dev": true, + "engines": { + "node": "^18.0.0 || >=20.0.0" + } + }, + "node_modules/tinyrainbow": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-1.2.0.tgz", + "integrity": "sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==", + "dev": true, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/tinyspy": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.2.tgz", + "integrity": "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==", + "dev": true, + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/tmp": { "version": "0.2.3", "dev": true, @@ -26121,6 +26703,151 @@ } } }, + "node_modules/vite": { + "version": "5.4.10", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.10.tgz", + "integrity": "sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==", + "dev": true, + "dependencies": { + "esbuild": "^0.21.3", + "postcss": "^8.4.43", + "rollup": "^4.20.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vite-node": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.4.tgz", + "integrity": "sha512-kqa9v+oi4HwkG6g8ufRnb5AeplcRw8jUF6/7/Qz1qRQOXHImG8YnLbB+LLszENwFnoBl9xIf9nVdCFzNd7GQEg==", + "dev": true, + "dependencies": { + "cac": "^6.7.14", + "debug": "^4.3.7", + "pathe": "^1.1.2", + "vite": "^5.0.0" + }, + "bin": { + "vite-node": "vite-node.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + } + }, + "node_modules/vitest": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.4.tgz", + "integrity": "sha512-eDjxbVAJw1UJJCHr5xr/xM86Zx+YxIEXGAR+bmnEID7z9qWfoxpHw0zdobz+TQAFOLT+nEXz3+gx6nUJ7RgmlQ==", + "dev": true, + "dependencies": { + "@vitest/expect": "2.1.4", + "@vitest/mocker": "2.1.4", + "@vitest/pretty-format": "^2.1.4", + "@vitest/runner": "2.1.4", + "@vitest/snapshot": "2.1.4", + "@vitest/spy": "2.1.4", + "@vitest/utils": "2.1.4", + "chai": "^5.1.2", + "debug": "^4.3.7", + "expect-type": "^1.1.0", + "magic-string": "^0.30.12", + "pathe": "^1.1.2", + "std-env": "^3.7.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.1", + "tinypool": "^1.0.1", + "tinyrainbow": "^1.2.0", + "vite": "^5.0.0", + "vite-node": "2.1.4", + "why-is-node-running": "^2.3.0" + }, + "bin": { + "vitest": "vitest.mjs" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@edge-runtime/vm": "*", + "@types/node": "^18.0.0 || >=20.0.0", + "@vitest/browser": "2.1.4", + "@vitest/ui": "2.1.4", + "happy-dom": "*", + "jsdom": "*" + }, + "peerDependenciesMeta": { + "@edge-runtime/vm": { + "optional": true + }, + "@types/node": { + "optional": true + }, + "@vitest/browser": { + "optional": true + }, + "@vitest/ui": { + "optional": true + }, + "happy-dom": { + "optional": true + }, + "jsdom": { + "optional": true + } + } + }, "node_modules/void-elements": { "version": "3.1.0", "license": "MIT", @@ -26553,6 +27280,22 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/why-is-node-running": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz", + "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==", + "dev": true, + "dependencies": { + "siginfo": "^2.0.0", + "stackback": "0.0.2" + }, + "bin": { + "why-is-node-running": "cli.js" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/wide-align": { "version": "1.1.5", "dev": true, From d003b5b227e37ee451e3ce047a788b189ae97184 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Tu Date: Tue, 5 Nov 2024 12:24:52 +0700 Subject: [PATCH 03/19] feat(app): account abstraction - add nexus smart account --- package-lock.json | 8 ++--- .../account-abstraction-provider/package.json | 2 +- .../smartAccounts/NexusSmartAccount.ts | 35 +++++++++++++++++++ .../src/providers/smartAccounts/constants.ts | 1 + .../src/providers/smartAccounts/index.ts | 1 + 5 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 packages/providers/account-abstraction-provider/src/providers/smartAccounts/NexusSmartAccount.ts diff --git a/package-lock.json b/package-lock.json index 403ffb739..24cc6fd98 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19874,9 +19874,9 @@ } }, "node_modules/permissionless": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/permissionless/-/permissionless-0.2.13.tgz", - "integrity": "sha512-8VxJQP7ezwGKSdRvk/Q09i/+WtVxfdFuk3XEQSXyTbWVIxU9SRYPDLW2QuUlxiFsAOdDSRwuFGsrtevwBdcqdQ==", + "version": "0.2.15", + "resolved": "https://registry.npmjs.org/permissionless/-/permissionless-0.2.15.tgz", + "integrity": "sha512-S5+FP9e6xY7AEC+9w4mJ66826Cn7gHqHxKMFopevM2+ZPTpYpvYnB4APLljNsCfuIqMVNutTbgcuLZTasNvMEQ==", "license": "MIT", "peerDependencies": { "viem": "^2.21.22" @@ -27597,7 +27597,7 @@ "@web3auth/base-provider": "^9.3.0", "@web3auth/ethereum-provider": "^9.3.0", "ethers": "^6.13.4", - "permissionless": "^0.2.13", + "permissionless": "^0.2.15", "viem": "^2.21.36" }, "engines": { diff --git a/packages/providers/account-abstraction-provider/package.json b/packages/providers/account-abstraction-provider/package.json index 7b29b220e..5dc9f06d5 100644 --- a/packages/providers/account-abstraction-provider/package.json +++ b/packages/providers/account-abstraction-provider/package.json @@ -27,7 +27,7 @@ "@web3auth/base-provider": "^9.3.0", "@web3auth/ethereum-provider": "^9.3.0", "ethers": "^6.13.4", - "permissionless": "^0.2.13", + "permissionless": "^0.2.15", "viem": "^2.21.36" }, "peerDependencies": { diff --git a/packages/providers/account-abstraction-provider/src/providers/smartAccounts/NexusSmartAccount.ts b/packages/providers/account-abstraction-provider/src/providers/smartAccounts/NexusSmartAccount.ts new file mode 100644 index 000000000..b23e7cad9 --- /dev/null +++ b/packages/providers/account-abstraction-provider/src/providers/smartAccounts/NexusSmartAccount.ts @@ -0,0 +1,35 @@ +import { IProvider } from "@web3auth/base"; +import { toNexusSmartAccount, ToNexusSmartAccountParameters } from "permissionless/accounts"; +import { Client, EIP1193Provider } from "viem"; +import { entryPoint07Address, SmartAccount } from "viem/account-abstraction"; + +import { SMART_ACCOUNT } from "./constants"; +import { ISmartAccount } from "./types"; + +type NexusSmartAccountConfig = Omit; + +export class NexusSmartAccount implements ISmartAccount { + readonly name: string = SMART_ACCOUNT.NEXUS; + + private options: NexusSmartAccountConfig; + + constructor(options?: NexusSmartAccountConfig) { + this.options = options; + } + + async getSmartAccount( + params: { owner: IProvider; client: Client } & Pick + ): Promise { + return toNexusSmartAccount({ + ...(this.options || {}), + entryPoint: { + address: this.options?.entryPoint?.address || entryPoint07Address, + version: this.options?.entryPoint?.version || "0.7", + }, + version: this.options?.version || "1.0.0", + ...params, + owners: [params.owner as EIP1193Provider], + client: params.client, + }); + } +} diff --git a/packages/providers/account-abstraction-provider/src/providers/smartAccounts/constants.ts b/packages/providers/account-abstraction-provider/src/providers/smartAccounts/constants.ts index fa9f1b767..cad4566fd 100644 --- a/packages/providers/account-abstraction-provider/src/providers/smartAccounts/constants.ts +++ b/packages/providers/account-abstraction-provider/src/providers/smartAccounts/constants.ts @@ -1,5 +1,6 @@ export const SMART_ACCOUNT = { BICONOMY: "biconomy", + NEXUS: "nexus", KERNEL: "kernel", LIGHT: "light", SAFE: "safe", diff --git a/packages/providers/account-abstraction-provider/src/providers/smartAccounts/index.ts b/packages/providers/account-abstraction-provider/src/providers/smartAccounts/index.ts index 54dc242cc..12eb12708 100644 --- a/packages/providers/account-abstraction-provider/src/providers/smartAccounts/index.ts +++ b/packages/providers/account-abstraction-provider/src/providers/smartAccounts/index.ts @@ -1,5 +1,6 @@ export * from "./BiconomySmartAccount"; export * from "./KernelSmartAccount"; +export * from "./NexusSmartAccount"; export * from "./SafeSmartAccount"; export * from "./TrustSmartAccount"; // export * from "./LightSmartAccount"; From 4fd02c63a6a6184d687b37d0b2fe484d869dacc2 Mon Sep 17 00:00:00 2001 From: Chaitanya Potti Date: Wed, 6 Nov 2024 14:29:01 +0800 Subject: [PATCH 04/19] v9.3.2 --- lerna.json | 2 +- package-lock.json | 42 +++++++++---------- .../modal-vue-composables/package.json | 4 +- .../no-modal-vue-composables/package.json | 4 +- .../package.json | 4 +- packages/hooks/modal-react-hooks/package.json | 4 +- .../hooks/no-modal-react-hooks/package.json | 4 +- .../package.json | 4 +- packages/modal/package.json | 6 +-- packages/no-modal/package.json | 2 +- .../package.json | 4 +- .../wallet-services-plugin/package.json | 4 +- packages/ui/package.json | 2 +- 13 files changed, 43 insertions(+), 43 deletions(-) diff --git a/lerna.json b/lerna.json index a7c3aa74e..31ce27c2a 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { - "version": "9.3.1", + "version": "9.3.2", "npmClient": "npm" } diff --git a/package-lock.json b/package-lock.json index 3f46b3673..a149d2cc4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28102,11 +28102,11 @@ }, "packages/composables/modal-vue-composables": { "name": "@web3auth/modal-vue-composables", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/modal": "^9.3.1" + "@web3auth/modal": "^9.3.2" }, "devDependencies": { "@web3auth/auth": "^9.4.1", @@ -28123,11 +28123,11 @@ }, "packages/composables/no-modal-vue-composables": { "name": "@web3auth/no-modal-vue-composables", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/no-modal": "^9.3.1" + "@web3auth/no-modal": "^9.3.2" }, "devDependencies": { "@web3auth/auth": "^9.4.1", @@ -28144,12 +28144,12 @@ }, "packages/composables/wallet-services-plugin-vue-composables": { "name": "@web3auth/wallet-services-plugin-vue-composables", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@toruslabs/base-controllers": "^6.2.2", "@web3auth/base": "^9.3.0", - "@web3auth/wallet-services-plugin": "^9.3.1" + "@web3auth/wallet-services-plugin": "^9.3.2" }, "engines": { "node": ">=18.x", @@ -28162,11 +28162,11 @@ }, "packages/hooks/modal-react-hooks": { "name": "@web3auth/modal-react-hooks", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/modal": "^9.3.1" + "@web3auth/modal": "^9.3.2" }, "devDependencies": { "@web3auth/auth-adapter": "^9.3.0" @@ -28182,11 +28182,11 @@ }, "packages/hooks/no-modal-react-hooks": { "name": "@web3auth/no-modal-react-hooks", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/no-modal": "^9.3.1" + "@web3auth/no-modal": "^9.3.2" }, "devDependencies": { "@web3auth/auth-adapter": "^9.3.0" @@ -28202,11 +28202,11 @@ }, "packages/hooks/wallet-services-plugin-react-hooks": { "name": "@web3auth/wallet-services-plugin-react-hooks", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/wallet-services-plugin": "^9.3.1" + "@web3auth/wallet-services-plugin": "^9.3.2" }, "engines": { "node": ">=18.x", @@ -28219,14 +28219,14 @@ }, "packages/modal": { "name": "@web3auth/modal", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@web3auth/auth-adapter": "^9.3.0", "@web3auth/base": "^9.3.0", "@web3auth/base-provider": "^9.3.0", - "@web3auth/no-modal": "^9.3.1", - "@web3auth/ui": "^9.3.1", + "@web3auth/no-modal": "^9.3.2", + "@web3auth/ui": "^9.3.2", "deepmerge": "^4.3.1" }, "devDependencies": { @@ -28256,7 +28256,7 @@ }, "packages/no-modal": { "name": "@web3auth/no-modal", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@web3auth/auth": "^9.4.1", @@ -28289,13 +28289,13 @@ }, "packages/plugins/solana-wallet-connector-plugin": { "name": "@web3auth/solana-wallet-connector-plugin", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@toruslabs/solana-embed": "^2.1.0", "@web3auth/auth": "^9.4.1", "@web3auth/base": "^9.3.0", - "@web3auth/no-modal": "^9.3.1", + "@web3auth/no-modal": "^9.3.2", "loglevel": "^1.9.2" }, "engines": { @@ -28308,12 +28308,12 @@ }, "packages/plugins/wallet-services-plugin": { "name": "@web3auth/wallet-services-plugin", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@web3auth/auth": "^9.4.1", "@web3auth/base": "^9.3.0", - "@web3auth/no-modal": "^9.3.1", + "@web3auth/no-modal": "^9.3.2", "@web3auth/ws-embed": "^3.1.0", "loglevel": "^1.9.2" }, @@ -28475,7 +28475,7 @@ }, "packages/ui": { "name": "@web3auth/ui", - "version": "9.3.1", + "version": "9.3.2", "license": "ISC", "dependencies": { "@toruslabs/http-helpers": "^7.0.0", diff --git a/packages/composables/modal-vue-composables/package.json b/packages/composables/modal-vue-composables/package.json index e3e67af3d..9e7180102 100644 --- a/packages/composables/modal-vue-composables/package.json +++ b/packages/composables/modal-vue-composables/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/modal-vue-composables", - "version": "9.3.1", + "version": "9.3.2", "description": "Vue composables to simplify integration with web3Auth modal SDK.", "keywords": [ "web3Auth/modal-vue-composables", @@ -30,7 +30,7 @@ ], "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/modal": "^9.3.1" + "@web3auth/modal": "^9.3.2" }, "devDependencies": { "@web3auth/auth": "^9.4.1", diff --git a/packages/composables/no-modal-vue-composables/package.json b/packages/composables/no-modal-vue-composables/package.json index c5ac35caa..be718e7b5 100644 --- a/packages/composables/no-modal-vue-composables/package.json +++ b/packages/composables/no-modal-vue-composables/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/no-modal-vue-composables", - "version": "9.3.1", + "version": "9.3.2", "description": "Vue composables to simplify integration with web3Auth no-modal SDK.", "keywords": [ "web3Auth/no-modal-vue-composables", @@ -30,7 +30,7 @@ ], "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/no-modal": "^9.3.1" + "@web3auth/no-modal": "^9.3.2" }, "devDependencies": { "@web3auth/auth": "^9.4.1", diff --git a/packages/composables/wallet-services-plugin-vue-composables/package.json b/packages/composables/wallet-services-plugin-vue-composables/package.json index 8d912a34f..69853512e 100644 --- a/packages/composables/wallet-services-plugin-vue-composables/package.json +++ b/packages/composables/wallet-services-plugin-vue-composables/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/wallet-services-plugin-vue-composables", - "version": "9.3.1", + "version": "9.3.2", "description": "Vue composables to simplify integration with web3Auth wallet services plugin SDK.", "keywords": [ "web3Auth/wallet-services-plugin-vue-composables", @@ -31,7 +31,7 @@ "dependencies": { "@toruslabs/base-controllers": "^6.2.2", "@web3auth/base": "^9.3.0", - "@web3auth/wallet-services-plugin": "^9.3.1" + "@web3auth/wallet-services-plugin": "^9.3.2" }, "peerDependencies": { "@babel/runtime": "^7.x", diff --git a/packages/hooks/modal-react-hooks/package.json b/packages/hooks/modal-react-hooks/package.json index d08e1eeba..18fa0acea 100644 --- a/packages/hooks/modal-react-hooks/package.json +++ b/packages/hooks/modal-react-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/modal-react-hooks", - "version": "9.3.1", + "version": "9.3.2", "description": "React hooks to simplify integration with web3Auth modal SDK.", "keywords": [ "web3Auth/modal-react-hooks", @@ -36,7 +36,7 @@ }, "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/modal": "^9.3.1" + "@web3auth/modal": "^9.3.2" }, "peerDependencies": { "@babel/runtime": "^7.x", diff --git a/packages/hooks/no-modal-react-hooks/package.json b/packages/hooks/no-modal-react-hooks/package.json index e83f360b7..c262d3f04 100644 --- a/packages/hooks/no-modal-react-hooks/package.json +++ b/packages/hooks/no-modal-react-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/no-modal-react-hooks", - "version": "9.3.1", + "version": "9.3.2", "description": "React hooks to simplify integration with web3Auth no-modal SDK.", "keywords": [ "web3Auth/no-modal-react-hooks", @@ -36,7 +36,7 @@ }, "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/no-modal": "^9.3.1" + "@web3auth/no-modal": "^9.3.2" }, "peerDependencies": { "@babel/runtime": "^7.x", diff --git a/packages/hooks/wallet-services-plugin-react-hooks/package.json b/packages/hooks/wallet-services-plugin-react-hooks/package.json index 5c0062e4a..df3275fd0 100644 --- a/packages/hooks/wallet-services-plugin-react-hooks/package.json +++ b/packages/hooks/wallet-services-plugin-react-hooks/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/wallet-services-plugin-react-hooks", - "version": "9.3.1", + "version": "9.3.2", "description": "React hooks to simplify integration with web3Auth wallet-services-plugin SDK.", "keywords": [ "web3Auth/wallet-services-plugin-react-hooks", @@ -33,7 +33,7 @@ ], "dependencies": { "@web3auth/base": "^9.3.0", - "@web3auth/wallet-services-plugin": "^9.3.1" + "@web3auth/wallet-services-plugin": "^9.3.2" }, "peerDependencies": { "@babel/runtime": "^7.x", diff --git a/packages/modal/package.json b/packages/modal/package.json index 97d2f3986..2fb5dd878 100644 --- a/packages/modal/package.json +++ b/packages/modal/package.json @@ -7,8 +7,8 @@ "@web3auth/auth-adapter": "^9.3.0", "@web3auth/base": "^9.3.0", "@web3auth/base-provider": "^9.3.0", - "@web3auth/no-modal": "^9.3.1", - "@web3auth/ui": "^9.3.1", + "@web3auth/no-modal": "^9.3.2", + "@web3auth/ui": "^9.3.2", "deepmerge": "^4.3.1" }, "devDependencies": { @@ -69,5 +69,5 @@ }, "types": "dist/types/index.d.ts", "unpkg": "dist/modal.umd.min.js", - "version": "9.3.1" + "version": "9.3.2" } diff --git a/packages/no-modal/package.json b/packages/no-modal/package.json index 2682ca0c6..b2ade87dc 100644 --- a/packages/no-modal/package.json +++ b/packages/no-modal/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/no-modal", - "version": "9.3.1", + "version": "9.3.2", "description": "Multi chain wallet aggregator for web3Auth", "keywords": [ "web3Auth/no-modal", diff --git a/packages/plugins/solana-wallet-connector-plugin/package.json b/packages/plugins/solana-wallet-connector-plugin/package.json index 3fc50e0d1..ca7d8393e 100644 --- a/packages/plugins/solana-wallet-connector-plugin/package.json +++ b/packages/plugins/solana-wallet-connector-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/solana-wallet-connector-plugin", - "version": "9.3.1", + "version": "9.3.2", "description": "Torus Solana wallet connector for which can be used with Web3Auth or private key providers used inside Web3Auth", "keywords": [ "web3Auth/solana-wallet-connector-plugin", @@ -35,7 +35,7 @@ "@toruslabs/solana-embed": "^2.1.0", "@web3auth/auth": "^9.4.1", "@web3auth/base": "^9.3.0", - "@web3auth/no-modal": "^9.3.1", + "@web3auth/no-modal": "^9.3.2", "loglevel": "^1.9.2" }, "peerDependencies": { diff --git a/packages/plugins/wallet-services-plugin/package.json b/packages/plugins/wallet-services-plugin/package.json index dcfb633c7..98d9490ea 100644 --- a/packages/plugins/wallet-services-plugin/package.json +++ b/packages/plugins/wallet-services-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/wallet-services-plugin", - "version": "9.3.1", + "version": "9.3.2", "description": "Wallet services for which can be used with Web3Auth or private key providers used inside Web3Auth", "keywords": [ "web3Auth/wallet-services-plugin", @@ -36,7 +36,7 @@ "dependencies": { "@web3auth/auth": "^9.4.1", "@web3auth/base": "^9.3.0", - "@web3auth/no-modal": "^9.3.1", + "@web3auth/no-modal": "^9.3.2", "@web3auth/ws-embed": "^3.1.0", "loglevel": "^1.9.2" }, diff --git a/packages/ui/package.json b/packages/ui/package.json index 69c3e1c23..40b4b31e5 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/ui", - "version": "9.3.1", + "version": "9.3.2", "description": "Ui modal for web3Auth", "keywords": [ "web3Auth/ui", From ca76e432c461692bdcae682197dff2e388d9d340 Mon Sep 17 00:00:00 2001 From: hieu-w Date: Thu, 7 Nov 2024 17:20:05 +0700 Subject: [PATCH 05/19] Fix vue demo app solana type --- demo/vue-app-new/src/services/solHandlers.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/demo/vue-app-new/src/services/solHandlers.ts b/demo/vue-app-new/src/services/solHandlers.ts index 7c8ac28a1..5a2a08857 100644 --- a/demo/vue-app-new/src/services/solHandlers.ts +++ b/demo/vue-app-new/src/services/solHandlers.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import { Connection, LAMPORTS_PER_SOL, PublicKey, SystemProgram, Transaction } from "@solana/web3.js"; import { CustomChainConfig, IProvider, log } from "@web3auth/base"; -import { SolanaWallet } from "@web3auth/solana-provider"; +import { SolanaWallet, TransactionOrVersionedTransaction } from "@web3auth/solana-provider"; import base58 from "bs58"; const getConnection = async (provider: IProvider): Promise => { @@ -65,7 +65,7 @@ export const signAndSendTransaction = async (provider: IProvider, uiConsole: any feePayer: new PublicKey(pubKey[0]), }).add(transactionInstruction); - const signature = await solWeb3.signAndSendTransaction(transaction); + const signature = await solWeb3.signAndSendTransaction(transaction as unknown as TransactionOrVersionedTransaction); uiConsole("signature", signature); } catch (error) { log.error("Error", error); @@ -93,7 +93,7 @@ export const signTransaction = async (provider: IProvider, uiConsole: any) => { feePayer: new PublicKey(pubKey[0]), }).add(transactionInstruction); - const signedTx = await solWeb3.signTransaction(transaction); + const signedTx = await solWeb3.signTransaction(transaction as unknown as TransactionOrVersionedTransaction); log.info("signedTx", signedTx); uiConsole("signature", signedTx); return { signature: signedTx }; @@ -126,9 +126,9 @@ export const signAllTransactions = async (provider: IProvider, uiConsole: any) = log.info("blockhash", blockhash); const signedTx = await solWeb3.signAllTransactions([ - getNewTx(publicKeys, blockhash), - getNewTx(publicKeys, blockhash), - getNewTx(publicKeys, blockhash), + getNewTx(publicKeys, blockhash) as unknown as TransactionOrVersionedTransaction, + getNewTx(publicKeys, blockhash) as unknown as TransactionOrVersionedTransaction, + getNewTx(publicKeys, blockhash) as unknown as TransactionOrVersionedTransaction, ]); log.info("signedTx", signedTx); uiConsole("signature", signedTx); From f715f573a4ae5b4c7142b08fd75ac745b9f9462b Mon Sep 17 00:00:00 2001 From: Nguyen Anh Tu Date: Fri, 8 Nov 2024 16:12:58 +0700 Subject: [PATCH 06/19] feat(app): account abstraction - update viem --- package-lock.json | 8 ++++---- .../providers/account-abstraction-provider/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 24cc6fd98..551fe1505 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26039,9 +26039,9 @@ } }, "node_modules/viem": { - "version": "2.21.36", - "resolved": "https://registry.npmjs.org/viem/-/viem-2.21.36.tgz", - "integrity": "sha512-rKQj4EiA/usM2bY1/lYGaiHg17T4By6vbFPiomtod4evi0IH91ZPFI5lDOz1dnUVqQTNOJhKkwQupN3ahuRhHQ==", + "version": "2.21.40", + "resolved": "https://registry.npmjs.org/viem/-/viem-2.21.40.tgz", + "integrity": "sha512-no/mE3l7B0mdUTtvO7z/cTLENttQ/M7+ombqFGXJqsQrxv9wrYsTIGpS3za+FA5a447hY+x9D8Wxny84q1zAaA==", "funding": [ { "type": "github", @@ -27598,7 +27598,7 @@ "@web3auth/ethereum-provider": "^9.3.0", "ethers": "^6.13.4", "permissionless": "^0.2.15", - "viem": "^2.21.36" + "viem": "^2.21.40" }, "engines": { "node": ">=18.x", diff --git a/packages/providers/account-abstraction-provider/package.json b/packages/providers/account-abstraction-provider/package.json index 5dc9f06d5..ff408e4b2 100644 --- a/packages/providers/account-abstraction-provider/package.json +++ b/packages/providers/account-abstraction-provider/package.json @@ -28,7 +28,7 @@ "@web3auth/ethereum-provider": "^9.3.0", "ethers": "^6.13.4", "permissionless": "^0.2.15", - "viem": "^2.21.36" + "viem": "^2.21.40" }, "peerDependencies": { "@babel/runtime": "7.x" From f4247b2189870ed275b284355618a820df164823 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Tu Date: Fri, 8 Nov 2024 16:13:21 +0700 Subject: [PATCH 07/19] feat(app): aa - update demo remove biconomy and use nexus --- demo/vue-app-new/package-lock.json | 164 ++++++++++++++--------------- demo/vue-app-new/src/MainView.vue | 6 +- demo/vue-app-new/src/config.ts | 24 ++++- 3 files changed, 107 insertions(+), 87 deletions(-) diff --git a/demo/vue-app-new/package-lock.json b/demo/vue-app-new/package-lock.json index b068576a0..386ddab07 100644 --- a/demo/vue-app-new/package-lock.json +++ b/demo/vue-app-new/package-lock.json @@ -56,12 +56,12 @@ }, "../../packages/adapters/auth-adapter": { "name": "@web3auth/auth-adapter", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", - "@web3auth/base-provider": "^9.2.3", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", "deepmerge": "^4.3.1" }, "engines": { @@ -74,11 +74,11 @@ }, "../../packages/adapters/base-evm-adapter": { "name": "@web3auth/base-evm-adapter", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@toruslabs/base-controllers": "^6.2.2", - "@web3auth/base": "^9.2.3" + "@web3auth/base": "^9.3.0" }, "engines": { "node": ">=18.x", @@ -90,11 +90,11 @@ }, "../../packages/adapters/base-solana-adapter": { "name": "@web3auth/base-solana-adapter", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@toruslabs/base-controllers": "^6.2.2", - "@web3auth/base": "^9.2.3", + "@web3auth/base": "^9.3.0", "bs58": "^5.0.0" }, "devDependencies": { @@ -110,11 +110,11 @@ }, "../../packages/adapters/coinbase-adapter": { "name": "@web3auth/coinbase-adapter", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { - "@web3auth/base": "^9.2.3", - "@web3auth/base-evm-adapter": "^9.2.3" + "@web3auth/base": "^9.3.0", + "@web3auth/base-evm-adapter": "^9.3.0" }, "devDependencies": { "@coinbase/wallet-sdk": "^4.1.0" @@ -130,12 +130,12 @@ }, "../../packages/adapters/default-evm-adapter": { "name": "@web3auth/default-evm-adapter", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { - "@web3auth/base": "^9.2.3", - "@web3auth/base-evm-adapter": "^9.2.3", - "@web3auth/wallet-connect-v2-adapter": "^9.2.3", + "@web3auth/base": "^9.3.0", + "@web3auth/base-evm-adapter": "^9.3.0", + "@web3auth/wallet-connect-v2-adapter": "^9.3.0", "mipd": "^0.0.7" }, "engines": { @@ -148,19 +148,19 @@ }, "../../packages/adapters/default-solana-adapter": { "name": "@web3auth/default-solana-adapter", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@solana/wallet-standard-features": "^1.2.0", - "@solana/web3.js": "^1.95.3", + "@solana/web3.js": "^1.95.4", "@wallet-standard/app": "^1.0.1", "@wallet-standard/base": "^1.0.1", "@wallet-standard/features": "^1.0.3", "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", - "@web3auth/base-solana-adapter": "^9.2.3", - "@web3auth/solana-provider": "^9.2.3", - "@web3auth/wallet-connect-v2-adapter": "^9.2.3", + "@web3auth/base": "^9.3.0", + "@web3auth/base-solana-adapter": "^9.3.0", + "@web3auth/solana-provider": "^9.3.0", + "@web3auth/wallet-connect-v2-adapter": "^9.3.0", "bn.js": "^5.2.1" }, "engines": { @@ -173,12 +173,12 @@ }, "../../packages/adapters/torus-evm-adapter": { "name": "@web3auth/torus-evm-adapter", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@toruslabs/torus-embed": "^5.0.0", - "@web3auth/base": "^9.2.3", - "@web3auth/base-evm-adapter": "^9.2.3" + "@web3auth/base": "^9.3.0", + "@web3auth/base-evm-adapter": "^9.3.0" }, "engines": { "node": ">=18.x", @@ -190,14 +190,14 @@ }, "../../packages/adapters/torus-solana-adapter": { "name": "@web3auth/torus-solana-adapter", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@toruslabs/solana-embed": "^2.1.0", - "@web3auth/base": "^9.2.3", - "@web3auth/base-provider": "^9.2.3", - "@web3auth/base-solana-adapter": "^9.2.3", - "@web3auth/solana-provider": "^9.2.3" + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", + "@web3auth/base-solana-adapter": "^9.3.0", + "@web3auth/solana-provider": "^9.3.0" }, "engines": { "node": ">=18.x", @@ -210,19 +210,19 @@ }, "../../packages/adapters/wallet-connect-v2-adapter": { "name": "@web3auth/wallet-connect-v2-adapter", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { - "@solana/web3.js": "^1.95.3", + "@solana/web3.js": "^1.95.4", "@toruslabs/base-controllers": "^6.2.2", - "@walletconnect/sign-client": "^2.17.0", - "@walletconnect/types": "^2.17.0", - "@walletconnect/utils": "^2.17.0", + "@walletconnect/sign-client": "^2.17.1", + "@walletconnect/types": "^2.17.1", + "@walletconnect/utils": "^2.17.1", "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", - "@web3auth/base-provider": "^9.2.3", - "@web3auth/ethereum-provider": "^9.2.3", - "@web3auth/solana-provider": "^9.2.3", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", + "@web3auth/ethereum-provider": "^9.3.0", + "@web3auth/solana-provider": "^9.3.0", "bs58": "^5.0.0", "deepmerge": "^4.3.1" }, @@ -239,7 +239,7 @@ }, "../../packages/base": { "name": "@web3auth/base", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@toruslabs/base-controllers": "^6.2.2", @@ -260,15 +260,15 @@ }, "../../packages/composables/modal-vue-composables": { "name": "@web3auth/modal-vue-composables", - "version": "9.2.3", + "version": "9.3.1", "license": "ISC", "dependencies": { - "@web3auth/base": "^9.2.3", - "@web3auth/modal": "^9.2.3" + "@web3auth/base": "^9.3.0", + "@web3auth/modal": "^9.3.1" }, "devDependencies": { "@web3auth/auth": "^9.4.1", - "@web3auth/auth-adapter": "^9.2.3" + "@web3auth/auth-adapter": "^9.3.0" }, "engines": { "node": ">=18.x", @@ -281,24 +281,24 @@ }, "../../packages/modal": { "name": "@web3auth/modal", - "version": "9.2.3", + "version": "9.3.1", "license": "ISC", "dependencies": { - "@web3auth/auth-adapter": "^9.2.3", - "@web3auth/base": "^9.2.3", - "@web3auth/base-provider": "^9.2.3", - "@web3auth/no-modal": "^9.2.3", - "@web3auth/ui": "^9.2.3", + "@web3auth/auth-adapter": "^9.3.0", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", + "@web3auth/no-modal": "^9.3.1", + "@web3auth/ui": "^9.3.1", "deepmerge": "^4.3.1" }, "devDependencies": { "@svgr/webpack": "^8.1.0", "@toruslabs/isomorphic-style-loader": "^5.3.3", - "@web3auth/account-abstraction-provider": "^9.2.3", + "@web3auth/account-abstraction-provider": "^9.3.1", "@web3auth/auth": "^9.4.1", - "@web3auth/wallet-connect-v2-adapter": "^9.2.3", + "@web3auth/wallet-connect-v2-adapter": "^9.3.0", "css-loader": "^7.1.2", - "postcss-prefix-selector": "^1.16.1", + "postcss-prefix-selector": "^2.1.0", "style-loader": "^4.0.0", "url-loader": "^4.1.1" }, @@ -318,18 +318,18 @@ }, "../../packages/no-modal": { "name": "@web3auth/no-modal", - "version": "9.2.3", + "version": "9.3.1", "license": "ISC", "dependencies": { "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", - "@web3auth/base-provider": "^9.2.3", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", "deepmerge": "^4.3.1" }, "devDependencies": { - "@web3auth/account-abstraction-provider": "^9.2.3", - "@web3auth/auth-adapter": "^9.2.3", - "@web3auth/wallet-connect-v2-adapter": "^9.2.3" + "@web3auth/account-abstraction-provider": "^9.3.1", + "@web3auth/auth-adapter": "^9.3.0", + "@web3auth/wallet-connect-v2-adapter": "^9.3.0" }, "engines": { "node": ">=18.x", @@ -351,13 +351,13 @@ }, "../../packages/plugins/solana-wallet-connector-plugin": { "name": "@web3auth/solana-wallet-connector-plugin", - "version": "9.2.3", + "version": "9.3.1", "license": "ISC", "dependencies": { "@toruslabs/solana-embed": "^2.1.0", "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", - "@web3auth/no-modal": "^9.2.3", + "@web3auth/base": "^9.3.0", + "@web3auth/no-modal": "^9.3.1", "loglevel": "^1.9.2" }, "engines": { @@ -370,13 +370,13 @@ }, "../../packages/plugins/wallet-services-plugin": { "name": "@web3auth/wallet-services-plugin", - "version": "9.2.3", + "version": "9.3.1", "license": "ISC", "dependencies": { "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", - "@web3auth/no-modal": "^9.2.3", - "@web3auth/ws-embed": "^3.0.0", + "@web3auth/base": "^9.3.0", + "@web3auth/no-modal": "^9.3.1", + "@web3auth/ws-embed": "^3.1.0", "loglevel": "^1.9.2" }, "devDependencies": { @@ -392,18 +392,18 @@ }, "../../packages/providers/account-abstraction-provider": { "name": "@web3auth/account-abstraction-provider", - "version": "9.2.3", + "version": "9.3.1", "license": "ISC", "dependencies": { "@ethereumjs/util": "^9.1.0", "@toruslabs/base-controllers": "^6.2.2", "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", - "@web3auth/base-provider": "^9.2.3", - "@web3auth/ethereum-provider": "^9.2.3", - "ethers": "^6.13.3", - "permissionless": "^0.2.7", - "viem": "^2.21.19" + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", + "@web3auth/ethereum-provider": "^9.3.0", + "ethers": "^6.13.4", + "permissionless": "^0.2.15", + "viem": "^2.21.40" }, "engines": { "node": ">=18.x", @@ -477,12 +477,12 @@ }, "../../packages/providers/base-provider": { "name": "@web3auth/base-provider", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@toruslabs/base-controllers": "^6.2.2", "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", + "@web3auth/base": "^9.3.0", "json-rpc-random-id": "^1.0.1" }, "devDependencies": { @@ -498,7 +498,7 @@ }, "../../packages/providers/ethereum-provider": { "name": "@web3auth/ethereum-provider", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@ethereumjs/util": "^9.1.0", @@ -506,18 +506,18 @@ "@toruslabs/eccrypto": "^5.0.4", "@toruslabs/http-helpers": "^7.0.0", "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", - "@web3auth/base-provider": "^9.2.3", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", - "ethers": "^6.13.3", + "ethers": "^6.13.4", "jsonschema": "^1.4.1" }, "devDependencies": { "@types/bn.js": "^5.1.6", "@types/json-rpc-random-id": "^1.0.3", - "@walletconnect/types": "^2.17.0" + "@walletconnect/types": "^2.17.1" }, "engines": { "node": ">=18.x", @@ -529,20 +529,20 @@ }, "../../packages/providers/solana-provider": { "name": "@web3auth/solana-provider", - "version": "9.2.3", + "version": "9.3.0", "license": "ISC", "dependencies": { "@toruslabs/base-controllers": "^6.2.2", "@toruslabs/tweetnacl-js": "^1.0.4", "@web3auth/auth": "^9.4.1", - "@web3auth/base": "^9.2.3", - "@web3auth/base-provider": "^9.2.3", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", "bn.js": "^5.2.1", "bs58": "^5.0.0", "json-rpc-random-id": "^1.0.1" }, "devDependencies": { - "@solana/web3.js": "^1.95.3", + "@solana/web3.js": "^1.95.4", "@types/bn.js": "^5.1.6", "@types/bs58": "^4.0.4", "@types/json-rpc-random-id": "^1.0.3" diff --git a/demo/vue-app-new/src/MainView.vue b/demo/vue-app-new/src/MainView.vue index 22ba05044..639732177 100644 --- a/demo/vue-app-new/src/MainView.vue +++ b/demo/vue-app-new/src/MainView.vue @@ -1,9 +1,9 @@