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