@evolu/web 2.1.0 → 2.2.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,4 +1,4 @@
1
- export * from "./Evolu/index.js";
1
+ export * from "./local-first/index.js";
2
2
  export * from "./SharedWebWorker.js";
3
3
  export * from "./WasmSqliteDriver.js";
4
4
  export * from "./WebWorker.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC"}
package/dist/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./Evolu/index.js";
1
+ export * from "./local-first/index.js";
2
2
  export * from "./SharedWebWorker.js";
3
3
  export * from "./WasmSqliteDriver.js";
4
4
  export * from "./WebWorker.js";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Db.worker.d.ts","sourceRoot":"","sources":["../../../src/local-first/Db.worker.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { createConsole, createRandom, createRandomBytes, createTime, createWebSocket, } from "@evolu/common";
2
- import { createDbWorkerForPlatform } from "@evolu/common/evolu";
2
+ import { createDbWorkerForPlatform } from "@evolu/common/local-first";
3
3
  import { createWasmSqliteDriver } from "../WasmSqliteDriver.js";
4
4
  import { wrapWebWorkerSelf } from "../WebWorker.js";
5
5
  const dbWorker = createDbWorkerForPlatform({
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LocalAuth.d.ts","sourceRoot":"","sources":["../../../src/local-first/LocalAuth.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAIV,aAAa,EACb,cAAc,EACd,kBAAkB,EACnB,MAAM,eAAe,CAAC;AAGvB,oBAAoB;AACpB,eAAO,MAAM,mBAAmB,GAC9B,MAAM,cAAc,GAAG,kBAAkB,KACxC,aA4GD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ReloadApp } from "@evolu/common/local-first";
2
+ export declare const reloadApp: ReloadApp;
3
+ //# sourceMappingURL=Platform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Platform.d.ts","sourceRoot":"","sources":["../../../src/local-first/Platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,eAAO,MAAM,SAAS,EAAE,SAMvB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { EvoluDeps } from "@evolu/common/evolu";
1
+ import { EvoluDeps } from "@evolu/common/local-first";
2
2
  export declare const localAuth: import("@evolu/common").LocalAuth;
3
3
  export declare const evoluWebDeps: EvoluDeps;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/local-first/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,SAAS,EACV,MAAM,2BAA2B,CAAC;AAiBnC,eAAO,MAAM,SAAS,mCAGpB,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,SAM1B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evolu/web",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "description": "Evolu for web",
5
5
  "keywords": [
6
6
  "evolu",
@@ -37,11 +37,11 @@
37
37
  "typescript": "^5.9.2",
38
38
  "user-agent-data-types": "^0.4.2",
39
39
  "vitest": "^4.0.4",
40
- "@evolu/common": "7.1.0",
40
+ "@evolu/common": "7.2.1",
41
41
  "@evolu/tsconfig": "0.0.2"
42
42
  },
43
43
  "peerDependencies": {
44
- "@evolu/common": "^7.1.0"
44
+ "@evolu/common": "^7.2.1"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./Evolu/index.js";
1
+ export * from "./local-first/index.js";
2
2
  export * from "./SharedWebWorker.js";
3
3
  export * from "./WasmSqliteDriver.js";
4
4
  export * from "./WebWorker.js";
@@ -5,7 +5,7 @@ import {
5
5
  createTime,
6
6
  createWebSocket,
7
7
  } from "@evolu/common";
8
- import { createDbWorkerForPlatform } from "@evolu/common/evolu";
8
+ import { createDbWorkerForPlatform } from "@evolu/common/local-first";
9
9
  import { createWasmSqliteDriver } from "../WasmSqliteDriver.js";
10
10
  import { wrapWebWorkerSelf } from "../WebWorker.js";
11
11
 
@@ -1,4 +1,4 @@
1
- import { ReloadApp } from "@evolu/common/evolu";
1
+ import { ReloadApp } from "@evolu/common/local-first";
2
2
 
3
3
  export const reloadApp: ReloadApp = (url: string) => {
4
4
  if (typeof document === "undefined") {
@@ -10,7 +10,7 @@ import {
10
10
  DbWorkerInput,
11
11
  DbWorkerOutput,
12
12
  EvoluDeps,
13
- } from "@evolu/common/evolu";
13
+ } from "@evolu/common/local-first";
14
14
  import { createSharedWebWorker } from "../SharedWebWorker.js";
15
15
  import { createWebAuthnStore } from "./LocalAuth.js";
16
16
  import { reloadApp } from "./Platform.js";
@@ -1 +0,0 @@
1
- {"version":3,"file":"Db.worker.d.ts","sourceRoot":"","sources":["../../../src/Evolu/Db.worker.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocalAuth.d.ts","sourceRoot":"","sources":["../../../src/Evolu/LocalAuth.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAIV,aAAa,EACb,cAAc,EACd,kBAAkB,EACnB,MAAM,eAAe,CAAC;AAGvB,oBAAoB;AACpB,eAAO,MAAM,mBAAmB,GAC9B,MAAM,cAAc,GAAG,kBAAkB,KACxC,aA4GD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ReloadApp } from "@evolu/common/evolu";
2
- export declare const reloadApp: ReloadApp;
3
- //# sourceMappingURL=Platform.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Platform.d.ts","sourceRoot":"","sources":["../../../src/Evolu/Platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,SAAS,EAAE,SAMvB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Evolu/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAIL,SAAS,EACV,MAAM,qBAAqB,CAAC;AAiB7B,eAAO,MAAM,SAAS,mCAGpB,CAAC;AAEH,eAAO,MAAM,YAAY,EAAE,SAM1B,CAAC"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes