@hesohq/verify-wasm 0.1.0-dev.11 → 0.1.0-dev.13
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/heso_wasm.d.ts +5 -2
- package/heso_wasm.js +5 -2
- package/heso_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/heso_wasm.d.ts
CHANGED
|
@@ -189,8 +189,11 @@ export function validateNoFloorBypass(rules_json: string): void;
|
|
|
189
189
|
*
|
|
190
190
|
* Never panics — structural failures return an `ActionVerdict` with
|
|
191
191
|
* `verdict = "Malformed:…"`. This is the browser replacement for the
|
|
192
|
-
* `verifyReceipt` function in `crypto.ts`, backed by the
|
|
193
|
-
*
|
|
192
|
+
* `verifyReceipt` function in `crypto.ts`, backed by the SAME Rust JCS +
|
|
193
|
+
* BLAKE3 + Ed25519 core as Node for canonicalization, hashing, and signature
|
|
194
|
+
* verification. NOTE: this is NOT byte-identical to Node for EVERY receipt —
|
|
195
|
+
* the `tsa` feature is OFF here, so a TIME-ANCHORED receipt that Node verifies
|
|
196
|
+
* against its TSA stack is handled differently on the browser surface.
|
|
194
197
|
*/
|
|
195
198
|
export function verifyActionReceipt(receipt_bytes: Uint8Array): ActionVerdict;
|
|
196
199
|
|
package/heso_wasm.js
CHANGED
|
@@ -638,8 +638,11 @@ export function validateNoFloorBypass(rules_json) {
|
|
|
638
638
|
*
|
|
639
639
|
* Never panics — structural failures return an `ActionVerdict` with
|
|
640
640
|
* `verdict = "Malformed:…"`. This is the browser replacement for the
|
|
641
|
-
* `verifyReceipt` function in `crypto.ts`, backed by the
|
|
642
|
-
*
|
|
641
|
+
* `verifyReceipt` function in `crypto.ts`, backed by the SAME Rust JCS +
|
|
642
|
+
* BLAKE3 + Ed25519 core as Node for canonicalization, hashing, and signature
|
|
643
|
+
* verification. NOTE: this is NOT byte-identical to Node for EVERY receipt —
|
|
644
|
+
* the `tsa` feature is OFF here, so a TIME-ANCHORED receipt that Node verifies
|
|
645
|
+
* against its TSA stack is handled differently on the browser surface.
|
|
643
646
|
* @param {Uint8Array} receipt_bytes
|
|
644
647
|
* @returns {ActionVerdict}
|
|
645
648
|
*/
|
package/heso_wasm_bg.wasm
CHANGED
|
Binary file
|