@aztec/sqlite3mc-wasm 5.0.0-rc.1 → 5.0.0-rc.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @aztec/sqlite3mc-wasm
2
2
 
3
- SQLite3 Multiple Ciphers v2.2.4 (based on SQLite 3.50.4) packaged as a WASM
3
+ SQLite3 Multiple Ciphers v2.3.5 (based on SQLite 3.53.2) packaged as a WASM
4
4
  module.
5
5
 
6
6
  Upstream: https://github.com/utelle/SQLite3MultipleCiphers
@@ -21,7 +21,7 @@ Upstream WASM/JS artifacts under `vendor/jswasm/` are fetched at build time. The
21
21
  |-----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
22
22
  | `.gitignore` | Allowlist that keeps the rest of `vendor/jswasm/` out of git |
23
23
  | `SHA256SUMS` | Per-file integrity manifest. Pinned at vendoring time; verified at every build |
24
- | `sqlite3-bundler-friendly.d.mts` | Locally-authored TypeScript declaration companion for the upstream `.mjs`. Required by TS NodeNext module resolution. |
24
+ | `sqlite3.d.mts` | Locally-authored TypeScript declaration companion for the upstream `sqlite3.mjs`. Required by TS NodeNext module resolution. |
25
25
 
26
26
  Everything else in `vendor/jswasm/` (the actual `.wasm`, `.mjs`, `.js`) is populated by `scripts/vendor.sh`, which is
27
27
  invoked from `yarn-project/bootstrap.sh` before any package compiles. It downloads the upstream release zip, verifies
@@ -31,9 +31,9 @@ files come back via the build cache without re-fetching from upstream.
31
31
  The pinned upstream version lives in `scripts/vendor.pin`:
32
32
 
33
33
  ```sh
34
- MC_VERSION=2.2.4
35
- SQLITE_VERSION=3.50.4
36
- SHA256=e73514200d76286d7d4a239589589b4f64d24ac4f4f7b2760e1f07b14ac5f6a5
34
+ MC_VERSION=2.3.5
35
+ SQLITE_VERSION=3.53.2
36
+ SHA256=3d0d5ebe4c54a9a22012410726ecef711e4e3e15ec11dffddf09488c72a10670
37
37
  ```
38
38
 
39
39
  ## Verification (full chain)
@@ -79,7 +79,7 @@ unzip -q /tmp/sqlite3mc.zip -d /tmp/sqlite3mc-check
79
79
  (cd /tmp/sqlite3mc-check/sqlite3mc-wasm-* && cd jswasm && sha256sum -- * | sort -k2) > /tmp/upstream-sums
80
80
 
81
81
  # Compare against repo's SHA256SUMS, excluding our locally-authored d.mts
82
- grep -v 'sqlite3-bundler-friendly\.d\.mts' vendor/jswasm/SHA256SUMS | sort -k2 > /tmp/repo-sums
82
+ grep -v 'sqlite3\.d\.mts' vendor/jswasm/SHA256SUMS | sort -k2 > /tmp/repo-sums
83
83
  diff /tmp/upstream-sums /tmp/repo-sums
84
84
  ```
85
85
 
package/dest/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Re-exports sqlite3mc's bundler-friendly ES module default (sqlite3InitModule)
3
- * and the TypeScript types expected by downstream consumers. Mirrors the
4
- * `@sqlite.org/sqlite-wasm` package default export sqlite3mc is a strict
5
- * API-compatible superset, so upstream types apply unchanged.
6
- */ export { default } from '../vendor/jswasm/sqlite3-bundler-friendly.mjs';
2
+ * Re-exports sqlite3mc's ES module default (sqlite3InitModule) and the TypeScript types expected by downstream
3
+ * consumers. Mirrors the `@sqlite.org/sqlite-wasm` package default export sqlite3mc is a strict API-compatible
4
+ * superset, so upstream types apply unchanged.
5
+ */ export { default } from '../vendor/jswasm/sqlite3.mjs';
@@ -1,9 +1,8 @@
1
1
  /**
2
- * Re-exports sqlite3mc's bundler-friendly ES module default (sqlite3InitModule)
3
- * and the TypeScript types expected by downstream consumers. Mirrors the
4
- * `@sqlite.org/sqlite-wasm` package default export sqlite3mc is a strict
5
- * API-compatible superset, so upstream types apply unchanged.
2
+ * Re-exports sqlite3mc's ES module default (sqlite3InitModule) and the TypeScript types expected by downstream
3
+ * consumers. Mirrors the `@sqlite.org/sqlite-wasm` package default export sqlite3mc is a strict API-compatible
4
+ * superset, so upstream types apply unchanged.
6
5
  */
7
- export { default } from '../vendor/jswasm/sqlite3-bundler-friendly.mjs';
6
+ export { default } from '../vendor/jswasm/sqlite3.mjs';
8
7
  export type { Database, SAHPoolUtil, Sqlite3Static } from '@sqlite.org/sqlite-wasm';
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7R0FLRztBQUNILE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSwrQ0FBK0MsQ0FBQztBQUN4RSxZQUFZLEVBQUUsUUFBUSxFQUFFLFdBQVcsRUFBRSxhQUFhLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQyJ9
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7OztHQUlHO0FBQ0gsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ3ZELFlBQVksRUFBRSxRQUFRLEVBQUUsV0FBVyxFQUFFLGFBQWEsRUFBRSxNQUFNLHlCQUF5QixDQUFDIn0=
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,+CAA+C,CAAC;AACxE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/sqlite3mc-wasm",
3
- "version": "5.0.0-rc.1",
3
+ "version": "5.0.0-rc.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
package/src/index.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  /**
2
- * Re-exports sqlite3mc's bundler-friendly ES module default (sqlite3InitModule)
3
- * and the TypeScript types expected by downstream consumers. Mirrors the
4
- * `@sqlite.org/sqlite-wasm` package default export sqlite3mc is a strict
5
- * API-compatible superset, so upstream types apply unchanged.
2
+ * Re-exports sqlite3mc's ES module default (sqlite3InitModule) and the TypeScript types expected by downstream
3
+ * consumers. Mirrors the `@sqlite.org/sqlite-wasm` package default export sqlite3mc is a strict API-compatible
4
+ * superset, so upstream types apply unchanged.
6
5
  */
7
- export { default } from '../vendor/jswasm/sqlite3-bundler-friendly.mjs';
6
+ export { default } from '../vendor/jswasm/sqlite3.mjs';
8
7
  export type { Database, SAHPoolUtil, Sqlite3Static } from '@sqlite.org/sqlite-wasm';
@@ -1,11 +1,11 @@
1
- 812bca8052d0e43bd8668dbd99430ee76c1cbd1be2d42087590c5c29018083c7 sqlite3-bundler-friendly.d.mts
2
- 85b8e8eb2b63ec08e106f82820a1942a07651c15a6204bc2c3510138a43b36bd sqlite3-bundler-friendly.mjs
3
- f07714bd13b703c1917b02e73f4b3a8514c2b37e2b00afe1375d4a30faa2461d sqlite3-node.mjs
4
- fc499c666c095929b5614dfa34d3f6e01cff77df2ea98abade30de97ac8db324 sqlite3-opfs-async-proxy.js
5
- 9386ab42a3fe80fddf21e5651aa898eb1a674355b070f6d1338d93ebbc6779c6 sqlite3-worker1-bundler-friendly.mjs
6
- ff0581756d86ca1397ce3f53810c29af1d8db34c4814e77271f85d4d11df108f sqlite3-worker1-promiser.js
7
- e1f0b46abdc61b45b9f64bc522324ccddfe385308ef772eef054e66ba3b013f8 sqlite3-worker1-promiser.mjs
1
+ 4ea2bcbd715b0d56089fc871ea241f8c5985d8669d1ddecaab4d56a8da806ce9 sqlite3-opfs-async-proxy.js
2
+ c043fcfadc1ded8e248ef032a27b6fcda4d66f9eee4b2a27acba02b85d17764f sqlite3-worker1-bundler-friendly.mjs
3
+ 349fc2eb7eb4fbe8b6a14779b5144f7506d3b0e14bf6385062a11013cb63d5fe sqlite3-worker1-promiser-bundler-friendly.mjs
4
+ 552fd74e051da915335eedfed5eb5c025103ad52dd3535e406ee0aabe8b43a57 sqlite3-worker1-promiser.js
5
+ 4a73a2d1c105190ac8eb58572d5a4280f04baba0bae28d8e7a8fc33d9d23750b sqlite3-worker1-promiser.mjs
8
6
  1bed25837f00f7b68943cfcabed62dfd202cae863a72af24a0d6487d7d7b0e61 sqlite3-worker1.js
9
- 0c473584c02a07793b3c320e166c25aead8131880d5ae3e719f976ccc5081fa0 sqlite3.js
10
- 4677d6c8e66fe99c29307fe2b782fce83272b760a3a617202fae8e3f3434dab5 sqlite3.mjs
11
- e0e94e4ac5221c19aefe7e59fe88ceab93bff56ec1d966c21c6cf39ac0f26735 sqlite3.wasm
7
+ aeeb5f492b283a00fe275bd667711031c72b5acc45b06483b527d62f6f9cc28b sqlite3-worker1.mjs
8
+ ed52a9f3ae2f29865ec5ba502302ef3df2ff70cb4a427733c721f2dda0a5effb sqlite3.d.mts
9
+ df462b605bf855e3415aace4e5db413fcde2234a7bf80a388b641405bdd45668 sqlite3.js
10
+ 802291c5578f935da7138689fc73deddd1a0880c7082595d7498eeaa5f8126c3 sqlite3.mjs
11
+ e7600bc6d59b1459362c8c2d4686f733e26d58041b3cdc599929661ecfeb21ae sqlite3.wasm