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

@spotify-confidence/openfeature-server-provider

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spotify-confidence/openfeature-server-provider - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

build/cjs/ConfidenceServerProvider.js

@@ -59,2 +59,8 @@ "use strict";

}
if (client_http_1.Configuration.ResolveReason.NoSegmentMatch === flag.reason) {
return {
value: defaultValue,
reason: 'DEFAULT',
};
}
let flagValue;

@@ -61,0 +67,0 @@ try {

5

build/cjs/factory.js

@@ -7,3 +7,6 @@ "use strict";

function createConfidenceServerProvider(options) {
const confidenceClient = new client_http_1.ConfidenceClient(Object.assign(Object.assign({}, options), { apply: true }));
const confidenceClient = new client_http_1.ConfidenceClient(Object.assign(Object.assign({}, options), { apply: true, sdk: {
id: 'SDK_ID_JS_SERVER_PROVIDER',
version: '0.1.2',
} }));
return new ConfidenceServerProvider_1.ConfidenceServerProvider(confidenceClient);

@@ -10,0 +13,0 @@ }

@@ -56,2 +56,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
if (Configuration.ResolveReason.NoSegmentMatch === flag.reason) {
return {
value: defaultValue,
reason: 'DEFAULT',
};
}
let flagValue;

@@ -58,0 +64,0 @@ try {

import { ConfidenceClient } from '@spotify-confidence/client-http';
import { ConfidenceServerProvider } from './ConfidenceServerProvider';
export function createConfidenceServerProvider(options) {
const confidenceClient = new ConfidenceClient(Object.assign(Object.assign({}, options), { apply: true }));
const confidenceClient = new ConfidenceClient(Object.assign(Object.assign({}, options), { apply: true, sdk: {
id: 'SDK_ID_JS_SERVER_PROVIDER',
version: '0.1.2',
} }));
return new ConfidenceServerProvider(confidenceClient);
}
//# sourceMappingURL=factory.js.map

@@ -56,2 +56,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
if (Configuration.ResolveReason.NoSegmentMatch === flag.reason) {
return {
value: defaultValue,
reason: 'DEFAULT',
};
}
let flagValue;

@@ -58,0 +64,0 @@ try {

import { ConfidenceClient } from '@spotify-confidence/client-http';
import { ConfidenceServerProvider } from './ConfidenceServerProvider';
export function createConfidenceServerProvider(options) {
const confidenceClient = new ConfidenceClient(Object.assign(Object.assign({}, options), { apply: true }));
const confidenceClient = new ConfidenceClient(Object.assign(Object.assign({}, options), { apply: true, sdk: {
id: 'SDK_ID_JS_SERVER_PROVIDER',
version: '0.1.2',
} }));
return new ConfidenceServerProvider(confidenceClient);
}
//# sourceMappingURL=factory.js.map
# Changelog
## [0.1.2](https://github.com/spotify/confidence-openfeature-provider-js/compare/openfeature-server-provider-v0.1.1...openfeature-server-provider-v0.1.2) (2023-11-16)
### 🐛 Bug Fixes
* **web,server,client-http:** send apply for flags with NO_SEGMENT_MATCH ([30b0956](https://github.com/spotify/confidence-openfeature-provider-js/commit/30b0956ae9f505552fae3b6cf19f670cd0c650f9))
### ✨ New Features
* **client-http,web,server:** send sdk version ([23245ac](https://github.com/spotify/confidence-openfeature-provider-js/commit/23245acc3200eb9b0315e0d8374d226f442c6607))
### Dependencies
* The following workspace dependencies were updated
* dependencies
* @spotify-confidence/client-http bumped from ^0.1.0 to ^0.1.1
## [0.1.1](https://github.com/spotify/confidence-openfeature-provider-js/compare/openfeature-server-provider-v0.1.0...openfeature-server-provider-v0.1.1) (2023-11-16)

@@ -4,0 +23,0 @@

6

package.json
{
"name": "@spotify-confidence/openfeature-server-provider",
"license": "Apache-2.0",
"version": "0.1.1",
"version": "0.1.2",
"module": "build/esm/index.js",

@@ -9,3 +9,3 @@ "main": "build/cjs/index.js",

"dependencies": {
"@spotify-confidence/client-http": "^0.1.0"
"@spotify-confidence/client-http": "^0.1.1"
},

@@ -24,3 +24,3 @@ "peerDependencies": {

},
"gitHead": "a50774bd7b6cf2e139da5ea79341d825872b5b69"
"gitHead": "1e3bab432bdf07def4fa17995e9705af19eb5c64"
}

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

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

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

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

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

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