Skip to content

Commit

Permalink
fix: bad imports
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Nov 8, 2023
1 parent 685e46a commit 6d9fe4b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
7 changes: 5 additions & 2 deletions apps/sample-vue-app/src/connex/ConnexProvider.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<script lang="ts">
import { defineComponent, provide, reactive, readonly, toRefs } from 'vue';
import { MultiWalletConnex, WalletSource } from '@vechain/wallet-kit';
import {
ConnectResponse,
MultiWalletConnex,
WalletSource,
} from '@vechain/wallet-kit';
import type Connex from '@vechain/connex';
import {
ConnexSymbol,
Expand All @@ -10,7 +14,6 @@ import {
import { WalletActions, WalletState } from '@/connex/types';
import { WalletConnectOptions } from '@vechain/wallet-connect';
import { configureThorModal } from '@vechain/vanilla-wallet-kit';
import { ConnectResponse } from '@vechain/wallet-kit/src/types';
const initWallets = (hasWcOptions: boolean) => {
const wallets: WalletSource[] = ['sync2'];
Expand Down
3 changes: 1 addition & 2 deletions apps/sample-vue-app/src/connex/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { WalletSource } from '@vechain/wallet-kit';
import { ConnectResponse } from '@vechain/wallet-kit/src/types';
import { ConnectResponse, WalletSource } from '@vechain/wallet-kit';

type WalletState = {
availableWallets: WalletSource[];
Expand Down
3 changes: 1 addition & 2 deletions packages/react-wallet-kit/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import type { Options } from '@vechain/connex';
import type React from 'react';
import type { WalletConnectOptions } from '@vechain/wallet-connect';
import type { WalletSource } from '@vechain/wallet-kit';
import type { ConnectResponse } from '@vechain/wallet-kit/src/types';
import type { ConnectResponse, WalletSource } from '@vechain/wallet-kit';

export interface AccountState {
address: string | null;
Expand Down
1 change: 1 addition & 0 deletions packages/wallet-kit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export type {
ConnexOptions,
ConnexWallet,
WalletSource,
ConnectResponse,
WalletConfig,
BaseWallet,
} from './types';

0 comments on commit 6d9fe4b

Please sign in to comment.