@dogeos/dogeos-sdk 3.0.13-beta.3 → 3.0.14-beta.0
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 +55 -19
- package/dist/{features-animation-lQM_iR9q.js → features-animation-BeahLJIq.js} +1 -1
- package/dist/{index-_ucuEk2Q.js → index-Bb5ol8mj.js} +4 -4
- package/dist/{index-BlgYlOS9.js → index-CuRx8gCh.js} +8268 -8184
- package/dist/{index-VRRzz9XN.js → index-CxpYwj3g.js} +1 -1
- package/dist/index.d.ts +6 -9
- package/dist/index.js +1 -1
- package/dist/src-UW24ZMRV-CIXOW27n.js +5 -0
- package/package.json +3 -3
- package/dist/src-UW24ZMRV-BlwxOd4h.js +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ export declare type SwitchChainOptions = {
|
|
|
138
138
|
export declare type ThemeConfig = ThemeConfig_2;
|
|
139
139
|
|
|
140
140
|
declare type ThemeConfig_2 = {
|
|
141
|
+
prefix?: string;
|
|
141
142
|
layout?: LayoutTheme;
|
|
142
143
|
themes?: ConfigThemes;
|
|
143
144
|
defaultTheme?: DefaultThemeType;
|
|
@@ -222,7 +223,7 @@ export declare interface WalletConnectKitConfig {
|
|
|
222
223
|
* Must be obtained through getConnectors() method, cannot be passed directly
|
|
223
224
|
* @example
|
|
224
225
|
* ```tsx
|
|
225
|
-
* import { getConnectors } from "@
|
|
226
|
+
* import { getConnectors } from "@dogeos/dogeos-sdk";
|
|
226
227
|
* const connectors = await getConnectors();
|
|
227
228
|
* ```
|
|
228
229
|
*/
|
|
@@ -232,7 +233,7 @@ export declare interface WalletConnectKitConfig {
|
|
|
232
233
|
* Must be obtained through getChains() method, cannot be passed directly
|
|
233
234
|
* @example
|
|
234
235
|
* ```tsx
|
|
235
|
-
* import { getChains } from "@
|
|
236
|
+
* import { getChains } from "@dogeos/dogeos-sdk";
|
|
236
237
|
* const chains = await getChains();
|
|
237
238
|
* ```
|
|
238
239
|
*/
|
|
@@ -242,7 +243,7 @@ export declare interface WalletConnectKitConfig {
|
|
|
242
243
|
* @default undefined
|
|
243
244
|
* @example
|
|
244
245
|
* ```tsx
|
|
245
|
-
* import { WalletConnectProvider } from "@
|
|
246
|
+
* import { WalletConnectProvider } from "@dogeos/dogeos-sdk";
|
|
246
247
|
* const config: WalletConnectKitConfig = {
|
|
247
248
|
* defaultConnectChain: ChainTypeEnum.EVM as ChainType,
|
|
248
249
|
* };
|
|
@@ -259,7 +260,7 @@ export declare interface WalletConnectKitConfig {
|
|
|
259
260
|
* Application metadata
|
|
260
261
|
* @example
|
|
261
262
|
* ```tsx
|
|
262
|
-
* import { WalletConnectProvider } from "@
|
|
263
|
+
* import { WalletConnectProvider } from "@dogeos/dogeos-sdk";
|
|
263
264
|
* const config: WalletConnectKitConfig = {
|
|
264
265
|
* metadata: {
|
|
265
266
|
* name: "My DApp",
|
|
@@ -288,15 +289,11 @@ export declare interface WalletConnectKitConfig {
|
|
|
288
289
|
* Based on standard Connector from wallet-adaptor-base
|
|
289
290
|
*/
|
|
290
291
|
export declare type WalletConnector = Connector & {
|
|
292
|
+
providers?: any;
|
|
291
293
|
isEmbeddedWallet?: boolean;
|
|
292
294
|
logout?: () => Promise<boolean>;
|
|
293
295
|
};
|
|
294
296
|
|
|
295
|
-
/**
|
|
296
|
-
* Thin wrapper: only derives config and renders QueryClientProvider > Content.
|
|
297
|
-
* All wallet/context state and useEmbeddedWalletInternal (useQuery) run inside Content,
|
|
298
|
-
* so they are under QueryClientProvider and WalletConnectContext.Provider.
|
|
299
|
-
*/
|
|
300
297
|
export declare const WalletConnectProvider: ({ children, config }: WalletConnectProviderProps) => JSX_2.Element | null;
|
|
301
298
|
|
|
302
299
|
declare interface WalletConnectProviderProps {
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
})();
|
|
13
13
|
|
|
14
|
-
import { am as n, an as s, ao as t, as as o, at as c, ap as r, ar as C, aq as l } from "./index-
|
|
14
|
+
import { am as n, an as s, ao as t, as as o, at as c, ap as r, ar as C, aq as l } from "./index-CuRx8gCh.js";
|
|
15
15
|
export {
|
|
16
16
|
n as ChainTypeEnum,
|
|
17
17
|
s as WalletConnectEmbed,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dogeos/dogeos-sdk",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.14-beta.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"qrcode": "^1.5.4",
|
|
28
28
|
"viem": "2.38.2",
|
|
29
29
|
"@tomo-inc/embedded-wallet-providers": "0.0.18",
|
|
30
|
-
"@tomo-inc/
|
|
31
|
-
"@tomo-inc/
|
|
30
|
+
"@tomo-inc/wallet-adaptor-base": "0.0.20",
|
|
31
|
+
"@tomo-inc/tomo-ui": "0.0.11"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": ">=18",
|