New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@grammyjs/auto-retry

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grammyjs/auto-retry - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

out/mod.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.autoRetry = void 0;
exports.autoRetry = autoRetry;
const platform_node_js_1 = require("./platform.node.js");

@@ -56,3 +56,4 @@ const debug = (0, platform_node_js_1.debug)("grammy:auto-retry");

catch (e) {
if (!rethrowHttpErrors && e instanceof platform_node_js_1.HttpError) {
if ((signal === undefined || !signal.aborted) &&
!rethrowHttpErrors && e instanceof platform_node_js_1.HttpError) {
debug(`HttpError thrown, will retry '${method}' after ${nextDelay} seconds (${e.message})`);

@@ -92,2 +93,1 @@ await backoff();

}
exports.autoRetry = autoRetry;
{
"name": "@grammyjs/auto-retry",
"description": "grammY API transformer function to retry requests",
"version": "2.0.1",
"version": "2.0.2",
"author": "KnorpelSenf",

@@ -6,0 +6,0 @@ "license": "MIT",

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