@solana/kit 5.0.1-canary-20251103192223 → 5.0.1-canary-20251104184723
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.
|
@@ -6210,7 +6210,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
6210
6210
|
...config.headers ? normalizeHeaders2(config.headers) : void 0,
|
|
6211
6211
|
...{
|
|
6212
6212
|
// Keep these headers lowercase so they will override any user-supplied headers above.
|
|
6213
|
-
"solana-client": `js/${"5.0.1-canary-
|
|
6213
|
+
"solana-client": `js/${"5.0.1-canary-20251104184723"}`
|
|
6214
6214
|
}
|
|
6215
6215
|
}
|
|
6216
6216
|
}),
|
|
@@ -7777,10 +7777,10 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
7777
7777
|
const signatureStatusLookupPromise = (async () => {
|
|
7778
7778
|
const { value: signatureStatusResults } = await rpc.getSignatureStatuses([signature2]).send({ abortSignal: abortController.signal });
|
|
7779
7779
|
const signatureStatus = signatureStatusResults[0];
|
|
7780
|
-
if (
|
|
7781
|
-
return;
|
|
7782
|
-
} else if (signatureStatus == null ? void 0 : signatureStatus.err) {
|
|
7780
|
+
if (signatureStatus == null ? void 0 : signatureStatus.err) {
|
|
7783
7781
|
throw getSolanaErrorFromTransactionError(signatureStatus.err);
|
|
7782
|
+
} else if ((signatureStatus == null ? void 0 : signatureStatus.confirmationStatus) && commitmentComparator(signatureStatus.confirmationStatus, commitment) >= 0) {
|
|
7783
|
+
return;
|
|
7784
7784
|
} else {
|
|
7785
7785
|
await new Promise(() => {
|
|
7786
7786
|
});
|