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

@flipt-io/flipt

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flipt-io/flipt - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

6

api/resources/constraints/client/Client.js

@@ -45,3 +45,3 @@ "use strict";

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/${segmentKey}/constraints/`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/${segmentKey}/constraints`),
method: "POST",

@@ -80,3 +80,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/${segmentKey}/constraints//${id}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/${segmentKey}/constraints/${id}`),
method: "DELETE",

@@ -112,3 +112,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/${segmentKey}/constraints//${id}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/${segmentKey}/constraints/${id}`),
method: "PUT",

@@ -115,0 +115,0 @@ headers: {

@@ -45,3 +45,3 @@ "use strict";

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/${ruleId}/distributions/`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/${ruleId}/distributions`),
method: "POST",

@@ -83,3 +83,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/${ruleId}/distributions//${id}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/${ruleId}/distributions/${id}`),
method: "DELETE",

@@ -116,3 +116,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/${ruleId}/distributions//${id}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/${ruleId}/distributions/${id}`),
method: "PUT",

@@ -119,0 +119,0 @@ headers: {

@@ -56,3 +56,3 @@ "use strict";

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags`),
method: "GET",

@@ -91,3 +91,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags`),
method: "POST",

@@ -126,3 +126,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags//${key}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${key}`),
method: "GET",

@@ -160,3 +160,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags//${key}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${key}`),
method: "DELETE",

@@ -192,3 +192,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags//${key}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${key}`),
method: "PUT",

@@ -195,0 +195,0 @@ headers: {

@@ -56,3 +56,3 @@ "use strict";

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules`),
method: "GET",

@@ -91,3 +91,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules`),
method: "POST",

@@ -126,3 +126,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules//order`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/order`),
method: "PUT",

@@ -159,3 +159,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules//${id}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/${id}`),
method: "GET",

@@ -193,3 +193,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules//${id}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/${id}`),
method: "DELETE",

@@ -225,3 +225,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules//${id}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/rules/${id}`),
method: "PUT",

@@ -228,0 +228,0 @@ headers: {

@@ -56,3 +56,3 @@ "use strict";

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments`),
method: "GET",

@@ -91,3 +91,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments`),
method: "POST",

@@ -126,3 +126,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments//${key}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/${key}`),
method: "GET",

@@ -160,3 +160,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments//${key}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/${key}`),
method: "DELETE",

@@ -192,3 +192,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments//${key}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/segments/${key}`),
method: "PUT",

@@ -195,0 +195,0 @@ headers: {

@@ -45,3 +45,3 @@ "use strict";

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/variants/`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/variants`),
method: "POST",

@@ -80,3 +80,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/variants//${id}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/variants/${id}`),
method: "DELETE",

@@ -112,3 +112,3 @@ headers: {

const _response = await core.fetcher({
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/variants//${id}`),
url: (0, url_join_1.default)(this.options.environment ?? environments.FliptApiEnvironment.Production, `/api/v1/namespaces/${namespaceKey}/flags/${flagKey}/variants/${id}`),
method: "PUT",

@@ -115,0 +115,0 @@ headers: {

{
"name": "@flipt-io/flipt",
"version": "0.2.3",
"version": "0.2.4",
"private": false,

@@ -5,0 +5,0 @@ "repository": "https://github.com/flipt-io/flipt-node",

@@ -21,3 +21,3 @@ # Flipt Node Library

If you are running an older version of Flipt server (< v1.20.0), you should use a pre 0.2.2 version of this client.
:warning: If you are running an older version of Flipt server (< [v1.20.0](https://github.com/flipt-io/flipt/releases/tag/v1.20.0)), you should use a pre 0.2.2 version of this client.

@@ -24,0 +24,0 @@ ## Install

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