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 3.0.0 to 3.1.0

2

lib/index.d.ts

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

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

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

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

nice_grpc_common_1.Status.UNAVAILABLE,
// Server may return `CANCELLED` if it is shutting down. We can distinguish
// this from client-initiated cancellations because these are returned as
// `AbortError`s.
nice_grpc_common_1.Status.CANCELLED,
];

@@ -12,0 +16,0 @@ /**

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

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

},
"gitHead": "32f276646579d3fdb7ae18fc72bb17c1b86b5ef3"
"gitHead": "d3e159b6bf235e76f22fbb633b9755703daf3beb"
}

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

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

@@ -68,2 +68,6 @@ retryableStatuses?: Status[];

Status.UNAVAILABLE,
// Server may return `CANCELLED` if it is shutting down. We can distinguish
// this from client-initiated cancellations because these are returned as
// `AbortError`s.
Status.CANCELLED,
];

@@ -70,0 +74,0 @@

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