@vapi-network/mcp 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +1 -14
package/README.md CHANGED
@@ -174,3 +174,15 @@ entry must pin its EIP-712 domain as `"eip712Domain": { "name": "…", "version"
174
174
  This package is self-custodied software: the encrypted payment key and spend ledger live on your machine. vAPI is discovery only in this lane. Vendors receive only narrowly scoped EIP-3009 authorizations for the exact quoted amount, recipient, token, chain, nonce, and validity window. A stolen unlocked key or passphrase can still drain the wallet, so keep only a small working balance and sweep unused funds back.
175
175
 
176
176
  Back up the encrypted keystore if you need recovery. Losing both the keystore and its backup permanently loses access to its funds; losing the passphrase does too. Never share the decrypted private key.
177
+
178
+ ## Publishing
179
+
180
+ npm reads `package.json` before any `prepack` hook runs, so the manifest cannot be rewritten in
181
+ place. Publish from the staged directory instead:
182
+
183
+ ```bash
184
+ pnpm --filter @vapi-network/mcp publish:npm
185
+ ```
186
+
187
+ That builds, stages `publish/` with an empty `dependencies` map (everything is bundled), runs the
188
+ pack check against the staged tarball, then publishes it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vapi-network/mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Agent Cash: a local-key MCP client for direct x402 payments",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,20 +28,7 @@
28
28
  "import": "./dist/x402.js"
29
29
  }
30
30
  },
31
- "scripts": {
32
- "build": "node scripts/build.mjs",
33
- "prepack": "pnpm build && node scripts/prepare-package.mjs",
34
- "postpack": "node scripts/restore-package.mjs",
35
- "pack:check": "node scripts/pack-check.mjs",
36
- "typecheck": "tsc --noEmit",
37
- "test": "vitest run"
38
- },
39
31
  "dependencies": {},
40
- "devDependencies": {
41
- "@types/node": "^22",
42
- "typescript": "^6.0.3",
43
- "vitest": "^4.1.0"
44
- },
45
32
  "engines": {
46
33
  "node": ">=20"
47
34
  },