orez-lite 0.14.0 → 0.14.1

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,3 +1,7 @@
1
+ type OrezSyncCfHostWasmOptions = {
2
+ runtime?: 'node' | 'workerd';
3
+ };
1
4
  /** load Orez Lite and its sync engine into Vite's SSR bundle. */
2
- export declare function orezSyncCfHostWasm(): import("vite").Plugin<any>[];
5
+ export declare function orezSyncCfHostWasm(options?: OrezSyncCfHostWasmOptions): import("vite").Plugin<any>[];
6
+ export {};
3
7
  //# sourceMappingURL=cloudflare-vite-wasm-loader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cloudflare-vite-wasm-loader.d.ts","sourceRoot":"","sources":["../src/cloudflare-vite-wasm-loader.ts"],"names":[],"mappings":"AAEA,iEAAiE;AACjE,wBAAgB,kBAAkB,iCAEjC"}
1
+ {"version":3,"file":"cloudflare-vite-wasm-loader.d.ts","sourceRoot":"","sources":["../src/cloudflare-vite-wasm-loader.ts"],"names":[],"mappings":"AAEA,KAAK,yBAAyB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B,CAAA;AAED,iEAAiE;AACjE,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,yBAA8B,gCAEzE"}
@@ -1,6 +1,6 @@
1
1
  import { orezSyncCfHostWasm as syncCfHostWasm } from 'orez-sync-cf-host/vite-wasm-loader';
2
2
  /** load Orez Lite and its sync engine into Vite's SSR bundle. */
3
- export function orezSyncCfHostWasm() {
4
- return syncCfHostWasm({ noExternal: ['orez-lite'] });
3
+ export function orezSyncCfHostWasm(options = {}) {
4
+ return syncCfHostWasm({ noExternal: ['orez-lite'], runtime: options.runtime });
5
5
  }
6
6
  //# sourceMappingURL=cloudflare-vite-wasm-loader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cloudflare-vite-wasm-loader.js","sourceRoot":"","sources":["../src/cloudflare-vite-wasm-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAEzF,iEAAiE;AACjE,MAAM,UAAU,kBAAkB;IAChC,OAAO,cAAc,CAAC,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,CAAA;AACtD,CAAC"}
1
+ {"version":3,"file":"cloudflare-vite-wasm-loader.js","sourceRoot":"","sources":["../src/cloudflare-vite-wasm-loader.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,cAAc,EAAE,MAAM,oCAAoC,CAAA;AAMzF,iEAAiE;AACjE,MAAM,UAAU,kBAAkB,CAAC,UAAqC,EAAE;IACxE,OAAO,cAAc,CAAC,EAAE,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;AAChF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orez-lite",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "SQLite and Rust sync engine for Zero applications",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -120,10 +120,10 @@
120
120
  "@noble/ciphers": "1.3.0",
121
121
  "@noble/curves": "1.9.7",
122
122
  "@noble/hashes": "1.8.0",
123
- "bedrock-sqlite": "0.14.0",
123
+ "bedrock-sqlite": "0.14.1",
124
124
  "esbuild": "^0.25.0",
125
- "orez-sync-cf-host": "0.14.0",
126
- "orez-sync-executor": "0.14.0"
125
+ "orez-sync-cf-host": "0.14.1",
126
+ "orez-sync-executor": "0.14.1"
127
127
  },
128
128
  "peerDependencies": {
129
129
  "@rocicorp/zero": ">=1.7.0",