@solana/web3.js 2.0.0-experimental.ba21818 → 2.0.0-experimental.ba9b4c7
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/index.browser.cjs +296 -75
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +289 -74
- package/dist/index.browser.js.map +1 -1
- package/dist/index.development.js +721 -238
- package/dist/index.development.js.map +1 -1
- package/dist/index.native.js +287 -74
- package/dist/index.native.js.map +1 -1
- package/dist/index.node.cjs +296 -75
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.js +287 -74
- package/dist/index.node.js.map +1 -1
- package/dist/index.production.min.js +54 -47
- package/dist/types/airdrop-confirmer.d.ts +20 -0
- package/dist/types/airdrop.d.ts +23 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/send-transaction.d.ts +44 -0
- package/dist/types/transaction-confirmation-strategy-racer.d.ts +10 -0
- package/dist/types/{transaction-confirmation-strategy-signature.d.ts → transaction-confirmation-strategy-recent-signature.d.ts} +3 -3
- package/dist/types/transaction-confirmation-strategy-timeout.d.ts +8 -0
- package/dist/types/transaction-confirmation.d.ts +16 -18
- package/package.json +13 -13
package/dist/index.browser.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from '@solana/addresses';
|
|
2
2
|
export * from '@solana/instructions';
|
|
3
3
|
export * from '@solana/keys';
|
|
4
|
-
import { getSignatureFromTransaction } from '@solana/transactions';
|
|
4
|
+
import { getSignatureFromTransaction, getBase64EncodedWireTransaction } from '@solana/transactions';
|
|
5
5
|
export * from '@solana/transactions';
|
|
6
|
+
import { commitmentComparator, createSolanaRpcApi, createSolanaRpcSubscriptionsApi, createSolanaRpcSubscriptionsApi_UNSTABLE } from '@solana/rpc-core';
|
|
6
7
|
import { pipe } from '@solana/functional';
|
|
7
|
-
import { createSolanaRpcApi, createSolanaRpcSubscriptionsApi, createSolanaRpcSubscriptionsApi_UNSTABLE, commitmentComparator } from '@solana/rpc-core';
|
|
8
8
|
import { createJsonRpc, createJsonSubscriptionRpc, createHttpTransport, createWebSocketTransport } from '@solana/rpc-transport';
|
|
9
9
|
import fastStableStringify from 'fast-stable-stringify';
|
|
10
10
|
import { base64, base58 } from '@metaplex-foundation/umi-serializers';
|
|
@@ -12,6 +12,159 @@ import { base64, base58 } from '@metaplex-foundation/umi-serializers';
|
|
|
12
12
|
// ../build-scripts/env-shim.ts
|
|
13
13
|
var __DEV__ = /* @__PURE__ */ (() => process["env"].NODE_ENV === "development")();
|
|
14
14
|
|
|
15
|
+
// src/transaction-confirmation-strategy-racer.ts
|
|
16
|
+
async function raceStrategies(signature, config, getSpecificStrategiesForRace) {
|
|
17
|
+
const { abortSignal: callerAbortSignal, commitment, getRecentSignatureConfirmationPromise } = config;
|
|
18
|
+
callerAbortSignal.throwIfAborted();
|
|
19
|
+
const abortController = new AbortController();
|
|
20
|
+
function handleAbort() {
|
|
21
|
+
abortController.abort();
|
|
22
|
+
}
|
|
23
|
+
callerAbortSignal.addEventListener("abort", handleAbort, { signal: abortController.signal });
|
|
24
|
+
try {
|
|
25
|
+
const specificStrategies = getSpecificStrategiesForRace({
|
|
26
|
+
...config,
|
|
27
|
+
abortSignal: abortController.signal
|
|
28
|
+
});
|
|
29
|
+
return await Promise.race([
|
|
30
|
+
getRecentSignatureConfirmationPromise({
|
|
31
|
+
abortSignal: abortController.signal,
|
|
32
|
+
commitment,
|
|
33
|
+
signature
|
|
34
|
+
}),
|
|
35
|
+
...specificStrategies
|
|
36
|
+
]);
|
|
37
|
+
} finally {
|
|
38
|
+
abortController.abort();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function createRecentSignatureConfirmationPromiseFactory(rpc, rpcSubscriptions) {
|
|
42
|
+
return async function getRecentSignatureConfirmationPromise({
|
|
43
|
+
abortSignal: callerAbortSignal,
|
|
44
|
+
commitment,
|
|
45
|
+
signature
|
|
46
|
+
}) {
|
|
47
|
+
const abortController = new AbortController();
|
|
48
|
+
function handleAbort() {
|
|
49
|
+
abortController.abort();
|
|
50
|
+
}
|
|
51
|
+
callerAbortSignal.addEventListener("abort", handleAbort, { signal: abortController.signal });
|
|
52
|
+
const signatureStatusNotifications = await rpcSubscriptions.signatureNotifications(signature, { commitment }).subscribe({ abortSignal: abortController.signal });
|
|
53
|
+
const signatureDidCommitPromise = (async () => {
|
|
54
|
+
for await (const signatureStatusNotification of signatureStatusNotifications) {
|
|
55
|
+
if (signatureStatusNotification.value.err) {
|
|
56
|
+
throw new Error(`The transaction with signature \`${signature}\` failed.`, {
|
|
57
|
+
cause: signatureStatusNotification.value.err
|
|
58
|
+
});
|
|
59
|
+
} else {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
})();
|
|
64
|
+
const signatureStatusLookupPromise = (async () => {
|
|
65
|
+
const { value: signatureStatusResults } = await rpc.getSignatureStatuses([signature]).send({ abortSignal: abortController.signal });
|
|
66
|
+
const signatureStatus = signatureStatusResults[0];
|
|
67
|
+
if (signatureStatus && signatureStatus.confirmationStatus && commitmentComparator(signatureStatus.confirmationStatus, commitment) >= 0) {
|
|
68
|
+
return;
|
|
69
|
+
} else {
|
|
70
|
+
await new Promise(() => {
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
})();
|
|
74
|
+
try {
|
|
75
|
+
return await Promise.race([signatureDidCommitPromise, signatureStatusLookupPromise]);
|
|
76
|
+
} finally {
|
|
77
|
+
abortController.abort();
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// src/transaction-confirmation-strategy-timeout.ts
|
|
83
|
+
async function getTimeoutPromise({ abortSignal: callerAbortSignal, commitment }) {
|
|
84
|
+
return await new Promise((_, reject) => {
|
|
85
|
+
const handleAbort = (e) => {
|
|
86
|
+
clearTimeout(timeoutId);
|
|
87
|
+
const abortError = new DOMException(e.target.reason, "AbortError");
|
|
88
|
+
reject(abortError);
|
|
89
|
+
};
|
|
90
|
+
callerAbortSignal.addEventListener("abort", handleAbort);
|
|
91
|
+
const timeoutMs = commitment === "processed" ? 3e4 : 6e4;
|
|
92
|
+
const startMs = performance.now();
|
|
93
|
+
const timeoutId = (
|
|
94
|
+
// We use `setTimeout` instead of `AbortSignal.timeout()` because we want to measure
|
|
95
|
+
// elapsed time instead of active time.
|
|
96
|
+
// See https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/timeout_static
|
|
97
|
+
setTimeout(() => {
|
|
98
|
+
const elapsedMs = performance.now() - startMs;
|
|
99
|
+
reject(new DOMException(`Timeout elapsed after ${elapsedMs} ms`, "TimeoutError"));
|
|
100
|
+
}, timeoutMs)
|
|
101
|
+
);
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// src/airdrop-confirmer.ts
|
|
106
|
+
function createDefaultSignatureOnlyRecentTransactionConfirmer({
|
|
107
|
+
rpc,
|
|
108
|
+
rpcSubscriptions
|
|
109
|
+
}) {
|
|
110
|
+
const getRecentSignatureConfirmationPromise = createRecentSignatureConfirmationPromiseFactory(
|
|
111
|
+
rpc,
|
|
112
|
+
rpcSubscriptions
|
|
113
|
+
);
|
|
114
|
+
return async function confirmSignatureOnlyRecentTransaction(config) {
|
|
115
|
+
await waitForRecentTransactionConfirmationUntilTimeout({
|
|
116
|
+
...config,
|
|
117
|
+
getRecentSignatureConfirmationPromise,
|
|
118
|
+
getTimeoutPromise
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
async function waitForRecentTransactionConfirmationUntilTimeout(config) {
|
|
123
|
+
await raceStrategies(
|
|
124
|
+
config.signature,
|
|
125
|
+
config,
|
|
126
|
+
function getSpecificStrategiesForRace({ abortSignal, commitment, getTimeoutPromise: getTimeoutPromise2 }) {
|
|
127
|
+
return [
|
|
128
|
+
getTimeoutPromise2({
|
|
129
|
+
abortSignal,
|
|
130
|
+
commitment
|
|
131
|
+
})
|
|
132
|
+
];
|
|
133
|
+
}
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// src/airdrop.ts
|
|
138
|
+
function createDefaultAirdropRequester({ rpc, rpcSubscriptions }) {
|
|
139
|
+
const confirmSignatureOnlyTransaction = createDefaultSignatureOnlyRecentTransactionConfirmer({
|
|
140
|
+
rpc,
|
|
141
|
+
rpcSubscriptions
|
|
142
|
+
});
|
|
143
|
+
return async function requestAirdrop(config) {
|
|
144
|
+
return await requestAndConfirmAirdrop({
|
|
145
|
+
...config,
|
|
146
|
+
confirmSignatureOnlyTransaction,
|
|
147
|
+
rpc
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
async function requestAndConfirmAirdrop({
|
|
152
|
+
abortSignal,
|
|
153
|
+
commitment,
|
|
154
|
+
confirmSignatureOnlyTransaction,
|
|
155
|
+
lamports,
|
|
156
|
+
recipientAddress,
|
|
157
|
+
rpc
|
|
158
|
+
}) {
|
|
159
|
+
const airdropTransactionSignature = await rpc.requestAirdrop(recipientAddress, lamports, { commitment }).send({ abortSignal });
|
|
160
|
+
await confirmSignatureOnlyTransaction({
|
|
161
|
+
abortSignal,
|
|
162
|
+
commitment,
|
|
163
|
+
signature: airdropTransactionSignature
|
|
164
|
+
});
|
|
165
|
+
return airdropTransactionSignature;
|
|
166
|
+
}
|
|
167
|
+
|
|
15
168
|
// src/rpc-integer-overflow-error.ts
|
|
16
169
|
var SolanaJsonRpcIntegerOverflowError = class extends Error {
|
|
17
170
|
constructor(methodName, keyPath, value) {
|
|
@@ -531,97 +684,45 @@ function createNonceInvalidationPromiseFactory(rpc, rpcSubscriptions) {
|
|
|
531
684
|
}
|
|
532
685
|
};
|
|
533
686
|
}
|
|
534
|
-
function createSignatureConfirmationPromiseFactory(rpc, rpcSubscriptions) {
|
|
535
|
-
return async function getSignatureConfirmationPromise({ abortSignal: callerAbortSignal, commitment, signature }) {
|
|
536
|
-
const abortController = new AbortController();
|
|
537
|
-
function handleAbort() {
|
|
538
|
-
abortController.abort();
|
|
539
|
-
}
|
|
540
|
-
callerAbortSignal.addEventListener("abort", handleAbort, { signal: abortController.signal });
|
|
541
|
-
const signatureStatusNotifications = await rpcSubscriptions.signatureNotifications(signature, { commitment }).subscribe({ abortSignal: abortController.signal });
|
|
542
|
-
const signatureDidCommitPromise = (async () => {
|
|
543
|
-
for await (const signatureStatusNotification of signatureStatusNotifications) {
|
|
544
|
-
if (signatureStatusNotification.value.err) {
|
|
545
|
-
throw new Error(`The transaction with signature \`${signature}\` failed.`, {
|
|
546
|
-
cause: signatureStatusNotification.value.err
|
|
547
|
-
});
|
|
548
|
-
} else {
|
|
549
|
-
return;
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
})();
|
|
553
|
-
const signatureStatusLookupPromise = (async () => {
|
|
554
|
-
const { value: signatureStatusResults } = await rpc.getSignatureStatuses([signature]).send({ abortSignal: abortController.signal });
|
|
555
|
-
const signatureStatus = signatureStatusResults[0];
|
|
556
|
-
if (signatureStatus && signatureStatus.confirmationStatus && commitmentComparator(signatureStatus.confirmationStatus, commitment) >= 0) {
|
|
557
|
-
return;
|
|
558
|
-
} else {
|
|
559
|
-
await new Promise(() => {
|
|
560
|
-
});
|
|
561
|
-
}
|
|
562
|
-
})();
|
|
563
|
-
try {
|
|
564
|
-
return await Promise.race([signatureDidCommitPromise, signatureStatusLookupPromise]);
|
|
565
|
-
} finally {
|
|
566
|
-
abortController.abort();
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
}
|
|
570
687
|
|
|
571
688
|
// src/transaction-confirmation.ts
|
|
572
|
-
async function raceStrategies(config, getSpecificStrategiesForRace) {
|
|
573
|
-
const { abortSignal: callerAbortSignal, commitment, getSignatureConfirmationPromise, transaction } = config;
|
|
574
|
-
callerAbortSignal.throwIfAborted();
|
|
575
|
-
const signature = getSignatureFromTransaction(transaction);
|
|
576
|
-
const abortController = new AbortController();
|
|
577
|
-
function handleAbort() {
|
|
578
|
-
abortController.abort();
|
|
579
|
-
}
|
|
580
|
-
callerAbortSignal.addEventListener("abort", handleAbort, { signal: abortController.signal });
|
|
581
|
-
try {
|
|
582
|
-
const specificStrategies = getSpecificStrategiesForRace({
|
|
583
|
-
...config,
|
|
584
|
-
abortSignal: abortController.signal
|
|
585
|
-
});
|
|
586
|
-
return await Promise.race([
|
|
587
|
-
getSignatureConfirmationPromise({
|
|
588
|
-
abortSignal: abortController.signal,
|
|
589
|
-
commitment,
|
|
590
|
-
signature
|
|
591
|
-
}),
|
|
592
|
-
...specificStrategies
|
|
593
|
-
]);
|
|
594
|
-
} finally {
|
|
595
|
-
abortController.abort();
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
689
|
function createDefaultDurableNonceTransactionConfirmer({
|
|
599
690
|
rpc,
|
|
600
691
|
rpcSubscriptions
|
|
601
692
|
}) {
|
|
602
693
|
const getNonceInvalidationPromise = createNonceInvalidationPromiseFactory(rpc, rpcSubscriptions);
|
|
603
|
-
const
|
|
604
|
-
|
|
694
|
+
const getRecentSignatureConfirmationPromise = createRecentSignatureConfirmationPromiseFactory(
|
|
695
|
+
rpc,
|
|
696
|
+
rpcSubscriptions
|
|
697
|
+
);
|
|
698
|
+
return async function confirmDurableNonceTransaction(config) {
|
|
605
699
|
await waitForDurableNonceTransactionConfirmation({
|
|
606
700
|
...config,
|
|
607
701
|
getNonceInvalidationPromise,
|
|
608
|
-
|
|
702
|
+
getRecentSignatureConfirmationPromise
|
|
609
703
|
});
|
|
610
704
|
};
|
|
611
705
|
}
|
|
612
|
-
function
|
|
706
|
+
function createDefaultRecentTransactionConfirmer({
|
|
707
|
+
rpc,
|
|
708
|
+
rpcSubscriptions
|
|
709
|
+
}) {
|
|
613
710
|
const getBlockHeightExceedencePromise = createBlockHeightExceedencePromiseFactory(rpcSubscriptions);
|
|
614
|
-
const
|
|
615
|
-
|
|
616
|
-
|
|
711
|
+
const getRecentSignatureConfirmationPromise = createRecentSignatureConfirmationPromiseFactory(
|
|
712
|
+
rpc,
|
|
713
|
+
rpcSubscriptions
|
|
714
|
+
);
|
|
715
|
+
return async function confirmRecentTransaction(config) {
|
|
716
|
+
await waitForRecentTransactionConfirmation({
|
|
617
717
|
...config,
|
|
618
718
|
getBlockHeightExceedencePromise,
|
|
619
|
-
|
|
719
|
+
getRecentSignatureConfirmationPromise
|
|
620
720
|
});
|
|
621
721
|
};
|
|
622
722
|
}
|
|
623
723
|
async function waitForDurableNonceTransactionConfirmation(config) {
|
|
624
724
|
await raceStrategies(
|
|
725
|
+
getSignatureFromTransaction(config.transaction),
|
|
625
726
|
config,
|
|
626
727
|
function getSpecificStrategiesForRace({ abortSignal, commitment, getNonceInvalidationPromise, transaction }) {
|
|
627
728
|
return [
|
|
@@ -635,8 +736,9 @@ async function waitForDurableNonceTransactionConfirmation(config) {
|
|
|
635
736
|
}
|
|
636
737
|
);
|
|
637
738
|
}
|
|
638
|
-
async function
|
|
739
|
+
async function waitForRecentTransactionConfirmation(config) {
|
|
639
740
|
await raceStrategies(
|
|
741
|
+
getSignatureFromTransaction(config.transaction),
|
|
640
742
|
config,
|
|
641
743
|
function getSpecificStrategiesForRace({ abortSignal, getBlockHeightExceedencePromise, transaction }) {
|
|
642
744
|
return [
|
|
@@ -649,4 +751,117 @@ async function waitForTransactionConfirmation(config) {
|
|
|
649
751
|
);
|
|
650
752
|
}
|
|
651
753
|
|
|
652
|
-
|
|
754
|
+
// src/send-transaction.ts
|
|
755
|
+
function getSendTransactionConfigWithAdjustedPreflightCommitment(commitment, config) {
|
|
756
|
+
if (
|
|
757
|
+
// The developer has supplied no value for `preflightCommitment`.
|
|
758
|
+
!config?.preflightCommitment && // The value of `commitment` is lower than the server default of `preflightCommitment`.
|
|
759
|
+
commitmentComparator(
|
|
760
|
+
commitment,
|
|
761
|
+
"finalized"
|
|
762
|
+
/* default value of `preflightCommitment` */
|
|
763
|
+
) < 0
|
|
764
|
+
) {
|
|
765
|
+
return {
|
|
766
|
+
...config,
|
|
767
|
+
// In the common case, it is unlikely that you want to simulate a transaction at
|
|
768
|
+
// `finalized` commitment when your standard of commitment for confirming the
|
|
769
|
+
// transaction is lower. Cap the simulation commitment level to the level of the
|
|
770
|
+
// confirmation commitment.
|
|
771
|
+
preflightCommitment: commitment
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
return config;
|
|
775
|
+
}
|
|
776
|
+
async function sendTransaction_INTERNAL({
|
|
777
|
+
abortSignal,
|
|
778
|
+
commitment,
|
|
779
|
+
rpc,
|
|
780
|
+
transaction,
|
|
781
|
+
sendTransactionConfig
|
|
782
|
+
}) {
|
|
783
|
+
const base64EncodedWireTransaction = getBase64EncodedWireTransaction(transaction);
|
|
784
|
+
return await rpc.sendTransaction(base64EncodedWireTransaction, {
|
|
785
|
+
...getSendTransactionConfigWithAdjustedPreflightCommitment(commitment, sendTransactionConfig),
|
|
786
|
+
encoding: "base64"
|
|
787
|
+
}).send({ abortSignal });
|
|
788
|
+
}
|
|
789
|
+
function createDefaultDurableNonceTransactionSender({
|
|
790
|
+
rpc,
|
|
791
|
+
rpcSubscriptions
|
|
792
|
+
}) {
|
|
793
|
+
const confirmDurableNonceTransaction = createDefaultDurableNonceTransactionConfirmer({
|
|
794
|
+
rpc,
|
|
795
|
+
rpcSubscriptions
|
|
796
|
+
});
|
|
797
|
+
return async function sendDurableNonceTransaction(transaction, config) {
|
|
798
|
+
await sendAndConfirmDurableNonceTransaction({
|
|
799
|
+
...config,
|
|
800
|
+
confirmDurableNonceTransaction,
|
|
801
|
+
rpc,
|
|
802
|
+
transaction
|
|
803
|
+
});
|
|
804
|
+
};
|
|
805
|
+
}
|
|
806
|
+
function createDefaultTransactionSender({ rpc, rpcSubscriptions }) {
|
|
807
|
+
const confirmRecentTransaction = createDefaultRecentTransactionConfirmer({
|
|
808
|
+
rpc,
|
|
809
|
+
rpcSubscriptions
|
|
810
|
+
});
|
|
811
|
+
return async function sendTransaction(transaction, config) {
|
|
812
|
+
await sendAndConfirmTransaction({
|
|
813
|
+
...config,
|
|
814
|
+
confirmRecentTransaction,
|
|
815
|
+
rpc,
|
|
816
|
+
transaction
|
|
817
|
+
});
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
async function sendAndConfirmDurableNonceTransaction({
|
|
821
|
+
abortSignal,
|
|
822
|
+
commitment,
|
|
823
|
+
confirmDurableNonceTransaction,
|
|
824
|
+
rpc,
|
|
825
|
+
transaction,
|
|
826
|
+
...sendTransactionConfig
|
|
827
|
+
}) {
|
|
828
|
+
const transactionSignature = await sendTransaction_INTERNAL({
|
|
829
|
+
abortSignal,
|
|
830
|
+
commitment,
|
|
831
|
+
rpc,
|
|
832
|
+
sendTransactionConfig,
|
|
833
|
+
transaction
|
|
834
|
+
});
|
|
835
|
+
await confirmDurableNonceTransaction({
|
|
836
|
+
abortSignal,
|
|
837
|
+
commitment,
|
|
838
|
+
transaction
|
|
839
|
+
});
|
|
840
|
+
return transactionSignature;
|
|
841
|
+
}
|
|
842
|
+
async function sendAndConfirmTransaction({
|
|
843
|
+
abortSignal,
|
|
844
|
+
commitment,
|
|
845
|
+
confirmRecentTransaction,
|
|
846
|
+
rpc,
|
|
847
|
+
transaction,
|
|
848
|
+
...sendTransactionConfig
|
|
849
|
+
}) {
|
|
850
|
+
const transactionSignature = await sendTransaction_INTERNAL({
|
|
851
|
+
abortSignal,
|
|
852
|
+
commitment,
|
|
853
|
+
rpc,
|
|
854
|
+
sendTransactionConfig,
|
|
855
|
+
transaction
|
|
856
|
+
});
|
|
857
|
+
await confirmRecentTransaction({
|
|
858
|
+
abortSignal,
|
|
859
|
+
commitment,
|
|
860
|
+
transaction
|
|
861
|
+
});
|
|
862
|
+
return transactionSignature;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
export { createBlockHeightExceedencePromiseFactory, createDefaultAirdropRequester, createDefaultDurableNonceTransactionConfirmer, createDefaultDurableNonceTransactionSender, createDefaultRecentTransactionConfirmer, createDefaultRpcSubscriptionsTransport, createDefaultRpcTransport, createDefaultTransactionSender, createNonceInvalidationPromiseFactory, createRecentSignatureConfirmationPromiseFactory, createSolanaRpc, createSolanaRpcSubscriptions, createSolanaRpcSubscriptions_UNSTABLE, requestAndConfirmAirdrop, sendAndConfirmDurableNonceTransaction, sendAndConfirmTransaction, waitForDurableNonceTransactionConfirmation, waitForRecentTransactionConfirmation };
|
|
866
|
+
//# sourceMappingURL=out.js.map
|
|
867
|
+
//# sourceMappingURL=index.browser.js.map
|