Skip to content

Commit 7506233

Browse files
committed
fix: fixed build
1 parent 95ef452 commit 7506233

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

packages/modal/src/vue/WalletServicesInnerProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { CONNECTOR_STATUS, EVM_PLUGINS, PLUGIN_EVENTS, WalletServicesPluginError } from "@web3auth/no-modal";
22
import { type WalletServicesPluginType } from "@web3auth/no-modal";
3-
import { WalletServicesContextKey } from "@web3auth/no-modal/vue";
43
import { defineComponent, h, provide, Ref, ref, shallowRef, watch } from "vue";
54

65
import { useWeb3AuthInner } from "./composables/useWeb3AuthInner";
6+
import { WalletServicesContextKey } from "./context/WalletServicesContext";
77
import { IWalletServicesInnerContext } from "./interfaces";
88

99
export const WalletServicesInnerProvider = defineComponent({

packages/modal/src/vue/composables/useWalletServicesPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { WalletInitializationError } from "@web3auth/no-modal";
2-
import { WalletServicesContextKey } from "@web3auth/no-modal/vue";
32
import { inject } from "vue";
43

4+
import { WalletServicesContextKey } from "../context/WalletServicesContext";
55
import { IWalletServicesInnerContext } from "../interfaces";
66

77
export const useWalletServicesPlugin = (): IWalletServicesInnerContext => {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { InjectionKey } from "vue";
2+
3+
import { IWalletServicesInnerContext } from "../interfaces";
4+
5+
export const WalletServicesContextKey = Symbol("WalletServicesContextKey") as InjectionKey<IWalletServicesInnerContext>;

packages/no-modal/src/base/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import type { SmartAccountEipStandardType, SmartAccountType } from "@toruslabs/e
33
import { AuthConnectionConfigItem, type WhiteLabelData } from "@web3auth/auth";
44

55
import { type ChainNamespaceType, type CustomChainConfig } from "./chain/IChainInterface";
6+
import { ConnectedAccountInfo } from "./connector";
67
import { LOGIN_MODE, MODAL_SIGN_IN_METHODS, SMART_ACCOUNT_WALLET_SCOPE, WIDGET_TYPE } from "./constants";
78
import { WALLET_CONNECTOR_TYPE } from "./wallet";
8-
import { ConnectedAccountInfo } from "./connector";
99

1010
export interface WhitelistResponse {
1111
urls: string[];

packages/no-modal/src/noModal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
EIP7702_SUPPORTED_SMART_ACCOUNT_TYPES,
55
SMART_ACCOUNT_EIP_STANDARD,
66
} from "@toruslabs/ethereum-controllers";
7+
import { Wallet } from "@wallet-standard/base";
78
import {
89
cloneDeep,
910
CookieStorage,
@@ -89,7 +90,6 @@ import { metaMaskConnector } from "./connectors/metamask-connector";
8990
import { walletServicesPlugin } from "./plugins/wallet-services-plugin";
9091
import { type AccountAbstractionProvider } from "./providers/account-abstraction-provider";
9192
import { CommonJRPCProvider } from "./providers/base-provider";
92-
import { Wallet } from "@wallet-standard/base";
9393

9494
type WalletLinkingProof = {
9595
address: string;

0 commit comments

Comments
 (0)