nodpay 0.2.1 → 0.2.2

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/SKILL.md +2 -0
  2. package/package.json +4 -1
package/SKILL.md CHANGED
@@ -44,6 +44,8 @@ node -e "const w=require('ethers').Wallet.createRandom();console.log('Address:',
44
44
 
45
45
  Store the private key as `NODPAY_AGENT_KEY` in your environment. The address is your public agent identity.
46
46
 
47
+ **⚠️ Storing the env var may trigger a restart.** Complete all config/env changes and wait for the restart to finish BEFORE sending any message to the user. Do not send messages and update config in parallel — the restart will truncate your message.
48
+
47
49
  ### 2. Send the user a wallet link
48
50
 
49
51
  Replace `YOUR_AGENT_ADDRESS` with your EOA address and send:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodpay",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "NodPay CLI — propose on-chain payments from agent-human shared wallets",
5
5
  "type": "module",
6
6
  "bin": {
@@ -27,6 +27,9 @@
27
27
  ],
28
28
  "author": "xhyumiracle",
29
29
  "license": "MIT",
30
+ "scripts": {
31
+ "postpublish": "curl -s https://purge.jsdelivr.net/npm/nodpay@latest/SKILL.md > /dev/null && echo 'jsdelivr cache purged'"
32
+ },
30
33
  "dependencies": {
31
34
  "@nodpay/core": "^0.1.0",
32
35
  "@safe-global/relay-kit": "^4.1.1",