configcat-common
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -27,2 +27,3 @@ "use strict"; | ||
var _this = this; | ||
var calledBaseUrl = this.baseConfig.baseUrl; | ||
this.configFetcher.fetchLogic(this.baseConfig, lastProjectConfig, function (newConfig) { | ||
@@ -40,3 +41,3 @@ if (!newConfig || !newConfig.ConfigJSON) { | ||
// If the base_url is the same as the last called one, just return the response. | ||
if (!baseUrl || baseUrl == options.baseUrl) { | ||
if (!baseUrl || baseUrl == calledBaseUrl) { | ||
callback(newConfig); | ||
@@ -43,0 +44,0 @@ return; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = "4.0.0"; | ||
exports.default = "4.1.0"; |
@@ -27,2 +27,3 @@ "use strict"; | ||
var _this = this; | ||
var calledBaseUrl = this.baseConfig.baseUrl; | ||
this.configFetcher.fetchLogic(this.baseConfig, lastProjectConfig, function (newConfig) { | ||
@@ -40,3 +41,3 @@ if (!newConfig || !newConfig.ConfigJSON) { | ||
// If the base_url is the same as the last called one, just return the response. | ||
if (!baseUrl || baseUrl == options.baseUrl) { | ||
if (!baseUrl || baseUrl == calledBaseUrl) { | ||
callback(newConfig); | ||
@@ -43,0 +44,0 @@ return; |
@@ -24,2 +24,3 @@ import { ConfigFile, Preferences } from "./ProjectConfig"; | ||
var _this = this; | ||
var calledBaseUrl = this.baseConfig.baseUrl; | ||
this.configFetcher.fetchLogic(this.baseConfig, lastProjectConfig, function (newConfig) { | ||
@@ -37,3 +38,3 @@ if (!newConfig || !newConfig.ConfigJSON) { | ||
// If the base_url is the same as the last called one, just return the response. | ||
if (!baseUrl || baseUrl == options.baseUrl) { | ||
if (!baseUrl || baseUrl == calledBaseUrl) { | ||
callback(newConfig); | ||
@@ -40,0 +41,0 @@ return; |
@@ -1,1 +0,1 @@ | ||
export default "4.0.0"; | ||
export default "4.1.0"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = "4.0.0"; | ||
exports.default = "4.1.0"; |
{ | ||
"name": "configcat-common", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"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
307830
6154