@oada/client
Advanced tools
Comparing version 2.4.5 to 2.4.6
@@ -27,2 +27,3 @@ "use strict"; | ||
const ksuid_1 = __importDefault(require("ksuid")); | ||
const deep_clone_1 = __importDefault(require("deep-clone")); | ||
const debug_1 = __importDefault(require("debug")); | ||
@@ -128,7 +129,7 @@ const utils = __importStar(require("./utils")); | ||
if (request.type === "tree") { | ||
request.watchCallback(resp.change); | ||
request.watchCallback(deep_clone_1.default(resp.change)); | ||
} | ||
for (const change of resp.change) { | ||
if (!request.type || request.type === "single") { | ||
request.watchCallback(change); | ||
request.watchCallback(deep_clone_1.default(change)); | ||
} | ||
@@ -135,0 +136,0 @@ if (change.path === "") { |
{ | ||
"name": "@oada/client", | ||
"version": "2.4.5", | ||
"version": "2.4.6", | ||
"description": "A lightweight client tool to interact with an OADA-compliant server", | ||
@@ -31,2 +31,3 @@ "repository": "https://github.com/OADA/client", | ||
"debug": "^4.1.1", | ||
"deep-clone": "^3.0.3", | ||
"fetch-h2": "^2.5.1", | ||
@@ -33,0 +34,0 @@ "isomorphic-ws": "^4.0.1", |
Sorry, the diff of this file is not supported yet
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
67447
982
10
+ Addeddeep-clone@^3.0.3
+ Addeddeep-clone@3.0.3(transitive)