@dodoex/widgets 3.0.2-zetachain.110.ton.1 → 3.0.2-zetachain.111

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.
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { AppKitNetworkExtend, type CaipNetworkExtend } from './reown-types';
2
- export declare const CaipNetworksUtil: {
3
- isCaipNetwork(network: AppKitNetworkExtend): network is CaipNetworkExtend;
4
- getChainNamespace(network: AppKitNetworkExtend): import("./reown-types").ChainNamespaceExtend;
5
- };
@@ -1,28 +0,0 @@
1
- import { type BaseNetwork, ChainId, ChainNamespace, type CaipNetwork } from '@reown/appkit-common';
2
- import type { NamespaceTypeMap, UseAppKitAccountReturn } from '@reown/appkit/react';
3
- export type ChainNamespaceExtend = ChainNamespace | 'ton' | 'sui';
4
- export type CaipNetworkIdExtend = `${ChainNamespaceExtend}:${ChainId}`;
5
- export type CaipAddressExtend = `${ChainNamespaceExtend}:${ChainId}:${string}`;
6
- type NamespaceTypeMapExtend = NamespaceTypeMap & {
7
- ton: 'eoa';
8
- sui: 'eoa';
9
- };
10
- type AccountTypeMapExtend = {
11
- [K in ChainNamespaceExtend]: {
12
- namespace: K;
13
- address: string;
14
- type: NamespaceTypeMapExtend[K];
15
- publicKey?: K extends 'bip122' ? string : never;
16
- path?: K extends 'bip122' ? string : never;
17
- };
18
- };
19
- type AccountTypeExtend = AccountTypeMapExtend[ChainNamespaceExtend];
20
- export type UseAppKitAccountReturnExtend = {
21
- allAccounts: AccountTypeExtend[];
22
- caipAddress: CaipAddressExtend | undefined;
23
- } & Pick<UseAppKitAccountReturn, 'address' | 'isConnected' | 'embeddedWalletInfo' | 'status'>;
24
- export type CaipNetworkExtend = Omit<CaipNetwork, 'chainNamespace'> & {
25
- chainNamespace: ChainNamespaceExtend;
26
- };
27
- export type AppKitNetworkExtend = BaseNetwork | CaipNetworkExtend;
28
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import { Message } from '@ton/ton';
2
- export declare function getNormalizedExtMessageHash(message: Message): Buffer;
3
- export declare function normalizedExtHashFromBoc(bocBase64: string): string;
@@ -1 +0,0 @@
1
- export {};