@tma.js/sdk-solid 2.1.11 → 3.0.1
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/LICENSE +1 -1
- package/README.md +9 -9
- package/dist/dts/index.d.ts +1 -18
- package/dist/dts/useSignal.d.ts +9 -0
- package/dist/index.cjs +1 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -3011
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/dts/SDKProvider/SDKContext.d.ts +0 -8
- package/dist/dts/SDKProvider/SDKProvider.d.ts +0 -8
- package/dist/dts/SDKProvider/SDKProvider.types.d.ts +0 -54
- package/dist/dts/createHOC.d.ts +0 -15
- package/dist/dts/createHook.d.ts +0 -13
- package/dist/dts/hooks-hocs/back-button.d.ts +0 -8
- package/dist/dts/hooks-hocs/biometry-manager.d.ts +0 -8
- package/dist/dts/hooks-hocs/closing-behavior.d.ts +0 -8
- package/dist/dts/hooks-hocs/cloud-storage.d.ts +0 -8
- package/dist/dts/hooks-hocs/haptic-feedback.d.ts +0 -8
- package/dist/dts/hooks-hocs/init-data.d.ts +0 -8
- package/dist/dts/hooks-hocs/invoice.d.ts +0 -8
- package/dist/dts/hooks-hocs/main-button.d.ts +0 -8
- package/dist/dts/hooks-hocs/mini-app.d.ts +0 -8
- package/dist/dts/hooks-hocs/popup.d.ts +0 -8
- package/dist/dts/hooks-hocs/qr-scanner.d.ts +0 -8
- package/dist/dts/hooks-hocs/settings-button.d.ts +0 -8
- package/dist/dts/hooks-hocs/theme-params.d.ts +0 -8
- package/dist/dts/hooks-hocs/utils.d.ts +0 -8
- package/dist/dts/hooks-hocs/viewport.d.ts +0 -8
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to receive the MainButton component instance.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useMainButton: import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<import('@tma.js/sdk').MainButton>>;
|
|
5
|
-
/**
|
|
6
|
-
* HOC to pass the MainButton component instance to the wrapped component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const withMainButton: import('../createHOC.js').HOC<import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<import('@tma.js/sdk').MainButton>>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to receive the MiniApp component instance.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useMiniApp: import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<import('@tma.js/sdk').MiniApp>>;
|
|
5
|
-
/**
|
|
6
|
-
* HOC to pass the MiniApp component instance to the wrapped component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const withMiniApp: import('../createHOC.js').HOC<import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<import('@tma.js/sdk').MiniApp>>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to receive the Popup component instance.
|
|
3
|
-
*/
|
|
4
|
-
export declare const usePopup: import('../createHook.js').Hook<import('@tma.js/sdk').InitStaticComponentFn<import('@tma.js/sdk').Popup>>;
|
|
5
|
-
/**
|
|
6
|
-
* HOC to pass the Popup component instance to the wrapped component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const withPopup: import('../createHOC.js').HOC<import('../createHook.js').Hook<import('@tma.js/sdk').InitStaticComponentFn<import('@tma.js/sdk').Popup>>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to receive the QRScanner component instance.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useQRScanner: import('../createHook.js').Hook<import('@tma.js/sdk').InitStaticComponentFn<import('@tma.js/sdk').QRScanner>>;
|
|
5
|
-
/**
|
|
6
|
-
* HOC to pass the QRScanner component instance to the wrapped component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const withQRScanner: import('../createHOC.js').HOC<import('../createHook.js').Hook<import('@tma.js/sdk').InitStaticComponentFn<import('@tma.js/sdk').QRScanner>>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to receive the SettingsButton component instance.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useSettingsButton: import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<import('@tma.js/sdk').SettingsButton>>;
|
|
5
|
-
/**
|
|
6
|
-
* HOC to pass the SettingsButton component instance to the wrapped component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const withSettingsButton: import('../createHOC.js').HOC<import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<import('@tma.js/sdk').SettingsButton>>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to receive the ThemeParams component instance.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useThemeParams: import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<import('@tma.js/sdk').ThemeParams>>;
|
|
5
|
-
/**
|
|
6
|
-
* HOC to pass the ThemeParams component instance to the wrapped component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const withThemeParams: import('../createHOC.js').HOC<import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<import('@tma.js/sdk').ThemeParams>>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to receive the Utils component instance.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useUtils: import('../createHook.js').Hook<import('@tma.js/sdk').InitStaticComponentFn<import('@tma.js/sdk').Utils>>;
|
|
5
|
-
/**
|
|
6
|
-
* HOC to pass the Utils component instance to the wrapped component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const withUtils: import('../createHOC.js').HOC<import('../createHook.js').Hook<import('@tma.js/sdk').InitStaticComponentFn<import('@tma.js/sdk').Utils>>>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook to receive the Viewport component instance.
|
|
3
|
-
*/
|
|
4
|
-
export declare const useViewport: import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<Promise<import('@tma.js/sdk').Viewport>>>;
|
|
5
|
-
/**
|
|
6
|
-
* HOC to pass the Viewport component instance to the wrapped component.
|
|
7
|
-
*/
|
|
8
|
-
export declare const withViewport: import('../createHOC.js').HOC<import('../createHook.js').Hook<import('@tma.js/sdk').InitDynamicComponentFn<Promise<import('@tma.js/sdk').Viewport>>>>;
|