@qntx/spark-wasm 0.2.0 → 0.3.0

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.
@@ -1,4 +1,4 @@
1
- import { n as LoadSparkWasmOptions, r as WasmPoisonedError, t as SPARK_WASM_INTEGRITY } from "./integrity-Chmla-vO.mjs";
1
+ import { n as LoadSparkWasmOptions, r as WasmPoisonedError, t as SPARK_WASM_INTEGRITY } from "./integrity-B8-uNuT9.mjs";
2
2
  import { SparkCrypto } from "@qntx/spark/crypto";
3
3
  //#region src/load.browser.d.ts
4
4
  /**
package/dist/browser.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { i as instantiateSparkWasm, n as WasmPoisonedError, r as bindSparkExports, t as SPARK_WASM_INTEGRITY } from "./integrity-BRgQb-kJ.mjs";
1
+ import { i as instantiateSparkWasm, n as WasmPoisonedError, r as bindSparkExports, t as SPARK_WASM_INTEGRITY } from "./integrity-793Q8_IW.mjs";
2
2
  import { SparkError } from "@qntx/spark/crypto";
3
3
  //#region src/load.browser.ts
4
4
  async function fetchWasmUrl(url) {
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as LoadSparkWasmOptions, r as WasmPoisonedError, t as SPARK_WASM_INTEGRITY } from "./integrity-Chmla-vO.mjs";
1
+ import { n as LoadSparkWasmOptions, r as WasmPoisonedError, t as SPARK_WASM_INTEGRITY } from "./integrity-B8-uNuT9.mjs";
2
2
  import { SparkCrypto } from "@qntx/spark/crypto";
3
3
  //#region src/load.d.ts
4
4
  /**
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { i as instantiateSparkWasm, n as WasmPoisonedError, r as bindSparkExports, t as SPARK_WASM_INTEGRITY } from "./integrity-BRgQb-kJ.mjs";
1
+ import { i as instantiateSparkWasm, n as WasmPoisonedError, r as bindSparkExports, t as SPARK_WASM_INTEGRITY } from "./integrity-793Q8_IW.mjs";
2
2
  import { SparkError } from "@qntx/spark/crypto";
3
3
  //#region src/load.ts
4
4
  async function defaultWasmHref() {
@@ -199,6 +199,6 @@ function bindSparkExports(exports) {
199
199
  * `loadSparkWasm()` without `module` loads `spark.wasm` itself and does NOT verify this hash —
200
200
  * callers that want SRI enforcement must fetch with `integrity` and pass `module`.
201
201
  */
202
- const SPARK_WASM_INTEGRITY = "sha256-ZC0skf3UO/Y0fJJZDzz3Uxy7q2uNEBm8ZJCNXublPn8=";
202
+ const SPARK_WASM_INTEGRITY = "sha256-Ge1DhJu87OH//DsZUQlEBaqDCo1jGxg/hkGP4WHTqB4=";
203
203
  //#endregion
204
204
  export { instantiateSparkWasm as i, WasmPoisonedError as n, bindSparkExports as r, SPARK_WASM_INTEGRITY as t };
@@ -23,6 +23,6 @@ declare class WasmPoisonedError extends SparkCryptoError {
23
23
  * `loadSparkWasm()` without `module` loads `spark.wasm` itself and does NOT verify this hash —
24
24
  * callers that want SRI enforcement must fetch with `integrity` and pass `module`.
25
25
  */
26
- declare const SPARK_WASM_INTEGRITY = "sha256-ZC0skf3UO/Y0fJJZDzz3Uxy7q2uNEBm8ZJCNXublPn8=";
26
+ declare const SPARK_WASM_INTEGRITY = "sha256-Ge1DhJu87OH//DsZUQlEBaqDCo1jGxg/hkGP4WHTqB4=";
27
27
  //#endregion
28
28
  export { LoadSparkWasmOptions as n, WasmPoisonedError as r, SPARK_WASM_INTEGRITY as t };
package/dist/spark.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qntx/spark-wasm",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "spark.wasm SparkCrypto backend — C ABI from crates/spark-ffi, platform-neutral and browser-first",
5
5
  "keywords": [
6
6
  "bitcoin",
@@ -68,6 +68,6 @@
68
68
  "vite-plus": "1.3.0"
69
69
  },
70
70
  "peerDependencies": {
71
- "@qntx/spark": "^0.2.0"
71
+ "@qntx/spark": "^0.3.0"
72
72
  }
73
73
  }