insumer-verify 1.0.0 → 1.0.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 +2 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ npm install insumer-verify
|
|
|
16
16
|
import { verifyAttestation } from "insumer-verify";
|
|
17
17
|
|
|
18
18
|
// Call InsumerAPI
|
|
19
|
-
const res = await fetch("https://
|
|
19
|
+
const res = await fetch("https://us-central1-insumer-merchant.cloudfunctions.net/insumerApi/v1/attest", {
|
|
20
20
|
method: "POST",
|
|
21
21
|
headers: {
|
|
22
22
|
"Content-Type": "application/json",
|
|
@@ -54,7 +54,7 @@ if (result.valid) {
|
|
|
54
54
|
<script type="module">
|
|
55
55
|
import { verifyAttestation } from "https://esm.sh/insumer-verify";
|
|
56
56
|
|
|
57
|
-
const res = await fetch("https://
|
|
57
|
+
const res = await fetch("https://us-central1-insumer-merchant.cloudfunctions.net/insumerApi/v1/attest", {
|
|
58
58
|
method: "POST",
|
|
59
59
|
headers: {
|
|
60
60
|
"Content-Type": "application/json",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "insumer-verify",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Reference verifier for InsumerAPI attestations. Validates ECDSA signatures, condition hashes, block freshness, and expiry. Zero dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
|
-
"build"
|
|
15
|
+
"build",
|
|
16
|
+
"README.md"
|
|
16
17
|
],
|
|
17
18
|
"scripts": {
|
|
18
19
|
"build": "tsc",
|