Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

configcat-js-ssr

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

configcat-js-ssr - npm Package Compare versions

Comparing version 5.4.0 to 5.5.0

2

lib/ConfigFetcher.d.ts
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc