@solana/connector 0.2.2 → 0.2.3
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 +17 -0
- package/dist/{chunk-VVLY6QPI.js → chunk-B6YBZB6H.js} +18 -18
- package/dist/{chunk-VVLY6QPI.js.map → chunk-B6YBZB6H.js.map} +1 -1
- package/dist/{chunk-SQ2JEA2M.mjs → chunk-DFKGCW7K.mjs} +53 -14
- package/dist/chunk-DFKGCW7K.mjs.map +1 -0
- package/dist/{chunk-TRSJSU33.js → chunk-ULEPN4NL.js} +53 -14
- package/dist/chunk-ULEPN4NL.js.map +1 -0
- package/dist/{chunk-3623Z2QL.mjs → chunk-UOML5ULB.mjs} +3 -3
- package/dist/{chunk-3623Z2QL.mjs.map → chunk-UOML5ULB.mjs.map} +1 -1
- package/dist/{chunk-DFHJYZKZ.mjs → chunk-WPDCSFX2.mjs} +3 -3
- package/dist/{chunk-DFHJYZKZ.mjs.map → chunk-WPDCSFX2.mjs.map} +1 -1
- package/dist/{chunk-I2XX5FUG.js → chunk-X2X5TFXS.js} +4 -4
- package/dist/{chunk-I2XX5FUG.js.map → chunk-X2X5TFXS.js.map} +1 -1
- package/dist/headless.d.mts +7 -2
- package/dist/headless.d.ts +7 -2
- package/dist/headless.js +107 -107
- package/dist/headless.mjs +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +148 -148
- package/dist/index.mjs +3 -3
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +49 -49
- package/dist/react.mjs +2 -2
- package/dist/{standard-shim-Cg6fmjK_.d.ts → standard-shim-BB0Lkg_C.d.ts} +34 -1
- package/dist/{standard-shim-Cz4UNS7t.d.mts → standard-shim-n5phZB1d.d.mts} +34 -1
- package/package.json +1 -1
- package/dist/chunk-SQ2JEA2M.mjs.map +0 -1
- package/dist/chunk-TRSJSU33.js.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-
|
|
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-
|
|
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-UOML5ULB.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-WPDCSFX2.mjs';
|
|
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-DFKGCW7K.mjs';
|
|
4
4
|
export { isFailure, isSuccess, tryCatch, tryCatchSync } from './chunk-HO6QNKFM.mjs';
|
|
5
5
|
export { createMockWalletConnectTransport, createWalletConnectTransport, createWalletConnectWallet, isWalletConnectAvailable, registerWalletConnectWallet } from './chunk-A7WQ3K75.mjs';
|
|
6
6
|
export { ConfigurationError, ConnectionError, ConnectorError, Errors, LAMPORTS_PER_SOL, NetworkError, TransactionError, ValidationError, WalletErrorType, base58ToSignatureBytes, createKitSignersFromWallet, createMessageSignerFromWallet, createSolanaClient, createTransactionSendingSignerFromWallet, createWalletError, detectMessageModification, freezeSigner, getExplorerLink, getPublicSolanaRpcUrl, getUserFriendlyMessage, isConfigurationError, isConnectionError, isConnectorError, isNetworkError, isTransactionError, isValidationError, isWalletError, lamportsToSol, prepareTransaction, signatureBytesToBase58, solToLamports, toConnectorError, updateSignatureDictionary } from './chunk-SJCQ3KZE.mjs';
|
package/dist/react.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as ConnectorConfig, M as MobileWalletAdapterConfig,
|
|
2
|
-
export { C as ConnectorProvider, c as ConnectorSnapshot, e as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, S as SimplifiedWalletConnectConfig, W as WalletInfo,
|
|
1
|
+
import { d as ConnectorConfig, M as MobileWalletAdapterConfig, T as WalletError, m as WalletStatus, j as WalletConnectorId, n as SessionAccount, l as WalletSession, k as WalletConnectorMetadata, o as ConnectOptions, v as ClusterType, A as AccountInfo, au as ClipboardResult, Z as SolanaClient } from './standard-shim-n5phZB1d.mjs';
|
|
2
|
+
export { C as ConnectorProvider, c as ConnectorSnapshot, e as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, S as SimplifiedWalletConnectConfig, f as WalletDisplayConfig, W as WalletInfo, i as WalletStandardAccount, h as WalletStandardWallet, p as createConnectorId, g as getDefaultConfig, b as getDefaultMobileConfig, r as isConnected, s as isConnecting, t as isDisconnected, q as isWalletConnectorId, u as useConnector, a as useConnectorClient } from './standard-shim-n5phZB1d.mjs';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import React, { ReactNode, ComponentType, PropsWithChildren, Component, ErrorInfo } from 'react';
|
|
5
5
|
export { Wallet, WalletAccount } from '@wallet-standard/base';
|
package/dist/react.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as ConnectorConfig, M as MobileWalletAdapterConfig,
|
|
2
|
-
export { C as ConnectorProvider, c as ConnectorSnapshot, e as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, S as SimplifiedWalletConnectConfig, W as WalletInfo,
|
|
1
|
+
import { d as ConnectorConfig, M as MobileWalletAdapterConfig, T as WalletError, m as WalletStatus, j as WalletConnectorId, n as SessionAccount, l as WalletSession, k as WalletConnectorMetadata, o as ConnectOptions, v as ClusterType, A as AccountInfo, au as ClipboardResult, Z as SolanaClient } from './standard-shim-BB0Lkg_C.js';
|
|
2
|
+
export { C as ConnectorProvider, c as ConnectorSnapshot, e as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, S as SimplifiedWalletConnectConfig, f as WalletDisplayConfig, W as WalletInfo, i as WalletStandardAccount, h as WalletStandardWallet, p as createConnectorId, g as getDefaultConfig, b as getDefaultMobileConfig, r as isConnected, s as isConnecting, t as isDisconnected, q as isWalletConnectorId, u as useConnector, a as useConnectorClient } from './standard-shim-BB0Lkg_C.js';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import React, { ReactNode, ComponentType, PropsWithChildren, Component, ErrorInfo } from 'react';
|
|
5
5
|
export { Wallet, WalletAccount } from '@wallet-standard/base';
|
package/dist/react.js
CHANGED
|
@@ -1,197 +1,197 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkB6YBZB6H_js = require('./chunk-B6YBZB6H.js');
|
|
4
|
+
var chunkULEPN4NL_js = require('./chunk-ULEPN4NL.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 chunkB6YBZB6H_js.AccountElement; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AppProvider", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkB6YBZB6H_js.AppProvider; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "BalanceElement", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkB6YBZB6H_js.BalanceElement; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ClusterElement", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkB6YBZB6H_js.ClusterElement; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ConnectorErrorBoundary", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkB6YBZB6H_js.ConnectorErrorBoundary; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "ConnectorProvider", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkB6YBZB6H_js.ConnectorProvider; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "DisconnectElement", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkB6YBZB6H_js.DisconnectElement; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "SkeletonShine", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkB6YBZB6H_js.SkeletonShine; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "TokenListElement", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkB6YBZB6H_js.TokenListElement; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "TransactionHistoryElement", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkB6YBZB6H_js.TransactionHistoryElement; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "UnifiedProvider", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkB6YBZB6H_js.UnifiedProvider; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "WalletConnectProvider", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkB6YBZB6H_js.WalletConnectProvider; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "WalletListElement", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkB6YBZB6H_js.WalletListElement; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "clearSharedQueryCache", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkB6YBZB6H_js.clearSharedQueryCache; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "clearTokenCaches", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkB6YBZB6H_js.clearTokenCaches; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "getBalanceQueryKey", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkB6YBZB6H_js.getBalanceQueryKey; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "getTokensQueryKey", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkB6YBZB6H_js.getTokensQueryKey; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "getTransactionsQueryKey", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkB6YBZB6H_js.getTransactionsQueryKey; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "getWalletAssetsQueryKey", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkB6YBZB6H_js.getWalletAssetsQueryKey; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "invalidateSharedQuery", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkB6YBZB6H_js.invalidateSharedQuery; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "useAccount", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkB6YBZB6H_js.useAccount; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "useBalance", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkB6YBZB6H_js.useBalance; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "useCluster", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkB6YBZB6H_js.useCluster; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "useConnectWallet", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkB6YBZB6H_js.useConnectWallet; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "useConnector", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkB6YBZB6H_js.useConnector; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "useConnectorClient", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkB6YBZB6H_js.useConnectorClient; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "useDisconnectWallet", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkB6YBZB6H_js.useDisconnectWallet; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "useGillSolanaClient", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkB6YBZB6H_js.useGillSolanaClient; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "useGillTransactionSigner", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkB6YBZB6H_js.useGillTransactionSigner; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "useKitTransactionSigner", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkB6YBZB6H_js.useKitTransactionSigner; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "useSolanaClient", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkB6YBZB6H_js.useSolanaClient; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "useTokens", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkB6YBZB6H_js.useTokens; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "useTransactionPreparer", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkB6YBZB6H_js.useTransactionPreparer; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "useTransactionSigner", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkB6YBZB6H_js.useTransactionSigner; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "useTransactions", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkB6YBZB6H_js.useTransactions; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "useWallet", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkB6YBZB6H_js.useWallet; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "useWalletConnectUri", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkB6YBZB6H_js.useWalletConnectUri; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "useWalletConnectors", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkB6YBZB6H_js.useWalletConnectors; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "useWalletInfo", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkB6YBZB6H_js.useWalletInfo; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "withErrorBoundary", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkB6YBZB6H_js.withErrorBoundary; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "createConnectorId", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkULEPN4NL_js.createConnectorId; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "getDefaultConfig", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkULEPN4NL_js.getDefaultConfig; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "getDefaultMobileConfig", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkULEPN4NL_js.getDefaultMobileConfig; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "isConnected", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkULEPN4NL_js.isConnected; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "isConnecting", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkULEPN4NL_js.isConnecting; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "isDisconnected", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkULEPN4NL_js.isDisconnected; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "isWalletConnectorId", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkULEPN4NL_js.isWalletConnectorId; }
|
|
195
195
|
});
|
|
196
196
|
//# sourceMappingURL=react.js.map
|
|
197
197
|
//# sourceMappingURL=react.js.map
|
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-
|
|
2
|
-
export { createConnectorId, getDefaultConfig, getDefaultMobileConfig, isConnected, isConnecting, isDisconnected, isWalletConnectorId } from './chunk-
|
|
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-WPDCSFX2.mjs';
|
|
2
|
+
export { createConnectorId, getDefaultConfig, getDefaultMobileConfig, isConnected, isConnecting, isDisconnected, isWalletConnectorId } from './chunk-DFKGCW7K.mjs';
|
|
3
3
|
//# sourceMappingURL=react.mjs.map
|
|
4
4
|
//# sourceMappingURL=react.mjs.map
|
|
@@ -661,9 +661,37 @@ type Listener = (s: ConnectorState) => void;
|
|
|
661
661
|
/**
|
|
662
662
|
* Connector configuration options
|
|
663
663
|
*/
|
|
664
|
+
interface WalletDisplayConfig {
|
|
665
|
+
/**
|
|
666
|
+
* Explicit allowlist of wallet display names to expose as connectors.
|
|
667
|
+
*
|
|
668
|
+
* - Matching is case-insensitive and uses exact name equality (after trimming).
|
|
669
|
+
* - When provided and non-empty, only wallets in this list are shown/available.
|
|
670
|
+
*/
|
|
671
|
+
allowList?: string[];
|
|
672
|
+
/**
|
|
673
|
+
* Denylist of wallet display names to hide/remove.
|
|
674
|
+
*
|
|
675
|
+
* - Matching is case-insensitive and uses exact name equality (after trimming).
|
|
676
|
+
* - Deny wins over allow/featured when the same wallet appears in multiple lists.
|
|
677
|
+
*/
|
|
678
|
+
denyList?: string[];
|
|
679
|
+
/**
|
|
680
|
+
* Wallets to prioritize to the top of the list (in the provided order).
|
|
681
|
+
*
|
|
682
|
+
* - Matching is case-insensitive and uses exact name equality (after trimming).
|
|
683
|
+
* - Does not filter wallets by itself; it only reorders remaining wallets.
|
|
684
|
+
*/
|
|
685
|
+
featured?: string[];
|
|
686
|
+
}
|
|
664
687
|
interface ConnectorConfig {
|
|
665
688
|
autoConnect?: boolean;
|
|
666
689
|
debug?: boolean;
|
|
690
|
+
/**
|
|
691
|
+
* Wallet list controls for Wallet Standard auto-discovery.
|
|
692
|
+
* This affects which detected wallets are exposed as connectors (and therefore selectable / autoConnect-able).
|
|
693
|
+
*/
|
|
694
|
+
wallets?: WalletDisplayConfig;
|
|
667
695
|
/** Storage configuration using enhanced storage adapters */
|
|
668
696
|
storage?: {
|
|
669
697
|
account: StorageAdapter<string | undefined>;
|
|
@@ -1001,6 +1029,11 @@ interface DefaultConfigOptions {
|
|
|
1001
1029
|
* Use this to add remote/server-backed signers created via `createRemoteSignerWallet()`.
|
|
1002
1030
|
*/
|
|
1003
1031
|
additionalWallets?: Wallet[];
|
|
1032
|
+
/**
|
|
1033
|
+
* Optional wallet display controls for Wallet Standard auto-discovery.
|
|
1034
|
+
* Use this to filter/prioritize which detected wallets are exposed as connectors.
|
|
1035
|
+
*/
|
|
1036
|
+
wallets?: WalletDisplayConfig;
|
|
1004
1037
|
}
|
|
1005
1038
|
/**
|
|
1006
1039
|
* Simplified WalletConnect configuration
|
|
@@ -1584,4 +1617,4 @@ declare const ready: Promise<void>;
|
|
|
1584
1617
|
*/
|
|
1585
1618
|
declare function getWalletsRegistry(): WalletsRegistry;
|
|
1586
1619
|
|
|
1587
|
-
export { type
|
|
1620
|
+
export { type WalletConnectConfig as $, type AccountInfo as A, isStatusError as B, ConnectorProvider as C, type DefaultConfigOptions as D, type ExtendedConnectorConfig as E, isWalletStatusError as F, toLegacyWalletState as G, type WalletConnector as H, INITIAL_WALLET_STATUS as I, type WalletStatusDisconnected as J, type WalletStatusConnecting as K, type WalletStatusConnected as L, type MobileWalletAdapterConfig as M, type WalletStatusError as N, WalletErrorType as O, isWalletError as P, createWalletError as Q, type RegisterMwaConfig as R, type SimplifiedWalletConnectConfig as S, type WalletError as T, getPublicSolanaRpcUrl as U, createSolanaClient as V, type WalletInfo as W, type SolanaClusterMoniker as X, type ModifiedClusterUrl as Y, type SolanaClient as Z, type CreateSolanaClientArgs as _, useConnectorClient as a, type WalletConnectMetadata as a0, type WalletConnectTransport as a1, type WalletName as a2, type AccountAddress as a3, isWalletName as a4, isAccountAddress as a5, type CoinGeckoConfig as a6, type ConnectorHealth as a7, type ConnectorDebugMetrics as a8, type ConnectorDebugState as a9, getClusterRpcUrl as aA, getClusterExplorerUrl as aB, getTransactionUrl as aC, getAddressUrl as aD, getTokenUrl as aE, getBlockUrl as aF, isMainnetCluster as aG, isDevnetCluster as aH, isTestnetCluster as aI, isLocalCluster as aJ, getClusterName as aK, getClusterType as aL, getClusterChainId as aM, getChainIdForWalletStandard as aN, type Listener as aa, type ConnectorEvent as ab, type ConnectorEventListener as ac, type StorageAdapter as ad, type StorageOptions as ae, type EnhancedStorageAccountOptions as af, type EnhancedStorageClusterOptions as ag, type EnhancedStorageWalletOptions as ah, type EnhancedStorageWalletStateOptions as ai, type PersistedWalletState as aj, type WalletConnectSolanaAccount as ak, type WalletConnectSignMessageParams as al, type WalletConnectSignMessageResult as am, type WalletConnectSignTransactionParams as an, type WalletConnectSignTransactionResult as ao, type WalletConnectSignAllTransactionsParams as ap, type WalletConnectSignAllTransactionsResult as aq, type WalletConnectSignAndSendTransactionParams as ar, type WalletConnectSignAndSendTransactionResult as as, ClipboardErrorType as at, type ClipboardResult as au, type CopyOptions as av, isClipboardAvailable as aw, copyToClipboard as ax, copyAddressToClipboard as ay, copySignatureToClipboard as az, getDefaultMobileConfig as b, type ConnectorSnapshot as c, type ConnectorConfig as d, type ConnectorState as e, type WalletDisplayConfig as f, getDefaultConfig as g, type WalletStandardWallet as h, type WalletStandardAccount as i, type WalletConnectorId as j, type WalletConnectorMetadata as k, type WalletSession as l, type WalletStatus as m, type SessionAccount as n, type ConnectOptions as o, createConnectorId as p, isWalletConnectorId as q, isConnected as r, isConnecting as s, isDisconnected as t, useConnector as u, type ClusterType as v, ConnectorClient as w, getWalletsRegistry as x, ready as y, getWalletNameFromConnectorId as z };
|
|
@@ -661,9 +661,37 @@ type Listener = (s: ConnectorState) => void;
|
|
|
661
661
|
/**
|
|
662
662
|
* Connector configuration options
|
|
663
663
|
*/
|
|
664
|
+
interface WalletDisplayConfig {
|
|
665
|
+
/**
|
|
666
|
+
* Explicit allowlist of wallet display names to expose as connectors.
|
|
667
|
+
*
|
|
668
|
+
* - Matching is case-insensitive and uses exact name equality (after trimming).
|
|
669
|
+
* - When provided and non-empty, only wallets in this list are shown/available.
|
|
670
|
+
*/
|
|
671
|
+
allowList?: string[];
|
|
672
|
+
/**
|
|
673
|
+
* Denylist of wallet display names to hide/remove.
|
|
674
|
+
*
|
|
675
|
+
* - Matching is case-insensitive and uses exact name equality (after trimming).
|
|
676
|
+
* - Deny wins over allow/featured when the same wallet appears in multiple lists.
|
|
677
|
+
*/
|
|
678
|
+
denyList?: string[];
|
|
679
|
+
/**
|
|
680
|
+
* Wallets to prioritize to the top of the list (in the provided order).
|
|
681
|
+
*
|
|
682
|
+
* - Matching is case-insensitive and uses exact name equality (after trimming).
|
|
683
|
+
* - Does not filter wallets by itself; it only reorders remaining wallets.
|
|
684
|
+
*/
|
|
685
|
+
featured?: string[];
|
|
686
|
+
}
|
|
664
687
|
interface ConnectorConfig {
|
|
665
688
|
autoConnect?: boolean;
|
|
666
689
|
debug?: boolean;
|
|
690
|
+
/**
|
|
691
|
+
* Wallet list controls for Wallet Standard auto-discovery.
|
|
692
|
+
* This affects which detected wallets are exposed as connectors (and therefore selectable / autoConnect-able).
|
|
693
|
+
*/
|
|
694
|
+
wallets?: WalletDisplayConfig;
|
|
667
695
|
/** Storage configuration using enhanced storage adapters */
|
|
668
696
|
storage?: {
|
|
669
697
|
account: StorageAdapter<string | undefined>;
|
|
@@ -1001,6 +1029,11 @@ interface DefaultConfigOptions {
|
|
|
1001
1029
|
* Use this to add remote/server-backed signers created via `createRemoteSignerWallet()`.
|
|
1002
1030
|
*/
|
|
1003
1031
|
additionalWallets?: Wallet[];
|
|
1032
|
+
/**
|
|
1033
|
+
* Optional wallet display controls for Wallet Standard auto-discovery.
|
|
1034
|
+
* Use this to filter/prioritize which detected wallets are exposed as connectors.
|
|
1035
|
+
*/
|
|
1036
|
+
wallets?: WalletDisplayConfig;
|
|
1004
1037
|
}
|
|
1005
1038
|
/**
|
|
1006
1039
|
* Simplified WalletConnect configuration
|
|
@@ -1584,4 +1617,4 @@ declare const ready: Promise<void>;
|
|
|
1584
1617
|
*/
|
|
1585
1618
|
declare function getWalletsRegistry(): WalletsRegistry;
|
|
1586
1619
|
|
|
1587
|
-
export { type
|
|
1620
|
+
export { type WalletConnectConfig as $, type AccountInfo as A, isStatusError as B, ConnectorProvider as C, type DefaultConfigOptions as D, type ExtendedConnectorConfig as E, isWalletStatusError as F, toLegacyWalletState as G, type WalletConnector as H, INITIAL_WALLET_STATUS as I, type WalletStatusDisconnected as J, type WalletStatusConnecting as K, type WalletStatusConnected as L, type MobileWalletAdapterConfig as M, type WalletStatusError as N, WalletErrorType as O, isWalletError as P, createWalletError as Q, type RegisterMwaConfig as R, type SimplifiedWalletConnectConfig as S, type WalletError as T, getPublicSolanaRpcUrl as U, createSolanaClient as V, type WalletInfo as W, type SolanaClusterMoniker as X, type ModifiedClusterUrl as Y, type SolanaClient as Z, type CreateSolanaClientArgs as _, useConnectorClient as a, type WalletConnectMetadata as a0, type WalletConnectTransport as a1, type WalletName as a2, type AccountAddress as a3, isWalletName as a4, isAccountAddress as a5, type CoinGeckoConfig as a6, type ConnectorHealth as a7, type ConnectorDebugMetrics as a8, type ConnectorDebugState as a9, getClusterRpcUrl as aA, getClusterExplorerUrl as aB, getTransactionUrl as aC, getAddressUrl as aD, getTokenUrl as aE, getBlockUrl as aF, isMainnetCluster as aG, isDevnetCluster as aH, isTestnetCluster as aI, isLocalCluster as aJ, getClusterName as aK, getClusterType as aL, getClusterChainId as aM, getChainIdForWalletStandard as aN, type Listener as aa, type ConnectorEvent as ab, type ConnectorEventListener as ac, type StorageAdapter as ad, type StorageOptions as ae, type EnhancedStorageAccountOptions as af, type EnhancedStorageClusterOptions as ag, type EnhancedStorageWalletOptions as ah, type EnhancedStorageWalletStateOptions as ai, type PersistedWalletState as aj, type WalletConnectSolanaAccount as ak, type WalletConnectSignMessageParams as al, type WalletConnectSignMessageResult as am, type WalletConnectSignTransactionParams as an, type WalletConnectSignTransactionResult as ao, type WalletConnectSignAllTransactionsParams as ap, type WalletConnectSignAllTransactionsResult as aq, type WalletConnectSignAndSendTransactionParams as ar, type WalletConnectSignAndSendTransactionResult as as, ClipboardErrorType as at, type ClipboardResult as au, type CopyOptions as av, isClipboardAvailable as aw, copyToClipboard as ax, copyAddressToClipboard as ay, copySignatureToClipboard as az, getDefaultMobileConfig as b, type ConnectorSnapshot as c, type ConnectorConfig as d, type ConnectorState as e, type WalletDisplayConfig as f, getDefaultConfig as g, type WalletStandardWallet as h, type WalletStandardAccount as i, type WalletConnectorId as j, type WalletConnectorMetadata as k, type WalletSession as l, type WalletStatus as m, type SessionAccount as n, type ConnectOptions as o, createConnectorId as p, isWalletConnectorId as q, isConnected as r, isConnecting as s, isDisconnected as t, useConnector as u, type ClusterType as v, ConnectorClient as w, getWalletsRegistry as x, ready as y, getWalletNameFromConnectorId as z };
|