dacument 1.2.1 → 1.2.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/LICENSE +1 -1
- package/dist/Dacument/class.js +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
package/dist/Dacument/class.js
CHANGED
|
@@ -1818,7 +1818,7 @@ export class Dacument {
|
|
|
1818
1818
|
const shadow = this.shadowFor(field, state);
|
|
1819
1819
|
const { patches, result } = this.capturePatches((listener) => shadow.onChange(listener), () => mutate(shadow));
|
|
1820
1820
|
if (patches.length === 0)
|
|
1821
|
-
return;
|
|
1821
|
+
return result;
|
|
1822
1822
|
this.queueLocalOp({
|
|
1823
1823
|
iss: this.actorId,
|
|
1824
1824
|
sub: this.docId,
|