@solana/kit 6.0.1 → 6.1.0-canary-20260209201302
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.development.js +21 -1
- package/dist/index.development.js.map +1 -1
- package/dist/index.production.min.js +520 -518
- package/package.json +23 -23
|
@@ -5213,6 +5213,24 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
5213
5213
|
)
|
|
5214
5214
|
);
|
|
5215
5215
|
}
|
|
5216
|
+
function parseInstructionPlanInput(input) {
|
|
5217
|
+
if (Array.isArray(input) && input.length === 1) {
|
|
5218
|
+
return parseInstructionPlanInput(input[0]);
|
|
5219
|
+
}
|
|
5220
|
+
if (Array.isArray(input)) {
|
|
5221
|
+
return sequentialInstructionPlan(input.map(parseInstructionPlanInput));
|
|
5222
|
+
}
|
|
5223
|
+
return isInstructionPlan(input) ? input : singleInstructionPlan(input);
|
|
5224
|
+
}
|
|
5225
|
+
function parseTransactionPlanInput(input) {
|
|
5226
|
+
if (Array.isArray(input) && input.length === 1) {
|
|
5227
|
+
return parseTransactionPlanInput(input[0]);
|
|
5228
|
+
}
|
|
5229
|
+
if (Array.isArray(input)) {
|
|
5230
|
+
return sequentialTransactionPlan(input.map((item) => parseTransactionPlanInput(item)));
|
|
5231
|
+
}
|
|
5232
|
+
return isTransactionPlan(input) ? input : singleTransactionPlan(input);
|
|
5233
|
+
}
|
|
5216
5234
|
function sequentialTransactionPlanResult(plans) {
|
|
5217
5235
|
return Object.freeze({ divisible: true, kind: "sequential", planType: "transactionPlanResult", plans });
|
|
5218
5236
|
}
|
|
@@ -7566,7 +7584,7 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
7566
7584
|
...config.headers ? normalizeHeaders2(config.headers) : void 0,
|
|
7567
7585
|
...{
|
|
7568
7586
|
// Keep these headers lowercase so they will override any user-supplied headers above.
|
|
7569
|
-
"solana-client": `js/${"6.0
|
|
7587
|
+
"solana-client": `js/${"6.1.0-canary-20260209201302"}`
|
|
7570
7588
|
}
|
|
7571
7589
|
}
|
|
7572
7590
|
}),
|
|
@@ -10272,7 +10290,9 @@ this.globalThis.solanaWeb3 = (function (exports) {
|
|
|
10272
10290
|
exports.parallelTransactionPlanResult = parallelTransactionPlanResult;
|
|
10273
10291
|
exports.parseBase58RpcAccount = parseBase58RpcAccount;
|
|
10274
10292
|
exports.parseBase64RpcAccount = parseBase64RpcAccount;
|
|
10293
|
+
exports.parseInstructionPlanInput = parseInstructionPlanInput;
|
|
10275
10294
|
exports.parseJsonRpcAccount = parseJsonRpcAccount;
|
|
10295
|
+
exports.parseTransactionPlanInput = parseTransactionPlanInput;
|
|
10276
10296
|
exports.partiallySignOffchainMessageEnvelope = partiallySignOffchainMessageEnvelope;
|
|
10277
10297
|
exports.partiallySignOffchainMessageWithSigners = partiallySignOffchainMessageWithSigners;
|
|
10278
10298
|
exports.partiallySignTransaction = partiallySignTransaction;
|