@payclaw/badge 0.5.0 → 0.5.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.
- package/README.md +6 -0
- package/dist/index.js +0 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -26,6 +26,12 @@ Add to your MCP client config:
|
|
|
26
26
|
|
|
27
27
|
No API key required. On first use, your agent will show a code and URL — approve on your phone in one tap, and your Consent Key is stored. Optional: set `PAYCLAW_API_KEY` for existing accounts (backward compatible).
|
|
28
28
|
|
|
29
|
+
### Node version
|
|
30
|
+
|
|
31
|
+
Badge requires **Node.js 20 or newer**. Node 18 is end-of-life and unsupported.
|
|
32
|
+
|
|
33
|
+
If you see engine or compatibility errors: `node -v` — install Node 20+ from [nodejs.org](https://nodejs.org/) or `nvm install 20`.
|
|
34
|
+
|
|
29
35
|
## UCP Identity Linking
|
|
30
36
|
|
|
31
37
|
Badge is a [UCP (Universal Commerce Protocol)](https://ucp.dev) Credential Provider. Merchants who declare the PayClaw identity extension signal to every UCP-compliant agent that authorized agents are preferred at their store.
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payclaw/badge",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Prove your agent is an authorized actor, not a bot. MCP-native identity declaration for agent commerce.",
|
|
5
5
|
"bin": "dist/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"engines": {
|
|
9
|
-
"node": ">=
|
|
9
|
+
"node": ">=20.0.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"LICENSE"
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
|
-
"build": "tsc && node -e \"const fs=require('fs');const f='dist/index.js';fs.
|
|
17
|
+
"build": "tsc && node -e \"const fs=require('fs');const f='dist/index.js';fs.chmodSync(f,0o755)\"",
|
|
18
18
|
"dev": "tsc --watch",
|
|
19
19
|
"prepublishOnly": "npm run build"
|
|
20
20
|
},
|