From 8a30e8856c95b93352e5e141d5ad116edb8abc17 Mon Sep 17 00:00:00 2001 From: NaorYe Date: Wed, 26 Jun 2024 15:03:05 +0300 Subject: [PATCH] - Fix format --- packages/core/src/wallet/isWalletObject.ts | 2 +- packages/core/src/wallet/virtualWallets/index.ts | 2 +- .../core/src/wallet/virtualWallets/metaMaskVirtualWallet.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/wallet/isWalletObject.ts b/packages/core/src/wallet/isWalletObject.ts index cf05f69..af2b21c 100644 --- a/packages/core/src/wallet/isWalletObject.ts +++ b/packages/core/src/wallet/isWalletObject.ts @@ -1,4 +1,4 @@ -import { virtualWalletKeys, fullWalletKeys } from "../types" +import { fullWalletKeys, virtualWalletKeys } from "../types" function createWalletGuard(keys: (keyof T)[]) { return function hasKeys(obj: unknown): obj is T { diff --git a/packages/core/src/wallet/virtualWallets/index.ts b/packages/core/src/wallet/virtualWallets/index.ts index 6193108..cb5913c 100644 --- a/packages/core/src/wallet/virtualWallets/index.ts +++ b/packages/core/src/wallet/virtualWallets/index.ts @@ -1,6 +1,6 @@ -import type { StarknetWindowObject } from "starknet-types" import type { VirtualWallet } from "../../types" import { metaMaskVirtualWallet } from "./metaMaskVirtualWallet" +import type { StarknetWindowObject } from "starknet-types" const virtualWallets: VirtualWallet[] = [metaMaskVirtualWallet] diff --git a/packages/core/src/wallet/virtualWallets/metaMaskVirtualWallet.ts b/packages/core/src/wallet/virtualWallets/metaMaskVirtualWallet.ts index 1fabd88..bd5a7df 100644 --- a/packages/core/src/wallet/virtualWallets/metaMaskVirtualWallet.ts +++ b/packages/core/src/wallet/virtualWallets/metaMaskVirtualWallet.ts @@ -1,5 +1,5 @@ -import { loadRemote, init } from "@module-federation/runtime" import { VirtualWallet } from "../../types" +import { init, loadRemote } from "@module-federation/runtime" interface MetaMaskProvider { isMetaMask: boolean