@latticexyz/entrykit 2.2.22-daa34f06d070200c1aaf0bba78ba9f2dd8662a76 → 2.2.22-ee974a22927644f43e02e8ba221f436c023824f2
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.
|
@@ -4,8 +4,7 @@ import { SmartAccount } from 'viem/account-abstraction';
|
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
6
|
import { UseQueryResult } from '@tanstack/react-query';
|
|
7
|
-
import { CreateConfigParameters, Config
|
|
8
|
-
import { WalletList } from '@rainbow-me/rainbowkit';
|
|
7
|
+
import { CreateConfigParameters, Config } from 'wagmi';
|
|
9
8
|
|
|
10
9
|
type EntryKitConfigInput = {
|
|
11
10
|
/**
|
|
@@ -111,21 +110,6 @@ type CreateWagmiConfigOptions<chains extends readonly [Chain, ...Chain[]] = read
|
|
|
111
110
|
} & Pick<CreateConfigParameters<chains, transports>, "pollingInterval">;
|
|
112
111
|
declare function createWagmiConfig<const chains extends readonly [Chain, ...Chain[]], transports extends Record<chains[number]["id"], Transport>>(config: CreateWagmiConfigOptions<chains, transports>): Config<chains, transports>;
|
|
113
112
|
|
|
114
|
-
declare function getConnectors({ wallets, ...config }: {
|
|
115
|
-
readonly chainId: number;
|
|
116
|
-
/**
|
|
117
|
-
* WalletConnect project ID, obtained from your WalletConnect dashboard.
|
|
118
|
-
*/
|
|
119
|
-
readonly walletConnectProjectId: string;
|
|
120
|
-
readonly appName: string;
|
|
121
|
-
} & {
|
|
122
|
-
readonly wallets?: WalletList;
|
|
123
|
-
}): CreateConnectorFn[];
|
|
124
|
-
|
|
125
|
-
declare function getWallets(_config: {
|
|
126
|
-
readonly chainId: number;
|
|
127
|
-
}): WalletList;
|
|
128
|
-
|
|
129
113
|
/**
|
|
130
114
|
* @internal
|
|
131
115
|
*/
|
|
@@ -137,4 +121,4 @@ declare function internal_validateSigner({ client, worldAddress, userAddress, se
|
|
|
137
121
|
signerAddress: Address$1;
|
|
138
122
|
}): Promise<void>;
|
|
139
123
|
|
|
140
|
-
export { AccountButton, type ConnectedClient, type CreateWagmiConfigOptions, type EntryKitConfig, type EntryKitConfigInput, EntryKitProvider, type SessionClient, createWagmiConfig, defineConfig,
|
|
124
|
+
export { AccountButton, type ConnectedClient, type CreateWagmiConfigOptions, type EntryKitConfig, type EntryKitConfigInput, EntryKitProvider, type SessionClient, createWagmiConfig, defineConfig, internal_validateSigner, useAccountModal, useEntryKitConfig, useSessionClientReady as useSessionClient };
|