@qntx/spark-wasm 0.3.0 → 0.5.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.
- package/dist/browser.d.mts +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{integrity-793Q8_IW.mjs → integrity-BP6ziDEM.mjs} +1 -1
- package/dist/{integrity-B8-uNuT9.d.mts → integrity-CY-4f9CZ.d.mts} +1 -1
- package/dist/spark.wasm +0 -0
- package/package.json +2 -2
package/dist/browser.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as LoadSparkWasmOptions, r as WasmPoisonedError, t as SPARK_WASM_INTEGRITY } from "./integrity-
|
|
1
|
+
import { n as LoadSparkWasmOptions, r as WasmPoisonedError, t as SPARK_WASM_INTEGRITY } from "./integrity-CY-4f9CZ.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-
|
|
1
|
+
import { i as instantiateSparkWasm, n as WasmPoisonedError, r as bindSparkExports, t as SPARK_WASM_INTEGRITY } from "./integrity-BP6ziDEM.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-
|
|
1
|
+
import { n as LoadSparkWasmOptions, r as WasmPoisonedError, t as SPARK_WASM_INTEGRITY } from "./integrity-CY-4f9CZ.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-
|
|
1
|
+
import { i as instantiateSparkWasm, n as WasmPoisonedError, r as bindSparkExports, t as SPARK_WASM_INTEGRITY } from "./integrity-BP6ziDEM.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-
|
|
202
|
+
const SPARK_WASM_INTEGRITY = "sha256-PFqThpVpNZHbmIuR13MZqLAupIIhfVcd3nMtB9QMTTE=";
|
|
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-
|
|
26
|
+
declare const SPARK_WASM_INTEGRITY = "sha256-PFqThpVpNZHbmIuR13MZqLAupIIhfVcd3nMtB9QMTTE=";
|
|
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.
|
|
3
|
+
"version": "0.5.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.
|
|
71
|
+
"@qntx/spark": "^0.5.0"
|
|
72
72
|
}
|
|
73
73
|
}
|