@solana/connector 0.0.0 → 0.1.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 (47) hide show
  1. package/README.md +1460 -0
  2. package/dist/chunk-5ZUVZZWU.mjs +180 -0
  3. package/dist/chunk-5ZUVZZWU.mjs.map +1 -0
  4. package/dist/chunk-6PBQ5CXV.mjs +635 -0
  5. package/dist/chunk-6PBQ5CXV.mjs.map +1 -0
  6. package/dist/chunk-D4JGBIP7.js +314 -0
  7. package/dist/chunk-D4JGBIP7.js.map +1 -0
  8. package/dist/chunk-EGYXJT54.mjs +298 -0
  9. package/dist/chunk-EGYXJT54.mjs.map +1 -0
  10. package/dist/chunk-P4ZLJI4L.js +706 -0
  11. package/dist/chunk-P4ZLJI4L.js.map +1 -0
  12. package/dist/chunk-P5A3XNFF.js +2482 -0
  13. package/dist/chunk-P5A3XNFF.js.map +1 -0
  14. package/dist/chunk-SMUUAKC3.js +186 -0
  15. package/dist/chunk-SMUUAKC3.js.map +1 -0
  16. package/dist/chunk-TAAXHAV2.mjs +2419 -0
  17. package/dist/chunk-TAAXHAV2.mjs.map +1 -0
  18. package/dist/compat.d.mts +47 -0
  19. package/dist/compat.d.ts +47 -0
  20. package/dist/compat.js +98 -0
  21. package/dist/compat.js.map +1 -0
  22. package/dist/compat.mjs +94 -0
  23. package/dist/compat.mjs.map +1 -0
  24. package/dist/headless.d.mts +515 -0
  25. package/dist/headless.d.ts +515 -0
  26. package/dist/headless.js +445 -0
  27. package/dist/headless.js.map +1 -0
  28. package/dist/headless.mjs +4 -0
  29. package/dist/headless.mjs.map +1 -0
  30. package/dist/index.d.mts +14 -0
  31. package/dist/index.d.ts +14 -0
  32. package/dist/index.js +502 -0
  33. package/dist/index.js.map +1 -0
  34. package/dist/index.mjs +5 -0
  35. package/dist/index.mjs.map +1 -0
  36. package/dist/react.d.mts +496 -0
  37. package/dist/react.d.ts +496 -0
  38. package/dist/react.js +65 -0
  39. package/dist/react.js.map +1 -0
  40. package/dist/react.mjs +4 -0
  41. package/dist/react.mjs.map +1 -0
  42. package/dist/transaction-signer-D3csM_Mf.d.mts +199 -0
  43. package/dist/transaction-signer-D3csM_Mf.d.ts +199 -0
  44. package/dist/wallet-standard-shim-C1tisl9S.d.ts +926 -0
  45. package/dist/wallet-standard-shim-Cg0GVGwu.d.mts +926 -0
  46. package/package.json +93 -10
  47. package/index.js +0 -1
@@ -0,0 +1,496 @@
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
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { ReactNode, ComponentType, PropsWithChildren } from 'react';
5
+ import { SolanaCluster, SolanaClusterId } from '@wallet-ui/core';
6
+ export { SolanaCluster, SolanaClusterId } from '@wallet-ui/core';
7
+ import { j as TransactionSigner, b as TransactionSignerCapabilities } from './transaction-signer-D3csM_Mf.js';
8
+ import { TransactionModifyingSigner, SolanaClient, CompilableTransactionMessage, TransactionMessageWithBlockhashLifetime } from 'gill';
9
+ export { Wallet, WalletAccount } from '@wallet-standard/base';
10
+ import '@solana/web3.js';
11
+
12
+ interface UnifiedProviderProps {
13
+ children: ReactNode;
14
+ config?: UnifiedConfig;
15
+ connectorConfig?: ConnectorConfig;
16
+ mobile?: MobileWalletAdapterConfig;
17
+ providers?: Array<{
18
+ component: ComponentType<PropsWithChildren>;
19
+ props?: Record<string, unknown>;
20
+ }>;
21
+ }
22
+ declare function UnifiedProvider({ children, config, connectorConfig, mobile, providers }: UnifiedProviderProps): react_jsx_runtime.JSX.Element;
23
+
24
+ /**
25
+ * @solana/connector - useCluster hook
26
+ *
27
+ * React hook for managing Solana cluster (network) state
28
+ */
29
+
30
+ interface UseClusterReturn {
31
+ /** Currently active cluster */
32
+ cluster: SolanaCluster | null;
33
+ /** All available clusters */
34
+ clusters: SolanaCluster[];
35
+ /** Set the active cluster */
36
+ setCluster: (id: SolanaClusterId) => Promise<void>;
37
+ /** Whether the current cluster is mainnet */
38
+ isMainnet: boolean;
39
+ /** Whether the current cluster is devnet */
40
+ isDevnet: boolean;
41
+ /** Whether the current cluster is testnet */
42
+ isTestnet: boolean;
43
+ /** Whether the current cluster is running locally */
44
+ isLocal: boolean;
45
+ /** Solana Explorer base URL for the current cluster */
46
+ explorerUrl: string;
47
+ /** Cluster type (mainnet, devnet, testnet, localnet, custom) */
48
+ type: ClusterType | null;
49
+ }
50
+ /**
51
+ * Hook for managing Solana cluster (network) selection
52
+ *
53
+ * @example
54
+ * ```tsx
55
+ * function ClusterSwitcher() {
56
+ * const { cluster, clusters, setCluster, isMainnet } = useCluster()
57
+ *
58
+ * return (
59
+ * <select
60
+ * value={cluster?.id}
61
+ * onChange={(e) => setCluster(e.target.value as SolanaClusterId)}
62
+ * >
63
+ * {clusters.map(c => (
64
+ * <option key={c.id} value={c.id}>{c.label}</option>
65
+ * ))}
66
+ * </select>
67
+ * )
68
+ * }
69
+ * ```
70
+ */
71
+ declare function useCluster(): UseClusterReturn;
72
+
73
+ /**
74
+ * useAccount hook
75
+ */
76
+
77
+ interface UseAccountReturn {
78
+ /** The connected wallet address */
79
+ address: string | null;
80
+ /** Full account info object */
81
+ account: AccountInfo | null;
82
+ /** Whether a wallet is connected */
83
+ connected: boolean;
84
+ /** Shortened formatted address for display */
85
+ formatted: string;
86
+ /** Copy the address to clipboard with enhanced result */
87
+ copy: () => Promise<ClipboardResult>;
88
+ /** Whether the address was recently copied */
89
+ copied: boolean;
90
+ /** All available accounts from the connected wallet */
91
+ accounts: AccountInfo[];
92
+ /** Select a different account from the connected wallet */
93
+ selectAccount: (address: string) => Promise<void>;
94
+ }
95
+ declare function useAccount(): UseAccountReturn;
96
+
97
+ /**
98
+ * @solana/connector - useWalletInfo hook
99
+ *
100
+ * React hook for getting information about the connected wallet
101
+ */
102
+ /**
103
+ * Simplified wallet information for display purposes
104
+ */
105
+ interface WalletDisplayInfo {
106
+ /** Wallet name */
107
+ name: string;
108
+ /** Wallet icon/logo URL if available */
109
+ icon?: string;
110
+ /** Whether the wallet extension is installed */
111
+ installed: boolean;
112
+ /** Whether the wallet supports Solana connections */
113
+ connectable?: boolean;
114
+ }
115
+ /**
116
+ * Return value from useWalletInfo hook
117
+ */
118
+ interface UseWalletInfoReturn {
119
+ /** Name of the connected wallet (e.g., 'Phantom', 'Solflare') */
120
+ name: string | null;
121
+ /** Wallet icon/logo URL if available */
122
+ icon: string | null;
123
+ /** Whether the wallet extension is installed */
124
+ installed: boolean;
125
+ /** Whether the wallet supports Solana connections */
126
+ connectable: boolean;
127
+ /** Whether currently connected to the wallet */
128
+ connected: boolean;
129
+ /** Whether a connection attempt is in progress */
130
+ connecting: boolean;
131
+ /** All available wallets */
132
+ wallets: WalletDisplayInfo[];
133
+ }
134
+ /**
135
+ * Hook for getting information about the connected wallet
136
+ * Provides wallet metadata, connection status, and capabilities
137
+ *
138
+ * @example
139
+ * ```tsx
140
+ * function WalletBadge() {
141
+ * const { name, icon, connected, connecting } = useWalletInfo()
142
+ *
143
+ * if (connecting) return <p>Connecting...</p>
144
+ * if (!connected) return <p>No wallet connected</p>
145
+ *
146
+ * return (
147
+ * <div>
148
+ * {icon && <img src={icon} alt={name} />}
149
+ * <span>{name}</span>
150
+ * </div>
151
+ * )
152
+ * }
153
+ * ```
154
+ */
155
+ declare function useWalletInfo(): UseWalletInfoReturn;
156
+
157
+ /**
158
+ * useTransactionSigner hook
159
+ */
160
+
161
+ /**
162
+ * Return value from useTransactionSigner hook
163
+ */
164
+ interface UseTransactionSignerReturn {
165
+ /**
166
+ * Transaction signer instance (null if not connected)
167
+ * Use this to sign and send transactions
168
+ */
169
+ signer: TransactionSigner | null;
170
+ /**
171
+ * Whether a signer is available and ready to use
172
+ * Useful for disabling transaction buttons
173
+ */
174
+ ready: boolean;
175
+ /**
176
+ * Current wallet address that will sign transactions
177
+ * Null if no wallet connected
178
+ */
179
+ address: string | null;
180
+ /**
181
+ * Signer capabilities (what operations are supported)
182
+ * Always available even if signer is null (shows all false)
183
+ */
184
+ capabilities: TransactionSignerCapabilities;
185
+ }
186
+ declare function useTransactionSigner(): UseTransactionSignerReturn;
187
+
188
+ /**
189
+ * @solana/connector - useGillTransactionSigner hook
190
+ *
191
+ * React hook for gill-compatible transaction signing
192
+ * Use this when working with modern Solana libraries (@solana/kit, gill)
193
+ */
194
+
195
+ /**
196
+ * Return value from useGillTransactionSigner hook
197
+ */
198
+ interface UseGillTransactionSignerReturn {
199
+ /**
200
+ * Gill-compatible TransactionModifyingSigner instance (null if not connected)
201
+ * Use this with modern Solana libraries (@solana/kit, gill)
202
+ */
203
+ signer: TransactionModifyingSigner | null;
204
+ /**
205
+ * Whether a signer is available and ready to use
206
+ * Useful for disabling transaction buttons
207
+ */
208
+ ready: boolean;
209
+ }
210
+ /**
211
+ * Hook for gill-compatible transaction signing
212
+ *
213
+ * Creates a TransactionPartialSigner that's compatible with @solana/kit and gill,
214
+ * enabling seamless integration with modern Solana development patterns.
215
+ *
216
+ * This hook wraps the standard useTransactionSigner and adapts it to gill's
217
+ * interface, allowing you to use modern libraries without type incompatibilities.
218
+ *
219
+ * @example
220
+ * ```tsx
221
+ * import { useGillTransactionSigner } from '@solana/connector';
222
+ * import { getTransferSolInstruction } from 'gill/programs';
223
+ * import { address, pipe, createTransactionMessage } from 'gill';
224
+ *
225
+ * function ModernTransfer() {
226
+ * const { signer, ready } = useGillTransactionSigner();
227
+ *
228
+ * const handleTransfer = async (recipient: string, amount: number) => {
229
+ * if (!signer) return;
230
+ *
231
+ * // Fully type-safe with gill!
232
+ * const instruction = getTransferSolInstruction({
233
+ * source: signer, // No type errors
234
+ * destination: address(recipient),
235
+ * amount
236
+ * });
237
+ *
238
+ * const txMessage = pipe(
239
+ * createTransactionMessage({ version: 0 }),
240
+ * (tx) => setTransactionMessageFeePayerSigner(signer, tx), // Works!
241
+ * // ...
242
+ * );
243
+ * };
244
+ *
245
+ * return (
246
+ * <button onClick={handleTransfer} disabled={!ready}>
247
+ * Send with Gill
248
+ * </button>
249
+ * );
250
+ * }
251
+ * ```
252
+ *
253
+ * @example
254
+ * ```tsx
255
+ * // For backward compatibility, continue using useTransactionSigner
256
+ * import { useTransactionSigner } from '@solana/connector';
257
+ *
258
+ * function LegacyTransfer() {
259
+ * const { signer } = useTransactionSigner(); // Wallet adapter compatible
260
+ * // Works with @solana/web3.js v1 and wallet-adapter
261
+ * }
262
+ * ```
263
+ */
264
+ declare function useGillTransactionSigner(): UseGillTransactionSignerReturn;
265
+
266
+ /**
267
+ * @solana/connector - useGillSolanaClient hook
268
+ *
269
+ * React hook for Gill's SolanaClient with built-in RPC and WebSocket subscriptions
270
+ * Provides rpc, rpcSubscriptions, sendAndConfirmTransaction, and simulateTransaction
271
+ */
272
+
273
+ /**
274
+ * Return value from useGillSolanaClient hook
275
+ */
276
+ interface UseGillSolanaClientReturn {
277
+ /**
278
+ * Gill SolanaClient instance with RPC and subscriptions (null if not available)
279
+ * Includes: rpc, rpcSubscriptions, sendAndConfirmTransaction, simulateTransaction
280
+ */
281
+ client: SolanaClient | null;
282
+ /**
283
+ * Whether a client is available and ready to use
284
+ */
285
+ ready: boolean;
286
+ /**
287
+ * Cluster type (mainnet, devnet, testnet, localnet, custom)
288
+ */
289
+ clusterType: ClusterType | null;
290
+ }
291
+ /**
292
+ * Hook for Gill's SolanaClient with automatic RPC and WebSocket subscription management
293
+ *
294
+ * Creates a fully configured SolanaClient based on the current cluster, providing:
295
+ * - Type-safe RPC client
296
+ * - WebSocket subscription client
297
+ * - Built-in sendAndConfirmTransaction helper
298
+ * - Built-in simulateTransaction helper
299
+ *
300
+ * The client is automatically recreated when the cluster changes.
301
+ *
302
+ * @example
303
+ * ```tsx
304
+ * import { useGillSolanaClient, useGillTransactionSigner } from '@solana/connector';
305
+ * import { signTransactionMessageWithSigners } from 'gill';
306
+ *
307
+ * function SendTransaction() {
308
+ * const { client, ready } = useGillSolanaClient();
309
+ * const { signer } = useGillTransactionSigner();
310
+ *
311
+ * const handleSend = async (transaction) => {
312
+ * if (!client || !signer) return;
313
+ *
314
+ * // Sign the transaction
315
+ * const signed = await signTransactionMessageWithSigners(transaction);
316
+ *
317
+ * // Send and confirm using Gill's built-in helper
318
+ * await client.sendAndConfirmTransaction(signed, {
319
+ * commitment: 'confirmed'
320
+ * });
321
+ * };
322
+ *
323
+ * return (
324
+ * <button onClick={handleSend} disabled={!ready}>
325
+ * Send Transaction
326
+ * </button>
327
+ * );
328
+ * }
329
+ * ```
330
+ *
331
+ * @example
332
+ * ```tsx
333
+ * // Simulating a transaction
334
+ * function SimulateTransaction() {
335
+ * const { client } = useGillSolanaClient();
336
+ *
337
+ * const handleSimulate = async (transaction) => {
338
+ * if (!client) return;
339
+ *
340
+ * const simulation = await client.simulateTransaction(transaction, {
341
+ * sigVerify: false,
342
+ * commitment: 'processed'
343
+ * });
344
+ *
345
+ * console.log('Simulation result:', simulation);
346
+ * };
347
+ * }
348
+ * ```
349
+ *
350
+ * @example
351
+ * ```tsx
352
+ * // Direct RPC access
353
+ * function GetBalance() {
354
+ * const { client } = useGillSolanaClient();
355
+ *
356
+ * const fetchBalance = async (address: Address) => {
357
+ * if (!client) return;
358
+ *
359
+ * const balance = await client.rpc.getBalance(address).send();
360
+ * console.log('Balance:', balance);
361
+ * };
362
+ * }
363
+ * ```
364
+ */
365
+ declare function useGillSolanaClient(): UseGillSolanaClientReturn;
366
+
367
+ /**
368
+ * @solana/connector - useTransactionPreparer hook
369
+ *
370
+ * React hook for preparing transactions with automatic optimization
371
+ * Handles blockhash fetching, compute unit limits, and transaction simulation
372
+ */
373
+
374
+ /**
375
+ * Options for transaction preparation
376
+ */
377
+ interface TransactionPrepareOptions {
378
+ /**
379
+ * Multiplier applied to the simulated compute unit value
380
+ * @default 1.1 (10% buffer)
381
+ */
382
+ computeUnitLimitMultiplier?: number;
383
+ /**
384
+ * Whether to force reset the compute unit limit value (if one is already set)
385
+ * using the simulation response and computeUnitLimitMultiplier
386
+ * @default false
387
+ */
388
+ computeUnitLimitReset?: boolean;
389
+ /**
390
+ * Whether to force reset the latest blockhash (if one is already set)
391
+ * @default true
392
+ */
393
+ blockhashReset?: boolean;
394
+ }
395
+ /**
396
+ * Return value from useTransactionPreparer hook
397
+ */
398
+ interface UseTransactionPreparerReturn {
399
+ /**
400
+ * Prepare a transaction for sending
401
+ * Automatically adds:
402
+ * - Compute unit limit (via simulation with optional multiplier)
403
+ * - Latest blockhash (if not already set)
404
+ *
405
+ * @param transaction - The transaction to prepare
406
+ * @param options - Optional preparation settings
407
+ * @returns Prepared transaction with blockhash lifetime set
408
+ */
409
+ prepare: <TMessage extends CompilableTransactionMessage>(transaction: TMessage, options?: TransactionPrepareOptions) => Promise<TMessage & TransactionMessageWithBlockhashLifetime>;
410
+ /**
411
+ * Whether the preparer is ready to use
412
+ * False if Solana client is not available
413
+ */
414
+ ready: boolean;
415
+ }
416
+ /**
417
+ * Hook for preparing transactions with automatic optimization
418
+ *
419
+ * Uses Gill's prepareTransaction utility to:
420
+ * 1. Simulate the transaction to determine optimal compute units
421
+ * 2. Set compute unit limit (with configurable multiplier for safety margin)
422
+ * 3. Fetch and set the latest blockhash (if not already present)
423
+ *
424
+ * This significantly improves transaction landing rates by ensuring proper
425
+ * compute budget allocation and fresh blockhashes.
426
+ *
427
+ * @example
428
+ * ```tsx
429
+ * import { useTransactionPreparer, useGillTransactionSigner } from '@solana/connector';
430
+ * import { pipe, createTransactionMessage, appendTransactionMessageInstructions } from 'gill';
431
+ * import { getTransferSolInstruction } from 'gill/programs';
432
+ *
433
+ * function SendOptimizedTransaction() {
434
+ * const { prepare, ready } = useTransactionPreparer();
435
+ * const { signer } = useGillTransactionSigner();
436
+ * const { client } = useGillSolanaClient();
437
+ *
438
+ * const handleSend = async (recipient: string, amount: bigint) => {
439
+ * if (!ready || !signer || !client) return;
440
+ *
441
+ * // Build transaction message
442
+ * const tx = pipe(
443
+ * createTransactionMessage({ version: 0 }),
444
+ * tx => setTransactionMessageFeePayerSigner(signer, tx),
445
+ * tx => appendTransactionMessageInstructions([
446
+ * getTransferSolInstruction({
447
+ * source: signer,
448
+ * destination: address(recipient),
449
+ * amount: lamports(amount),
450
+ * })
451
+ * ], tx)
452
+ * );
453
+ *
454
+ * // Prepare: auto-adds compute units + blockhash
455
+ * const prepared = await prepare(tx);
456
+ *
457
+ * // Sign
458
+ * const signed = await signTransactionMessageWithSigners(prepared);
459
+ *
460
+ * // Send and confirm
461
+ * await client.sendAndConfirmTransaction(signed);
462
+ * };
463
+ *
464
+ * return (
465
+ * <button onClick={handleSend} disabled={!ready}>
466
+ * Send Optimized Transaction
467
+ * </button>
468
+ * );
469
+ * }
470
+ * ```
471
+ *
472
+ * @example
473
+ * ```tsx
474
+ * // With custom compute unit multiplier for high-priority transactions
475
+ * const { prepare } = useTransactionPreparer();
476
+ *
477
+ * const prepared = await prepare(transaction, {
478
+ * computeUnitLimitMultiplier: 1.3, // 30% buffer instead of default 10%
479
+ * blockhashReset: true // Always fetch fresh blockhash
480
+ * });
481
+ * ```
482
+ *
483
+ * @example
484
+ * ```tsx
485
+ * // Force reset compute units even if already set
486
+ * const { prepare } = useTransactionPreparer();
487
+ *
488
+ * const prepared = await prepare(transaction, {
489
+ * computeUnitLimitReset: true, // Re-simulate and reset compute units
490
+ * computeUnitLimitMultiplier: 1.2
491
+ * });
492
+ * ```
493
+ */
494
+ declare function useTransactionPreparer(): UseTransactionPreparerReturn;
495
+
496
+ export { AccountInfo, UnifiedProvider as AppProvider, ClusterType, ConnectorConfig, MobileWalletAdapterConfig, type TransactionPrepareOptions, UnifiedConfig, UnifiedProvider, type UnifiedProviderProps, type UseAccountReturn, type UseClusterReturn, type UseGillSolanaClientReturn, type UseGillTransactionSignerReturn, type UseTransactionPreparerReturn, type UseTransactionSignerReturn, type UseWalletInfoReturn, useAccount, useCluster, useGillSolanaClient, useGillTransactionSigner, useTransactionPreparer, useTransactionSigner, useWalletInfo };
package/dist/react.js ADDED
@@ -0,0 +1,65 @@
1
+ 'use strict';
2
+
3
+ var chunkD4JGBIP7_js = require('./chunk-D4JGBIP7.js');
4
+ var chunkP5A3XNFF_js = require('./chunk-P5A3XNFF.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "AppProvider", {
9
+ enumerable: true,
10
+ get: function () { return chunkD4JGBIP7_js.UnifiedProvider; }
11
+ });
12
+ Object.defineProperty(exports, "ConnectorProvider", {
13
+ enumerable: true,
14
+ get: function () { return chunkD4JGBIP7_js.ConnectorProvider; }
15
+ });
16
+ Object.defineProperty(exports, "UnifiedProvider", {
17
+ enumerable: true,
18
+ get: function () { return chunkD4JGBIP7_js.UnifiedProvider; }
19
+ });
20
+ Object.defineProperty(exports, "useAccount", {
21
+ enumerable: true,
22
+ get: function () { return chunkD4JGBIP7_js.useAccount; }
23
+ });
24
+ Object.defineProperty(exports, "useCluster", {
25
+ enumerable: true,
26
+ get: function () { return chunkD4JGBIP7_js.useCluster; }
27
+ });
28
+ Object.defineProperty(exports, "useConnector", {
29
+ enumerable: true,
30
+ get: function () { return chunkD4JGBIP7_js.useConnector; }
31
+ });
32
+ Object.defineProperty(exports, "useConnectorClient", {
33
+ enumerable: true,
34
+ get: function () { return chunkD4JGBIP7_js.useConnectorClient; }
35
+ });
36
+ Object.defineProperty(exports, "useGillSolanaClient", {
37
+ enumerable: true,
38
+ get: function () { return chunkD4JGBIP7_js.useGillSolanaClient; }
39
+ });
40
+ Object.defineProperty(exports, "useGillTransactionSigner", {
41
+ enumerable: true,
42
+ get: function () { return chunkD4JGBIP7_js.useGillTransactionSigner; }
43
+ });
44
+ Object.defineProperty(exports, "useTransactionPreparer", {
45
+ enumerable: true,
46
+ get: function () { return chunkD4JGBIP7_js.useTransactionPreparer; }
47
+ });
48
+ Object.defineProperty(exports, "useTransactionSigner", {
49
+ enumerable: true,
50
+ get: function () { return chunkD4JGBIP7_js.useTransactionSigner; }
51
+ });
52
+ Object.defineProperty(exports, "useWalletInfo", {
53
+ enumerable: true,
54
+ get: function () { return chunkD4JGBIP7_js.useWalletInfo; }
55
+ });
56
+ Object.defineProperty(exports, "ConnectorErrorBoundary", {
57
+ enumerable: true,
58
+ get: function () { return chunkP5A3XNFF_js.ConnectorErrorBoundary; }
59
+ });
60
+ Object.defineProperty(exports, "withErrorBoundary", {
61
+ enumerable: true,
62
+ get: function () { return chunkP5A3XNFF_js.withErrorBoundary; }
63
+ });
64
+ //# sourceMappingURL=react.js.map
65
+ //# sourceMappingURL=react.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"react.js"}
package/dist/react.mjs ADDED
@@ -0,0 +1,4 @@
1
+ export { UnifiedProvider as AppProvider, ConnectorProvider, UnifiedProvider, useAccount, useCluster, useConnector, useConnectorClient, useGillSolanaClient, useGillTransactionSigner, useTransactionPreparer, useTransactionSigner, useWalletInfo } from './chunk-EGYXJT54.mjs';
2
+ export { ConnectorErrorBoundary, withErrorBoundary } from './chunk-TAAXHAV2.mjs';
3
+ //# sourceMappingURL=react.mjs.map
4
+ //# sourceMappingURL=react.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"react.mjs"}