mute-structs
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -47,2 +47,11 @@ "use strict"; | ||
} | ||
// For backward compatibility | ||
// Allow to replay and update previous log of operations | ||
var l = o["l"]; | ||
if (typeof l === "string" && l.length > 0) { | ||
var id = identifier_1.Identifier.fromPlain(plainId); | ||
if (id !== null) { | ||
return new LogootSAdd(id, l); | ||
} | ||
} | ||
} | ||
@@ -49,0 +58,0 @@ return null; |
{ | ||
"name": "mute-structs", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "NodeJS module providing an implementation of the LogootSplit CRDT algorithm", | ||
@@ -26,3 +26,3 @@ "main": "./dist/src/index.js", | ||
"test:unit": "npm run build && ava", | ||
"test": "npm run lint && npm run test:unit" | ||
"test": "npm run lint && npm run test:unit --" | ||
}, | ||
@@ -29,0 +29,0 @@ "ava": { |
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
132308
2213