configcat-js-ssr
Advanced tools
Comparing version 5.4.0 to 5.5.0
import { IConfigFetcher, OptionsBase, FetchResult } from "configcat-common"; | ||
export declare class HttpConfigFetcher implements IConfigFetcher { | ||
fetchLogic(options: OptionsBase, lastEtag: string, callback: (result: FetchResult) => void): void; | ||
fetchLogic(options: OptionsBase, _lastEtag: string, callback: (result: FetchResult) => void): void; | ||
} | ||
export default IConfigFetcher; | ||
//# sourceMappingURL=ConfigFetcher.d.ts.map |
@@ -8,3 +8,3 @@ "use strict"; | ||
} | ||
HttpConfigFetcher.prototype.fetchLogic = function (options, lastEtag, callback) { | ||
HttpConfigFetcher.prototype.fetchLogic = function (options, _lastEtag, callback) { | ||
var axiosConfig = { | ||
@@ -14,6 +14,2 @@ method: 'get', | ||
url: options.getUrl(), | ||
headers: { | ||
'X-ConfigCat-UserAgent': options.clientVersion, | ||
'If-None-Match': (lastEtag) ? lastEtag : null | ||
} | ||
}; | ||
@@ -20,0 +16,0 @@ axios_1.default(axiosConfig) |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = "5.4.0"; | ||
exports.default = "5.5.0"; |
{ | ||
"name": "configcat-js-ssr", | ||
"version": "5.4.0", | ||
"version": "5.5.0", | ||
"description": "ConfigCat Feature Flags for Server Side Rendered apps like NuxtJS. Official ConfigCat SDK for Server Side Rendered to easily access feature flags.", | ||
@@ -46,3 +46,3 @@ "main": "lib/index.js", | ||
"axios": "^0.27.2", | ||
"configcat-common": "^5.3.0" | ||
"configcat-common": "^6.0.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
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
142330
678
+ Addedconfigcat-common@6.0.1(transitive)
- Removedconfigcat-common@5.3.0(transitive)
Updatedconfigcat-common@^6.0.0