@solana/connector 0.1.9 → 0.1.10
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 +97 -0
- package/dist/chunk-4JT24DIX.js +466 -0
- package/dist/chunk-4JT24DIX.js.map +1 -0
- package/dist/chunk-4KD6HQQG.js +69 -0
- package/dist/chunk-4KD6HQQG.js.map +1 -0
- package/dist/{chunk-DSUCH44G.js → chunk-64LV76OK.js} +2 -67
- package/dist/chunk-64LV76OK.js.map +1 -0
- package/dist/{chunk-5HRJKCIL.js → chunk-6AJJJG5B.js} +567 -133
- package/dist/chunk-6AJJJG5B.js.map +1 -0
- package/dist/chunk-7XHVZW2L.mjs +460 -0
- package/dist/chunk-7XHVZW2L.mjs.map +1 -0
- package/dist/{chunk-WDXEP4AJ.js → chunk-ATYK5OKR.js} +81 -33
- package/dist/chunk-ATYK5OKR.js.map +1 -0
- package/dist/{chunk-J7DHGLW6.mjs → chunk-DKCZA2QI.mjs} +3 -61
- package/dist/chunk-DKCZA2QI.mjs.map +1 -0
- package/dist/chunk-FVA4TUI4.mjs +178 -0
- package/dist/chunk-FVA4TUI4.mjs.map +1 -0
- package/dist/chunk-HO6QNKFM.mjs +61 -0
- package/dist/chunk-HO6QNKFM.mjs.map +1 -0
- package/dist/chunk-MN7XNCYI.js +230 -0
- package/dist/chunk-MN7XNCYI.js.map +1 -0
- package/dist/{chunk-MAXA3HEP.mjs → chunk-QOIQBWMP.mjs} +477 -51
- package/dist/chunk-QOIQBWMP.mjs.map +1 -0
- package/dist/{chunk-P5LXUDP6.mjs → chunk-WGZYKDXF.mjs} +57 -11
- package/dist/chunk-WGZYKDXF.mjs.map +1 -0
- package/dist/compat.js +10 -9
- package/dist/compat.js.map +1 -1
- package/dist/compat.mjs +2 -1
- package/dist/compat.mjs.map +1 -1
- package/dist/headless.d.mts +217 -100
- package/dist/headless.d.ts +217 -100
- package/dist/headless.js +190 -168
- package/dist/headless.mjs +5 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +233 -203
- package/dist/index.mjs +6 -4
- package/dist/react.d.mts +72 -4
- package/dist/react.d.ts +72 -4
- package/dist/react.js +52 -36
- package/dist/react.mjs +2 -2
- package/dist/{standard-shim-CT49DM5l.d.mts → standard-shim-BTUm7cur.d.mts} +280 -1
- package/dist/{standard-shim-D9guL5fz.d.ts → standard-shim-LsQ97i9T.d.ts} +280 -1
- package/dist/walletconnect-D4JN6H2O.js +28 -0
- package/dist/walletconnect-D4JN6H2O.js.map +1 -0
- package/dist/walletconnect-I3PZUBTA.mjs +3 -0
- package/dist/walletconnect-I3PZUBTA.mjs.map +1 -0
- package/package.json +6 -2
- package/dist/chunk-5HRJKCIL.js.map +0 -1
- package/dist/chunk-DSUCH44G.js.map +0 -1
- package/dist/chunk-I6TJLYNA.js +0 -535
- package/dist/chunk-I6TJLYNA.js.map +0 -1
- package/dist/chunk-J7DHGLW6.mjs.map +0 -1
- package/dist/chunk-JOBLG62A.mjs +0 -476
- package/dist/chunk-JOBLG62A.mjs.map +0 -1
- package/dist/chunk-MAXA3HEP.mjs.map +0 -1
- package/dist/chunk-P5LXUDP6.mjs.map +0 -1
- package/dist/chunk-WDXEP4AJ.js.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { AccountElement, AppProvider, BalanceElement, ClusterElement, ConnectorProvider, DisconnectElement, SkeletonShine, TokenListElement, TransactionHistoryElement, UnifiedProvider, WalletListElement, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnector, useConnectorClient, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWalletInfo } from './chunk-
|
|
3
|
-
export { ClipboardErrorType, ConnectorClient, ConnectorErrorBoundary, PUBLIC_RPC_ENDPOINTS, TransactionSignerError, WalletErrorType, copyAddressToClipboard, copySignatureToClipboard, copyToClipboard, createGillTransactionSigner, createKitTransactionSigner, createTransactionSigner, formatAddress, formatBigIntBalance, formatBigIntUsd, formatLamportsToSolSafe, formatNumber, formatSOL, formatTokenAmount, formatTokenBalanceSafe, getAddressUrl, getBlockUrl, getChainIdForWalletStandard, getClusterChainId, getClusterExplorerUrl, getClusterName, getClusterRpcUrl, getClusterType, getDefaultRpcUrl, getNetworkDisplayName, getPolyfillStatus, getTokenUrl, getTransactionUrl, getWalletsRegistry, installPolyfills, isClipboardAvailable, isCryptoAvailable, isDevnet, isDevnetCluster, isLocalCluster, isLocalnet, isMainnet, isMainnetCluster, isPolyfillInstalled, isTestnet, isTestnetCluster, isTransactionSignerError, normalizeNetwork, ready, toClusterId, truncate, withErrorBoundary } from './chunk-
|
|
4
|
-
export {
|
|
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-FVA4TUI4.mjs';
|
|
2
|
+
export { AccountElement, AppProvider, BalanceElement, ClusterElement, ConnectorProvider, DisconnectElement, SkeletonShine, TokenListElement, TransactionHistoryElement, UnifiedProvider, WalletConnectProvider, WalletListElement, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnector, useConnectorClient, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWalletConnectUri, useWalletInfo } from './chunk-WGZYKDXF.mjs';
|
|
3
|
+
export { ClipboardErrorType, ConnectorClient, ConnectorErrorBoundary, EnhancedStorage, EnhancedStorageAdapter, PUBLIC_RPC_ENDPOINTS, TransactionSignerError, WalletErrorType, copyAddressToClipboard, copySignatureToClipboard, copyToClipboard, createEnhancedStorageAccount, createEnhancedStorageCluster, createEnhancedStorageWallet, 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, getWalletsRegistry, installPolyfills, isClipboardAvailable, isCryptoAvailable, isDevnet, isDevnetCluster, isLocalCluster, isLocalnet, isMainnet, isMainnetCluster, isPolyfillInstalled, isTestnet, isTestnetCluster, isTransactionSignerError, normalizeNetwork, parseConfigOptions, ready, toClusterId, truncate, validateConfigOptions, withErrorBoundary } from './chunk-QOIQBWMP.mjs';
|
|
4
|
+
export { isFailure, isSuccess, tryCatch, tryCatchSync } from './chunk-HO6QNKFM.mjs';
|
|
5
|
+
export { createMockWalletConnectTransport, createWalletConnectTransport, createWalletConnectWallet, isWalletConnectAvailable, registerWalletConnectWallet } from './chunk-7XHVZW2L.mjs';
|
|
6
|
+
export { ConfigurationError, ConnectionError, ConnectorError, Errors, LAMPORTS_PER_SOL, NetworkError, TransactionError, ValidationError, base58ToSignatureBytes, createKitSignersFromWallet, createMessageSignerFromWallet, createSolanaClient, createTransactionSendingSignerFromWallet, detectMessageModification, freezeSigner, getExplorerLink, getPublicSolanaRpcUrl, getUserFriendlyMessage, isConfigurationError, isConnectionError, isConnectorError, isNetworkError, isTransactionError, isValidationError, lamportsToSol, prepareTransaction, signatureBytesToBase58, solToLamports, toConnectorError, updateSignatureDictionary } from './chunk-DKCZA2QI.mjs';
|
|
5
7
|
//# sourceMappingURL=index.mjs.map
|
|
6
8
|
//# sourceMappingURL=index.mjs.map
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { e as ConnectorConfig, M as MobileWalletAdapterConfig, j as ClusterType, A as AccountInfo, a5 as ClipboardResult, t as SolanaClient } from './standard-shim-BTUm7cur.mjs';
|
|
2
|
+
export { c as ConnectorErrorBoundary, C as ConnectorProvider, d as ConnectorSnapshot, f as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, S as SimplifiedWalletConnectConfig, W as WalletInfo, i as WalletStandardAccount, h as WalletStandardWallet, g as getDefaultConfig, b as getDefaultMobileConfig, u as useConnector, a as useConnectorClient, w as withErrorBoundary } from './standard-shim-BTUm7cur.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ReactNode, ComponentType, PropsWithChildren } from 'react';
|
|
5
5
|
import { SolanaCluster, SolanaClusterId } from '@wallet-ui/core';
|
|
@@ -26,12 +26,80 @@ interface AppProviderProps {
|
|
|
26
26
|
props?: Record<string, unknown>;
|
|
27
27
|
}>;
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Main application provider for ConnectorKit
|
|
31
|
+
*
|
|
32
|
+
* Automatically sets up:
|
|
33
|
+
* - Wallet connection management
|
|
34
|
+
* - WalletConnect URI state (when enabled)
|
|
35
|
+
* - Mobile Wallet Adapter (when configured)
|
|
36
|
+
* - Error boundaries (when configured)
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```tsx
|
|
40
|
+
* import { AppProvider, getDefaultConfig } from '@solana/connector/react';
|
|
41
|
+
*
|
|
42
|
+
* const config = getDefaultConfig({
|
|
43
|
+
* appName: 'My App',
|
|
44
|
+
* walletConnect: true, // Auto-detects project ID from env
|
|
45
|
+
* });
|
|
46
|
+
*
|
|
47
|
+
* export function Providers({ children }) {
|
|
48
|
+
* return (
|
|
49
|
+
* <AppProvider connectorConfig={config}>
|
|
50
|
+
* {children}
|
|
51
|
+
* </AppProvider>
|
|
52
|
+
* );
|
|
53
|
+
* }
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
declare function AppProvider(props: AppProviderProps): react_jsx_runtime.JSX.Element;
|
|
30
57
|
/** @deprecated Use `AppProvider` instead */
|
|
31
58
|
declare const UnifiedProvider: typeof AppProvider;
|
|
32
59
|
/** @deprecated Use `AppProviderProps` instead */
|
|
33
60
|
type UnifiedProviderProps = AppProviderProps;
|
|
34
61
|
|
|
62
|
+
/**
|
|
63
|
+
* WalletConnect URI context value
|
|
64
|
+
* Used to share the WalletConnect pairing URI between components
|
|
65
|
+
*/
|
|
66
|
+
interface WalletConnectContextValue {
|
|
67
|
+
/** The current WalletConnect URI for QR code display */
|
|
68
|
+
uri: string | null;
|
|
69
|
+
/** Set the URI (called internally when display_uri event fires) */
|
|
70
|
+
setUri: (uri: string | null) => void;
|
|
71
|
+
/** Clear the URI (called when session is established or disconnected) */
|
|
72
|
+
clearUri: () => void;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Provider component for WalletConnect URI state
|
|
76
|
+
*
|
|
77
|
+
* This is automatically wrapped by AppProvider when WalletConnect is enabled.
|
|
78
|
+
* You typically don't need to use this directly.
|
|
79
|
+
*/
|
|
80
|
+
declare function WalletConnectProvider({ children }: {
|
|
81
|
+
children: ReactNode;
|
|
82
|
+
}): react_jsx_runtime.JSX.Element;
|
|
83
|
+
/**
|
|
84
|
+
* Hook to access the WalletConnect URI for QR code display
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```tsx
|
|
88
|
+
* import { useWalletConnectUri } from '@solana/connector/react';
|
|
89
|
+
*
|
|
90
|
+
* function WalletModal() {
|
|
91
|
+
* const { uri, clearUri } = useWalletConnectUri();
|
|
92
|
+
*
|
|
93
|
+
* return uri ? (
|
|
94
|
+
* <QRCodeSVG value={uri} />
|
|
95
|
+
* ) : (
|
|
96
|
+
* <Spinner />
|
|
97
|
+
* );
|
|
98
|
+
* }
|
|
99
|
+
* ```
|
|
100
|
+
*/
|
|
101
|
+
declare function useWalletConnectUri(): WalletConnectContextValue;
|
|
102
|
+
|
|
35
103
|
/**
|
|
36
104
|
* @solana/connector - useCluster hook
|
|
37
105
|
*
|
|
@@ -1400,4 +1468,4 @@ declare namespace SkeletonShine {
|
|
|
1400
1468
|
var displayName: string;
|
|
1401
1469
|
}
|
|
1402
1470
|
|
|
1403
|
-
export { AccountElement, type AccountElementProps, type AccountElementRenderProps, AccountInfo, AppProvider, type AppProviderProps, BalanceElement, type BalanceElementProps, type BalanceElementRenderProps, ClusterElement, type ClusterElementProps, type ClusterElementRenderProps, ClusterType, ConnectorConfig, DisconnectElement, type DisconnectElementProps, MobileWalletAdapterConfig, 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 UseGillSolanaClientReturn, type UseGillTransactionSignerReturn, type UseKitTransactionSignerReturn, type UseSolanaClientReturn, type UseTokensOptions, type UseTokensReturn, type UseTransactionPreparerReturn, type UseTransactionSignerReturn, type UseTransactionsOptions, type UseTransactionsReturn, type UseWalletInfoReturn, type WalletDisplayInfo, WalletListElement, type WalletListElementProps, type WalletListElementRenderProps, type WalletListElementWalletProps, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWalletInfo };
|
|
1471
|
+
export { AccountElement, type AccountElementProps, type AccountElementRenderProps, AccountInfo, AppProvider, type AppProviderProps, BalanceElement, type BalanceElementProps, type BalanceElementRenderProps, ClusterElement, type ClusterElementProps, type ClusterElementRenderProps, ClusterType, ConnectorConfig, DisconnectElement, type DisconnectElementProps, MobileWalletAdapterConfig, 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 UseGillSolanaClientReturn, type UseGillTransactionSignerReturn, type UseKitTransactionSignerReturn, type UseSolanaClientReturn, type UseTokensOptions, type UseTokensReturn, type UseTransactionPreparerReturn, type UseTransactionSignerReturn, type UseTransactionsOptions, type UseTransactionsReturn, type UseWalletInfoReturn, type WalletConnectContextValue, WalletConnectProvider, type WalletDisplayInfo, WalletListElement, type WalletListElementProps, type WalletListElementRenderProps, type WalletListElementWalletProps, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWalletConnectUri, useWalletInfo };
|
package/dist/react.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { e as ConnectorConfig, M as MobileWalletAdapterConfig, j as ClusterType, A as AccountInfo, a5 as ClipboardResult, t as SolanaClient } from './standard-shim-LsQ97i9T.js';
|
|
2
|
+
export { c as ConnectorErrorBoundary, C as ConnectorProvider, d as ConnectorSnapshot, f as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, S as SimplifiedWalletConnectConfig, W as WalletInfo, i as WalletStandardAccount, h as WalletStandardWallet, g as getDefaultConfig, b as getDefaultMobileConfig, u as useConnector, a as useConnectorClient, w as withErrorBoundary } from './standard-shim-LsQ97i9T.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { ReactNode, ComponentType, PropsWithChildren } from 'react';
|
|
5
5
|
import { SolanaCluster, SolanaClusterId } from '@wallet-ui/core';
|
|
@@ -26,12 +26,80 @@ interface AppProviderProps {
|
|
|
26
26
|
props?: Record<string, unknown>;
|
|
27
27
|
}>;
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Main application provider for ConnectorKit
|
|
31
|
+
*
|
|
32
|
+
* Automatically sets up:
|
|
33
|
+
* - Wallet connection management
|
|
34
|
+
* - WalletConnect URI state (when enabled)
|
|
35
|
+
* - Mobile Wallet Adapter (when configured)
|
|
36
|
+
* - Error boundaries (when configured)
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```tsx
|
|
40
|
+
* import { AppProvider, getDefaultConfig } from '@solana/connector/react';
|
|
41
|
+
*
|
|
42
|
+
* const config = getDefaultConfig({
|
|
43
|
+
* appName: 'My App',
|
|
44
|
+
* walletConnect: true, // Auto-detects project ID from env
|
|
45
|
+
* });
|
|
46
|
+
*
|
|
47
|
+
* export function Providers({ children }) {
|
|
48
|
+
* return (
|
|
49
|
+
* <AppProvider connectorConfig={config}>
|
|
50
|
+
* {children}
|
|
51
|
+
* </AppProvider>
|
|
52
|
+
* );
|
|
53
|
+
* }
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
declare function AppProvider(props: AppProviderProps): react_jsx_runtime.JSX.Element;
|
|
30
57
|
/** @deprecated Use `AppProvider` instead */
|
|
31
58
|
declare const UnifiedProvider: typeof AppProvider;
|
|
32
59
|
/** @deprecated Use `AppProviderProps` instead */
|
|
33
60
|
type UnifiedProviderProps = AppProviderProps;
|
|
34
61
|
|
|
62
|
+
/**
|
|
63
|
+
* WalletConnect URI context value
|
|
64
|
+
* Used to share the WalletConnect pairing URI between components
|
|
65
|
+
*/
|
|
66
|
+
interface WalletConnectContextValue {
|
|
67
|
+
/** The current WalletConnect URI for QR code display */
|
|
68
|
+
uri: string | null;
|
|
69
|
+
/** Set the URI (called internally when display_uri event fires) */
|
|
70
|
+
setUri: (uri: string | null) => void;
|
|
71
|
+
/** Clear the URI (called when session is established or disconnected) */
|
|
72
|
+
clearUri: () => void;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Provider component for WalletConnect URI state
|
|
76
|
+
*
|
|
77
|
+
* This is automatically wrapped by AppProvider when WalletConnect is enabled.
|
|
78
|
+
* You typically don't need to use this directly.
|
|
79
|
+
*/
|
|
80
|
+
declare function WalletConnectProvider({ children }: {
|
|
81
|
+
children: ReactNode;
|
|
82
|
+
}): react_jsx_runtime.JSX.Element;
|
|
83
|
+
/**
|
|
84
|
+
* Hook to access the WalletConnect URI for QR code display
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```tsx
|
|
88
|
+
* import { useWalletConnectUri } from '@solana/connector/react';
|
|
89
|
+
*
|
|
90
|
+
* function WalletModal() {
|
|
91
|
+
* const { uri, clearUri } = useWalletConnectUri();
|
|
92
|
+
*
|
|
93
|
+
* return uri ? (
|
|
94
|
+
* <QRCodeSVG value={uri} />
|
|
95
|
+
* ) : (
|
|
96
|
+
* <Spinner />
|
|
97
|
+
* );
|
|
98
|
+
* }
|
|
99
|
+
* ```
|
|
100
|
+
*/
|
|
101
|
+
declare function useWalletConnectUri(): WalletConnectContextValue;
|
|
102
|
+
|
|
35
103
|
/**
|
|
36
104
|
* @solana/connector - useCluster hook
|
|
37
105
|
*
|
|
@@ -1400,4 +1468,4 @@ declare namespace SkeletonShine {
|
|
|
1400
1468
|
var displayName: string;
|
|
1401
1469
|
}
|
|
1402
1470
|
|
|
1403
|
-
export { AccountElement, type AccountElementProps, type AccountElementRenderProps, AccountInfo, AppProvider, type AppProviderProps, BalanceElement, type BalanceElementProps, type BalanceElementRenderProps, ClusterElement, type ClusterElementProps, type ClusterElementRenderProps, ClusterType, ConnectorConfig, DisconnectElement, type DisconnectElementProps, MobileWalletAdapterConfig, 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 UseGillSolanaClientReturn, type UseGillTransactionSignerReturn, type UseKitTransactionSignerReturn, type UseSolanaClientReturn, type UseTokensOptions, type UseTokensReturn, type UseTransactionPreparerReturn, type UseTransactionSignerReturn, type UseTransactionsOptions, type UseTransactionsReturn, type UseWalletInfoReturn, type WalletDisplayInfo, WalletListElement, type WalletListElementProps, type WalletListElementRenderProps, type WalletListElementWalletProps, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWalletInfo };
|
|
1471
|
+
export { AccountElement, type AccountElementProps, type AccountElementRenderProps, AccountInfo, AppProvider, type AppProviderProps, BalanceElement, type BalanceElementProps, type BalanceElementRenderProps, ClusterElement, type ClusterElementProps, type ClusterElementRenderProps, ClusterType, ConnectorConfig, DisconnectElement, type DisconnectElementProps, MobileWalletAdapterConfig, 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 UseGillSolanaClientReturn, type UseGillTransactionSignerReturn, type UseKitTransactionSignerReturn, type UseSolanaClientReturn, type UseTokensOptions, type UseTokensReturn, type UseTransactionPreparerReturn, type UseTransactionSignerReturn, type UseTransactionsOptions, type UseTransactionsReturn, type UseWalletInfoReturn, type WalletConnectContextValue, WalletConnectProvider, type WalletDisplayInfo, WalletListElement, type WalletListElementProps, type WalletListElementRenderProps, type WalletListElementWalletProps, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWalletConnectUri, useWalletInfo };
|
package/dist/react.js
CHANGED
|
@@ -1,145 +1,161 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkATYK5OKR_js = require('./chunk-ATYK5OKR.js');
|
|
4
|
+
var chunk6AJJJG5B_js = require('./chunk-6AJJJG5B.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AccountElement", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkATYK5OKR_js.AccountElement; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AppProvider", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkATYK5OKR_js.AppProvider; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "BalanceElement", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkATYK5OKR_js.BalanceElement; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ClusterElement", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkATYK5OKR_js.ClusterElement; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ConnectorProvider", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkATYK5OKR_js.ConnectorProvider; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "DisconnectElement", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkATYK5OKR_js.DisconnectElement; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "SkeletonShine", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkATYK5OKR_js.SkeletonShine; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "TokenListElement", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkATYK5OKR_js.TokenListElement; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "TransactionHistoryElement", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkATYK5OKR_js.TransactionHistoryElement; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "UnifiedProvider", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkATYK5OKR_js.UnifiedProvider; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "WalletConnectProvider", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkATYK5OKR_js.WalletConnectProvider; }
|
|
47
51
|
});
|
|
48
52
|
Object.defineProperty(exports, "WalletListElement", {
|
|
49
53
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkATYK5OKR_js.WalletListElement; }
|
|
51
55
|
});
|
|
52
56
|
Object.defineProperty(exports, "clearSharedQueryCache", {
|
|
53
57
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkATYK5OKR_js.clearSharedQueryCache; }
|
|
55
59
|
});
|
|
56
60
|
Object.defineProperty(exports, "clearTokenCaches", {
|
|
57
61
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkATYK5OKR_js.clearTokenCaches; }
|
|
59
63
|
});
|
|
60
64
|
Object.defineProperty(exports, "getBalanceQueryKey", {
|
|
61
65
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkATYK5OKR_js.getBalanceQueryKey; }
|
|
63
67
|
});
|
|
64
68
|
Object.defineProperty(exports, "getTokensQueryKey", {
|
|
65
69
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkATYK5OKR_js.getTokensQueryKey; }
|
|
67
71
|
});
|
|
68
72
|
Object.defineProperty(exports, "getTransactionsQueryKey", {
|
|
69
73
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkATYK5OKR_js.getTransactionsQueryKey; }
|
|
71
75
|
});
|
|
72
76
|
Object.defineProperty(exports, "getWalletAssetsQueryKey", {
|
|
73
77
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkATYK5OKR_js.getWalletAssetsQueryKey; }
|
|
75
79
|
});
|
|
76
80
|
Object.defineProperty(exports, "invalidateSharedQuery", {
|
|
77
81
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkATYK5OKR_js.invalidateSharedQuery; }
|
|
79
83
|
});
|
|
80
84
|
Object.defineProperty(exports, "useAccount", {
|
|
81
85
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkATYK5OKR_js.useAccount; }
|
|
83
87
|
});
|
|
84
88
|
Object.defineProperty(exports, "useBalance", {
|
|
85
89
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkATYK5OKR_js.useBalance; }
|
|
87
91
|
});
|
|
88
92
|
Object.defineProperty(exports, "useCluster", {
|
|
89
93
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkATYK5OKR_js.useCluster; }
|
|
91
95
|
});
|
|
92
96
|
Object.defineProperty(exports, "useConnector", {
|
|
93
97
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkATYK5OKR_js.useConnector; }
|
|
95
99
|
});
|
|
96
100
|
Object.defineProperty(exports, "useConnectorClient", {
|
|
97
101
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkATYK5OKR_js.useConnectorClient; }
|
|
99
103
|
});
|
|
100
104
|
Object.defineProperty(exports, "useGillSolanaClient", {
|
|
101
105
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkATYK5OKR_js.useGillSolanaClient; }
|
|
103
107
|
});
|
|
104
108
|
Object.defineProperty(exports, "useGillTransactionSigner", {
|
|
105
109
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkATYK5OKR_js.useGillTransactionSigner; }
|
|
107
111
|
});
|
|
108
112
|
Object.defineProperty(exports, "useKitTransactionSigner", {
|
|
109
113
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkATYK5OKR_js.useKitTransactionSigner; }
|
|
111
115
|
});
|
|
112
116
|
Object.defineProperty(exports, "useSolanaClient", {
|
|
113
117
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkATYK5OKR_js.useSolanaClient; }
|
|
115
119
|
});
|
|
116
120
|
Object.defineProperty(exports, "useTokens", {
|
|
117
121
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkATYK5OKR_js.useTokens; }
|
|
119
123
|
});
|
|
120
124
|
Object.defineProperty(exports, "useTransactionPreparer", {
|
|
121
125
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkATYK5OKR_js.useTransactionPreparer; }
|
|
123
127
|
});
|
|
124
128
|
Object.defineProperty(exports, "useTransactionSigner", {
|
|
125
129
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkATYK5OKR_js.useTransactionSigner; }
|
|
127
131
|
});
|
|
128
132
|
Object.defineProperty(exports, "useTransactions", {
|
|
129
133
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkATYK5OKR_js.useTransactions; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "useWalletConnectUri", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunkATYK5OKR_js.useWalletConnectUri; }
|
|
131
139
|
});
|
|
132
140
|
Object.defineProperty(exports, "useWalletInfo", {
|
|
133
141
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkATYK5OKR_js.useWalletInfo; }
|
|
135
143
|
});
|
|
136
144
|
Object.defineProperty(exports, "ConnectorErrorBoundary", {
|
|
137
145
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunk6AJJJG5B_js.ConnectorErrorBoundary; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "getDefaultConfig", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunk6AJJJG5B_js.getDefaultConfig; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "getDefaultMobileConfig", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunk6AJJJG5B_js.getDefaultMobileConfig; }
|
|
139
155
|
});
|
|
140
156
|
Object.defineProperty(exports, "withErrorBoundary", {
|
|
141
157
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunk6AJJJG5B_js.withErrorBoundary; }
|
|
143
159
|
});
|
|
144
160
|
//# sourceMappingURL=react.js.map
|
|
145
161
|
//# sourceMappingURL=react.js.map
|
package/dist/react.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccountElement, AppProvider, BalanceElement, ClusterElement, ConnectorProvider, DisconnectElement, SkeletonShine, TokenListElement, TransactionHistoryElement, UnifiedProvider, WalletListElement, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnector, useConnectorClient, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWalletInfo } from './chunk-
|
|
2
|
-
export { ConnectorErrorBoundary, withErrorBoundary } from './chunk-
|
|
1
|
+
export { AccountElement, AppProvider, BalanceElement, ClusterElement, ConnectorProvider, DisconnectElement, SkeletonShine, TokenListElement, TransactionHistoryElement, UnifiedProvider, WalletConnectProvider, WalletListElement, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnector, useConnectorClient, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWalletConnectUri, useWalletInfo } from './chunk-WGZYKDXF.mjs';
|
|
2
|
+
export { ConnectorErrorBoundary, getDefaultConfig, getDefaultMobileConfig, withErrorBoundary } from './chunk-QOIQBWMP.mjs';
|
|
3
3
|
//# sourceMappingURL=react.mjs.map
|
|
4
4
|
//# sourceMappingURL=react.mjs.map
|