@solana/connector 0.1.8 → 0.1.9
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/{chunk-FTXIXM43.js → chunk-5HRJKCIL.js} +49 -7
- package/dist/chunk-5HRJKCIL.js.map +1 -0
- package/dist/{chunk-AOIXHVRH.js → chunk-I6TJLYNA.js} +6 -6
- package/dist/{chunk-AOIXHVRH.js.map → chunk-I6TJLYNA.js.map} +1 -1
- package/dist/{chunk-G575OAT4.mjs → chunk-JOBLG62A.mjs} +3 -3
- package/dist/{chunk-G575OAT4.mjs.map → chunk-JOBLG62A.mjs.map} +1 -1
- package/dist/{chunk-6F6M6L7R.mjs → chunk-MAXA3HEP.mjs} +49 -7
- package/dist/chunk-MAXA3HEP.mjs.map +1 -0
- package/dist/{chunk-TTOKQAPX.mjs → chunk-P5LXUDP6.mjs} +3 -3
- package/dist/{chunk-TTOKQAPX.mjs.map → chunk-P5LXUDP6.mjs.map} +1 -1
- package/dist/{chunk-K3BNIGPX.js → chunk-WDXEP4AJ.js} +17 -17
- package/dist/{chunk-K3BNIGPX.js.map → chunk-WDXEP4AJ.js.map} +1 -1
- package/dist/headless.js +94 -94
- package/dist/headless.mjs +2 -2
- package/dist/index.js +129 -129
- package/dist/index.mjs +3 -3
- package/dist/react.js +36 -36
- package/dist/react.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-6F6M6L7R.mjs.map +0 -1
- package/dist/chunk-FTXIXM43.js.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { EnhancedStorage, EnhancedStorageAdapter, SOLANA_CHAIN_IDS, address, chainIdToClusterId, chainIdToClusterType, clusterToChainId, copySignature, createEnhancedStorageAccount, createEnhancedStorageCluster, createEnhancedStorageWallet, createSignableMessage, createSolanaDevnet, createSolanaLocalnet, createSolanaMainnet, createSolanaTestnet, formatSignature, getAllExplorerUrls, getChainIdFromCluster, getChainIdFromClusterId, getChainIdFromClusterType, getChainIdFromConnection, getClusterIdFromChainId, getClusterTypeFromChainId, getClusterTypeFromConnection, getDefaultConfig, getDefaultMobileConfig, getLatestBlockhash, getSolanaExplorerUrl, getSolanaFmUrl, getSolscanUrl, getXrayUrl, isAccountAddress, isKitConnection, isKnownSolanaChain, isLegacyConnection, isSolanaChain, isWalletName, parseConfigOptions, sendRawTransaction, validateConfigOptions, validateKnownSolanaChain } from './chunk-
|
|
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-
|
|
1
|
+
export { EnhancedStorage, EnhancedStorageAdapter, SOLANA_CHAIN_IDS, address, chainIdToClusterId, chainIdToClusterType, clusterToChainId, copySignature, createEnhancedStorageAccount, createEnhancedStorageCluster, createEnhancedStorageWallet, createSignableMessage, createSolanaDevnet, createSolanaLocalnet, createSolanaMainnet, createSolanaTestnet, formatSignature, getAllExplorerUrls, getChainIdFromCluster, getChainIdFromClusterId, getChainIdFromClusterType, getChainIdFromConnection, getClusterIdFromChainId, getClusterTypeFromChainId, getClusterTypeFromConnection, getDefaultConfig, getDefaultMobileConfig, getLatestBlockhash, getSolanaExplorerUrl, getSolanaFmUrl, getSolscanUrl, getXrayUrl, isAccountAddress, isKitConnection, isKnownSolanaChain, isLegacyConnection, isSolanaChain, isWalletName, parseConfigOptions, sendRawTransaction, validateConfigOptions, validateKnownSolanaChain } from './chunk-JOBLG62A.mjs';
|
|
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-P5LXUDP6.mjs';
|
|
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-MAXA3HEP.mjs';
|
|
4
4
|
export { ConfigurationError, ConnectionError, ConnectorError, Errors, LAMPORTS_PER_SOL, NetworkError, TransactionError, ValidationError, base58ToSignatureBytes, createKitSignersFromWallet, createMessageSignerFromWallet, createSolanaClient, createTransactionSendingSignerFromWallet, detectMessageModification, freezeSigner, getExplorerLink, getPublicSolanaRpcUrl, getUserFriendlyMessage, isConfigurationError, isConnectionError, isConnectorError, isFailure, isNetworkError, isSuccess, isTransactionError, isValidationError, lamportsToSol, prepareTransaction, signatureBytesToBase58, solToLamports, toConnectorError, tryCatch, tryCatchSync, updateSignatureDictionary } from './chunk-J7DHGLW6.mjs';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
6
6
|
//# sourceMappingURL=index.mjs.map
|
package/dist/react.js
CHANGED
|
@@ -1,145 +1,145 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkWDXEP4AJ_js = require('./chunk-WDXEP4AJ.js');
|
|
4
|
+
var chunk5HRJKCIL_js = require('./chunk-5HRJKCIL.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 chunkWDXEP4AJ_js.AccountElement; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AppProvider", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkWDXEP4AJ_js.AppProvider; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "BalanceElement", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkWDXEP4AJ_js.BalanceElement; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ClusterElement", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkWDXEP4AJ_js.ClusterElement; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ConnectorProvider", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkWDXEP4AJ_js.ConnectorProvider; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "DisconnectElement", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkWDXEP4AJ_js.DisconnectElement; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "SkeletonShine", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkWDXEP4AJ_js.SkeletonShine; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "TokenListElement", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkWDXEP4AJ_js.TokenListElement; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "TransactionHistoryElement", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkWDXEP4AJ_js.TransactionHistoryElement; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "UnifiedProvider", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkWDXEP4AJ_js.UnifiedProvider; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "WalletListElement", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkWDXEP4AJ_js.WalletListElement; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "clearSharedQueryCache", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkWDXEP4AJ_js.clearSharedQueryCache; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "clearTokenCaches", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkWDXEP4AJ_js.clearTokenCaches; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "getBalanceQueryKey", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkWDXEP4AJ_js.getBalanceQueryKey; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "getTokensQueryKey", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkWDXEP4AJ_js.getTokensQueryKey; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "getTransactionsQueryKey", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkWDXEP4AJ_js.getTransactionsQueryKey; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "getWalletAssetsQueryKey", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkWDXEP4AJ_js.getWalletAssetsQueryKey; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "invalidateSharedQuery", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkWDXEP4AJ_js.invalidateSharedQuery; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "useAccount", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkWDXEP4AJ_js.useAccount; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "useBalance", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkWDXEP4AJ_js.useBalance; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "useCluster", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkWDXEP4AJ_js.useCluster; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "useConnector", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkWDXEP4AJ_js.useConnector; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "useConnectorClient", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkWDXEP4AJ_js.useConnectorClient; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "useGillSolanaClient", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkWDXEP4AJ_js.useGillSolanaClient; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "useGillTransactionSigner", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkWDXEP4AJ_js.useGillTransactionSigner; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "useKitTransactionSigner", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkWDXEP4AJ_js.useKitTransactionSigner; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "useSolanaClient", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkWDXEP4AJ_js.useSolanaClient; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "useTokens", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkWDXEP4AJ_js.useTokens; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "useTransactionPreparer", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkWDXEP4AJ_js.useTransactionPreparer; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "useTransactionSigner", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkWDXEP4AJ_js.useTransactionSigner; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "useTransactions", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkWDXEP4AJ_js.useTransactions; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "useWalletInfo", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkWDXEP4AJ_js.useWalletInfo; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "ConnectorErrorBoundary", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunk5HRJKCIL_js.ConnectorErrorBoundary; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "withErrorBoundary", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunk5HRJKCIL_js.withErrorBoundary; }
|
|
143
143
|
});
|
|
144
144
|
//# sourceMappingURL=react.js.map
|
|
145
145
|
//# 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, WalletListElement, clearSharedQueryCache, clearTokenCaches, getBalanceQueryKey, getTokensQueryKey, getTransactionsQueryKey, getWalletAssetsQueryKey, invalidateSharedQuery, useAccount, useBalance, useCluster, useConnector, useConnectorClient, useGillSolanaClient, useGillTransactionSigner, useKitTransactionSigner, useSolanaClient, useTokens, useTransactionPreparer, useTransactionSigner, useTransactions, useWalletInfo } from './chunk-P5LXUDP6.mjs';
|
|
2
|
+
export { ConnectorErrorBoundary, withErrorBoundary } from './chunk-MAXA3HEP.mjs';
|
|
3
3
|
//# sourceMappingURL=react.mjs.map
|
|
4
4
|
//# sourceMappingURL=react.mjs.map
|