Socket
Socket
Sign inDemoInstall

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 3.9.1 to 3.10.0

22

lib/index.d.ts

@@ -27,2 +27,5 @@ import * as configcatcommon from "configcat-common";

export declare function createConsoleLogger(logLevel: LogLevel): configcatcommon.IConfigCatLogger;
export declare function createFlagOverridesFromMap(map: {
[name: string]: any;
}, behaviour: number): configcatcommon.FlagOverrides;
export interface IJSAutoPollOptions extends configcatcommon.IAutoPollOptions {

@@ -40,2 +43,21 @@ }

};
export declare const OverrideBehaviour: {
/**
* When evaluating values, the SDK will not use feature flags and settings from the ConfigCat CDN, but it will use
* all feature flags and settings that are loaded from local-override sources.
*/
LocalOnly: configcatcommon.OverrideBehaviour;
/**
* When evaluating values, the SDK will use all feature flags and settings that are downloaded from the ConfigCat CDN,
* plus all feature flags and settings that are loaded from local-override sources. If a feature flag or a setting is
* defined both in the fetched and the local-override source then the local-override version will take precedence.
*/
LocalOverRemote: configcatcommon.OverrideBehaviour;
/**
* When evaluating values, the SDK will use all feature flags and settings that are downloaded from the ConfigCat CDN,
* plus all feature flags and settings that are loaded from local-override sources. If a feature flag or a setting is
* defined both in the fetched and the local-override source then the fetched version will take precedence.
*/
RemoteOverLocal: configcatcommon.OverrideBehaviour;
};
//# sourceMappingURL=index.d.ts.map

@@ -45,2 +45,6 @@ "use strict";

exports.createConsoleLogger = createConsoleLogger;
function createFlagOverridesFromMap(map, behaviour) {
return new configcatcommon.FlagOverrides(new configcatcommon.MapOverrideDataSource(map), behaviour);
}
exports.createFlagOverridesFromMap = createFlagOverridesFromMap;
exports.DataGovernance = {

@@ -52,1 +56,20 @@ /** Select this if your feature flags are published to all global CDN nodes. */

};
exports.OverrideBehaviour = {
/**
* When evaluating values, the SDK will not use feature flags and settings from the ConfigCat CDN, but it will use
* all feature flags and settings that are loaded from local-override sources.
*/
LocalOnly: configcatcommon.OverrideBehaviour.LocalOnly,
/**
* When evaluating values, the SDK will use all feature flags and settings that are downloaded from the ConfigCat CDN,
* plus all feature flags and settings that are loaded from local-override sources. If a feature flag or a setting is
* defined both in the fetched and the local-override source then the local-override version will take precedence.
*/
LocalOverRemote: configcatcommon.OverrideBehaviour.LocalOverRemote,
/**
* When evaluating values, the SDK will use all feature flags and settings that are downloaded from the ConfigCat CDN,
* plus all feature flags and settings that are loaded from local-override sources. If a feature flag or a setting is
* defined both in the fetched and the local-override source then the fetched version will take precedence.
*/
RemoteOverLocal: configcatcommon.OverrideBehaviour.RemoteOverLocal,
};

4

package.json
{
"name": "configcat-js-ssr",
"version": "3.9.1",
"version": "3.10.0",
"description": "ConfigCat Feature Flags for Server Side Rendered apps like NuxtJS. Official ConfigCat SDK for Server Side Rendered to easily access feature flags.",

@@ -43,3 +43,3 @@ "main": "lib/index.js",

"axios": "^0.27.2",
"configcat-common": "^5.0.2"
"configcat-common": "^5.1.0"
},

@@ -46,0 +46,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