@dogeos/dogeos-sdk 3.0.5 → 3.0.7-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/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { Connector } from '@tomo-inc/wallet-adaptor-base';
4
4
  import { JSX as JSX_2 } from 'react/jsx-runtime';
5
5
  import { SignInParams } from '@tomo-inc/wallet-adaptor-base';
6
6
  import { WalletConfig } from '@tomo-inc/wallet-adaptor-base';
7
- import { WalletConnectConfig as WalletConnectConfig_2 } from '@tomo-inc/wallet-connect-protocol';
7
+ import { WalletConnectConfig } from '@tomo-inc/wallet-connect-protocol';
8
8
 
9
9
  export declare type Chain = {
10
10
  id: number;
@@ -154,13 +154,6 @@ export declare const useWalletConnect: () => {
154
154
  disconnect: () => Promise<void>;
155
155
  };
156
156
 
157
- export declare interface WalletConnectConfig {
158
- connectors?: WalletConfig[];
159
- chains?: Partial<Record<ChainType, EvmChain[] | any[]>>;
160
- walletConnectConfig?: WalletConnectConfig_2;
161
- tomoClientId?: string;
162
- }
163
-
164
157
  /**
165
158
  * Embedded wallet connect component that renders the modal content with proper context
166
159
  * Uses a hidden Modal wrapper to provide required Modal context for UI components
@@ -183,11 +176,18 @@ declare interface WalletConnectEmbedProps {
183
176
  style?: React.CSSProperties;
184
177
  }
185
178
 
179
+ export declare interface WalletConnectKitConfig {
180
+ connectors?: WalletConfig[];
181
+ chains?: Partial<Record<ChainType, EvmChain[] | any[]>>;
182
+ walletConnectConfig?: WalletConnectConfig;
183
+ clientId?: string;
184
+ }
185
+
186
186
  export declare const WalletConnectProvider: ({ children, config }: WalletConnectProviderProps) => JSX_2.Element;
187
187
 
188
188
  declare interface WalletConnectProviderProps {
189
189
  children: React.ReactNode;
190
- config?: WalletConnectConfig;
190
+ config?: WalletConnectKitConfig;
191
191
  }
192
192
 
193
193
  export declare interface WalletProvider {