From 80638f9410d4a88c4138f14e1b4f397aa849630d Mon Sep 17 00:00:00 2001 From: Yashovardhan Agrawal <21066442+yashovardhan@users.noreply.github.com> Date: Wed, 21 Aug 2024 12:23:26 +0530 Subject: [PATCH] Update sfa vue qs --- .../sfa-vue-quick-start/package.json | 13 +- .../sfa-vue-quick-start/src/App.vue | 2 +- .../sfa-vue-quick-start/src/Home.vue | 77 ++++++----- .../sfa-vue-quick-start/src/ethersRPC.ts | 95 +++++++++++++ .../sfa-vue-quick-start/src/viemRPC.ts | 130 ++++++++++++++++++ .../sfa-vue-quick-start/src/web3RPC.ts | 107 ++++++++++++++ 6 files changed, 382 insertions(+), 42 deletions(-) create mode 100644 single-factor-auth-web/quick-starts/sfa-vue-quick-start/src/ethersRPC.ts create mode 100644 single-factor-auth-web/quick-starts/sfa-vue-quick-start/src/viemRPC.ts create mode 100644 single-factor-auth-web/quick-starts/sfa-vue-quick-start/src/web3RPC.ts diff --git a/single-factor-auth-web/quick-starts/sfa-vue-quick-start/package.json b/single-factor-auth-web/quick-starts/sfa-vue-quick-start/package.json index 24848850..6b0fe012 100644 --- a/single-factor-auth-web/quick-starts/sfa-vue-quick-start/package.json +++ b/single-factor-auth-web/quick-starts/sfa-vue-quick-start/package.json @@ -12,10 +12,13 @@ "@web3auth/base": "^9.0.0", "@web3auth/ethereum-provider": "^9.0.0", "@web3auth/single-factor-auth": "^9.0.0", - "core-js": "^3.26.1", - "firebase": "^10.4.0", - "vue": "^3.3.4", - "web3": "^4.2.2" + "@babel/plugin-transform-private-methods": "^7.24.7", + "core-js": "^3.38.1", + "ethers": "^6.13.2", + "firebase": "^10.13.0", + "viem": "^2.19.8", + "vue": "^3.4.38", + "web3": "^4.11.1" }, "//IMP END": "IMP END - Web3Auth Installation", "devDependencies": { @@ -31,6 +34,6 @@ "@vue/eslint-config-typescript": "^11.0.2", "eslint": "^8.29.0", "eslint-plugin-vue": "^9.8.0", - "typescript": "~4.9.4" + "typescript": "~5.5.4" } } diff --git a/single-factor-auth-web/quick-starts/sfa-vue-quick-start/src/App.vue b/single-factor-auth-web/quick-starts/sfa-vue-quick-start/src/App.vue index 4cddc672..1f006766 100644 --- a/single-factor-auth-web/quick-starts/sfa-vue-quick-start/src/App.vue +++ b/single-factor-auth-web/quick-starts/sfa-vue-quick-start/src/App.vue @@ -1,5 +1,5 @@