Skip to content

Commit 5863993

Browse files
Merge pull request #2079 from Web3Auth/fix/demo-app-missing-import
fix demo app missing wallet service provider import
2 parents e466f27 + a753357 commit 5863993

File tree

3 files changed

+77
-3
lines changed

3 files changed

+77
-3
lines changed

demo/vue-app-new/package-lock.json

Lines changed: 74 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/vue-app-new/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@toruslabs/vue-icons": "^7.6.2",
2020
"@web3auth/auth": "^9.6.4",
2121
"@web3auth/modal": "file:../../packages/modal",
22+
"@web3auth/no-modal": "file:../../packages/no-modal",
2223
"@web3auth/sign-in-with-ethereum": "^4.2.2",
2324
"@web3auth/ws-embed": "^4.0.4",
2425
"bs58": "^6.0.0",

demo/vue-app-new/src/MainView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<script setup lang="ts">
22
3-
import { CHAIN_NAMESPACES, WalletConnectV2Adapter, WalletServicesPlugin, type Web3AuthOptions,EthereumPrivateKeyProvider,NFTCheckoutPlugin,SolanaPrivateKeyProvider,CommonPrivateKeyProvider,CoinbaseAdapter, ChainNamespaceType, IAdapter, IBaseProvider, IProvider, storageAvailable, WALLET_ADAPTERS, AccountAbstractionProvider, ISmartAccount, KernelSmartAccount, NexusSmartAccount, SafeSmartAccount, TrustSmartAccount, getEvmInjectedAdapters, getSolanaInjectedAdapters, } from "@web3auth/modal";
3+
import { CHAIN_NAMESPACES, WalletConnectV2Adapter, WalletServicesPlugin, type Web3AuthOptions,EthereumPrivateKeyProvider,NFTCheckoutPlugin,SolanaPrivateKeyProvider,CommonPrivateKeyProvider,CoinbaseAdapter, ChainNamespaceType, IAdapter, IBaseProvider, IProvider, storageAvailable, WALLET_ADAPTERS, AccountAbstractionProvider, ISmartAccount, KernelSmartAccount, NexusSmartAccount, SafeSmartAccount, TrustSmartAccount, getEvmInjectedAdapters, getSolanaInjectedAdapters } from "@web3auth/modal";
4+
import { WalletServicesProvider } from "@web3auth/no-modal/vue";
45
import { Web3AuthProvider } from "@web3auth/modal/vue";
56
import { computed, onBeforeMount, ref, watch } from "vue";
67

0 commit comments

Comments
 (0)