@tonconnect/ui-react 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/components/TonConnectUIProvider.d.ts +2 -2
- package/lib/hooks/useTonConnectUI.d.ts +2 -2
- package/lib/index.js +392 -1268
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +393 -1269
- package/lib/index.umd.js.map +1 -1
- package/lib/utils/errors.d.ts +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Locales, Theme,
|
|
1
|
+
import { Locales, Theme, TonConnectUI } from '@tonconnect/ui';
|
|
2
2
|
import { ITonConnect } from '@tonconnect/sdk';
|
|
3
3
|
import type * as CSS from 'csstype';
|
|
4
4
|
declare type Color = CSS.Property.Color;
|
|
5
|
-
export declare const TonConnectUIContext: import("react").Context<
|
|
5
|
+
export declare const TonConnectUIContext: import("react").Context<TonConnectUI | null>;
|
|
6
6
|
export declare type TonConnectUIProviderProps = {
|
|
7
7
|
children: JSX.Element;
|
|
8
8
|
} & Partial<TonConnectUIProviderPropsBase> & (TonConnectUIProviderPropsWithManifest | TonConnectUIProviderPropsWithConnector);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function useTonConnectUI(): [
|
|
1
|
+
import { TonConnectUI, TonConnectUiOptions } from '@tonconnect/ui';
|
|
2
|
+
export declare function useTonConnectUI(): [TonConnectUI, (options: TonConnectUiOptions) => void];
|