@automerge/automerge
Advanced tools
Comparing version 2.1.0-alpha.6 to 2.1.0-alpha.7
@@ -280,3 +280,2 @@ "use strict"; | ||
if (callback != null) { | ||
const headsBefore = state.heads; | ||
const { value, patches } = state.handle.applyAndReturnPatches(doc, nextState); | ||
@@ -318,2 +317,5 @@ if (patches.length > 0) { | ||
state.heads = undefined; | ||
if (scope != null) { | ||
state.handle.integrate(); | ||
} | ||
return doc; | ||
@@ -320,0 +322,0 @@ } |
@@ -260,3 +260,2 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
if (callback != null) { | ||
const headsBefore = state.heads; | ||
const { value, patches } = state.handle.applyAndReturnPatches(doc, nextState); | ||
@@ -298,2 +297,5 @@ if (patches.length > 0) { | ||
state.heads = undefined; | ||
if (scope != null) { | ||
state.handle.integrate(); | ||
} | ||
return doc; | ||
@@ -300,0 +302,0 @@ } |
@@ -7,3 +7,3 @@ { | ||
], | ||
"version": "2.1.0-alpha.6", | ||
"version": "2.1.0-alpha.7", | ||
"description": "Javascript implementation of automerge, backed by @automerge/automerge-wasm", | ||
@@ -54,5 +54,5 @@ "homepage": "https://github.com/automerge/automerge/tree/main/javascript", | ||
"dependencies": { | ||
"@automerge/automerge-wasm": "^0.2.5", | ||
"@automerge/automerge-wasm": "^0.2.6", | ||
"uuid": "^9.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
247569
6666