@solana/connector 0.1.0 → 0.1.2
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-52WUWW5R.mjs → chunk-4K6QY4HR.mjs} +60 -174
- package/dist/chunk-4K6QY4HR.mjs.map +1 -0
- package/dist/{chunk-7TADXRFD.mjs → chunk-F2QJH5ED.mjs} +3 -3
- package/dist/chunk-F2QJH5ED.mjs.map +1 -0
- package/dist/chunk-JS4KJ2KK.js +706 -0
- package/dist/chunk-JS4KJ2KK.js.map +1 -0
- package/dist/{chunk-ZLPQUOFK.js → chunk-RIBOPAOD.js} +61 -173
- package/dist/chunk-RIBOPAOD.js.map +1 -0
- package/dist/{chunk-SGAIPK7Q.js → chunk-SJEZHNYF.js} +11 -11
- package/dist/chunk-SJEZHNYF.js.map +1 -0
- package/dist/chunk-WXYUUCSD.mjs +635 -0
- package/dist/chunk-WXYUUCSD.mjs.map +1 -0
- package/dist/compat.d.mts +1 -60
- package/dist/compat.d.ts +1 -60
- package/dist/compat.js.map +1 -1
- package/dist/compat.mjs.map +1 -1
- package/dist/headless.d.mts +222 -107
- package/dist/headless.d.ts +222 -107
- package/dist/headless.js +201 -81
- package/dist/headless.mjs +2 -2
- package/dist/index.d.mts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +216 -96
- package/dist/index.mjs +3 -3
- package/dist/react.d.mts +5 -154
- package/dist/react.d.ts +5 -154
- package/dist/react.js +16 -16
- package/dist/react.mjs +2 -2
- package/dist/{transaction-signer-BtJPGXIg.d.ts → transaction-signer-D3csM_Mf.d.mts} +1 -175
- package/dist/{transaction-signer-BtJPGXIg.d.mts → transaction-signer-D3csM_Mf.d.ts} +1 -175
- package/dist/{wallet-standard-shim-BGlvGRbB.d.ts → wallet-standard-shim-C1tisl9S.d.ts} +5 -169
- package/dist/{wallet-standard-shim-Af7ejSld.d.mts → wallet-standard-shim-Cg0GVGwu.d.mts} +5 -169
- package/package.json +7 -1
- package/dist/chunk-52WUWW5R.mjs.map +0 -1
- package/dist/chunk-5NSUFMCB.js +0 -393
- package/dist/chunk-5NSUFMCB.js.map +0 -1
- package/dist/chunk-7TADXRFD.mjs.map +0 -1
- package/dist/chunk-ACFSCMUI.mjs +0 -359
- package/dist/chunk-ACFSCMUI.mjs.map +0 -1
- package/dist/chunk-SGAIPK7Q.js.map +0 -1
- package/dist/chunk-ZLPQUOFK.js.map +0 -1
package/dist/react.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h as UnifiedConfig, d as ConnectorConfig, M as MobileWalletAdapterConfig, i as ClusterType, A as AccountInfo, N as ClipboardResult } from './wallet-standard-shim-
|
|
2
|
-
export { b as ConnectorErrorBoundary, C as ConnectorProvider, c as ConnectorSnapshot, e as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, U as UnifiedConfigOptions, W as WalletInfo, g as WalletStandardAccount, f as WalletStandardWallet, u as useConnector, a as useConnectorClient, w as withErrorBoundary } from './wallet-standard-shim-
|
|
1
|
+
import { h as UnifiedConfig, d as ConnectorConfig, M as MobileWalletAdapterConfig, i as ClusterType, A as AccountInfo, N as ClipboardResult } from './wallet-standard-shim-Cg0GVGwu.mjs';
|
|
2
|
+
export { b as ConnectorErrorBoundary, C as ConnectorProvider, c as ConnectorSnapshot, e as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, U as UnifiedConfigOptions, W as WalletInfo, g as WalletStandardAccount, f as WalletStandardWallet, u as useConnector, a as useConnectorClient, w as withErrorBoundary } from './wallet-standard-shim-Cg0GVGwu.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';
|
|
6
6
|
export { SolanaCluster, SolanaClusterId } from '@wallet-ui/core';
|
|
7
|
-
import { j as TransactionSigner, b as TransactionSignerCapabilities } from './transaction-signer-
|
|
7
|
+
import { j as TransactionSigner, b as TransactionSignerCapabilities } from './transaction-signer-D3csM_Mf.mjs';
|
|
8
8
|
import { TransactionModifyingSigner, SolanaClient, CompilableTransactionMessage, TransactionMessageWithBlockhashLifetime } from 'gill';
|
|
9
9
|
export { Wallet, WalletAccount } from '@wallet-standard/base';
|
|
10
10
|
import '@solana/web3.js';
|
|
@@ -71,9 +71,7 @@ interface UseClusterReturn {
|
|
|
71
71
|
declare function useCluster(): UseClusterReturn;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* React hook for working with the connected wallet account
|
|
74
|
+
* useAccount hook
|
|
77
75
|
*/
|
|
78
76
|
|
|
79
77
|
interface UseAccountReturn {
|
|
@@ -94,25 +92,6 @@ interface UseAccountReturn {
|
|
|
94
92
|
/** Select a different account from the connected wallet */
|
|
95
93
|
selectAccount: (address: string) => Promise<void>;
|
|
96
94
|
}
|
|
97
|
-
/**
|
|
98
|
-
* Hook for working with the connected wallet account
|
|
99
|
-
* Provides formatted address, clipboard copying, and account selection
|
|
100
|
-
*
|
|
101
|
-
* @example
|
|
102
|
-
* ```tsx
|
|
103
|
-
* function AccountDisplay() {
|
|
104
|
-
* const { address, formatted, copy, copied, connected } = useAccount()
|
|
105
|
-
*
|
|
106
|
-
* if (!connected) return <p>Not connected</p>
|
|
107
|
-
*
|
|
108
|
-
* return (
|
|
109
|
-
* <button onClick={copy}>
|
|
110
|
-
* {formatted} {copied && '✓'}
|
|
111
|
-
* </button>
|
|
112
|
-
* )
|
|
113
|
-
* }
|
|
114
|
-
* ```
|
|
115
|
-
*/
|
|
116
95
|
declare function useAccount(): UseAccountReturn;
|
|
117
96
|
|
|
118
97
|
/**
|
|
@@ -176,11 +155,7 @@ interface UseWalletInfoReturn {
|
|
|
176
155
|
declare function useWalletInfo(): UseWalletInfoReturn;
|
|
177
156
|
|
|
178
157
|
/**
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
* React hook for transaction signing operations
|
|
182
|
-
* Provides a clean interface for signing and sending transactions
|
|
183
|
-
* with automatic signer creation and lifecycle management
|
|
158
|
+
* useTransactionSigner hook
|
|
184
159
|
*/
|
|
185
160
|
|
|
186
161
|
/**
|
|
@@ -208,130 +183,6 @@ interface UseTransactionSignerReturn {
|
|
|
208
183
|
*/
|
|
209
184
|
capabilities: TransactionSignerCapabilities;
|
|
210
185
|
}
|
|
211
|
-
/**
|
|
212
|
-
* Hook for transaction signing operations
|
|
213
|
-
*
|
|
214
|
-
* Automatically creates a TransactionSigner when a wallet is connected,
|
|
215
|
-
* and provides convenient state for building transaction UIs.
|
|
216
|
-
*
|
|
217
|
-
* The signer is automatically recreated when:
|
|
218
|
-
* - Wallet connection state changes
|
|
219
|
-
* - Selected account changes
|
|
220
|
-
* - Active cluster/network changes
|
|
221
|
-
*
|
|
222
|
-
* @example
|
|
223
|
-
* ```tsx
|
|
224
|
-
* function SendTransaction() {
|
|
225
|
-
* const { signer, ready, capabilities } = useTransactionSigner()
|
|
226
|
-
* const [txSignature, setTxSignature] = useState<string | null>(null)
|
|
227
|
-
* const [error, setError] = useState<string | null>(null)
|
|
228
|
-
*
|
|
229
|
-
* const handleSend = async () => {
|
|
230
|
-
* if (!signer) return
|
|
231
|
-
*
|
|
232
|
-
* try {
|
|
233
|
-
* const signature = await signer.signAndSendTransaction(transaction)
|
|
234
|
-
* setTxSignature(signature)
|
|
235
|
-
* setError(null)
|
|
236
|
-
* } catch (err) {
|
|
237
|
-
* setError(err instanceof Error ? err.message : 'Transaction failed')
|
|
238
|
-
* }
|
|
239
|
-
* }
|
|
240
|
-
*
|
|
241
|
-
* return (
|
|
242
|
-
* <div>
|
|
243
|
-
* <button onClick={handleSend} disabled={!ready}>
|
|
244
|
-
* {ready ? 'Send Transaction' : 'Connect Wallet'}
|
|
245
|
-
* </button>
|
|
246
|
-
*
|
|
247
|
-
* {!capabilities.canSend && ready && (
|
|
248
|
-
* <p className="warning">
|
|
249
|
-
* Your wallet doesn't support direct sending.
|
|
250
|
-
* Transaction must be signed and broadcast separately.
|
|
251
|
-
* </p>
|
|
252
|
-
* )}
|
|
253
|
-
*
|
|
254
|
-
* {txSignature && (
|
|
255
|
-
* <p>Transaction sent: {txSignature}</p>
|
|
256
|
-
* )}
|
|
257
|
-
*
|
|
258
|
-
* {error && (
|
|
259
|
-
* <p className="error">{error}</p>
|
|
260
|
-
* )}
|
|
261
|
-
* </div>
|
|
262
|
-
* )
|
|
263
|
-
* }
|
|
264
|
-
* ```
|
|
265
|
-
*
|
|
266
|
-
* @example
|
|
267
|
-
* ```tsx
|
|
268
|
-
* // Using with multiple transactions
|
|
269
|
-
* function SendBatch() {
|
|
270
|
-
* const { signer, ready, capabilities } = useTransactionSigner()
|
|
271
|
-
*
|
|
272
|
-
* const handleSendBatch = async () => {
|
|
273
|
-
* if (!signer) return
|
|
274
|
-
*
|
|
275
|
-
* const transactions = [tx1, tx2, tx3]
|
|
276
|
-
*
|
|
277
|
-
* // Check if batch signing is supported
|
|
278
|
-
* if (capabilities.supportsBatchSigning) {
|
|
279
|
-
* // More efficient: sign all at once
|
|
280
|
-
* const signed = await signer.signAllTransactions(transactions)
|
|
281
|
-
* // ... send signed transactions
|
|
282
|
-
* } else {
|
|
283
|
-
* // Fallback: sign and send one by one
|
|
284
|
-
* const signatures = await signer.signAndSendTransactions(transactions)
|
|
285
|
-
* console.log('All sent:', signatures)
|
|
286
|
-
* }
|
|
287
|
-
* }
|
|
288
|
-
*
|
|
289
|
-
* return (
|
|
290
|
-
* <button onClick={handleSendBatch} disabled={!ready}>
|
|
291
|
-
* Send {capabilities.supportsBatchSigning ? 'Batch' : 'Sequential'}
|
|
292
|
-
* </button>
|
|
293
|
-
* )
|
|
294
|
-
* }
|
|
295
|
-
* ```
|
|
296
|
-
*
|
|
297
|
-
* @example
|
|
298
|
-
* ```tsx
|
|
299
|
-
* // Using with message signing for authentication
|
|
300
|
-
* function SignInWithWallet() {
|
|
301
|
-
* const { signer, ready, capabilities } = useTransactionSigner()
|
|
302
|
-
*
|
|
303
|
-
* const handleSignIn = async () => {
|
|
304
|
-
* if (!signer || !capabilities.canSignMessage) {
|
|
305
|
-
* alert('Wallet does not support message signing')
|
|
306
|
-
* return
|
|
307
|
-
* }
|
|
308
|
-
*
|
|
309
|
-
* const message = new TextEncoder().encode('Sign in to MyApp')
|
|
310
|
-
* const signature = await signer.signMessage!(message)
|
|
311
|
-
*
|
|
312
|
-
* // Send signature to backend for verification
|
|
313
|
-
* await fetch('/api/auth/verify', {
|
|
314
|
-
* method: 'POST',
|
|
315
|
-
* body: JSON.stringify({
|
|
316
|
-
* message: Array.from(message),
|
|
317
|
-
* signature: Array.from(signature),
|
|
318
|
-
* address: signer.address
|
|
319
|
-
* })
|
|
320
|
-
* })
|
|
321
|
-
* }
|
|
322
|
-
*
|
|
323
|
-
* if (!capabilities.canSignMessage) {
|
|
324
|
-
* return <p>Message signing not supported</p>
|
|
325
|
-
* }
|
|
326
|
-
*
|
|
327
|
-
* return (
|
|
328
|
-
* <button onClick={handleSignIn} disabled={!ready}>
|
|
329
|
-
* Sign In with Wallet
|
|
330
|
-
* </button>
|
|
331
|
-
* )
|
|
332
|
-
* }
|
|
333
|
-
* ```
|
|
334
|
-
*/
|
|
335
186
|
declare function useTransactionSigner(): UseTransactionSignerReturn;
|
|
336
187
|
|
|
337
188
|
/**
|
package/dist/react.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h as UnifiedConfig, d as ConnectorConfig, M as MobileWalletAdapterConfig, i as ClusterType, A as AccountInfo, N as ClipboardResult } from './wallet-standard-shim-
|
|
2
|
-
export { b as ConnectorErrorBoundary, C as ConnectorProvider, c as ConnectorSnapshot, e as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, U as UnifiedConfigOptions, W as WalletInfo, g as WalletStandardAccount, f as WalletStandardWallet, u as useConnector, a as useConnectorClient, w as withErrorBoundary } from './wallet-standard-shim-
|
|
1
|
+
import { h as UnifiedConfig, d as ConnectorConfig, M as MobileWalletAdapterConfig, i as ClusterType, A as AccountInfo, N as ClipboardResult } from './wallet-standard-shim-C1tisl9S.js';
|
|
2
|
+
export { b as ConnectorErrorBoundary, C as ConnectorProvider, c as ConnectorSnapshot, e as ConnectorState, D as DefaultConfigOptions, E as ExtendedConnectorConfig, U as UnifiedConfigOptions, W as WalletInfo, g as WalletStandardAccount, f as WalletStandardWallet, u as useConnector, a as useConnectorClient, w as withErrorBoundary } from './wallet-standard-shim-C1tisl9S.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';
|
|
6
6
|
export { SolanaCluster, SolanaClusterId } from '@wallet-ui/core';
|
|
7
|
-
import { j as TransactionSigner, b as TransactionSignerCapabilities } from './transaction-signer-
|
|
7
|
+
import { j as TransactionSigner, b as TransactionSignerCapabilities } from './transaction-signer-D3csM_Mf.js';
|
|
8
8
|
import { TransactionModifyingSigner, SolanaClient, CompilableTransactionMessage, TransactionMessageWithBlockhashLifetime } from 'gill';
|
|
9
9
|
export { Wallet, WalletAccount } from '@wallet-standard/base';
|
|
10
10
|
import '@solana/web3.js';
|
|
@@ -71,9 +71,7 @@ interface UseClusterReturn {
|
|
|
71
71
|
declare function useCluster(): UseClusterReturn;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* React hook for working with the connected wallet account
|
|
74
|
+
* useAccount hook
|
|
77
75
|
*/
|
|
78
76
|
|
|
79
77
|
interface UseAccountReturn {
|
|
@@ -94,25 +92,6 @@ interface UseAccountReturn {
|
|
|
94
92
|
/** Select a different account from the connected wallet */
|
|
95
93
|
selectAccount: (address: string) => Promise<void>;
|
|
96
94
|
}
|
|
97
|
-
/**
|
|
98
|
-
* Hook for working with the connected wallet account
|
|
99
|
-
* Provides formatted address, clipboard copying, and account selection
|
|
100
|
-
*
|
|
101
|
-
* @example
|
|
102
|
-
* ```tsx
|
|
103
|
-
* function AccountDisplay() {
|
|
104
|
-
* const { address, formatted, copy, copied, connected } = useAccount()
|
|
105
|
-
*
|
|
106
|
-
* if (!connected) return <p>Not connected</p>
|
|
107
|
-
*
|
|
108
|
-
* return (
|
|
109
|
-
* <button onClick={copy}>
|
|
110
|
-
* {formatted} {copied && '✓'}
|
|
111
|
-
* </button>
|
|
112
|
-
* )
|
|
113
|
-
* }
|
|
114
|
-
* ```
|
|
115
|
-
*/
|
|
116
95
|
declare function useAccount(): UseAccountReturn;
|
|
117
96
|
|
|
118
97
|
/**
|
|
@@ -176,11 +155,7 @@ interface UseWalletInfoReturn {
|
|
|
176
155
|
declare function useWalletInfo(): UseWalletInfoReturn;
|
|
177
156
|
|
|
178
157
|
/**
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
* React hook for transaction signing operations
|
|
182
|
-
* Provides a clean interface for signing and sending transactions
|
|
183
|
-
* with automatic signer creation and lifecycle management
|
|
158
|
+
* useTransactionSigner hook
|
|
184
159
|
*/
|
|
185
160
|
|
|
186
161
|
/**
|
|
@@ -208,130 +183,6 @@ interface UseTransactionSignerReturn {
|
|
|
208
183
|
*/
|
|
209
184
|
capabilities: TransactionSignerCapabilities;
|
|
210
185
|
}
|
|
211
|
-
/**
|
|
212
|
-
* Hook for transaction signing operations
|
|
213
|
-
*
|
|
214
|
-
* Automatically creates a TransactionSigner when a wallet is connected,
|
|
215
|
-
* and provides convenient state for building transaction UIs.
|
|
216
|
-
*
|
|
217
|
-
* The signer is automatically recreated when:
|
|
218
|
-
* - Wallet connection state changes
|
|
219
|
-
* - Selected account changes
|
|
220
|
-
* - Active cluster/network changes
|
|
221
|
-
*
|
|
222
|
-
* @example
|
|
223
|
-
* ```tsx
|
|
224
|
-
* function SendTransaction() {
|
|
225
|
-
* const { signer, ready, capabilities } = useTransactionSigner()
|
|
226
|
-
* const [txSignature, setTxSignature] = useState<string | null>(null)
|
|
227
|
-
* const [error, setError] = useState<string | null>(null)
|
|
228
|
-
*
|
|
229
|
-
* const handleSend = async () => {
|
|
230
|
-
* if (!signer) return
|
|
231
|
-
*
|
|
232
|
-
* try {
|
|
233
|
-
* const signature = await signer.signAndSendTransaction(transaction)
|
|
234
|
-
* setTxSignature(signature)
|
|
235
|
-
* setError(null)
|
|
236
|
-
* } catch (err) {
|
|
237
|
-
* setError(err instanceof Error ? err.message : 'Transaction failed')
|
|
238
|
-
* }
|
|
239
|
-
* }
|
|
240
|
-
*
|
|
241
|
-
* return (
|
|
242
|
-
* <div>
|
|
243
|
-
* <button onClick={handleSend} disabled={!ready}>
|
|
244
|
-
* {ready ? 'Send Transaction' : 'Connect Wallet'}
|
|
245
|
-
* </button>
|
|
246
|
-
*
|
|
247
|
-
* {!capabilities.canSend && ready && (
|
|
248
|
-
* <p className="warning">
|
|
249
|
-
* Your wallet doesn't support direct sending.
|
|
250
|
-
* Transaction must be signed and broadcast separately.
|
|
251
|
-
* </p>
|
|
252
|
-
* )}
|
|
253
|
-
*
|
|
254
|
-
* {txSignature && (
|
|
255
|
-
* <p>Transaction sent: {txSignature}</p>
|
|
256
|
-
* )}
|
|
257
|
-
*
|
|
258
|
-
* {error && (
|
|
259
|
-
* <p className="error">{error}</p>
|
|
260
|
-
* )}
|
|
261
|
-
* </div>
|
|
262
|
-
* )
|
|
263
|
-
* }
|
|
264
|
-
* ```
|
|
265
|
-
*
|
|
266
|
-
* @example
|
|
267
|
-
* ```tsx
|
|
268
|
-
* // Using with multiple transactions
|
|
269
|
-
* function SendBatch() {
|
|
270
|
-
* const { signer, ready, capabilities } = useTransactionSigner()
|
|
271
|
-
*
|
|
272
|
-
* const handleSendBatch = async () => {
|
|
273
|
-
* if (!signer) return
|
|
274
|
-
*
|
|
275
|
-
* const transactions = [tx1, tx2, tx3]
|
|
276
|
-
*
|
|
277
|
-
* // Check if batch signing is supported
|
|
278
|
-
* if (capabilities.supportsBatchSigning) {
|
|
279
|
-
* // More efficient: sign all at once
|
|
280
|
-
* const signed = await signer.signAllTransactions(transactions)
|
|
281
|
-
* // ... send signed transactions
|
|
282
|
-
* } else {
|
|
283
|
-
* // Fallback: sign and send one by one
|
|
284
|
-
* const signatures = await signer.signAndSendTransactions(transactions)
|
|
285
|
-
* console.log('All sent:', signatures)
|
|
286
|
-
* }
|
|
287
|
-
* }
|
|
288
|
-
*
|
|
289
|
-
* return (
|
|
290
|
-
* <button onClick={handleSendBatch} disabled={!ready}>
|
|
291
|
-
* Send {capabilities.supportsBatchSigning ? 'Batch' : 'Sequential'}
|
|
292
|
-
* </button>
|
|
293
|
-
* )
|
|
294
|
-
* }
|
|
295
|
-
* ```
|
|
296
|
-
*
|
|
297
|
-
* @example
|
|
298
|
-
* ```tsx
|
|
299
|
-
* // Using with message signing for authentication
|
|
300
|
-
* function SignInWithWallet() {
|
|
301
|
-
* const { signer, ready, capabilities } = useTransactionSigner()
|
|
302
|
-
*
|
|
303
|
-
* const handleSignIn = async () => {
|
|
304
|
-
* if (!signer || !capabilities.canSignMessage) {
|
|
305
|
-
* alert('Wallet does not support message signing')
|
|
306
|
-
* return
|
|
307
|
-
* }
|
|
308
|
-
*
|
|
309
|
-
* const message = new TextEncoder().encode('Sign in to MyApp')
|
|
310
|
-
* const signature = await signer.signMessage!(message)
|
|
311
|
-
*
|
|
312
|
-
* // Send signature to backend for verification
|
|
313
|
-
* await fetch('/api/auth/verify', {
|
|
314
|
-
* method: 'POST',
|
|
315
|
-
* body: JSON.stringify({
|
|
316
|
-
* message: Array.from(message),
|
|
317
|
-
* signature: Array.from(signature),
|
|
318
|
-
* address: signer.address
|
|
319
|
-
* })
|
|
320
|
-
* })
|
|
321
|
-
* }
|
|
322
|
-
*
|
|
323
|
-
* if (!capabilities.canSignMessage) {
|
|
324
|
-
* return <p>Message signing not supported</p>
|
|
325
|
-
* }
|
|
326
|
-
*
|
|
327
|
-
* return (
|
|
328
|
-
* <button onClick={handleSignIn} disabled={!ready}>
|
|
329
|
-
* Sign In with Wallet
|
|
330
|
-
* </button>
|
|
331
|
-
* )
|
|
332
|
-
* }
|
|
333
|
-
* ```
|
|
334
|
-
*/
|
|
335
186
|
declare function useTransactionSigner(): UseTransactionSignerReturn;
|
|
336
187
|
|
|
337
188
|
/**
|
package/dist/react.js
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkSJEZHNYF_js = require('./chunk-SJEZHNYF.js');
|
|
4
|
+
var chunkRIBOPAOD_js = require('./chunk-RIBOPAOD.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AppProvider", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkSJEZHNYF_js.UnifiedProvider; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "ConnectorProvider", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkSJEZHNYF_js.ConnectorProvider; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "UnifiedProvider", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkSJEZHNYF_js.UnifiedProvider; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "useAccount", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkSJEZHNYF_js.useAccount; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "useCluster", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkSJEZHNYF_js.useCluster; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "useConnector", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkSJEZHNYF_js.useConnector; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "useConnectorClient", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkSJEZHNYF_js.useConnectorClient; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "useGillSolanaClient", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkSJEZHNYF_js.useGillSolanaClient; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "useGillTransactionSigner", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkSJEZHNYF_js.useGillTransactionSigner; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "useTransactionPreparer", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkSJEZHNYF_js.useTransactionPreparer; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "useTransactionSigner", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkSJEZHNYF_js.useTransactionSigner; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "useWalletInfo", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkSJEZHNYF_js.useWalletInfo; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "ConnectorErrorBoundary", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkRIBOPAOD_js.ConnectorErrorBoundary; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "withErrorBoundary", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkRIBOPAOD_js.withErrorBoundary; }
|
|
63
63
|
});
|
|
64
64
|
//# sourceMappingURL=react.js.map
|
|
65
65
|
//# sourceMappingURL=react.js.map
|
package/dist/react.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { UnifiedProvider as AppProvider, ConnectorProvider, UnifiedProvider, useAccount, useCluster, useConnector, useConnectorClient, useGillSolanaClient, useGillTransactionSigner, useTransactionPreparer, useTransactionSigner, useWalletInfo } from './chunk-
|
|
2
|
-
export { ConnectorErrorBoundary, withErrorBoundary } from './chunk-
|
|
1
|
+
export { UnifiedProvider as AppProvider, ConnectorProvider, UnifiedProvider, useAccount, useCluster, useConnector, useConnectorClient, useGillSolanaClient, useGillTransactionSigner, useTransactionPreparer, useTransactionSigner, useWalletInfo } from './chunk-F2QJH5ED.mjs';
|
|
2
|
+
export { ConnectorErrorBoundary, withErrorBoundary } from './chunk-4K6QY4HR.mjs';
|
|
3
3
|
//# sourceMappingURL=react.mjs.map
|
|
4
4
|
//# sourceMappingURL=react.mjs.map
|