@solana/kit 3.0.0 → 3.0.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.
|
@@ -6120,7 +6120,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
6120
6120
|
...config.headers ? normalizeHeaders2(config.headers) : void 0,
|
|
6121
6121
|
...{
|
|
6122
6122
|
// Keep these headers lowercase so they will override any user-supplied headers above.
|
|
6123
|
-
"solana-client": `js/${"3.0.
|
|
6123
|
+
"solana-client": `js/${"3.0.1"}`
|
|
6124
6124
|
}
|
|
6125
6125
|
}
|
|
6126
6126
|
}),
|
|
@@ -7687,8 +7687,10 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
7687
7687
|
const signatureStatusLookupPromise = (async () => {
|
|
7688
7688
|
const { value: signatureStatusResults } = await rpc.getSignatureStatuses([signature2]).send({ abortSignal: abortController.signal });
|
|
7689
7689
|
const signatureStatus = signatureStatusResults[0];
|
|
7690
|
-
if (signatureStatus
|
|
7690
|
+
if ((signatureStatus == null ? void 0 : signatureStatus.confirmationStatus) && commitmentComparator(signatureStatus.confirmationStatus, commitment) >= 0) {
|
|
7691
7691
|
return;
|
|
7692
|
+
} else if (signatureStatus == null ? void 0 : signatureStatus.err) {
|
|
7693
|
+
throw getSolanaErrorFromTransactionError(signatureStatus.err);
|
|
7692
7694
|
} else {
|
|
7693
7695
|
await new Promise(() => {
|
|
7694
7696
|
});
|