@dogeos/dogeos-sdk 3.0.19-beta.4 → 3.0.19-beta.6
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 +2 -0
- package/dist/dogeos-sdk.css +1 -1
- package/dist/features-animation-CpOJYt3g.js +2610 -0
- package/dist/index-0zb3mdmR.js +18 -0
- package/dist/{index-C-1Md92d.js → index-DbZnkm04.js} +15619 -13575
- package/dist/index-DmcO-unQ.js +1425 -0
- package/dist/index.d.ts +11 -22
- package/dist/index.js +5 -5
- package/dist/src-UW24ZMRV-JR2KHDzT.js +5 -0
- package/package.json +27 -13
- package/dist/features-animation-DJnT8Xko.js +0 -2509
- package/dist/index-Cqs-xiB6.js +0 -1423
- package/dist/index-wbewv81s.js +0 -18
- package/dist/src-UW24ZMRV-DlgsnxRr.js +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import { AdaptorChainType } from '
|
|
1
|
+
import { AdaptorChainType } from '@tomo-inc/wallet-adaptor-base';
|
|
2
2
|
import { Chain as Chain_2 } from 'viem/chains';
|
|
3
3
|
import { ChainTypeEnum } from '@tomo-inc/wallet-utils';
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { ConnectorProviders } from '../../../../wallet-adaptor-base';
|
|
4
|
+
import { Connector } from '@tomo-inc/wallet-adaptor-base';
|
|
5
|
+
import { ConnectorProvider } from '@tomo-inc/wallet-adaptor-base';
|
|
6
|
+
import { ConnectorProviders } from '@tomo-inc/wallet-adaptor-base';
|
|
8
7
|
import { default as default_2 } from 'react';
|
|
9
|
-
import type { DefaultThemeType } from '@heroui/theme';
|
|
10
8
|
import { EmbeddedWallet } from '@tomo-inc/embedded-wallet-providers';
|
|
11
9
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import { WalletConfig } from '
|
|
15
|
-
import {
|
|
16
|
-
import { WalletInfo } from '../../../wallet-adaptor-base';
|
|
10
|
+
import { SignInParams } from '@tomo-inc/wallet-adaptor-base';
|
|
11
|
+
import { ThemeConfig as ThemeConfig_2 } from '@tomo-inc/tomo-ui';
|
|
12
|
+
import { WalletConfig } from '@tomo-inc/wallet-adaptor-base';
|
|
13
|
+
import { WalletInfo } from '@tomo-inc/wallet-adaptor-base';
|
|
17
14
|
import { WalletProvider } from '@tomo-inc/inject-providers';
|
|
18
|
-
import { WalletProvider as WalletProvider_2 } from '
|
|
19
|
-
import { WalletProvider as WalletProvider_3 } from '../../../../wallet-adaptor-base';
|
|
15
|
+
import { WalletProvider as WalletProvider_2 } from '@tomo-inc/wallet-adaptor-base';
|
|
20
16
|
|
|
21
17
|
export declare type BasicLoginType = "email" | "externalWallets";
|
|
22
18
|
|
|
@@ -103,7 +99,7 @@ export declare type GetChainsReturnType = Promise<Partial<Record<ChainType, EvmC
|
|
|
103
99
|
*
|
|
104
100
|
* @returns Returns all available wallet connectors
|
|
105
101
|
*/
|
|
106
|
-
export declare function getConnectors(): Promise<
|
|
102
|
+
export declare function getConnectors(): Promise<WalletConfig[]>;
|
|
107
103
|
|
|
108
104
|
export declare type GetConnectorsReturnType = Promise<WalletConfig[]>;
|
|
109
105
|
|
|
@@ -164,13 +160,6 @@ export declare type SwitchChainOptions = {
|
|
|
164
160
|
|
|
165
161
|
export declare type ThemeConfig = ThemeConfig_2;
|
|
166
162
|
|
|
167
|
-
declare type ThemeConfig_2 = {
|
|
168
|
-
prefix?: string;
|
|
169
|
-
layout?: LayoutTheme;
|
|
170
|
-
themes?: ConfigThemes;
|
|
171
|
-
defaultTheme?: DefaultThemeType;
|
|
172
|
-
};
|
|
173
|
-
|
|
174
163
|
/**
|
|
175
164
|
* Account information and actions exposed to users
|
|
176
165
|
*
|
|
@@ -196,7 +185,7 @@ export declare const useAccount: () => UseAccount;
|
|
|
196
185
|
|
|
197
186
|
export declare const useConnectors: () => {
|
|
198
187
|
connectors: ConnectorProviders | null;
|
|
199
|
-
currentProvider:
|
|
188
|
+
currentProvider: WalletProvider_2 | null;
|
|
200
189
|
};
|
|
201
190
|
|
|
202
191
|
/**
|