shinjuku-shielded 0.3.67 → 0.3.68
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/manifest.json +4 -4
- package/package.json +3 -3
- package/shinjuku-wallet.mjs +7 -1
package/manifest.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "carbon-shielded-wallet/bundle-manifest/v1",
|
|
3
3
|
"file": "shinjuku-wallet.mjs",
|
|
4
|
-
"sha256": "
|
|
5
|
-
"bytes":
|
|
6
|
-
"sourceCommit": "
|
|
4
|
+
"sha256": "3d64f9b47b1139c42d3a2ff22642951710beeb669bf633b934b31419e94cc843",
|
|
5
|
+
"bytes": 12187129,
|
|
6
|
+
"sourceCommit": "8fd3e9152a6ef43a73769ded07e2cfa23c03615b",
|
|
7
7
|
"sourceDirty": false,
|
|
8
8
|
"installRecordMatchesLockfile": true,
|
|
9
9
|
"releaseRule": "valid only when two fresh npm ci --ignore-scripts builds on different OSes give the same sha256; installRecordMatchesLockfile true means every entry npm installed equals its package-lock.json entry and every entry not marked optional, devOptional included, is installed: an optional entry (a package for another platform) may be absent",
|
|
@@ -1282,5 +1282,5 @@
|
|
|
1282
1282
|
"version": "1.8.0"
|
|
1283
1283
|
}
|
|
1284
1284
|
],
|
|
1285
|
-
"publishedAt": "2026-10-
|
|
1285
|
+
"publishedAt": "2026-10-22T13:57:14.597Z"
|
|
1286
1286
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shinjuku-shielded",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.68",
|
|
4
4
|
"mcpName": "io.github.ShinjukuStaition/shinjuku-mcp",
|
|
5
5
|
"description": "Shinjuku Shielded, the private x402 facilitator on Solana: the self-custody wallet CLI and its MCP server. Shield, pay, and unshield USDC from any MCP agent, under caps you set.",
|
|
6
|
-
"shinjukuRelease": "
|
|
7
|
-
"shinjukuSha256": "
|
|
6
|
+
"shinjukuRelease": "3d64f9b4",
|
|
7
|
+
"shinjukuSha256": "3d64f9b47b1139c42d3a2ff22642951710beeb669bf633b934b31419e94cc843",
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
9
9
|
"author": "Shinjuku Shielded",
|
|
10
10
|
"homepage": "https://github.com/ShinjukuStaition/shinjuku-mcp#readme",
|
package/shinjuku-wallet.mjs
CHANGED
|
@@ -65046,6 +65046,8 @@ var init_errorCodes = __esm({
|
|
|
65046
65046
|
"quote_commitment_mismatch",
|
|
65047
65047
|
"quote_expired",
|
|
65048
65048
|
"quote_expired_before_submission",
|
|
65049
|
+
// An idle float merge gave way to a buyer payment before its send (payResource deps.yieldBeforeSend).
|
|
65050
|
+
"yielded_before_submission",
|
|
65049
65051
|
"quote_life_short_requote",
|
|
65050
65052
|
"quote_file_invalid_json",
|
|
65051
65053
|
"quote_file_required",
|
|
@@ -98020,6 +98022,10 @@ async function payResourceOnce({
|
|
|
98020
98022
|
walkHistory: finality.walkHistory
|
|
98021
98023
|
});
|
|
98022
98024
|
mark("submit-refused-checked");
|
|
98025
|
+
if (record.refused === void 0 && deps.yieldBeforeSend?.() === true) {
|
|
98026
|
+
mark("submit-yielded");
|
|
98027
|
+
fail19("yielded_before_submission");
|
|
98028
|
+
}
|
|
98023
98029
|
}
|
|
98024
98030
|
const landed = record.refused?.landed !== void 0;
|
|
98025
98031
|
const shortHeader = record.state !== "submitted" && !landed ? await deps.memoUpload?.shortHeader(record.paymentHeader) : void 0;
|
|
@@ -102123,7 +102129,7 @@ function createAnchorReader({ connection, profile }) {
|
|
|
102123
102129
|
if (requireCapacity && (state.terminal || state.paymentCount >= state.policy.maxPayments)) fail21("pool_not_ready");
|
|
102124
102130
|
const chainTimestamp = clock2.data.readBigInt64LE(32);
|
|
102125
102131
|
if (chainTimestamp < 0n) fail21("chain_clock_invalid");
|
|
102126
|
-
const anchors = state.
|
|
102132
|
+
const anchors = state.validAnchors.map((a) => ({ epoch: a.epoch, anchorIndex: a.index, anchorRoot: bigint(a.root) }));
|
|
102127
102133
|
const current = anchors.find((a) => a.epoch === chainTimestamp / 300n);
|
|
102128
102134
|
if (requireCapacity && !current) fail21("anchor_not_ready");
|
|
102129
102135
|
const selected = current ?? anchors[0];
|