@hesohq/verify-wasm 0.1.0-dev.13 → 0.1.0-dev.8
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 +2 -5
- package/heso_wasm.js +2 -5
- package/heso_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/heso_wasm.d.ts
CHANGED
|
@@ -189,11 +189,8 @@ 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
|
-
* BLAKE3 + Ed25519
|
|
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.
|
|
192
|
+
* `verifyReceipt` function in `crypto.ts`, backed by the identical Rust
|
|
193
|
+
* JCS + BLAKE3 + Ed25519 path so Node and browser get byte-identical results.
|
|
197
194
|
*/
|
|
198
195
|
export function verifyActionReceipt(receipt_bytes: Uint8Array): ActionVerdict;
|
|
199
196
|
|
package/heso_wasm.js
CHANGED
|
@@ -638,11 +638,8 @@ 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
|
-
* BLAKE3 + Ed25519
|
|
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.
|
|
641
|
+
* `verifyReceipt` function in `crypto.ts`, backed by the identical Rust
|
|
642
|
+
* JCS + BLAKE3 + Ed25519 path so Node and browser get byte-identical results.
|
|
646
643
|
* @param {Uint8Array} receipt_bytes
|
|
647
644
|
* @returns {ActionVerdict}
|
|
648
645
|
*/
|
package/heso_wasm_bg.wasm
CHANGED
|
Binary file
|