@tonkeeper/tonconnect-ui-react
Advanced tools
Comparing version 2.0.11-beta.3 to 2.0.11-beta.4
import { ReactNode } from 'react'; | ||
import { ActionConfiguration, Locales, TonConnectUI, UIPreferences, WalletsListConfiguration } from '../../node_modules/@tonkeeper/tonconnect-ui'; | ||
import type { ITonConnect } from '../../node_modules/@tonkeeper/tonconnect-ui'; | ||
import { ActionConfiguration, Locales, TonConnectUI, UIPreferences, WalletsListConfiguration } from '@tonkeeper/tonconnect-ui'; | ||
import type { ITonConnect } from '@tonkeeper/tonconnect-ui'; | ||
export declare const TonConnectUIContext: import("react").Context<TonConnectUI | null>; | ||
@@ -17,3 +17,3 @@ export declare type TonConnectUIProviderProps = { | ||
/** | ||
* TonConnect instance. Can be helpful if you use custom ITonConnect implementation, or use both of @tonconnect/sdk and @tonconnect/ui in your app. | ||
* TonConnect instance. Can be helpful if you use custom ITonConnect implementation, or use both of @tonconnect/sdk and @tonkeeper/tonconnect-ui in your app. | ||
*/ | ||
@@ -20,0 +20,0 @@ connector: ITonConnect; |
@@ -1,2 +0,2 @@ | ||
import { TonConnectUIError } from '../../node_modules/@tonkeeper/tonconnect-ui'; | ||
import { TonConnectUIError } from '@tonkeeper/tonconnect-ui'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Base class for TonConnectUIReact errors. You can check if the error was triggered by the @tonconnect/ui-react using `err instanceof TonConnectUIReactError`. |
@@ -1,2 +0,2 @@ | ||
import { WalletsModal } from '../../node_modules/@tonkeeper/tonconnect-ui'; | ||
import { WalletsModal } from '@tonkeeper/tonconnect-ui'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Use it to get access to the open/close modal functions. |
@@ -1,2 +0,2 @@ | ||
import { TonConnectUI, TonConnectUiOptions } from '../../node_modules/@tonkeeper/tonconnect-ui'; | ||
import { TonConnectUI, TonConnectUiOptions } from '@tonkeeper/tonconnect-ui'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Use it to get access to the `TonConnectUI` instance and UI options updating function. |
@@ -1,2 +0,2 @@ | ||
import { Wallet, WalletInfoWithOpenMethod } from '../../node_modules/@tonkeeper/tonconnect-ui'; | ||
import { Wallet, WalletInfoWithOpenMethod } from '@tonkeeper/tonconnect-ui'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Use it to get user's current ton wallet. If wallet is not connected hook will return null. |
@@ -1,2 +0,2 @@ | ||
import { TonConnectUI } from '../../node_modules/@tonkeeper/tonconnect-ui'; | ||
import { TonConnectUI } from '@tonkeeper/tonconnect-ui'; | ||
export declare function checkProvider(provider: TonConnectUI | null): provider is TonConnectUI; |
{ | ||
"name": "@tonkeeper/tonconnect-ui-react", | ||
"version": "2.0.11-beta.3", | ||
"version": "2.0.11-beta.4", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "dev": "vite", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3708728
38616