shinjuku-shield 0.3.228 → 0.3.229

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.228. The command is `shinjuku`.
8
+ This is version 0.3.229. The command is `shinjuku`.
9
9
 
10
10
  ## Set up
11
11
 
12
12
  ```sh
13
- npx -y shinjuku@0.3.228 setup
13
+ npx -y shinjuku setup
14
14
  ```
15
15
 
16
16
  Setup does every step for you:
@@ -100,7 +100,7 @@ Add it yourself. The name of the wallet in your app is `shinjuku`.
100
100
  Claude Code:
101
101
 
102
102
  ```sh
103
- claude mcp add --scope user shinjuku -- npx -y --prefer-offline --no-audit --no-fund shinjuku-shield@0.3.228 mcp
103
+ claude mcp add --scope user shinjuku -- npx -y --prefer-offline --no-audit --no-fund shinjuku-shield@0.3.229 mcp
104
104
  ```
105
105
 
106
106
  `--prefer-offline` runs the copy of the wallet that npm saved. If npm has not saved it yet, that start asks
@@ -119,7 +119,7 @@ with the Releases table in
119
119
  Versions are published from GitHub Actions with npm provenance.
120
120
 
121
121
  `shinjuku-shield` is the package that holds the wallet. `shinjuku-shielded`
122
- 0.3.228, its older name, runs this package at the same version, so wallets
122
+ 0.3.229, its older name, runs this package at the same version, so wallets
123
123
  installed under that name keep updating. New installs use `shinjuku`.
124
124
 
125
125
  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": "d05836aadc125852fc8e8753e062e73a432bad67f57f843b5492907318d72a18",
5
- "bytes": 10368741,
6
- "sourceCommit": "ab61d232fae20fd1dd74afa72bbebb3e51df3db3",
4
+ "sha256": "d1859cdae27b3112ecce9c30b41b832a39f01811e03dfb37270eb692e5ddbce2",
5
+ "bytes": 10368772,
6
+ "sourceCommit": "bc9e53c0e6262813cb57e818644f7ac92abbcae2",
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",
@@ -1968,5 +1968,5 @@
1968
1968
  }
1969
1969
  ]
1970
1970
  },
1971
- "publishedAt": "2026-11-12T22:42:02.000Z"
1971
+ "publishedAt": "2026-11-13T00:32:13.475Z"
1972
1972
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "shinjuku-shield",
3
- "version": "0.3.228",
3
+ "version": "0.3.229",
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": "d05836aa",
7
- "shinjukuSha256": "d05836aadc125852fc8e8753e062e73a432bad67f57f843b5492907318d72a18",
6
+ "shinjukuRelease": "d1859cda",
7
+ "shinjukuSha256": "d1859cdae27b3112ecce9c30b41b832a39f01811e03dfb37270eb692e5ddbce2",
8
8
  "license": "SEE LICENSE IN LICENSE.txt",
9
9
  "author": "Shinjuku Shield",
10
10
  "homepage": "https://github.com/ShinjukuStaition/shinjuku-shield#readme",
@@ -57969,11 +57969,11 @@ function updateCommandLine(words2, npmVersion) {
57969
57969
  const version3 = knownNpmVersion(npmVersion);
57970
57970
  return `take the newest version in the Releases table at ${RELEASES_URL} and run ${["npx", "-y", ...NPX_INSTALL_FLAGS, `${NPX_PACKAGE}@<that version>`, words2].filter(Boolean).join(" ")}` + (version3 ? ` (only a version newer than ${version3}, the one that runs now, is an update)` : "");
57971
57971
  }
57972
- function installCommandText(npmVersion) {
57973
- return ["npm", "install", "-g", ...NPX_INSTALL_FLAGS, installPackageWord(npmVersion)].join(" ");
57972
+ function installCommandText() {
57973
+ return ["npm", "install", "-g", ...NPX_INSTALL_FLAGS, COMMAND_PACKAGE].join(" ");
57974
57974
  }
57975
- function terminalUseLines(npmVersion) {
57976
- return ["To type shinjuku balance and the other commands in a terminal, install the shinjuku command once:", ` ${installCommandText(npmVersion)}`];
57975
+ function terminalUseLines() {
57976
+ return ["To type shinjuku balance and the other commands in a terminal, install the shinjuku command once:", ` ${installCommandText()}`];
57977
57977
  }
57978
57978
  function mcpServerEntry({ home, platform = process.platform, npmVersion, path, tor } = {}) {
57979
57979
  const npx = ["npx", "-y", ...NPX_INSTALL_FLAGS, ...npmPrefixArgs(home, platform), npxPackageWord(npmVersion), "mcp"];
@@ -59976,7 +59976,7 @@ function agentCommandLine(words2, { npmVersion = ownNpmVersion(), code: code2 =
59976
59976
  const other = installedCommand({ env, platform });
59977
59977
  if (other?.version && other.name !== COMMAND_PACKAGE) return mark(oneTimeCommandLine(words2, npmVersion).trimEnd());
59978
59978
  if (windowsNpmFolderOffPath({ env, platform })) return mark(oneTimeCommandLine(words2, npmVersion).trimEnd());
59979
- return `${mark(installCommandText(npmVersion))} once (it installs the ${COMMAND_PACKAGE} command), then ${line}`;
59979
+ return `${mark(installCommandText())} once (it installs the ${COMMAND_PACKAGE} command), then ${line}`;
59980
59980
  }
59981
59981
  function windowsNpmFolderOffPath({ env = process.env, platform = process.platform } = {}) {
59982
59982
  if (platform !== "win32") return null;
@@ -59995,7 +59995,7 @@ function terminalUseLinesHere(npmVersion, options = {}) {
59995
59995
  ` ${oneTimeCommandLine("balance", npmVersion)}`
59996
59996
  ];
59997
59997
  }
59998
- if (!windowsNpmFolderOffPath(options)) return terminalUseLines(npmVersion);
59998
+ if (!windowsNpmFolderOffPath(options)) return terminalUseLines();
59999
59999
  return [
60000
60000
  "This Windows account does not find commands that npm installs, so type the longer command, for example:",
60001
60001
  ` ${oneTimeCommandLine("balance", npmVersion)}`
@@ -60074,7 +60074,7 @@ function olderInstalledCommand(npmVersion = ownNpmVersion(), options = {}) {
60074
60074
  installed: found.version,
60075
60075
  current: npmVersion,
60076
60076
  plain,
60077
- line: plain ? installCommandText(npmVersion) : oneTimeCommandLine("setup", npmVersion)
60077
+ line: plain ? installCommandText() : oneTimeCommandLine("setup", npmVersion)
60078
60078
  };
60079
60079
  }
60080
60080
  var versionSource, ownNpmVersion, runningNpmVersion, NPM_RUN_FOLDER, isRunnable, kept, keptSame, folderKey2, pathStepSaid, scriptsBlocked, OWN_PACKAGES, readPackage;
@@ -157992,7 +157992,7 @@ parentPort.once("message", () => { for (;;) {
157992
157992
  installed: older.installed,
157993
157993
  current: older.current,
157994
157994
  command: older.line,
157995
- detail: `Tell the user: the shinjuku command on this computer is version ${older.installed}, older than this wallet (${older.current}). To update it, run this once in a terminal${older.plain ? "" : " (it asks before it updates the command)"}:
157995
+ detail: `Tell the user: the shinjuku command on this computer is version ${older.installed}, older than this wallet (${older.current}). To update it${older.plain ? " to the newest stable version" : ""}, run this once in a terminal${older.plain ? "" : " (it asks before it updates the command)"}:
157996
157996
  ${older.line}`
157997
157997
  });
157998
157998
  LAUNCH_NOTICE_TOOLS = Object.freeze(["wallet_balance", "wallet_status"]);
@@ -175116,7 +175116,7 @@ function commandUseLinesOnly(npmVersion) {
175116
175116
  if (!commandOnPath()) return terminalUseLinesHere(npmVersion);
175117
175117
  const older = npmVersion ? olderInstalledCommand(npmVersion) : void 0;
175118
175118
  if (!older) return ["In a terminal, run shinjuku help to see every command."];
175119
- return [`The shinjuku command on this computer is version ${older.installed}; this wallet is version ${older.current}. To update the command, run${older.plain ? "" : " this (it asks before it updates the command)"}:`, ` ${older.line}`];
175119
+ return [`The shinjuku command on this computer is version ${older.installed}; this wallet is version ${older.current}. To update the command${older.plain ? " to the newest stable version" : ""}, run${older.plain ? "" : " this (it asks before it updates the command)"}:`, ` ${older.line}`];
175120
175120
  }
175121
175121
  var SETUP_WAIT_LINE = "Another setup of this wallet is running now (in another window or app). This setup waits for it to end, then goes on. If the other window waits for an answer, answer it there or close it.";
175122
175122
  var SETUP_WAIT_TEXT = `${SETUP_WAIT_LINE} Press Ctrl+C to stop waiting.