From 25a35300977fa4c8edc708b95f0a18cc0f833645 Mon Sep 17 00:00:00 2001 From: Yeferson Licet Date: Thu, 12 Sep 2024 13:06:03 -0300 Subject: [PATCH] Update imports --- packages/ios-web3-provider/index.ts | 4 ++-- packages/ios-web3-provider/package.json | 1 + packages/ton/MobileAdapter.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/ios-web3-provider/index.ts b/packages/ios-web3-provider/index.ts index e7dc2fee..dee85b2d 100644 --- a/packages/ios-web3-provider/index.ts +++ b/packages/ios-web3-provider/index.ts @@ -11,8 +11,8 @@ import { ICosmosProviderConfig } from '@trustwallet/web3-provider-cosmos/types/C import { IEthereumProviderConfig } from '@trustwallet/web3-provider-ethereum/types/EthereumProvider'; import { AptosProvider } from '@trustwallet/web3-provider-aptos'; import { IAptosProviderConfig } from '@trustwallet/web3-provider-aptos/types/AptosProvider'; -import { ITonProviderConfig } from '@trustwallet/web3-provider-ton/dist/types/types/TonProvider'; -import { ITonBridgeConfig } from '@trustwallet/web3-provider-ton/dist/types/types/TonBridge'; +import { ITonProviderConfig } from '@trustwallet/web3-provider-ton/types/TonProvider'; +import { ITonBridgeConfig } from '@trustwallet/web3-provider-ton/types/TonBridge'; import { TonBridge, TonProvider } from '@trustwallet/web3-provider-ton'; const core = (strategy: AdapterStrategyType, handler?: IHandler) => diff --git a/packages/ios-web3-provider/package.json b/packages/ios-web3-provider/package.json index 0f8859db..9418b66d 100644 --- a/packages/ios-web3-provider/package.json +++ b/packages/ios-web3-provider/package.json @@ -19,6 +19,7 @@ "dev": "bun build ./index.ts --outdir ./dist --watch" }, "dependencies": { + "ton": "^13.9.0", "@trustwallet/web3-provider-core": "workspace:*", "@trustwallet/web3-provider-ethereum": "workspace:*", "@trustwallet/web3-provider-solana": "workspace:*", diff --git a/packages/ton/MobileAdapter.ts b/packages/ton/MobileAdapter.ts index d18331d5..1fa94d29 100644 --- a/packages/ton/MobileAdapter.ts +++ b/packages/ton/MobileAdapter.ts @@ -1,5 +1,5 @@ import { TonProvider } from './TonProvider'; -import { Address, WalletContractV4 } from 'ton'; +import { Address } from 'ton'; interface ITransaction { valid_until: number;