@solana/kit 5.0.1-canary-20251028192228 → 5.0.1-canary-20251031020744
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.
|
@@ -599,7 +599,9 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
599
599
|
errorOptions = { cause: descriptor.value };
|
|
600
600
|
} else {
|
|
601
601
|
if (context === void 0) {
|
|
602
|
-
context = {
|
|
602
|
+
context = {
|
|
603
|
+
__code: code
|
|
604
|
+
};
|
|
603
605
|
}
|
|
604
606
|
Object.defineProperty(context, name, descriptor);
|
|
605
607
|
}
|
|
@@ -618,8 +620,11 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
618
620
|
* Contains context that can assist in understanding or recovering from a {@link SolanaError}.
|
|
619
621
|
*/
|
|
620
622
|
__publicField(this, "context");
|
|
621
|
-
this.context =
|
|
622
|
-
|
|
623
|
+
this.context = Object.freeze(
|
|
624
|
+
context === void 0 ? {
|
|
625
|
+
__code: code
|
|
626
|
+
} : context
|
|
627
|
+
);
|
|
623
628
|
this.name = "SolanaError";
|
|
624
629
|
}
|
|
625
630
|
};
|
|
@@ -6205,7 +6210,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
6205
6210
|
...config.headers ? normalizeHeaders2(config.headers) : void 0,
|
|
6206
6211
|
...{
|
|
6207
6212
|
// Keep these headers lowercase so they will override any user-supplied headers above.
|
|
6208
|
-
"solana-client": `js/${"5.0.1-canary-
|
|
6213
|
+
"solana-client": `js/${"5.0.1-canary-20251031020744"}`
|
|
6209
6214
|
}
|
|
6210
6215
|
}
|
|
6211
6216
|
}),
|