@lemmaoracle/x402 0.1.5 → 0.1.6
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 +1 -1
- package/package.json +8 -2
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ After each x402 settlement, the augmented `x402ResourceServer` automatically tri
|
|
|
72
72
|
|
|
73
73
|
## ZK Circuit
|
|
74
74
|
|
|
75
|
-
This package includes a [Circom circuit](
|
|
75
|
+
This package includes a [Circom circuit](https://github.com/lemmaoracle/lemma/blob/main/packages/x402/circuits/README.md) (`circuits/payment.circom`) that generates a Groth16 proof of a valid x402 payment. Commitment: `Poseidon6(txHashLow, txHashHigh, recipientLow, amount, timestamp, minAmount)`.
|
|
76
76
|
|
|
77
77
|
## Development
|
|
78
78
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemmaoracle/x402",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Drop-in replacement for @x402/* with automatic Lemma discovery and proof submission",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/lemmaoracle/lemma.git",
|
|
9
|
+
"directory": "packages/x402"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/lemmaoracle/lemma/tree/main/packages/x402#readme",
|
|
6
12
|
"type": "module",
|
|
7
13
|
"main": "dist/index.js",
|
|
8
14
|
"module": "dist/index.js",
|
|
@@ -51,6 +57,6 @@
|
|
|
51
57
|
"wrangler": "^3.101.0"
|
|
52
58
|
},
|
|
53
59
|
"peerDependencies": {
|
|
54
|
-
"@lemmaoracle/sdk": "^0.0.
|
|
60
|
+
"@lemmaoracle/sdk": "^0.0.21"
|
|
55
61
|
}
|
|
56
62
|
}
|