chit402-verify 0.3.0 → 0.3.4
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 +4 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -68,6 +68,10 @@ curl -s https://api.chit402.com/receipt/task-123?format=json | npx chit402-verif
|
|
|
68
68
|
| 2 | Partial (binding ok, nullifier not checked) |
|
|
69
69
|
| 3 | Input error |
|
|
70
70
|
|
|
71
|
+
## Publish
|
|
72
|
+
|
|
73
|
+
`publishConfig` sets `access` to `public` and does not name an owner. On the registry, `chit402-verify` (latest `0.2.0`) and `@xfuel/verify` (latest `0.2.1`) are both maintained by the npm user `xfuel`. Publish `@xfuel/verify` first. `npm whoami` must print `xfuel`. A `404` on `PUT https://registry.npmjs.org/chit402-verify` is that login, not a missing package and not a new scope: the name already exists.
|
|
74
|
+
|
|
71
75
|
## Documentation
|
|
72
76
|
|
|
73
77
|
- [Chit402 Docs](https://chit402.com)
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chit402-verify",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Chit402 receipt verification — verify payment binding and output commitment offline.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
7
7
|
"bin": {
|
|
8
|
-
"chit402-verify": "
|
|
8
|
+
"chit402-verify": "cli.js"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
},
|
|
51
51
|
"repository": {
|
|
52
52
|
"type": "git",
|
|
53
|
-
"url": "https://github.com/XFuel-Lab/chit402.git",
|
|
53
|
+
"url": "git+https://github.com/XFuel-Lab/chit402.git",
|
|
54
54
|
"directory": "packages/aliases/chit402-verify"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@xfuel/verify": "^0.3.
|
|
57
|
+
"@xfuel/verify": "^0.3.4"
|
|
58
58
|
}
|
|
59
59
|
}
|