Socket
Socket
Sign inDemoInstall

@axah/mq

Package Overview
Dependencies
Maintainers
11
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axah/mq - npm Package Compare versions

Comparing version 0.0.0-20230913115535 to 0.0.0-20230913120345

6

lib/subscription.js

@@ -73,4 +73,6 @@ "use strict";

if (subscription.recovery) {
const currentAttempts = message.properties.headers.rascal?.[subscription.queue ?? '']?.republished ??
subscription.recovery.attempts;
const currentAttempts = message.properties.headers.rascal?.recovery
? message.properties.headers.rascal?.recovery?.[subscription.queue ?? ''].republished ??
subscription.recovery.attempts
: 0;
if (currentAttempts === subscription.recovery.attempts) {

@@ -77,0 +79,0 @@ log.error({ err, content }, `${errorMessage} Will nack message and send to dead letter queue`);

{
"name": "@axah/mq",
"version": "0.0.0-20230913115535",
"version": "0.0.0-20230913120345",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc