shinjuku-shield 0.3.202 → 0.3.203

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/README.md CHANGED
@@ -5,12 +5,12 @@ web services and AI answers from your private balance, so the payment does
5
5
  not show who paid. It works inside your AI app (Claude, Cursor, Codex) and in
6
6
  a terminal. Only you hold the keys: they never leave your computer.
7
7
 
8
- This is version 0.3.202. The command is `shinjuku`.
8
+ This is version 0.3.203. The command is `shinjuku`.
9
9
 
10
10
  ## Set up
11
11
 
12
12
  ```sh
13
- npx -y shinjuku@0.3.202 setup
13
+ npx -y shinjuku@0.3.203 setup
14
14
  ```
15
15
 
16
16
  Setup does every step for you:
@@ -107,14 +107,14 @@ Add it yourself. The name of the wallet in your app is `shinjuku`.
107
107
  Claude Code:
108
108
 
109
109
  ```sh
110
- claude mcp add --scope user shinjuku -- npx -y --no-audit --no-fund shinjuku-shield@0.3.202 mcp
110
+ claude mcp add --scope user shinjuku -- npx -y --no-audit --no-fund shinjuku-shield@0.3.203 mcp
111
111
  ```
112
112
 
113
113
  In this test version only (not offered yet), the same entry for Claude Desktop
114
114
  (`claude_desktop_config.json`) or Cursor (`~/.cursor/mcp.json`):
115
115
 
116
116
  ```json
117
- { "mcpServers": { "shinjuku": { "command": "npx", "args": ["-y", "--no-audit", "--no-fund", "shinjuku-shield@0.3.202", "mcp"] } } }
117
+ { "mcpServers": { "shinjuku": { "command": "npx", "args": ["-y", "--no-audit", "--no-fund", "shinjuku-shield@0.3.203", "mcp"] } } }
118
118
  ```
119
119
 
120
120
  On Windows, if the app cannot find `npx`, use `"command": "cmd"` and put
@@ -126,7 +126,7 @@ CLI read `~/.codex/config.toml`):
126
126
  ```toml
127
127
  [mcp_servers.shinjuku]
128
128
  command = "npx"
129
- args = ["-y", "--no-audit", "--no-fund", "shinjuku-shield@0.3.202", "mcp"]
129
+ args = ["-y", "--no-audit", "--no-fund", "shinjuku-shield@0.3.203", "mcp"]
130
130
  startup_timeout_sec = 120
131
131
  tool_timeout_sec = 300
132
132
  ```
@@ -144,7 +144,7 @@ with the Releases table in
144
144
  Versions are published from GitHub Actions with npm provenance.
145
145
 
146
146
  `shinjuku-shield` is the package that holds the wallet. `shinjuku-shielded`
147
- 0.3.202, its older name, runs this package at the same version, so wallets
147
+ 0.3.203, its older name, runs this package at the same version, so wallets
148
148
  installed under that name keep updating. New installs use `shinjuku`.
149
149
 
150
150
  The full guide is
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": "70b69f2aadc0757823442d0bc3a0b23409df574750044b69bf9cb4be83095588",
5
- "bytes": 9493365,
6
- "sourceCommit": "76a5965faa96b289821432ad0b444a0b1ad52819",
4
+ "sha256": "b5d26888908f60a311b42d9d0ba42bb5be37f1464a4bdcfe1ef3ea4534363443",
5
+ "bytes": 9493844,
6
+ "sourceCommit": "83c229cc05ec51cbedb6720e31c9f21fb5e8a540",
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",
@@ -1932,5 +1932,5 @@
1932
1932
  }
1933
1933
  ]
1934
1934
  },
1935
- "publishedAt": "2026-11-09T07:04:05.577Z"
1935
+ "publishedAt": "2026-11-09T07:57:59.571Z"
1936
1936
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "shinjuku-shield",
3
- "version": "0.3.202",
3
+ "version": "0.3.203",
4
4
  "mcpName": "io.github.ShinjukuStaition/shinjuku-shield",
5
5
  "description": "Shinjuku Shield, private x402 payments 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": "70b69f2a",
7
- "shinjukuSha256": "70b69f2aadc0757823442d0bc3a0b23409df574750044b69bf9cb4be83095588",
6
+ "shinjukuRelease": "b5d26888",
7
+ "shinjukuSha256": "b5d26888908f60a311b42d9d0ba42bb5be37f1464a4bdcfe1ef3ea4534363443",
8
8
  "license": "SEE LICENSE IN LICENSE.txt",
9
9
  "author": "Shinjuku Shield",
10
10
  "homepage": "https://github.com/ShinjukuStaition/shinjuku-shield#readme",
@@ -106148,11 +106148,23 @@ async function pocketPaymentBlocker({ store, name, record, connection, waitMs, c
106148
106148
  }
106149
106149
  let before;
106150
106150
  for (let page = 0; page < HISTORY_PAGES; page += 1) {
106151
- const list = await connection.getSignaturesForAddress(
106152
- new import_web3116.PublicKey(record.pocketAta),
106153
- { limit: HISTORY_PAGE, minContextSlot: finalizedSlot, ...before ? { before } : {} },
106154
- "finalized"
106155
- );
106151
+ let list;
106152
+ for (; ; ) {
106153
+ try {
106154
+ list = await connection.getSignaturesForAddress(
106155
+ new import_web3116.PublicKey(record.pocketAta),
106156
+ { limit: HISTORY_PAGE, minContextSlot: finalizedSlot, ...before ? { before } : {} },
106157
+ "finalized"
106158
+ );
106159
+ break;
106160
+ } catch (error) {
106161
+ if (error?.code !== MIN_CONTEXT_SLOT_NOT_REACHED) throw error;
106162
+ if (clock2.now() + DEAD_POLL_MS > deadline) {
106163
+ return { why: `its blockhash is proven expired at finalized slot ${finalizedSlot}, but this RPC's history has not reached that slot yet; rerun in a few seconds (nothing is lost)` };
106164
+ }
106165
+ await clock2.sleep(DEAD_POLL_MS);
106166
+ }
106167
+ }
106156
106168
  for (const entry of list) {
106157
106169
  if (lifetime && entry.slot <= Number(lifetime.readAtSlot) || entry.signature === exits.first) return { finalizedSlot };
106158
106170
  if (entry.err !== null || exits.all.has(entry.signature)) continue;