@nestjs-plugins/nestjs-nats-jetstream-transport
Advanced tools
Comparing version 1.3.12 to 1.3.14
@@ -58,2 +58,5 @@ "use strict"; | ||
done.then(() => { | ||
if (this.nc.isDraining() || this.nc.isClosed()) { | ||
return; | ||
} | ||
subscription.destroy(); | ||
@@ -88,3 +91,6 @@ this.logger.log(`Unsubscribed ${subject}`); | ||
if (stream) { | ||
const streamSubjects = new Set([...stream.config.subjects, ...streamConfig.subjects]); | ||
const streamSubjects = new Set([ | ||
...stream.config.subjects, | ||
...streamConfig.subjects, | ||
]); | ||
const streamInfo = await this.jsm.streams.update(stream.config.name, { | ||
@@ -91,0 +97,0 @@ ...stream.config, |
{ | ||
"name": "@nestjs-plugins/nestjs-nats-jetstream-transport", | ||
"version": "1.3.12", | ||
"version": "1.3.14", | ||
"description": "Nats JetStream Transport for NestJS", | ||
@@ -35,3 +35,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@nestjs-plugins/nestjs-nats-jetstream-transport": "^1.3.12", | ||
"@nestjs-plugins/nestjs-nats-jetstream-transport": "^1.3.14", | ||
"nats": "^2.6.1", | ||
@@ -52,3 +52,3 @@ "reflect-metadata": "^0.1.13", | ||
}, | ||
"gitHead": "6b0a438f0fe588b068926981392696781a56fe37" | ||
"gitHead": "799e28000e2e78808e3066603b1bc4611355ea94" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
151563
489