@dabble/patches 0.8.13 → 0.8.15
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/{BaseDoc-BT18xPxU.d.ts → BaseDoc-CD5wZQMm.d.ts} +1 -1
- package/dist/algorithms/ot/server/createVersion.d.ts +1 -1
- package/dist/client/BaseDoc.d.ts +1 -1
- package/dist/client/ClientAlgorithm.d.ts +1 -1
- package/dist/client/LWWAlgorithm.d.ts +1 -1
- package/dist/client/LWWDoc.d.ts +1 -1
- package/dist/client/LWWInMemoryStore.js +8 -0
- package/dist/client/LWWIndexedDBStore.js +12 -2
- package/dist/client/OTAlgorithm.d.ts +1 -1
- package/dist/client/OTDoc.d.ts +1 -1
- package/dist/client/OTInMemoryStore.js +2 -1
- package/dist/client/OTIndexedDBStore.js +5 -2
- package/dist/client/Patches.d.ts +7 -1
- package/dist/client/Patches.js +11 -0
- package/dist/client/PatchesBranchClient.d.ts +1 -1
- package/dist/client/PatchesDoc.d.ts +1 -1
- package/dist/client/factories.d.ts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/net/PatchesSync.d.ts +1 -1
- package/dist/net/PatchesSync.js +22 -3
- package/dist/net/index.d.ts +1 -1
- package/dist/server/branchUtils.d.ts +1 -1
- package/dist/shared/doc-manager.d.ts +1 -1
- package/dist/solid/context.d.ts +1 -1
- package/dist/solid/doc-manager.d.ts +1 -1
- package/dist/solid/index.d.ts +1 -1
- package/dist/solid/primitives.d.ts +1 -1
- package/dist/vue/composables.d.ts +2 -2
- package/dist/vue/doc-manager.d.ts +1 -1
- package/dist/vue/index.d.ts +1 -1
- package/dist/vue/managed-docs.d.ts +2 -2
- package/dist/vue/provider.d.ts +1 -1
- package/package.json +1 -1
|
@@ -237,4 +237,4 @@ declare abstract class BaseDoc<T extends object = object> extends ReadonlyStoreC
|
|
|
237
237
|
abstract import(snapshot: PatchesSnapshot<T>): void;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
export { BaseDoc as B, OTDoc as O, type
|
|
240
|
+
export { BaseDoc as B, OTDoc as O, type PatchesDocOptions as P, type PatchesDoc as a };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OTStoreBackend } from '../../../server/types.js';
|
|
2
|
-
import { EditableVersionMetadata,
|
|
2
|
+
import { EditableVersionMetadata, VersionMetadata, Change } from '../../../types.js';
|
|
3
3
|
import '../../../json-patch/types.js';
|
|
4
4
|
import '../../../json-patch/JSONPatch.js';
|
|
5
5
|
import '@dabble/delta';
|
package/dist/client/BaseDoc.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONPatchOp } from '../json-patch/types.js';
|
|
2
2
|
import { PatchesSnapshot, Change } from '../types.js';
|
|
3
|
-
import {
|
|
3
|
+
import { a as PatchesDoc } from '../BaseDoc-CD5wZQMm.js';
|
|
4
4
|
import { PatchesStore, TrackedDoc } from './PatchesStore.js';
|
|
5
5
|
import '../json-patch/JSONPatch.js';
|
|
6
6
|
import '@dabble/delta';
|
|
@@ -2,7 +2,7 @@ import { JSONPatchOp } from '../json-patch/types.js';
|
|
|
2
2
|
import { PatchesSnapshot, Change } from '../types.js';
|
|
3
3
|
import { ClientAlgorithm } from './ClientAlgorithm.js';
|
|
4
4
|
import { LWWClientStore } from './LWWClientStore.js';
|
|
5
|
-
import {
|
|
5
|
+
import { a as PatchesDoc } from '../BaseDoc-CD5wZQMm.js';
|
|
6
6
|
import { TrackedDoc } from './PatchesStore.js';
|
|
7
7
|
import '../json-patch/JSONPatch.js';
|
|
8
8
|
import '@dabble/delta';
|
package/dist/client/LWWDoc.d.ts
CHANGED
|
@@ -162,6 +162,10 @@ class LWWInMemoryStore {
|
|
|
162
162
|
const buf = this.docs.get(docId);
|
|
163
163
|
if (!buf?.sendingChange) return;
|
|
164
164
|
for (const op of buf.sendingChange.ops) {
|
|
165
|
+
const childPrefix = op.path + "/";
|
|
166
|
+
for (const key of buf.committedFields.keys()) {
|
|
167
|
+
if (key.startsWith(childPrefix)) buf.committedFields.delete(key);
|
|
168
|
+
}
|
|
165
169
|
buf.committedFields.set(op.path, op.value);
|
|
166
170
|
}
|
|
167
171
|
if (buf.sendingChange.rev > buf.committedRev) {
|
|
@@ -176,6 +180,10 @@ class LWWInMemoryStore {
|
|
|
176
180
|
const buf = this.getOrCreateBuffer(docId);
|
|
177
181
|
for (const change of serverChanges) {
|
|
178
182
|
for (const op of change.ops) {
|
|
183
|
+
const childPrefix = op.path + "/";
|
|
184
|
+
for (const key of buf.committedFields.keys()) {
|
|
185
|
+
if (key.startsWith(childPrefix)) buf.committedFields.delete(key);
|
|
186
|
+
}
|
|
179
187
|
buf.committedFields.set(op.path, op.value);
|
|
180
188
|
}
|
|
181
189
|
}
|
|
@@ -245,7 +245,12 @@ const _LWWIndexedDBStore = class _LWWIndexedDBStore {
|
|
|
245
245
|
await tx.complete();
|
|
246
246
|
return;
|
|
247
247
|
}
|
|
248
|
-
await Promise.all(
|
|
248
|
+
await Promise.all(
|
|
249
|
+
sending.change.ops.map(async (op) => {
|
|
250
|
+
await committedOps.delete([docId, op.path + "/"], [docId, op.path + "/\uFFFF"]);
|
|
251
|
+
await committedOps.put({ ...op, docId });
|
|
252
|
+
})
|
|
253
|
+
);
|
|
249
254
|
const rev = sending.change.rev;
|
|
250
255
|
if (rev !== void 0) {
|
|
251
256
|
const docMeta = await docsStore.get(docId) ?? { docId, committedRev: 0, algorithm: "lww" };
|
|
@@ -262,7 +267,12 @@ const _LWWIndexedDBStore = class _LWWIndexedDBStore {
|
|
|
262
267
|
"readwrite"
|
|
263
268
|
);
|
|
264
269
|
const allOps = serverChanges.flatMap((change) => change.ops);
|
|
265
|
-
await Promise.all(
|
|
270
|
+
await Promise.all(
|
|
271
|
+
allOps.map(async (op) => {
|
|
272
|
+
await committedOps.delete([docId, op.path + "/"], [docId, op.path + "/\uFFFF"]);
|
|
273
|
+
await committedOps.put({ ...op, docId });
|
|
274
|
+
})
|
|
275
|
+
);
|
|
266
276
|
const lastCommittedRev = serverChanges.at(-1)?.rev;
|
|
267
277
|
if (lastCommittedRev !== void 0) {
|
|
268
278
|
const docMeta = await docsStore.get(docId) ?? { docId, committedRev: 0, algorithm: "lww" };
|
|
@@ -2,7 +2,7 @@ import { JSONPatchOp } from '../json-patch/types.js';
|
|
|
2
2
|
import { PatchesSnapshot, Change } from '../types.js';
|
|
3
3
|
import { ClientAlgorithm } from './ClientAlgorithm.js';
|
|
4
4
|
import { OTClientStore } from './OTClientStore.js';
|
|
5
|
-
import {
|
|
5
|
+
import { P as PatchesDocOptions, a as PatchesDoc } from '../BaseDoc-CD5wZQMm.js';
|
|
6
6
|
import { TrackedDoc } from './PatchesStore.js';
|
|
7
7
|
import '../json-patch/JSONPatch.js';
|
|
8
8
|
import '@dabble/delta';
|
package/dist/client/OTDoc.d.ts
CHANGED
|
@@ -32,9 +32,10 @@ class OTInMemoryStore {
|
|
|
32
32
|
// ─── Writes ────────────────────────────────────────────────────────────
|
|
33
33
|
async saveDoc(docId, snapshot) {
|
|
34
34
|
const existing = this.docs.get(docId);
|
|
35
|
+
const changes = snapshot.changes;
|
|
35
36
|
this.docs.set(docId, {
|
|
36
37
|
snapshot,
|
|
37
|
-
committed: [],
|
|
38
|
+
committed: changes ? [...changes] : [],
|
|
38
39
|
pending: existing?.pending ?? []
|
|
39
40
|
});
|
|
40
41
|
}
|
|
@@ -116,10 +116,13 @@ const _OTIndexedDBStore = class _OTIndexedDBStore {
|
|
|
116
116
|
"readwrite"
|
|
117
117
|
);
|
|
118
118
|
const { rev, state } = docState;
|
|
119
|
+
const changes = docState.changes;
|
|
120
|
+
const committedRev = changes?.length ? changes[changes.length - 1].rev : rev;
|
|
121
|
+
await committedChanges.delete([docId, 0], [docId, Infinity]);
|
|
119
122
|
await Promise.all([
|
|
120
|
-
docsStore.put({ docId, committedRev
|
|
123
|
+
docsStore.put({ docId, committedRev, algorithm: "ot" }),
|
|
121
124
|
snapshots.put({ docId, state, rev }),
|
|
122
|
-
committedChanges.
|
|
125
|
+
...changes?.map((change) => committedChanges.put({ ...change, docId })) ?? []
|
|
123
126
|
]);
|
|
124
127
|
await tx.complete();
|
|
125
128
|
}
|
package/dist/client/Patches.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Unsubscriber } from 'easy-signal';
|
|
|
3
3
|
import { JSONPatchOp } from '../json-patch/types.js';
|
|
4
4
|
import { Change } from '../types.js';
|
|
5
5
|
import { ClientAlgorithm } from './ClientAlgorithm.js';
|
|
6
|
-
import {
|
|
6
|
+
import { P as PatchesDocOptions, a as PatchesDoc } from '../BaseDoc-CD5wZQMm.js';
|
|
7
7
|
import { AlgorithmName } from './PatchesStore.js';
|
|
8
8
|
import '../json-patch/JSONPatch.js';
|
|
9
9
|
import '@dabble/delta';
|
|
@@ -123,6 +123,12 @@ declare class Patches {
|
|
|
123
123
|
* Should be called when shutting down the client.
|
|
124
124
|
*/
|
|
125
125
|
close(): Promise<void>;
|
|
126
|
+
/**
|
|
127
|
+
* Submits ops for a document through the serialized change queue.
|
|
128
|
+
* Used by PatchesBranchClient to merge branch changes without racing
|
|
129
|
+
* against concurrent user edits on the same document.
|
|
130
|
+
*/
|
|
131
|
+
submitDocChange(docId: string, ops: JSONPatchOp[], metadata?: Record<string, any>): Promise<void>;
|
|
126
132
|
/**
|
|
127
133
|
* Internal handler for doc changes. Called when doc.onChange emits ops.
|
|
128
134
|
* Serializes calls per docId to prevent concurrent handleDocChange from
|
package/dist/client/Patches.js
CHANGED
|
@@ -197,6 +197,17 @@ class Patches {
|
|
|
197
197
|
this.onServerCommit.clear();
|
|
198
198
|
this.onError.clear();
|
|
199
199
|
}
|
|
200
|
+
/**
|
|
201
|
+
* Submits ops for a document through the serialized change queue.
|
|
202
|
+
* Used by PatchesBranchClient to merge branch changes without racing
|
|
203
|
+
* against concurrent user edits on the same document.
|
|
204
|
+
*/
|
|
205
|
+
submitDocChange(docId, ops, metadata = {}) {
|
|
206
|
+
const managed = this.docs.get(docId);
|
|
207
|
+
const algorithm = this.getDocAlgorithm(docId) ?? this.algorithms[this.defaultAlgorithm];
|
|
208
|
+
if (!algorithm) throw new Error(`No algorithm found for document ${docId}`);
|
|
209
|
+
return this._handleDocChange(docId, ops, managed?.doc, algorithm, metadata);
|
|
210
|
+
}
|
|
200
211
|
/**
|
|
201
212
|
* Internal handler for doc changes. Called when doc.onChange emits ops.
|
|
202
213
|
* Serializes calls per docId to prevent concurrent handleDocChange from
|
|
@@ -9,7 +9,7 @@ import '../json-patch/JSONPatch.js';
|
|
|
9
9
|
import '@dabble/delta';
|
|
10
10
|
import '../json-patch/types.js';
|
|
11
11
|
import './ClientAlgorithm.js';
|
|
12
|
-
import '../BaseDoc-
|
|
12
|
+
import '../BaseDoc-CD5wZQMm.js';
|
|
13
13
|
|
|
14
14
|
interface PatchesBranchClientOptions {
|
|
15
15
|
/** Maximum size in bytes for a single change in storage. Used to break large initial changes. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'easy-signal';
|
|
2
2
|
import '../json-patch/types.js';
|
|
3
3
|
import '../types.js';
|
|
4
|
-
export { O as OTDoc,
|
|
4
|
+
export { O as OTDoc, a as PatchesDoc, P as PatchesDocOptions } from '../BaseDoc-CD5wZQMm.js';
|
|
5
5
|
import '../json-patch/JSONPatch.js';
|
|
6
6
|
import '@dabble/delta';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AlgorithmName } from './PatchesStore.js';
|
|
2
2
|
import { Patches } from './Patches.js';
|
|
3
|
-
import {
|
|
3
|
+
import { P as PatchesDocOptions } from '../BaseDoc-CD5wZQMm.js';
|
|
4
4
|
import '../types.js';
|
|
5
5
|
import '../json-patch/JSONPatch.js';
|
|
6
6
|
import '@dabble/delta';
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { B as BaseDoc, O as OTDoc,
|
|
1
|
+
export { B as BaseDoc, O as OTDoc, a as PatchesDoc, P as PatchesDocOptions } from '../BaseDoc-CD5wZQMm.js';
|
|
2
2
|
export { IndexedDBFactoryOptions, MultiAlgorithmFactoryOptions, MultiAlgorithmIndexedDBFactoryOptions, PatchesFactoryOptions, createLWWIndexedDBPatches, createLWWPatches, createMultiAlgorithmExternalDBPatches, createMultiAlgorithmIndexedDBPatches, createMultiAlgorithmPatches, createOTIndexedDBPatches, createOTPatches, upgradePatchesDB } from './factories.js';
|
|
3
3
|
export { IDBStoreWrapper, IDBTransactionWrapper, IndexedDBStore } from './IndexedDBStore.js';
|
|
4
4
|
export { OTIndexedDBStore } from './OTIndexedDBStore.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Delta } from '@dabble/delta';
|
|
2
|
-
export { B as BaseDoc, O as OTDoc,
|
|
2
|
+
export { B as BaseDoc, O as OTDoc, a as PatchesDoc, P as PatchesDocOptions } from './BaseDoc-CD5wZQMm.js';
|
|
3
3
|
export { IndexedDBFactoryOptions, MultiAlgorithmFactoryOptions, MultiAlgorithmIndexedDBFactoryOptions, PatchesFactoryOptions, createLWWIndexedDBPatches, createLWWPatches, createMultiAlgorithmExternalDBPatches, createMultiAlgorithmIndexedDBPatches, createMultiAlgorithmPatches, createOTIndexedDBPatches, createOTPatches, upgradePatchesDB } from './client/factories.js';
|
|
4
4
|
export { IDBStoreWrapper, IDBTransactionWrapper, IndexedDBStore } from './client/IndexedDBStore.js';
|
|
5
5
|
export { OTIndexedDBStore } from './client/OTIndexedDBStore.js';
|
|
@@ -13,7 +13,7 @@ import { WebSocketOptions } from './websocket/WebSocketTransport.js';
|
|
|
13
13
|
import '../json-patch/JSONPatch.js';
|
|
14
14
|
import '@dabble/delta';
|
|
15
15
|
import '../json-patch/types.js';
|
|
16
|
-
import '../BaseDoc-
|
|
16
|
+
import '../BaseDoc-CD5wZQMm.js';
|
|
17
17
|
import '../utils/deferred.js';
|
|
18
18
|
|
|
19
19
|
interface PatchesSyncState {
|
package/dist/net/PatchesSync.js
CHANGED
|
@@ -191,7 +191,15 @@ class PatchesSync extends (_a = ReadonlyStoreClass, _syncDoc_dec = [serialGate],
|
|
|
191
191
|
for (const branch of creates) {
|
|
192
192
|
if (!this.state.connected) break;
|
|
193
193
|
try {
|
|
194
|
-
const {
|
|
194
|
+
const {
|
|
195
|
+
docId: sourceDocId,
|
|
196
|
+
branchedAtRev,
|
|
197
|
+
createdAt: _1,
|
|
198
|
+
modifiedAt: _2,
|
|
199
|
+
pendingOp: _3,
|
|
200
|
+
deleted: _4,
|
|
201
|
+
...metadata
|
|
202
|
+
} = branch;
|
|
195
203
|
await branchApi.createBranch(sourceDocId, branchedAtRev, metadata);
|
|
196
204
|
const synced = { ...branch, pendingOp: void 0 };
|
|
197
205
|
delete synced.pendingOp;
|
|
@@ -205,7 +213,17 @@ class PatchesSync extends (_a = ReadonlyStoreClass, _syncDoc_dec = [serialGate],
|
|
|
205
213
|
for (const branch of updates) {
|
|
206
214
|
if (!this.state.connected) break;
|
|
207
215
|
try {
|
|
208
|
-
const {
|
|
216
|
+
const {
|
|
217
|
+
id: _id,
|
|
218
|
+
docId: _did,
|
|
219
|
+
branchedAtRev: _bar,
|
|
220
|
+
createdAt: _ca,
|
|
221
|
+
modifiedAt: _ma,
|
|
222
|
+
contentStartRev: _csr,
|
|
223
|
+
pendingOp: _po,
|
|
224
|
+
deleted: _del,
|
|
225
|
+
...metadata
|
|
226
|
+
} = branch;
|
|
209
227
|
await branchApi.updateBranch(branch.id, metadata);
|
|
210
228
|
const synced = { ...branch, pendingOp: void 0 };
|
|
211
229
|
delete synced.pendingOp;
|
|
@@ -326,7 +344,8 @@ class PatchesSync extends (_a = ReadonlyStoreClass, _syncDoc_dec = [serialGate],
|
|
|
326
344
|
} else {
|
|
327
345
|
const snapshot = await this.connection.getDoc(docId);
|
|
328
346
|
await algorithm.store.saveDoc(docId, snapshot);
|
|
329
|
-
|
|
347
|
+
const savedRev = await algorithm.getCommittedRev(docId);
|
|
348
|
+
this._updateDocSyncState(docId, { committedRev: savedRev });
|
|
330
349
|
if (baseDoc) {
|
|
331
350
|
baseDoc.import({ ...snapshot, changes: [] });
|
|
332
351
|
}
|
package/dist/net/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import '../algorithms/ot/shared/changeBatching.js';
|
|
|
22
22
|
import '../client/BranchClientStore.js';
|
|
23
23
|
import '../client/ClientAlgorithm.js';
|
|
24
24
|
import '../json-patch/types.js';
|
|
25
|
-
import '../BaseDoc-
|
|
25
|
+
import '../BaseDoc-CD5wZQMm.js';
|
|
26
26
|
import '../client/PatchesStore.js';
|
|
27
27
|
import '../client/Patches.js';
|
|
28
28
|
import '../server/types.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiDefinition } from '../net/protocol/JSONRPCServer.js';
|
|
2
|
-
import { EditableBranchMetadata,
|
|
2
|
+
import { EditableBranchMetadata, CreateBranchMetadata, Branch } from '../types.js';
|
|
3
3
|
import 'easy-signal';
|
|
4
4
|
import '../net/websocket/AuthorizationProvider.js';
|
|
5
5
|
import './types.js';
|
package/dist/solid/context.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import '../types.js';
|
|
|
7
7
|
import '../json-patch/JSONPatch.js';
|
|
8
8
|
import '@dabble/delta';
|
|
9
9
|
import '../client/ClientAlgorithm.js';
|
|
10
|
-
import '../BaseDoc-
|
|
10
|
+
import '../BaseDoc-CD5wZQMm.js';
|
|
11
11
|
import '../client/PatchesStore.js';
|
|
12
12
|
import '../algorithms/ot/shared/changeBatching.js';
|
|
13
13
|
import '../client/BranchClientStore.js';
|
package/dist/solid/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import '../types.js';
|
|
|
11
11
|
import '../json-patch/JSONPatch.js';
|
|
12
12
|
import '@dabble/delta';
|
|
13
13
|
import '../client/ClientAlgorithm.js';
|
|
14
|
-
import '../BaseDoc-
|
|
14
|
+
import '../BaseDoc-CD5wZQMm.js';
|
|
15
15
|
import '../client/PatchesStore.js';
|
|
16
16
|
import '../net/PatchesSync.js';
|
|
17
17
|
import '../algorithms/ot/shared/changeBatching.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Accessor } from 'solid-js';
|
|
2
2
|
import { OpenDocOptions } from '../client/Patches.js';
|
|
3
|
-
import {
|
|
3
|
+
import { a as PatchesDoc } from '../BaseDoc-CD5wZQMm.js';
|
|
4
4
|
import { ChangeMutator } from '../types.js';
|
|
5
5
|
import 'easy-signal';
|
|
6
6
|
import '../json-patch/types.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ShallowRef, Ref,
|
|
1
|
+
import { ShallowRef, Ref, MaybeRefOrGetter, MaybeRef } from 'vue';
|
|
2
2
|
import { OpenDocOptions } from '../client/Patches.js';
|
|
3
|
-
import {
|
|
3
|
+
import { a as PatchesDoc } from '../BaseDoc-CD5wZQMm.js';
|
|
4
4
|
import { ChangeMutator } from '../types.js';
|
|
5
5
|
import 'easy-signal';
|
|
6
6
|
import '../json-patch/types.js';
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import '../types.js';
|
|
|
11
11
|
import '../json-patch/JSONPatch.js';
|
|
12
12
|
import '@dabble/delta';
|
|
13
13
|
import '../client/ClientAlgorithm.js';
|
|
14
|
-
import '../BaseDoc-
|
|
14
|
+
import '../BaseDoc-CD5wZQMm.js';
|
|
15
15
|
import '../client/PatchesStore.js';
|
|
16
16
|
import '../net/PatchesSync.js';
|
|
17
17
|
import '../algorithms/ot/shared/changeBatching.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ref, ShallowRef } from 'vue';
|
|
2
2
|
import { OpenDocOptions } from '../client/Patches.js';
|
|
3
3
|
import 'easy-signal';
|
|
4
4
|
import '../json-patch/types.js';
|
|
@@ -6,7 +6,7 @@ import '../types.js';
|
|
|
6
6
|
import '../json-patch/JSONPatch.js';
|
|
7
7
|
import '@dabble/delta';
|
|
8
8
|
import '../client/ClientAlgorithm.js';
|
|
9
|
-
import '../BaseDoc-
|
|
9
|
+
import '../BaseDoc-CD5wZQMm.js';
|
|
10
10
|
import '../client/PatchesStore.js';
|
|
11
11
|
|
|
12
12
|
/**
|
package/dist/vue/provider.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import '../types.js';
|
|
|
7
7
|
import '../json-patch/JSONPatch.js';
|
|
8
8
|
import '@dabble/delta';
|
|
9
9
|
import '../client/ClientAlgorithm.js';
|
|
10
|
-
import '../BaseDoc-
|
|
10
|
+
import '../BaseDoc-CD5wZQMm.js';
|
|
11
11
|
import '../client/PatchesStore.js';
|
|
12
12
|
import '../algorithms/ot/shared/changeBatching.js';
|
|
13
13
|
import '../client/BranchClientStore.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dabble/patches",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.15",
|
|
4
4
|
"description": "Immutable JSON Patch implementation based on RFC 6902 supporting operational transformation and last-writer-wins",
|
|
5
5
|
"author": "Jacob Wright <jacwright@gmail.com>",
|
|
6
6
|
"bugs": {
|