@solana/connector 0.1.10 → 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/README.md +354 -98
- package/dist/{chunk-ATYK5OKR.js → chunk-4Z2F6ERB.js} +664 -232
- package/dist/chunk-4Z2F6ERB.js.map +1 -0
- package/dist/{chunk-MN7XNCYI.js → chunk-BJAVJQLK.js} +6 -6
- package/dist/{chunk-MN7XNCYI.js.map → chunk-BJAVJQLK.js.map} +1 -1
- package/dist/{chunk-6AJJJG5B.js → chunk-BZ2VBJCZ.js} +618 -415
- package/dist/chunk-BZ2VBJCZ.js.map +1 -0
- package/dist/{chunk-4JT24DIX.js → chunk-HN5AJF7F.js} +61 -20
- package/dist/chunk-HN5AJF7F.js.map +1 -0
- package/dist/{chunk-FVA4TUI4.mjs → chunk-HPQ5T32K.mjs} +4 -4
- package/dist/{chunk-FVA4TUI4.mjs.map → chunk-HPQ5T32K.mjs.map} +1 -1
- package/dist/{chunk-QOIQBWMP.mjs → chunk-IDTUFDNB.mjs} +531 -339
- package/dist/chunk-IDTUFDNB.mjs.map +1 -0
- package/dist/{chunk-WGZYKDXF.mjs → chunk-MDR4Y37Z.mjs} +584 -158
- package/dist/chunk-MDR4Y37Z.mjs.map +1 -0
- package/dist/{chunk-64LV76OK.js → chunk-SITQ4JWM.js} +23 -2
- package/dist/chunk-SITQ4JWM.js.map +1 -0
- package/dist/{chunk-7XHVZW2L.mjs → chunk-UCISIAOG.mjs} +60 -19
- package/dist/chunk-UCISIAOG.mjs.map +1 -0
- package/dist/{chunk-DKCZA2QI.mjs → chunk-ZZTY3O4N.mjs} +21 -3
- package/dist/chunk-ZZTY3O4N.mjs.map +1 -0
- package/dist/compat.d.mts +1 -1
- package/dist/compat.d.ts +1 -1
- package/dist/compat.js +2 -2
- package/dist/compat.mjs +1 -1
- package/dist/headless.d.mts +25 -7
- package/dist/headless.d.ts +25 -7
- package/dist/headless.js +196 -132
- package/dist/headless.mjs +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +255 -175
- package/dist/index.mjs +5 -5
- package/dist/react.d.mts +244 -10
- package/dist/react.d.ts +244 -10
- package/dist/react.js +78 -42
- package/dist/react.mjs +2 -2
- package/dist/{standard-shim-BTUm7cur.d.mts → standard-shim-CGB88PPO.d.mts} +396 -54
- package/dist/{standard-shim-LsQ97i9T.d.ts → standard-shim-tmnQelaJ.d.ts} +396 -54
- package/dist/{transaction-signer-T-KVQFi8.d.ts → transaction-signer-7NaYmP5w.d.mts} +1 -0
- package/dist/{transaction-signer-T-KVQFi8.d.mts → transaction-signer-7NaYmP5w.d.ts} +1 -0
- package/dist/{walletconnect-D4JN6H2O.js → walletconnect-447EY3OJ.js} +8 -8
- package/dist/{walletconnect-D4JN6H2O.js.map → walletconnect-447EY3OJ.js.map} +1 -1
- package/dist/walletconnect-U455PO4I.mjs +3 -0
- package/dist/{walletconnect-I3PZUBTA.mjs.map → walletconnect-U455PO4I.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-4JT24DIX.js.map +0 -1
- package/dist/chunk-64LV76OK.js.map +0 -1
- package/dist/chunk-6AJJJG5B.js.map +0 -1
- package/dist/chunk-7XHVZW2L.mjs.map +0 -1
- package/dist/chunk-ATYK5OKR.js.map +0 -1
- package/dist/chunk-DKCZA2QI.mjs.map +0 -1
- package/dist/chunk-QOIQBWMP.mjs.map +0 -1
- package/dist/chunk-WGZYKDXF.mjs.map +0 -1
- package/dist/walletconnect-I3PZUBTA.mjs +0 -3
package/dist/react.js
CHANGED
|
@@ -1,161 +1,197 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk4Z2F6ERB_js = require('./chunk-4Z2F6ERB.js');
|
|
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
|
|
10
|
+
get: function () { return chunk4Z2F6ERB_js.AccountElement; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AppProvider", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk4Z2F6ERB_js.AppProvider; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "BalanceElement", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk4Z2F6ERB_js.BalanceElement; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ClusterElement", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk4Z2F6ERB_js.ClusterElement; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "ConnectorErrorBoundary", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunk4Z2F6ERB_js.ConnectorErrorBoundary; }
|
|
23
27
|
});
|
|
24
28
|
Object.defineProperty(exports, "ConnectorProvider", {
|
|
25
29
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk4Z2F6ERB_js.ConnectorProvider; }
|
|
27
31
|
});
|
|
28
32
|
Object.defineProperty(exports, "DisconnectElement", {
|
|
29
33
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk4Z2F6ERB_js.DisconnectElement; }
|
|
31
35
|
});
|
|
32
36
|
Object.defineProperty(exports, "SkeletonShine", {
|
|
33
37
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk4Z2F6ERB_js.SkeletonShine; }
|
|
35
39
|
});
|
|
36
40
|
Object.defineProperty(exports, "TokenListElement", {
|
|
37
41
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk4Z2F6ERB_js.TokenListElement; }
|
|
39
43
|
});
|
|
40
44
|
Object.defineProperty(exports, "TransactionHistoryElement", {
|
|
41
45
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk4Z2F6ERB_js.TransactionHistoryElement; }
|
|
43
47
|
});
|
|
44
48
|
Object.defineProperty(exports, "UnifiedProvider", {
|
|
45
49
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk4Z2F6ERB_js.UnifiedProvider; }
|
|
47
51
|
});
|
|
48
52
|
Object.defineProperty(exports, "WalletConnectProvider", {
|
|
49
53
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunk4Z2F6ERB_js.WalletConnectProvider; }
|
|
51
55
|
});
|
|
52
56
|
Object.defineProperty(exports, "WalletListElement", {
|
|
53
57
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk4Z2F6ERB_js.WalletListElement; }
|
|
55
59
|
});
|
|
56
60
|
Object.defineProperty(exports, "clearSharedQueryCache", {
|
|
57
61
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk4Z2F6ERB_js.clearSharedQueryCache; }
|
|
59
63
|
});
|
|
60
64
|
Object.defineProperty(exports, "clearTokenCaches", {
|
|
61
65
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk4Z2F6ERB_js.clearTokenCaches; }
|
|
63
67
|
});
|
|
64
68
|
Object.defineProperty(exports, "getBalanceQueryKey", {
|
|
65
69
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk4Z2F6ERB_js.getBalanceQueryKey; }
|
|
67
71
|
});
|
|
68
72
|
Object.defineProperty(exports, "getTokensQueryKey", {
|
|
69
73
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunk4Z2F6ERB_js.getTokensQueryKey; }
|
|
71
75
|
});
|
|
72
76
|
Object.defineProperty(exports, "getTransactionsQueryKey", {
|
|
73
77
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunk4Z2F6ERB_js.getTransactionsQueryKey; }
|
|
75
79
|
});
|
|
76
80
|
Object.defineProperty(exports, "getWalletAssetsQueryKey", {
|
|
77
81
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunk4Z2F6ERB_js.getWalletAssetsQueryKey; }
|
|
79
83
|
});
|
|
80
84
|
Object.defineProperty(exports, "invalidateSharedQuery", {
|
|
81
85
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunk4Z2F6ERB_js.invalidateSharedQuery; }
|
|
83
87
|
});
|
|
84
88
|
Object.defineProperty(exports, "useAccount", {
|
|
85
89
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunk4Z2F6ERB_js.useAccount; }
|
|
87
91
|
});
|
|
88
92
|
Object.defineProperty(exports, "useBalance", {
|
|
89
93
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunk4Z2F6ERB_js.useBalance; }
|
|
91
95
|
});
|
|
92
96
|
Object.defineProperty(exports, "useCluster", {
|
|
93
97
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunk4Z2F6ERB_js.useCluster; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "useConnectWallet", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunk4Z2F6ERB_js.useConnectWallet; }
|
|
95
103
|
});
|
|
96
104
|
Object.defineProperty(exports, "useConnector", {
|
|
97
105
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunk4Z2F6ERB_js.useConnector; }
|
|
99
107
|
});
|
|
100
108
|
Object.defineProperty(exports, "useConnectorClient", {
|
|
101
109
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunk4Z2F6ERB_js.useConnectorClient; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "useDisconnectWallet", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunk4Z2F6ERB_js.useDisconnectWallet; }
|
|
103
115
|
});
|
|
104
116
|
Object.defineProperty(exports, "useGillSolanaClient", {
|
|
105
117
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunk4Z2F6ERB_js.useGillSolanaClient; }
|
|
107
119
|
});
|
|
108
120
|
Object.defineProperty(exports, "useGillTransactionSigner", {
|
|
109
121
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunk4Z2F6ERB_js.useGillTransactionSigner; }
|
|
111
123
|
});
|
|
112
124
|
Object.defineProperty(exports, "useKitTransactionSigner", {
|
|
113
125
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunk4Z2F6ERB_js.useKitTransactionSigner; }
|
|
115
127
|
});
|
|
116
128
|
Object.defineProperty(exports, "useSolanaClient", {
|
|
117
129
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunk4Z2F6ERB_js.useSolanaClient; }
|
|
119
131
|
});
|
|
120
132
|
Object.defineProperty(exports, "useTokens", {
|
|
121
133
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunk4Z2F6ERB_js.useTokens; }
|
|
123
135
|
});
|
|
124
136
|
Object.defineProperty(exports, "useTransactionPreparer", {
|
|
125
137
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunk4Z2F6ERB_js.useTransactionPreparer; }
|
|
127
139
|
});
|
|
128
140
|
Object.defineProperty(exports, "useTransactionSigner", {
|
|
129
141
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunk4Z2F6ERB_js.useTransactionSigner; }
|
|
131
143
|
});
|
|
132
144
|
Object.defineProperty(exports, "useTransactions", {
|
|
133
145
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunk4Z2F6ERB_js.useTransactions; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "useWallet", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunk4Z2F6ERB_js.useWallet; }
|
|
135
151
|
});
|
|
136
152
|
Object.defineProperty(exports, "useWalletConnectUri", {
|
|
137
153
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunk4Z2F6ERB_js.useWalletConnectUri; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "useWalletConnectors", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunk4Z2F6ERB_js.useWalletConnectors; }
|
|
139
159
|
});
|
|
140
160
|
Object.defineProperty(exports, "useWalletInfo", {
|
|
141
161
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunk4Z2F6ERB_js.useWalletInfo; }
|
|
143
163
|
});
|
|
144
|
-
Object.defineProperty(exports, "
|
|
164
|
+
Object.defineProperty(exports, "withErrorBoundary", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function () { return chunk4Z2F6ERB_js.withErrorBoundary; }
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "createConnectorId", {
|
|
145
169
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkBZ2VBJCZ_js.createConnectorId; }
|
|
147
171
|
});
|
|
148
172
|
Object.defineProperty(exports, "getDefaultConfig", {
|
|
149
173
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkBZ2VBJCZ_js.getDefaultConfig; }
|
|
151
175
|
});
|
|
152
176
|
Object.defineProperty(exports, "getDefaultMobileConfig", {
|
|
153
177
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkBZ2VBJCZ_js.getDefaultMobileConfig; }
|
|
155
179
|
});
|
|
156
|
-
Object.defineProperty(exports, "
|
|
180
|
+
Object.defineProperty(exports, "isConnected", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return chunkBZ2VBJCZ_js.isConnected; }
|
|
183
|
+
});
|
|
184
|
+
Object.defineProperty(exports, "isConnecting", {
|
|
185
|
+
enumerable: true,
|
|
186
|
+
get: function () { return chunkBZ2VBJCZ_js.isConnecting; }
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "isDisconnected", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function () { return chunkBZ2VBJCZ_js.isDisconnected; }
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "isWalletConnectorId", {
|
|
157
193
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkBZ2VBJCZ_js.isWalletConnectorId; }
|
|
159
195
|
});
|
|
160
196
|
//# sourceMappingURL=react.js.map
|
|
161
197
|
//# 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, 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-
|
|
2
|
-
export {
|
|
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
|
+
export { createConnectorId, getDefaultConfig, getDefaultMobileConfig, isConnected, isConnecting, isDisconnected, isWalletConnectorId } from './chunk-IDTUFDNB.mjs';
|
|
3
3
|
//# sourceMappingURL=react.mjs.map
|
|
4
4
|
//# sourceMappingURL=react.mjs.map
|