@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.native.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) {
|
|
@@ -520,97 +673,45 @@ function createNonceInvalidationPromiseFactory(rpc, rpcSubscriptions) {
|
|
|
520
673
|
}
|
|
521
674
|
};
|
|
522
675
|
}
|
|
523
|
-
function createSignatureConfirmationPromiseFactory(rpc, rpcSubscriptions) {
|
|
524
|
-
return async function getSignatureConfirmationPromise({ abortSignal: callerAbortSignal, commitment, signature }) {
|
|
525
|
-
const abortController = new AbortController();
|
|
526
|
-
function handleAbort() {
|
|
527
|
-
abortController.abort();
|
|
528
|
-
}
|
|
529
|
-
callerAbortSignal.addEventListener("abort", handleAbort, { signal: abortController.signal });
|
|
530
|
-
const signatureStatusNotifications = await rpcSubscriptions.signatureNotifications(signature, { commitment }).subscribe({ abortSignal: abortController.signal });
|
|
531
|
-
const signatureDidCommitPromise = (async () => {
|
|
532
|
-
for await (const signatureStatusNotification of signatureStatusNotifications) {
|
|
533
|
-
if (signatureStatusNotification.value.err) {
|
|
534
|
-
throw new Error(`The transaction with signature \`${signature}\` failed.`, {
|
|
535
|
-
cause: signatureStatusNotification.value.err
|
|
536
|
-
});
|
|
537
|
-
} else {
|
|
538
|
-
return;
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
})();
|
|
542
|
-
const signatureStatusLookupPromise = (async () => {
|
|
543
|
-
const { value: signatureStatusResults } = await rpc.getSignatureStatuses([signature]).send({ abortSignal: abortController.signal });
|
|
544
|
-
const signatureStatus = signatureStatusResults[0];
|
|
545
|
-
if (signatureStatus && signatureStatus.confirmationStatus && commitmentComparator(signatureStatus.confirmationStatus, commitment) >= 0) {
|
|
546
|
-
return;
|
|
547
|
-
} else {
|
|
548
|
-
await new Promise(() => {
|
|
549
|
-
});
|
|
550
|
-
}
|
|
551
|
-
})();
|
|
552
|
-
try {
|
|
553
|
-
return await Promise.race([signatureDidCommitPromise, signatureStatusLookupPromise]);
|
|
554
|
-
} finally {
|
|
555
|
-
abortController.abort();
|
|
556
|
-
}
|
|
557
|
-
};
|
|
558
|
-
}
|
|
559
676
|
|
|
560
677
|
// src/transaction-confirmation.ts
|
|
561
|
-
async function raceStrategies(config, getSpecificStrategiesForRace) {
|
|
562
|
-
const { abortSignal: callerAbortSignal, commitment, getSignatureConfirmationPromise, transaction } = config;
|
|
563
|
-
callerAbortSignal.throwIfAborted();
|
|
564
|
-
const signature = getSignatureFromTransaction(transaction);
|
|
565
|
-
const abortController = new AbortController();
|
|
566
|
-
function handleAbort() {
|
|
567
|
-
abortController.abort();
|
|
568
|
-
}
|
|
569
|
-
callerAbortSignal.addEventListener("abort", handleAbort, { signal: abortController.signal });
|
|
570
|
-
try {
|
|
571
|
-
const specificStrategies = getSpecificStrategiesForRace({
|
|
572
|
-
...config,
|
|
573
|
-
abortSignal: abortController.signal
|
|
574
|
-
});
|
|
575
|
-
return await Promise.race([
|
|
576
|
-
getSignatureConfirmationPromise({
|
|
577
|
-
abortSignal: abortController.signal,
|
|
578
|
-
commitment,
|
|
579
|
-
signature
|
|
580
|
-
}),
|
|
581
|
-
...specificStrategies
|
|
582
|
-
]);
|
|
583
|
-
} finally {
|
|
584
|
-
abortController.abort();
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
678
|
function createDefaultDurableNonceTransactionConfirmer({
|
|
588
679
|
rpc,
|
|
589
680
|
rpcSubscriptions
|
|
590
681
|
}) {
|
|
591
682
|
const getNonceInvalidationPromise = createNonceInvalidationPromiseFactory(rpc, rpcSubscriptions);
|
|
592
|
-
const
|
|
593
|
-
|
|
683
|
+
const getRecentSignatureConfirmationPromise = createRecentSignatureConfirmationPromiseFactory(
|
|
684
|
+
rpc,
|
|
685
|
+
rpcSubscriptions
|
|
686
|
+
);
|
|
687
|
+
return async function confirmDurableNonceTransaction(config) {
|
|
594
688
|
await waitForDurableNonceTransactionConfirmation({
|
|
595
689
|
...config,
|
|
596
690
|
getNonceInvalidationPromise,
|
|
597
|
-
|
|
691
|
+
getRecentSignatureConfirmationPromise
|
|
598
692
|
});
|
|
599
693
|
};
|
|
600
694
|
}
|
|
601
|
-
function
|
|
695
|
+
function createDefaultRecentTransactionConfirmer({
|
|
696
|
+
rpc,
|
|
697
|
+
rpcSubscriptions
|
|
698
|
+
}) {
|
|
602
699
|
const getBlockHeightExceedencePromise = createBlockHeightExceedencePromiseFactory(rpcSubscriptions);
|
|
603
|
-
const
|
|
604
|
-
|
|
605
|
-
|
|
700
|
+
const getRecentSignatureConfirmationPromise = createRecentSignatureConfirmationPromiseFactory(
|
|
701
|
+
rpc,
|
|
702
|
+
rpcSubscriptions
|
|
703
|
+
);
|
|
704
|
+
return async function confirmRecentTransaction(config) {
|
|
705
|
+
await waitForRecentTransactionConfirmation({
|
|
606
706
|
...config,
|
|
607
707
|
getBlockHeightExceedencePromise,
|
|
608
|
-
|
|
708
|
+
getRecentSignatureConfirmationPromise
|
|
609
709
|
});
|
|
610
710
|
};
|
|
611
711
|
}
|
|
612
712
|
async function waitForDurableNonceTransactionConfirmation(config) {
|
|
613
713
|
await raceStrategies(
|
|
714
|
+
getSignatureFromTransaction(config.transaction),
|
|
614
715
|
config,
|
|
615
716
|
function getSpecificStrategiesForRace({ abortSignal, commitment, getNonceInvalidationPromise, transaction }) {
|
|
616
717
|
return [
|
|
@@ -624,8 +725,9 @@ async function waitForDurableNonceTransactionConfirmation(config) {
|
|
|
624
725
|
}
|
|
625
726
|
);
|
|
626
727
|
}
|
|
627
|
-
async function
|
|
728
|
+
async function waitForRecentTransactionConfirmation(config) {
|
|
628
729
|
await raceStrategies(
|
|
730
|
+
getSignatureFromTransaction(config.transaction),
|
|
629
731
|
config,
|
|
630
732
|
function getSpecificStrategiesForRace({ abortSignal, getBlockHeightExceedencePromise, transaction }) {
|
|
631
733
|
return [
|
|
@@ -638,6 +740,117 @@ async function waitForTransactionConfirmation(config) {
|
|
|
638
740
|
);
|
|
639
741
|
}
|
|
640
742
|
|
|
641
|
-
|
|
743
|
+
// src/send-transaction.ts
|
|
744
|
+
function getSendTransactionConfigWithAdjustedPreflightCommitment(commitment, config) {
|
|
745
|
+
if (
|
|
746
|
+
// The developer has supplied no value for `preflightCommitment`.
|
|
747
|
+
!config?.preflightCommitment && // The value of `commitment` is lower than the server default of `preflightCommitment`.
|
|
748
|
+
commitmentComparator(
|
|
749
|
+
commitment,
|
|
750
|
+
"finalized"
|
|
751
|
+
/* default value of `preflightCommitment` */
|
|
752
|
+
) < 0
|
|
753
|
+
) {
|
|
754
|
+
return {
|
|
755
|
+
...config,
|
|
756
|
+
// In the common case, it is unlikely that you want to simulate a transaction at
|
|
757
|
+
// `finalized` commitment when your standard of commitment for confirming the
|
|
758
|
+
// transaction is lower. Cap the simulation commitment level to the level of the
|
|
759
|
+
// confirmation commitment.
|
|
760
|
+
preflightCommitment: commitment
|
|
761
|
+
};
|
|
762
|
+
}
|
|
763
|
+
return config;
|
|
764
|
+
}
|
|
765
|
+
async function sendTransaction_INTERNAL({
|
|
766
|
+
abortSignal,
|
|
767
|
+
commitment,
|
|
768
|
+
rpc,
|
|
769
|
+
transaction,
|
|
770
|
+
sendTransactionConfig
|
|
771
|
+
}) {
|
|
772
|
+
const base64EncodedWireTransaction = getBase64EncodedWireTransaction(transaction);
|
|
773
|
+
return await rpc.sendTransaction(base64EncodedWireTransaction, {
|
|
774
|
+
...getSendTransactionConfigWithAdjustedPreflightCommitment(commitment, sendTransactionConfig),
|
|
775
|
+
encoding: "base64"
|
|
776
|
+
}).send({ abortSignal });
|
|
777
|
+
}
|
|
778
|
+
function createDefaultDurableNonceTransactionSender({
|
|
779
|
+
rpc,
|
|
780
|
+
rpcSubscriptions
|
|
781
|
+
}) {
|
|
782
|
+
const confirmDurableNonceTransaction = createDefaultDurableNonceTransactionConfirmer({
|
|
783
|
+
rpc,
|
|
784
|
+
rpcSubscriptions
|
|
785
|
+
});
|
|
786
|
+
return async function sendDurableNonceTransaction(transaction, config) {
|
|
787
|
+
await sendAndConfirmDurableNonceTransaction({
|
|
788
|
+
...config,
|
|
789
|
+
confirmDurableNonceTransaction,
|
|
790
|
+
rpc,
|
|
791
|
+
transaction
|
|
792
|
+
});
|
|
793
|
+
};
|
|
794
|
+
}
|
|
795
|
+
function createDefaultTransactionSender({ rpc, rpcSubscriptions }) {
|
|
796
|
+
const confirmRecentTransaction = createDefaultRecentTransactionConfirmer({
|
|
797
|
+
rpc,
|
|
798
|
+
rpcSubscriptions
|
|
799
|
+
});
|
|
800
|
+
return async function sendTransaction(transaction, config) {
|
|
801
|
+
await sendAndConfirmTransaction({
|
|
802
|
+
...config,
|
|
803
|
+
confirmRecentTransaction,
|
|
804
|
+
rpc,
|
|
805
|
+
transaction
|
|
806
|
+
});
|
|
807
|
+
};
|
|
808
|
+
}
|
|
809
|
+
async function sendAndConfirmDurableNonceTransaction({
|
|
810
|
+
abortSignal,
|
|
811
|
+
commitment,
|
|
812
|
+
confirmDurableNonceTransaction,
|
|
813
|
+
rpc,
|
|
814
|
+
transaction,
|
|
815
|
+
...sendTransactionConfig
|
|
816
|
+
}) {
|
|
817
|
+
const transactionSignature = await sendTransaction_INTERNAL({
|
|
818
|
+
abortSignal,
|
|
819
|
+
commitment,
|
|
820
|
+
rpc,
|
|
821
|
+
sendTransactionConfig,
|
|
822
|
+
transaction
|
|
823
|
+
});
|
|
824
|
+
await confirmDurableNonceTransaction({
|
|
825
|
+
abortSignal,
|
|
826
|
+
commitment,
|
|
827
|
+
transaction
|
|
828
|
+
});
|
|
829
|
+
return transactionSignature;
|
|
830
|
+
}
|
|
831
|
+
async function sendAndConfirmTransaction({
|
|
832
|
+
abortSignal,
|
|
833
|
+
commitment,
|
|
834
|
+
confirmRecentTransaction,
|
|
835
|
+
rpc,
|
|
836
|
+
transaction,
|
|
837
|
+
...sendTransactionConfig
|
|
838
|
+
}) {
|
|
839
|
+
const transactionSignature = await sendTransaction_INTERNAL({
|
|
840
|
+
abortSignal,
|
|
841
|
+
commitment,
|
|
842
|
+
rpc,
|
|
843
|
+
sendTransactionConfig,
|
|
844
|
+
transaction
|
|
845
|
+
});
|
|
846
|
+
await confirmRecentTransaction({
|
|
847
|
+
abortSignal,
|
|
848
|
+
commitment,
|
|
849
|
+
transaction
|
|
850
|
+
});
|
|
851
|
+
return transactionSignature;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
export { createBlockHeightExceedencePromiseFactory, createDefaultAirdropRequester, createDefaultDurableNonceTransactionConfirmer, createDefaultDurableNonceTransactionSender, createDefaultRecentTransactionConfirmer, createDefaultRpcSubscriptionsTransport, createDefaultRpcTransport, createDefaultTransactionSender, createNonceInvalidationPromiseFactory, createRecentSignatureConfirmationPromiseFactory, createSolanaRpc, createSolanaRpcSubscriptions, createSolanaRpcSubscriptions_UNSTABLE, requestAndConfirmAirdrop, sendAndConfirmDurableNonceTransaction, sendAndConfirmTransaction, waitForDurableNonceTransactionConfirmation, waitForRecentTransactionConfirmation };
|
|
642
855
|
//# sourceMappingURL=out.js.map
|
|
643
856
|
//# sourceMappingURL=index.native.js.map
|