dexie-cloud-addon 4.2.0-alpha.1 → 4.2.0-alpha.3

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,5 +1,5 @@
1
1
  import { Subject } from "rxjs";
2
- import { Doc as YjsDoc } from "yjs";
2
+ import type * as Y from "yjs";
3
3
  /** A property (package-private) on Y.Doc that is used
4
4
  * to signal that the server wants us to send a 'doc-open' message
5
5
  * to the server for this document.
@@ -7,4 +7,4 @@ import { Doc as YjsDoc } from "yjs";
7
7
  * @param doc
8
8
  * @returns
9
9
  */
10
- export declare function getOpenDocSignal(doc: YjsDoc): Subject<void>;
10
+ export declare function getOpenDocSignal(doc: Y.Doc): Subject<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dexie-cloud-addon",
3
- "version": "4.2.0-alpha.1",
3
+ "version": "4.2.0-alpha.3",
4
4
  "description": "Dexie addon that syncs with to Dexie Cloud",
5
5
  "main": "dist/umd/dexie-cloud-addon.js",
6
6
  "type": "module",
@@ -89,8 +89,8 @@
89
89
  "rxjs": "^7.x",
90
90
  "yjs": "^13.6.27",
91
91
  "y-protocols": "^1.0.6",
92
- "y-dexie": "^4.2.0-alpha.2",
93
- "dexie-cloud-common": "^1.0.52"
92
+ "dexie-cloud-common": "^1.0.52",
93
+ "y-dexie": "^4.2.0-alpha.3"
94
94
  },
95
95
  "peerDependencies": {
96
96
  "dexie": "^4.2.0-alpha.1"
@@ -1,2 +0,0 @@
1
- import Dexie from "dexie";
2
- export declare function dbOnClosed(db: Dexie, handler: () => void): () => void;
@@ -1,3 +0,0 @@
1
- import type * as Y from 'yjs';
2
- import type { DexieCloudDB } from '../db/DexieCloudDB';
3
- export declare function $Y(db: DexieCloudDB): typeof Y;
@@ -1 +0,0 @@
1
- export declare function importDexieYProvider(): typeof import("y-dexie").DexieYProvider;
@@ -1,2 +0,0 @@
1
- import Dexie from "dexie";
2
- export declare function dbOnClosed(db: Dexie, handler: () => void): () => void;
@@ -1,3 +0,0 @@
1
- import type * as Y from 'yjs';
2
- import type { DexieCloudDB } from '../db/DexieCloudDB';
3
- export declare function $Y(db: DexieCloudDB): typeof Y;
@@ -1 +0,0 @@
1
- export declare function importDexieYProvider(): typeof import("y-dexie").DexieYProvider;