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

@devcycle/js-cloud-server-sdk

Package Overview
Dependencies
Maintainers
6
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devcycle/js-cloud-server-sdk - npm Package Compare versions

Comparing version 1.12.1 to 1.13.0

1

lib/shared/server-request/src/request.d.ts

@@ -7,2 +7,3 @@ import { RequestInitWithRetry } from 'fetch-retry';

export declare const exponentialBackoff: RequestInitWithRetry['retryDelay'];
export type RequestInitConfig = RequestInit | RequestInitWithRetry;
export declare function handleResponse(res: Response): Promise<Response>;

@@ -9,0 +10,0 @@ export declare function getWithTimeout(url: string, requestConfig: RequestInit | RequestInitWithRetry, timeout: number): Promise<Response>;

3

lib/shared/server-request/src/request.js

@@ -119,3 +119,4 @@ "use strict";

const newConfig = { ...requestConfig };
newConfig.retryOn = retryOnRequestError(requestConfig.retries);
newConfig.retryOn =
newConfig.retryOn || retryOnRequestError(requestConfig.retries);
newConfig.retryDelay = exports.exponentialBackoff;

@@ -122,0 +123,0 @@ return [await getFetchWithRetry(), newConfig];

{
"name": "@devcycle/js-cloud-server-sdk",
"version": "1.12.1",
"version": "1.13.0",
"description": "The DevCycle JS Cloud Bucketing Server SDK used for feature management.",

@@ -22,3 +22,3 @@ "author": "DevCycle <support@devcycle.com>",

"dependencies": {
"@devcycle/types": "^1.13.1",
"@devcycle/types": "^1.14.0",
"cross-fetch": "^4.0.0",

@@ -25,0 +25,0 @@ "fetch-retry": "^5.0.6",

@@ -7,2 +7,3 @@ import { RequestInitWithRetry } from 'fetch-retry';

export declare const exponentialBackoff: RequestInitWithRetry['retryDelay'];
export type RequestInitConfig = RequestInit | RequestInitWithRetry;
export declare function handleResponse(res: Response): Promise<Response>;

@@ -9,0 +10,0 @@ export declare function getWithTimeout(url: string, requestConfig: RequestInit | RequestInitWithRetry, timeout: number): Promise<Response>;

@@ -119,3 +119,4 @@ "use strict";

const newConfig = { ...requestConfig };
newConfig.retryOn = retryOnRequestError(requestConfig.retries);
newConfig.retryOn =
newConfig.retryOn || retryOnRequestError(requestConfig.retries);
newConfig.retryDelay = exports.exponentialBackoff;

@@ -122,0 +123,0 @@ return [await getFetchWithRetry(), newConfig];

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