@solana/connector 0.2.0 → 0.2.1

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.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkBJAVJQLK_js = require('./chunk-BJAVJQLK.js');
4
- var chunkEM4KNOKG_js = require('./chunk-EM4KNOKG.js');
4
+ var chunk4Z2F6ERB_js = require('./chunk-4Z2F6ERB.js');
5
5
  var chunkBZ2VBJCZ_js = require('./chunk-BZ2VBJCZ.js');
6
6
  var chunk4KD6HQQG_js = require('./chunk-4KD6HQQG.js');
7
7
  var chunkHN5AJF7F_js = require('./chunk-HN5AJF7F.js');
@@ -143,163 +143,163 @@ Object.defineProperty(exports, "validateKnownSolanaChain", {
143
143
  });
144
144
  Object.defineProperty(exports, "AccountElement", {
145
145
  enumerable: true,
146
- get: function () { return chunkEM4KNOKG_js.AccountElement; }
146
+ get: function () { return chunk4Z2F6ERB_js.AccountElement; }
147
147
  });
148
148
  Object.defineProperty(exports, "AppProvider", {
149
149
  enumerable: true,
150
- get: function () { return chunkEM4KNOKG_js.AppProvider; }
150
+ get: function () { return chunk4Z2F6ERB_js.AppProvider; }
151
151
  });
152
152
  Object.defineProperty(exports, "BalanceElement", {
153
153
  enumerable: true,
154
- get: function () { return chunkEM4KNOKG_js.BalanceElement; }
154
+ get: function () { return chunk4Z2F6ERB_js.BalanceElement; }
155
155
  });
156
156
  Object.defineProperty(exports, "ClusterElement", {
157
157
  enumerable: true,
158
- get: function () { return chunkEM4KNOKG_js.ClusterElement; }
158
+ get: function () { return chunk4Z2F6ERB_js.ClusterElement; }
159
159
  });
160
160
  Object.defineProperty(exports, "ConnectorErrorBoundary", {
161
161
  enumerable: true,
162
- get: function () { return chunkEM4KNOKG_js.ConnectorErrorBoundary; }
162
+ get: function () { return chunk4Z2F6ERB_js.ConnectorErrorBoundary; }
163
163
  });
164
164
  Object.defineProperty(exports, "ConnectorProvider", {
165
165
  enumerable: true,
166
- get: function () { return chunkEM4KNOKG_js.ConnectorProvider; }
166
+ get: function () { return chunk4Z2F6ERB_js.ConnectorProvider; }
167
167
  });
168
168
  Object.defineProperty(exports, "DisconnectElement", {
169
169
  enumerable: true,
170
- get: function () { return chunkEM4KNOKG_js.DisconnectElement; }
170
+ get: function () { return chunk4Z2F6ERB_js.DisconnectElement; }
171
171
  });
172
172
  Object.defineProperty(exports, "SkeletonShine", {
173
173
  enumerable: true,
174
- get: function () { return chunkEM4KNOKG_js.SkeletonShine; }
174
+ get: function () { return chunk4Z2F6ERB_js.SkeletonShine; }
175
175
  });
176
176
  Object.defineProperty(exports, "TokenListElement", {
177
177
  enumerable: true,
178
- get: function () { return chunkEM4KNOKG_js.TokenListElement; }
178
+ get: function () { return chunk4Z2F6ERB_js.TokenListElement; }
179
179
  });
180
180
  Object.defineProperty(exports, "TransactionHistoryElement", {
181
181
  enumerable: true,
182
- get: function () { return chunkEM4KNOKG_js.TransactionHistoryElement; }
182
+ get: function () { return chunk4Z2F6ERB_js.TransactionHistoryElement; }
183
183
  });
184
184
  Object.defineProperty(exports, "UnifiedProvider", {
185
185
  enumerable: true,
186
- get: function () { return chunkEM4KNOKG_js.UnifiedProvider; }
186
+ get: function () { return chunk4Z2F6ERB_js.UnifiedProvider; }
187
187
  });
188
188
  Object.defineProperty(exports, "WalletConnectProvider", {
189
189
  enumerable: true,
190
- get: function () { return chunkEM4KNOKG_js.WalletConnectProvider; }
190
+ get: function () { return chunk4Z2F6ERB_js.WalletConnectProvider; }
191
191
  });
192
192
  Object.defineProperty(exports, "WalletListElement", {
193
193
  enumerable: true,
194
- get: function () { return chunkEM4KNOKG_js.WalletListElement; }
194
+ get: function () { return chunk4Z2F6ERB_js.WalletListElement; }
195
195
  });
196
196
  Object.defineProperty(exports, "clearSharedQueryCache", {
197
197
  enumerable: true,
198
- get: function () { return chunkEM4KNOKG_js.clearSharedQueryCache; }
198
+ get: function () { return chunk4Z2F6ERB_js.clearSharedQueryCache; }
199
199
  });
200
200
  Object.defineProperty(exports, "clearTokenCaches", {
201
201
  enumerable: true,
202
- get: function () { return chunkEM4KNOKG_js.clearTokenCaches; }
202
+ get: function () { return chunk4Z2F6ERB_js.clearTokenCaches; }
203
203
  });
204
204
  Object.defineProperty(exports, "getBalanceQueryKey", {
205
205
  enumerable: true,
206
- get: function () { return chunkEM4KNOKG_js.getBalanceQueryKey; }
206
+ get: function () { return chunk4Z2F6ERB_js.getBalanceQueryKey; }
207
207
  });
208
208
  Object.defineProperty(exports, "getTokensQueryKey", {
209
209
  enumerable: true,
210
- get: function () { return chunkEM4KNOKG_js.getTokensQueryKey; }
210
+ get: function () { return chunk4Z2F6ERB_js.getTokensQueryKey; }
211
211
  });
212
212
  Object.defineProperty(exports, "getTransactionsQueryKey", {
213
213
  enumerable: true,
214
- get: function () { return chunkEM4KNOKG_js.getTransactionsQueryKey; }
214
+ get: function () { return chunk4Z2F6ERB_js.getTransactionsQueryKey; }
215
215
  });
216
216
  Object.defineProperty(exports, "getWalletAssetsQueryKey", {
217
217
  enumerable: true,
218
- get: function () { return chunkEM4KNOKG_js.getWalletAssetsQueryKey; }
218
+ get: function () { return chunk4Z2F6ERB_js.getWalletAssetsQueryKey; }
219
219
  });
220
220
  Object.defineProperty(exports, "invalidateSharedQuery", {
221
221
  enumerable: true,
222
- get: function () { return chunkEM4KNOKG_js.invalidateSharedQuery; }
222
+ get: function () { return chunk4Z2F6ERB_js.invalidateSharedQuery; }
223
223
  });
224
224
  Object.defineProperty(exports, "useAccount", {
225
225
  enumerable: true,
226
- get: function () { return chunkEM4KNOKG_js.useAccount; }
226
+ get: function () { return chunk4Z2F6ERB_js.useAccount; }
227
227
  });
228
228
  Object.defineProperty(exports, "useBalance", {
229
229
  enumerable: true,
230
- get: function () { return chunkEM4KNOKG_js.useBalance; }
230
+ get: function () { return chunk4Z2F6ERB_js.useBalance; }
231
231
  });
232
232
  Object.defineProperty(exports, "useCluster", {
233
233
  enumerable: true,
234
- get: function () { return chunkEM4KNOKG_js.useCluster; }
234
+ get: function () { return chunk4Z2F6ERB_js.useCluster; }
235
235
  });
236
236
  Object.defineProperty(exports, "useConnectWallet", {
237
237
  enumerable: true,
238
- get: function () { return chunkEM4KNOKG_js.useConnectWallet; }
238
+ get: function () { return chunk4Z2F6ERB_js.useConnectWallet; }
239
239
  });
240
240
  Object.defineProperty(exports, "useConnector", {
241
241
  enumerable: true,
242
- get: function () { return chunkEM4KNOKG_js.useConnector; }
242
+ get: function () { return chunk4Z2F6ERB_js.useConnector; }
243
243
  });
244
244
  Object.defineProperty(exports, "useConnectorClient", {
245
245
  enumerable: true,
246
- get: function () { return chunkEM4KNOKG_js.useConnectorClient; }
246
+ get: function () { return chunk4Z2F6ERB_js.useConnectorClient; }
247
247
  });
248
248
  Object.defineProperty(exports, "useDisconnectWallet", {
249
249
  enumerable: true,
250
- get: function () { return chunkEM4KNOKG_js.useDisconnectWallet; }
250
+ get: function () { return chunk4Z2F6ERB_js.useDisconnectWallet; }
251
251
  });
252
252
  Object.defineProperty(exports, "useGillSolanaClient", {
253
253
  enumerable: true,
254
- get: function () { return chunkEM4KNOKG_js.useGillSolanaClient; }
254
+ get: function () { return chunk4Z2F6ERB_js.useGillSolanaClient; }
255
255
  });
256
256
  Object.defineProperty(exports, "useGillTransactionSigner", {
257
257
  enumerable: true,
258
- get: function () { return chunkEM4KNOKG_js.useGillTransactionSigner; }
258
+ get: function () { return chunk4Z2F6ERB_js.useGillTransactionSigner; }
259
259
  });
260
260
  Object.defineProperty(exports, "useKitTransactionSigner", {
261
261
  enumerable: true,
262
- get: function () { return chunkEM4KNOKG_js.useKitTransactionSigner; }
262
+ get: function () { return chunk4Z2F6ERB_js.useKitTransactionSigner; }
263
263
  });
264
264
  Object.defineProperty(exports, "useSolanaClient", {
265
265
  enumerable: true,
266
- get: function () { return chunkEM4KNOKG_js.useSolanaClient; }
266
+ get: function () { return chunk4Z2F6ERB_js.useSolanaClient; }
267
267
  });
268
268
  Object.defineProperty(exports, "useTokens", {
269
269
  enumerable: true,
270
- get: function () { return chunkEM4KNOKG_js.useTokens; }
270
+ get: function () { return chunk4Z2F6ERB_js.useTokens; }
271
271
  });
272
272
  Object.defineProperty(exports, "useTransactionPreparer", {
273
273
  enumerable: true,
274
- get: function () { return chunkEM4KNOKG_js.useTransactionPreparer; }
274
+ get: function () { return chunk4Z2F6ERB_js.useTransactionPreparer; }
275
275
  });
276
276
  Object.defineProperty(exports, "useTransactionSigner", {
277
277
  enumerable: true,
278
- get: function () { return chunkEM4KNOKG_js.useTransactionSigner; }
278
+ get: function () { return chunk4Z2F6ERB_js.useTransactionSigner; }
279
279
  });
280
280
  Object.defineProperty(exports, "useTransactions", {
281
281
  enumerable: true,
282
- get: function () { return chunkEM4KNOKG_js.useTransactions; }
282
+ get: function () { return chunk4Z2F6ERB_js.useTransactions; }
283
283
  });
284
284
  Object.defineProperty(exports, "useWallet", {
285
285
  enumerable: true,
286
- get: function () { return chunkEM4KNOKG_js.useWallet; }
286
+ get: function () { return chunk4Z2F6ERB_js.useWallet; }
287
287
  });
288
288
  Object.defineProperty(exports, "useWalletConnectUri", {
289
289
  enumerable: true,
290
- get: function () { return chunkEM4KNOKG_js.useWalletConnectUri; }
290
+ get: function () { return chunk4Z2F6ERB_js.useWalletConnectUri; }
291
291
  });
292
292
  Object.defineProperty(exports, "useWalletConnectors", {
293
293
  enumerable: true,
294
- get: function () { return chunkEM4KNOKG_js.useWalletConnectors; }
294
+ get: function () { return chunk4Z2F6ERB_js.useWalletConnectors; }
295
295
  });
296
296
  Object.defineProperty(exports, "useWalletInfo", {
297
297
  enumerable: true,
298
- get: function () { return chunkEM4KNOKG_js.useWalletInfo; }
298
+ get: function () { return chunk4Z2F6ERB_js.useWalletInfo; }
299
299
  });
300
300
  Object.defineProperty(exports, "withErrorBoundary", {
301
301
  enumerable: true,
302
- get: function () { return chunkEM4KNOKG_js.withErrorBoundary; }
302
+ get: function () { return chunk4Z2F6ERB_js.withErrorBoundary; }
303
303
  });
304
304
  Object.defineProperty(exports, "ClipboardErrorType", {
305
305
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  export { SOLANA_CHAIN_IDS, address, chainIdToClusterId, chainIdToClusterType, clusterToChainId, copySignature, createSignableMessage, createSolanaDevnet, createSolanaLocalnet, createSolanaMainnet, createSolanaTestnet, formatSignature, getAllExplorerUrls, getChainIdFromCluster, getChainIdFromClusterId, getChainIdFromClusterType, getChainIdFromConnection, getClusterIdFromChainId, getClusterTypeFromChainId, getClusterTypeFromConnection, getLatestBlockhash, getSolanaExplorerUrl, getSolanaFmUrl, getSolscanUrl, getXrayUrl, isAccountAddress, isKitConnection, isKnownSolanaChain, isLegacyConnection, isSolanaChain, isWalletName, sendRawTransaction, validateKnownSolanaChain } from './chunk-HPQ5T32K.mjs';
2
- export { AccountElement, AppProvider, BalanceElement, ClusterElement, ConnectorErrorBoundary, ConnectorProvider, DisconnectElement, SkeletonShine, TokenListElement, TransactionHistoryElement, UnifiedProvider, WalletConnectProvider, WalletListElement, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnectWallet, useConnector, useConnectorClient, useDisconnectWallet, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWallet, useWalletConnectUri, useWalletConnectors, useWalletInfo, withErrorBoundary } from './chunk-RTXUS5KG.mjs';
2
+ export { AccountElement, AppProvider, BalanceElement, ClusterElement, ConnectorErrorBoundary, ConnectorProvider, DisconnectElement, SkeletonShine, TokenListElement, TransactionHistoryElement, UnifiedProvider, WalletConnectProvider, WalletListElement, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnectWallet, useConnector, useConnectorClient, useDisconnectWallet, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWallet, useWalletConnectUri, useWalletConnectors, useWalletInfo, withErrorBoundary } from './chunk-MDR4Y37Z.mjs';
3
3
  export { ClipboardErrorType, ConnectorClient, EnhancedStorage, EnhancedStorageAdapter, INITIAL_WALLET_STATUS, PUBLIC_RPC_ENDPOINTS, TransactionSignerError, WALLET_STATE_VERSION, clearWalletState, copyAddressToClipboard, copySignatureToClipboard, copyToClipboard, createConnectorId, createEnhancedStorageAccount, createEnhancedStorageCluster, createEnhancedStorageWallet, createEnhancedStorageWalletState, createGillTransactionSigner, createKitTransactionSigner, createTransactionSigner, formatAddress, formatBigIntBalance, formatBigIntUsd, formatLamportsToSolSafe, formatNumber, formatSOL, formatTokenAmount, formatTokenBalanceSafe, getAddressUrl, getBlockUrl, getChainIdForWalletStandard, getClusterChainId, getClusterExplorerUrl, getClusterName, getClusterRpcUrl, getClusterType, getDefaultConfig, getDefaultMobileConfig, getDefaultRpcUrl, getNetworkDisplayName, getPolyfillStatus, getTokenUrl, getTransactionUrl, getWalletNameFromConnectorId, getWalletsRegistry, installPolyfills, isClipboardAvailable, isConnected, isConnecting, isCryptoAvailable, isDevnet, isDevnetCluster, isDisconnected, isLocalCluster, isLocalnet, isMainnet, isMainnetCluster, isPolyfillInstalled, isStatusError, isTestnet, isTestnetCluster, isTransactionSignerError, isWalletConnectorId, isWalletStatusError, normalizeNetwork, parseConfigOptions, ready, saveWalletState, toClusterId, toLegacyWalletState, truncate, validateConfigOptions } from './chunk-IDTUFDNB.mjs';
4
4
  export { isFailure, isSuccess, tryCatch, tryCatchSync } from './chunk-HO6QNKFM.mjs';
5
5
  export { createMockWalletConnectTransport, createWalletConnectTransport, createWalletConnectWallet, isWalletConnectAvailable, registerWalletConnectWallet } from './chunk-UCISIAOG.mjs';
package/dist/react.d.mts CHANGED
@@ -393,7 +393,7 @@ declare function useAccount(): UseAccountReturn;
393
393
  /**
394
394
  * Simplified wallet information for display purposes
395
395
  */
396
- interface WalletDisplayInfo {
396
+ interface WalletDisplayInfo$1 {
397
397
  /** Wallet name */
398
398
  name: string;
399
399
  /** Stable connector ID for vNext API */
@@ -422,7 +422,7 @@ interface UseWalletInfoReturn {
422
422
  /** Whether a connection attempt is in progress */
423
423
  connecting: boolean;
424
424
  /** All available wallets */
425
- wallets: WalletDisplayInfo[];
425
+ wallets: WalletDisplayInfo$1[];
426
426
  }
427
427
  /**
428
428
  * Hook for getting information about the connected wallet
@@ -1409,6 +1409,18 @@ declare namespace ClusterElement {
1409
1409
  var displayName: string;
1410
1410
  }
1411
1411
 
1412
+ interface WalletDisplayInfo {
1413
+ /** Wallet name */
1414
+ name: string;
1415
+ /** Stable connector ID for vNext API */
1416
+ connectorId: WalletConnectorId;
1417
+ /** Wallet icon/logo URL if available */
1418
+ icon?: string;
1419
+ /** Whether the wallet is connectable/ready */
1420
+ installed: boolean;
1421
+ /** Whether the wallet supports Solana connections */
1422
+ connectable?: boolean;
1423
+ }
1412
1424
  interface WalletListElementRenderProps {
1413
1425
  wallets: WalletDisplayInfo[];
1414
1426
  installedWallets: WalletDisplayInfo[];
@@ -1690,4 +1702,4 @@ declare namespace SkeletonShine {
1690
1702
  var displayName: string;
1691
1703
  }
1692
1704
 
1693
- export { AccountElement, type AccountElementProps, type AccountElementRenderProps, AccountInfo, AppProvider, type AppProviderProps, BalanceElement, type BalanceElementProps, type BalanceElementRenderProps, ClusterElement, type ClusterElementProps, type ClusterElementRenderProps, ClusterType, ConnectOptions, ConnectorConfig, ConnectorErrorBoundary, DisconnectElement, type DisconnectElementProps, MobileWalletAdapterConfig, SessionAccount, SkeletonShine, type Token, type TokenBalance, TokenListElement, type TokenListElementProps, type TokenListElementRenderProps, TransactionHistoryElement, type TransactionHistoryElementProps, type TransactionHistoryElementRenderProps, type TransactionInfo, type TransactionPrepareOptions, type TransactionsQueryKeyOptions, UnifiedProvider, type UnifiedProviderProps, type UseAccountReturn, type UseBalanceOptions, type UseBalanceReturn, type UseClusterReturn, type UseConnectWalletReturn, type UseDisconnectWalletReturn, type UseGillSolanaClientReturn, type UseGillTransactionSignerReturn, type UseKitTransactionSignerReturn, type UseSolanaClientReturn, type UseTokensOptions, type UseTokensReturn, type UseTransactionPreparerReturn, type UseTransactionSignerReturn, type UseTransactionsOptions, type UseTransactionsReturn, type UseWalletInfoReturn, type UseWalletReturn, type WalletConnectContextValue, WalletConnectProvider, WalletConnectorId, WalletConnectorMetadata, type WalletDisplayInfo, WalletListElement, type WalletListElementProps, type WalletListElementRenderProps, type WalletListElementWalletProps, WalletSession, WalletStatus, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnectWallet, useDisconnectWallet, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWallet, useWalletConnectUri, useWalletConnectors, useWalletInfo, withErrorBoundary };
1705
+ export { AccountElement, type AccountElementProps, type AccountElementRenderProps, AccountInfo, AppProvider, type AppProviderProps, BalanceElement, type BalanceElementProps, type BalanceElementRenderProps, ClusterElement, type ClusterElementProps, type ClusterElementRenderProps, ClusterType, ConnectOptions, ConnectorConfig, ConnectorErrorBoundary, DisconnectElement, type DisconnectElementProps, MobileWalletAdapterConfig, SessionAccount, SkeletonShine, type Token, type TokenBalance, TokenListElement, type TokenListElementProps, type TokenListElementRenderProps, TransactionHistoryElement, type TransactionHistoryElementProps, type TransactionHistoryElementRenderProps, type TransactionInfo, type TransactionPrepareOptions, type TransactionsQueryKeyOptions, UnifiedProvider, type UnifiedProviderProps, type UseAccountReturn, type UseBalanceOptions, type UseBalanceReturn, type UseClusterReturn, type UseConnectWalletReturn, type UseDisconnectWalletReturn, type UseGillSolanaClientReturn, type UseGillTransactionSignerReturn, type UseKitTransactionSignerReturn, type UseSolanaClientReturn, type UseTokensOptions, type UseTokensReturn, type UseTransactionPreparerReturn, type UseTransactionSignerReturn, type UseTransactionsOptions, type UseTransactionsReturn, type UseWalletInfoReturn, type UseWalletReturn, type WalletConnectContextValue, WalletConnectProvider, WalletConnectorId, WalletConnectorMetadata, type WalletDisplayInfo$1 as WalletDisplayInfo, WalletListElement, type WalletListElementProps, type WalletListElementRenderProps, type WalletListElementWalletProps, WalletSession, WalletStatus, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnectWallet, useDisconnectWallet, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWallet, useWalletConnectUri, useWalletConnectors, useWalletInfo, withErrorBoundary };
package/dist/react.d.ts CHANGED
@@ -393,7 +393,7 @@ declare function useAccount(): UseAccountReturn;
393
393
  /**
394
394
  * Simplified wallet information for display purposes
395
395
  */
396
- interface WalletDisplayInfo {
396
+ interface WalletDisplayInfo$1 {
397
397
  /** Wallet name */
398
398
  name: string;
399
399
  /** Stable connector ID for vNext API */
@@ -422,7 +422,7 @@ interface UseWalletInfoReturn {
422
422
  /** Whether a connection attempt is in progress */
423
423
  connecting: boolean;
424
424
  /** All available wallets */
425
- wallets: WalletDisplayInfo[];
425
+ wallets: WalletDisplayInfo$1[];
426
426
  }
427
427
  /**
428
428
  * Hook for getting information about the connected wallet
@@ -1409,6 +1409,18 @@ declare namespace ClusterElement {
1409
1409
  var displayName: string;
1410
1410
  }
1411
1411
 
1412
+ interface WalletDisplayInfo {
1413
+ /** Wallet name */
1414
+ name: string;
1415
+ /** Stable connector ID for vNext API */
1416
+ connectorId: WalletConnectorId;
1417
+ /** Wallet icon/logo URL if available */
1418
+ icon?: string;
1419
+ /** Whether the wallet is connectable/ready */
1420
+ installed: boolean;
1421
+ /** Whether the wallet supports Solana connections */
1422
+ connectable?: boolean;
1423
+ }
1412
1424
  interface WalletListElementRenderProps {
1413
1425
  wallets: WalletDisplayInfo[];
1414
1426
  installedWallets: WalletDisplayInfo[];
@@ -1690,4 +1702,4 @@ declare namespace SkeletonShine {
1690
1702
  var displayName: string;
1691
1703
  }
1692
1704
 
1693
- export { AccountElement, type AccountElementProps, type AccountElementRenderProps, AccountInfo, AppProvider, type AppProviderProps, BalanceElement, type BalanceElementProps, type BalanceElementRenderProps, ClusterElement, type ClusterElementProps, type ClusterElementRenderProps, ClusterType, ConnectOptions, ConnectorConfig, ConnectorErrorBoundary, DisconnectElement, type DisconnectElementProps, MobileWalletAdapterConfig, SessionAccount, SkeletonShine, type Token, type TokenBalance, TokenListElement, type TokenListElementProps, type TokenListElementRenderProps, TransactionHistoryElement, type TransactionHistoryElementProps, type TransactionHistoryElementRenderProps, type TransactionInfo, type TransactionPrepareOptions, type TransactionsQueryKeyOptions, UnifiedProvider, type UnifiedProviderProps, type UseAccountReturn, type UseBalanceOptions, type UseBalanceReturn, type UseClusterReturn, type UseConnectWalletReturn, type UseDisconnectWalletReturn, type UseGillSolanaClientReturn, type UseGillTransactionSignerReturn, type UseKitTransactionSignerReturn, type UseSolanaClientReturn, type UseTokensOptions, type UseTokensReturn, type UseTransactionPreparerReturn, type UseTransactionSignerReturn, type UseTransactionsOptions, type UseTransactionsReturn, type UseWalletInfoReturn, type UseWalletReturn, type WalletConnectContextValue, WalletConnectProvider, WalletConnectorId, WalletConnectorMetadata, type WalletDisplayInfo, WalletListElement, type WalletListElementProps, type WalletListElementRenderProps, type WalletListElementWalletProps, WalletSession, WalletStatus, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnectWallet, useDisconnectWallet, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWallet, useWalletConnectUri, useWalletConnectors, useWalletInfo, withErrorBoundary };
1705
+ export { AccountElement, type AccountElementProps, type AccountElementRenderProps, AccountInfo, AppProvider, type AppProviderProps, BalanceElement, type BalanceElementProps, type BalanceElementRenderProps, ClusterElement, type ClusterElementProps, type ClusterElementRenderProps, ClusterType, ConnectOptions, ConnectorConfig, ConnectorErrorBoundary, DisconnectElement, type DisconnectElementProps, MobileWalletAdapterConfig, SessionAccount, SkeletonShine, type Token, type TokenBalance, TokenListElement, type TokenListElementProps, type TokenListElementRenderProps, TransactionHistoryElement, type TransactionHistoryElementProps, type TransactionHistoryElementRenderProps, type TransactionInfo, type TransactionPrepareOptions, type TransactionsQueryKeyOptions, UnifiedProvider, type UnifiedProviderProps, type UseAccountReturn, type UseBalanceOptions, type UseBalanceReturn, type UseClusterReturn, type UseConnectWalletReturn, type UseDisconnectWalletReturn, type UseGillSolanaClientReturn, type UseGillTransactionSignerReturn, type UseKitTransactionSignerReturn, type UseSolanaClientReturn, type UseTokensOptions, type UseTokensReturn, type UseTransactionPreparerReturn, type UseTransactionSignerReturn, type UseTransactionsOptions, type UseTransactionsReturn, type UseWalletInfoReturn, type UseWalletReturn, type WalletConnectContextValue, WalletConnectProvider, WalletConnectorId, WalletConnectorMetadata, type WalletDisplayInfo$1 as WalletDisplayInfo, WalletListElement, type WalletListElementProps, type WalletListElementRenderProps, type WalletListElementWalletProps, WalletSession, WalletStatus, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnectWallet, useDisconnectWallet, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWallet, useWalletConnectUri, useWalletConnectors, useWalletInfo, withErrorBoundary };
package/dist/react.js CHANGED
@@ -1,169 +1,169 @@
1
1
  'use strict';
2
2
 
3
- var chunkEM4KNOKG_js = require('./chunk-EM4KNOKG.js');
3
+ var chunk4Z2F6ERB_js = require('./chunk-4Z2F6ERB.js');
4
4
  var chunkBZ2VBJCZ_js = require('./chunk-BZ2VBJCZ.js');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "AccountElement", {
9
9
  enumerable: true,
10
- get: function () { return chunkEM4KNOKG_js.AccountElement; }
10
+ get: function () { return chunk4Z2F6ERB_js.AccountElement; }
11
11
  });
12
12
  Object.defineProperty(exports, "AppProvider", {
13
13
  enumerable: true,
14
- get: function () { return chunkEM4KNOKG_js.AppProvider; }
14
+ get: function () { return chunk4Z2F6ERB_js.AppProvider; }
15
15
  });
16
16
  Object.defineProperty(exports, "BalanceElement", {
17
17
  enumerable: true,
18
- get: function () { return chunkEM4KNOKG_js.BalanceElement; }
18
+ get: function () { return chunk4Z2F6ERB_js.BalanceElement; }
19
19
  });
20
20
  Object.defineProperty(exports, "ClusterElement", {
21
21
  enumerable: true,
22
- get: function () { return chunkEM4KNOKG_js.ClusterElement; }
22
+ get: function () { return chunk4Z2F6ERB_js.ClusterElement; }
23
23
  });
24
24
  Object.defineProperty(exports, "ConnectorErrorBoundary", {
25
25
  enumerable: true,
26
- get: function () { return chunkEM4KNOKG_js.ConnectorErrorBoundary; }
26
+ get: function () { return chunk4Z2F6ERB_js.ConnectorErrorBoundary; }
27
27
  });
28
28
  Object.defineProperty(exports, "ConnectorProvider", {
29
29
  enumerable: true,
30
- get: function () { return chunkEM4KNOKG_js.ConnectorProvider; }
30
+ get: function () { return chunk4Z2F6ERB_js.ConnectorProvider; }
31
31
  });
32
32
  Object.defineProperty(exports, "DisconnectElement", {
33
33
  enumerable: true,
34
- get: function () { return chunkEM4KNOKG_js.DisconnectElement; }
34
+ get: function () { return chunk4Z2F6ERB_js.DisconnectElement; }
35
35
  });
36
36
  Object.defineProperty(exports, "SkeletonShine", {
37
37
  enumerable: true,
38
- get: function () { return chunkEM4KNOKG_js.SkeletonShine; }
38
+ get: function () { return chunk4Z2F6ERB_js.SkeletonShine; }
39
39
  });
40
40
  Object.defineProperty(exports, "TokenListElement", {
41
41
  enumerable: true,
42
- get: function () { return chunkEM4KNOKG_js.TokenListElement; }
42
+ get: function () { return chunk4Z2F6ERB_js.TokenListElement; }
43
43
  });
44
44
  Object.defineProperty(exports, "TransactionHistoryElement", {
45
45
  enumerable: true,
46
- get: function () { return chunkEM4KNOKG_js.TransactionHistoryElement; }
46
+ get: function () { return chunk4Z2F6ERB_js.TransactionHistoryElement; }
47
47
  });
48
48
  Object.defineProperty(exports, "UnifiedProvider", {
49
49
  enumerable: true,
50
- get: function () { return chunkEM4KNOKG_js.UnifiedProvider; }
50
+ get: function () { return chunk4Z2F6ERB_js.UnifiedProvider; }
51
51
  });
52
52
  Object.defineProperty(exports, "WalletConnectProvider", {
53
53
  enumerable: true,
54
- get: function () { return chunkEM4KNOKG_js.WalletConnectProvider; }
54
+ get: function () { return chunk4Z2F6ERB_js.WalletConnectProvider; }
55
55
  });
56
56
  Object.defineProperty(exports, "WalletListElement", {
57
57
  enumerable: true,
58
- get: function () { return chunkEM4KNOKG_js.WalletListElement; }
58
+ get: function () { return chunk4Z2F6ERB_js.WalletListElement; }
59
59
  });
60
60
  Object.defineProperty(exports, "clearSharedQueryCache", {
61
61
  enumerable: true,
62
- get: function () { return chunkEM4KNOKG_js.clearSharedQueryCache; }
62
+ get: function () { return chunk4Z2F6ERB_js.clearSharedQueryCache; }
63
63
  });
64
64
  Object.defineProperty(exports, "clearTokenCaches", {
65
65
  enumerable: true,
66
- get: function () { return chunkEM4KNOKG_js.clearTokenCaches; }
66
+ get: function () { return chunk4Z2F6ERB_js.clearTokenCaches; }
67
67
  });
68
68
  Object.defineProperty(exports, "getBalanceQueryKey", {
69
69
  enumerable: true,
70
- get: function () { return chunkEM4KNOKG_js.getBalanceQueryKey; }
70
+ get: function () { return chunk4Z2F6ERB_js.getBalanceQueryKey; }
71
71
  });
72
72
  Object.defineProperty(exports, "getTokensQueryKey", {
73
73
  enumerable: true,
74
- get: function () { return chunkEM4KNOKG_js.getTokensQueryKey; }
74
+ get: function () { return chunk4Z2F6ERB_js.getTokensQueryKey; }
75
75
  });
76
76
  Object.defineProperty(exports, "getTransactionsQueryKey", {
77
77
  enumerable: true,
78
- get: function () { return chunkEM4KNOKG_js.getTransactionsQueryKey; }
78
+ get: function () { return chunk4Z2F6ERB_js.getTransactionsQueryKey; }
79
79
  });
80
80
  Object.defineProperty(exports, "getWalletAssetsQueryKey", {
81
81
  enumerable: true,
82
- get: function () { return chunkEM4KNOKG_js.getWalletAssetsQueryKey; }
82
+ get: function () { return chunk4Z2F6ERB_js.getWalletAssetsQueryKey; }
83
83
  });
84
84
  Object.defineProperty(exports, "invalidateSharedQuery", {
85
85
  enumerable: true,
86
- get: function () { return chunkEM4KNOKG_js.invalidateSharedQuery; }
86
+ get: function () { return chunk4Z2F6ERB_js.invalidateSharedQuery; }
87
87
  });
88
88
  Object.defineProperty(exports, "useAccount", {
89
89
  enumerable: true,
90
- get: function () { return chunkEM4KNOKG_js.useAccount; }
90
+ get: function () { return chunk4Z2F6ERB_js.useAccount; }
91
91
  });
92
92
  Object.defineProperty(exports, "useBalance", {
93
93
  enumerable: true,
94
- get: function () { return chunkEM4KNOKG_js.useBalance; }
94
+ get: function () { return chunk4Z2F6ERB_js.useBalance; }
95
95
  });
96
96
  Object.defineProperty(exports, "useCluster", {
97
97
  enumerable: true,
98
- get: function () { return chunkEM4KNOKG_js.useCluster; }
98
+ get: function () { return chunk4Z2F6ERB_js.useCluster; }
99
99
  });
100
100
  Object.defineProperty(exports, "useConnectWallet", {
101
101
  enumerable: true,
102
- get: function () { return chunkEM4KNOKG_js.useConnectWallet; }
102
+ get: function () { return chunk4Z2F6ERB_js.useConnectWallet; }
103
103
  });
104
104
  Object.defineProperty(exports, "useConnector", {
105
105
  enumerable: true,
106
- get: function () { return chunkEM4KNOKG_js.useConnector; }
106
+ get: function () { return chunk4Z2F6ERB_js.useConnector; }
107
107
  });
108
108
  Object.defineProperty(exports, "useConnectorClient", {
109
109
  enumerable: true,
110
- get: function () { return chunkEM4KNOKG_js.useConnectorClient; }
110
+ get: function () { return chunk4Z2F6ERB_js.useConnectorClient; }
111
111
  });
112
112
  Object.defineProperty(exports, "useDisconnectWallet", {
113
113
  enumerable: true,
114
- get: function () { return chunkEM4KNOKG_js.useDisconnectWallet; }
114
+ get: function () { return chunk4Z2F6ERB_js.useDisconnectWallet; }
115
115
  });
116
116
  Object.defineProperty(exports, "useGillSolanaClient", {
117
117
  enumerable: true,
118
- get: function () { return chunkEM4KNOKG_js.useGillSolanaClient; }
118
+ get: function () { return chunk4Z2F6ERB_js.useGillSolanaClient; }
119
119
  });
120
120
  Object.defineProperty(exports, "useGillTransactionSigner", {
121
121
  enumerable: true,
122
- get: function () { return chunkEM4KNOKG_js.useGillTransactionSigner; }
122
+ get: function () { return chunk4Z2F6ERB_js.useGillTransactionSigner; }
123
123
  });
124
124
  Object.defineProperty(exports, "useKitTransactionSigner", {
125
125
  enumerable: true,
126
- get: function () { return chunkEM4KNOKG_js.useKitTransactionSigner; }
126
+ get: function () { return chunk4Z2F6ERB_js.useKitTransactionSigner; }
127
127
  });
128
128
  Object.defineProperty(exports, "useSolanaClient", {
129
129
  enumerable: true,
130
- get: function () { return chunkEM4KNOKG_js.useSolanaClient; }
130
+ get: function () { return chunk4Z2F6ERB_js.useSolanaClient; }
131
131
  });
132
132
  Object.defineProperty(exports, "useTokens", {
133
133
  enumerable: true,
134
- get: function () { return chunkEM4KNOKG_js.useTokens; }
134
+ get: function () { return chunk4Z2F6ERB_js.useTokens; }
135
135
  });
136
136
  Object.defineProperty(exports, "useTransactionPreparer", {
137
137
  enumerable: true,
138
- get: function () { return chunkEM4KNOKG_js.useTransactionPreparer; }
138
+ get: function () { return chunk4Z2F6ERB_js.useTransactionPreparer; }
139
139
  });
140
140
  Object.defineProperty(exports, "useTransactionSigner", {
141
141
  enumerable: true,
142
- get: function () { return chunkEM4KNOKG_js.useTransactionSigner; }
142
+ get: function () { return chunk4Z2F6ERB_js.useTransactionSigner; }
143
143
  });
144
144
  Object.defineProperty(exports, "useTransactions", {
145
145
  enumerable: true,
146
- get: function () { return chunkEM4KNOKG_js.useTransactions; }
146
+ get: function () { return chunk4Z2F6ERB_js.useTransactions; }
147
147
  });
148
148
  Object.defineProperty(exports, "useWallet", {
149
149
  enumerable: true,
150
- get: function () { return chunkEM4KNOKG_js.useWallet; }
150
+ get: function () { return chunk4Z2F6ERB_js.useWallet; }
151
151
  });
152
152
  Object.defineProperty(exports, "useWalletConnectUri", {
153
153
  enumerable: true,
154
- get: function () { return chunkEM4KNOKG_js.useWalletConnectUri; }
154
+ get: function () { return chunk4Z2F6ERB_js.useWalletConnectUri; }
155
155
  });
156
156
  Object.defineProperty(exports, "useWalletConnectors", {
157
157
  enumerable: true,
158
- get: function () { return chunkEM4KNOKG_js.useWalletConnectors; }
158
+ get: function () { return chunk4Z2F6ERB_js.useWalletConnectors; }
159
159
  });
160
160
  Object.defineProperty(exports, "useWalletInfo", {
161
161
  enumerable: true,
162
- get: function () { return chunkEM4KNOKG_js.useWalletInfo; }
162
+ get: function () { return chunk4Z2F6ERB_js.useWalletInfo; }
163
163
  });
164
164
  Object.defineProperty(exports, "withErrorBoundary", {
165
165
  enumerable: true,
166
- get: function () { return chunkEM4KNOKG_js.withErrorBoundary; }
166
+ get: function () { return chunk4Z2F6ERB_js.withErrorBoundary; }
167
167
  });
168
168
  Object.defineProperty(exports, "createConnectorId", {
169
169
  enumerable: true,
package/dist/react.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { AccountElement, AppProvider, BalanceElement, ClusterElement, ConnectorErrorBoundary, ConnectorProvider, DisconnectElement, SkeletonShine, TokenListElement, TransactionHistoryElement, UnifiedProvider, WalletConnectProvider, WalletListElement, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnectWallet, useConnector, useConnectorClient, useDisconnectWallet, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWallet, useWalletConnectUri, useWalletConnectors, useWalletInfo, withErrorBoundary } from './chunk-RTXUS5KG.mjs';
1
+ export { AccountElement, AppProvider, BalanceElement, ClusterElement, ConnectorErrorBoundary, ConnectorProvider, DisconnectElement, SkeletonShine, TokenListElement, TransactionHistoryElement, UnifiedProvider, WalletConnectProvider, WalletListElement, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnectWallet, useConnector, useConnectorClient, useDisconnectWallet, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWallet, useWalletConnectUri, useWalletConnectors, useWalletInfo, withErrorBoundary } from './chunk-MDR4Y37Z.mjs';
2
2
  export { createConnectorId, getDefaultConfig, getDefaultMobileConfig, isConnected, isConnecting, isDisconnected, isWalletConnectorId } from './chunk-IDTUFDNB.mjs';
3
3
  //# sourceMappingURL=react.mjs.map
4
4
  //# sourceMappingURL=react.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/connector",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Headless wallet connector client and React provider built on Wallet Standard",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",