Socket
Socket
Sign inDemoInstall

nice-grpc-client-middleware-retry

Package Overview
Dependencies
3
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 3.0.0

2

lib/index.d.ts

@@ -47,3 +47,3 @@ import { ClientError, ClientMiddleware, Status } from 'nice-grpc-common';

*
* Default is `[UNKNOWN, RESOURCE_EXHAUSTED, INTERNAL, UNAVAILABLE]`.
* Default is `[UNKNOWN, INTERNAL, UNAVAILABLE]`.
*/

@@ -50,0 +50,0 @@ retryableStatuses?: Status[];

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

nice_grpc_common_1.Status.UNKNOWN,
nice_grpc_common_1.Status.RESOURCE_EXHAUSTED,
nice_grpc_common_1.Status.INTERNAL,

@@ -11,0 +10,0 @@ nice_grpc_common_1.Status.UNAVAILABLE,

{
"name": "nice-grpc-client-middleware-retry",
"version": "2.0.2",
"version": "3.0.0",
"description": "Retry client middleware for nice-grpc",

@@ -28,3 +28,3 @@ "repository": "deeplay-io/nice-grpc",

"jest-mock-random": "^1.1.1",
"nice-grpc": "^2.1.0",
"nice-grpc": "^2.1.1",
"ts-proto": "^1.112.0"

@@ -36,3 +36,3 @@ },

},
"gitHead": "090b1090ea4ac6859d7f240386fdac48415c1969"
"gitHead": "32f276646579d3fdb7ae18fc72bb17c1b86b5ef3"
}

@@ -65,3 +65,3 @@ # nice-grpc-client-middleware-retry [![npm version][npm-image]][npm-url] <!-- omit in toc -->

retryMaxAttempts: 5,
// defaults to [UNKNOWN, RESOURCE_EXHAUSTED, INTERNAL, UNAVAILABLE]
// defaults to [UNKNOWN, INTERNAL, UNAVAILABLE]
retryableStatuses: [Status.UNAVAILABLE],

@@ -68,0 +68,0 @@ onRetryableError(error: ClientError, attempt: number, delayMs: number) {

@@ -49,3 +49,3 @@ import {delay, rethrowAbortError} from 'abort-controller-x';

*
* Default is `[UNKNOWN, RESOURCE_EXHAUSTED, INTERNAL, UNAVAILABLE]`.
* Default is `[UNKNOWN, INTERNAL, UNAVAILABLE]`.
*/

@@ -66,3 +66,2 @@ retryableStatuses?: Status[];

Status.UNKNOWN,
Status.RESOURCE_EXHAUSTED,
Status.INTERNAL,

@@ -69,0 +68,0 @@ Status.UNAVAILABLE,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc