configcat-common
Advanced tools
Comparing version 4.4.0 to 4.4.1
@@ -92,3 +92,3 @@ "use strict"; | ||
return new Promise(function (resolve) { return __awaiter(_this, void 0, void 0, function () { | ||
var cachedConfig, newConfig; | ||
var cachedConfig, newConfig, weDontHaveCachedYetButHaveNew, weHaveBothButTheyDiffers; | ||
return __generator(this, function (_a) { | ||
@@ -101,3 +101,5 @@ switch (_a.label) { | ||
newConfig = _a.sent(); | ||
if (!cachedConfig || !ProjectConfig_1.ProjectConfig.equals(cachedConfig, newConfig)) { | ||
weDontHaveCachedYetButHaveNew = !cachedConfig && newConfig; | ||
weHaveBothButTheyDiffers = cachedConfig && newConfig && !ProjectConfig_1.ProjectConfig.equals(cachedConfig, newConfig); | ||
if (weDontHaveCachedYetButHaveNew || weHaveBothButTheyDiffers) { | ||
this.configChanged(); | ||
@@ -104,0 +106,0 @@ } |
@@ -92,3 +92,3 @@ "use strict"; | ||
return new Promise(function (resolve) { return __awaiter(_this, void 0, void 0, function () { | ||
var cachedConfig, newConfig; | ||
var cachedConfig, newConfig, weDontHaveCachedYetButHaveNew, weHaveBothButTheyDiffers; | ||
return __generator(this, function (_a) { | ||
@@ -101,3 +101,5 @@ switch (_a.label) { | ||
newConfig = _a.sent(); | ||
if (!cachedConfig || !ProjectConfig_1.ProjectConfig.equals(cachedConfig, newConfig)) { | ||
weDontHaveCachedYetButHaveNew = !cachedConfig && newConfig; | ||
weHaveBothButTheyDiffers = cachedConfig && newConfig && !ProjectConfig_1.ProjectConfig.equals(cachedConfig, newConfig); | ||
if (weDontHaveCachedYetButHaveNew || weHaveBothButTheyDiffers) { | ||
this.configChanged(); | ||
@@ -104,0 +106,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = "4.4.0"; | ||
exports.default = "4.4.1"; |
@@ -89,3 +89,3 @@ var __extends = (this && this.__extends) || (function () { | ||
return new Promise(function (resolve) { return __awaiter(_this, void 0, void 0, function () { | ||
var cachedConfig, newConfig; | ||
var cachedConfig, newConfig, weDontHaveCachedYetButHaveNew, weHaveBothButTheyDiffers; | ||
return __generator(this, function (_a) { | ||
@@ -98,3 +98,5 @@ switch (_a.label) { | ||
newConfig = _a.sent(); | ||
if (!cachedConfig || !ProjectConfig.equals(cachedConfig, newConfig)) { | ||
weDontHaveCachedYetButHaveNew = !cachedConfig && newConfig; | ||
weHaveBothButTheyDiffers = cachedConfig && newConfig && !ProjectConfig.equals(cachedConfig, newConfig); | ||
if (weDontHaveCachedYetButHaveNew || weHaveBothButTheyDiffers) { | ||
this.configChanged(); | ||
@@ -101,0 +103,0 @@ } |
@@ -1,1 +0,1 @@ | ||
export default "4.4.0"; | ||
export default "4.4.1"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = "4.4.0"; | ||
exports.default = "4.4.1"; |
{ | ||
"name": "configcat-common", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"description": "ConfigCat is a configuration as a service that lets you manage your features and configurations without actually deploying new code.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
330352
139
6523