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