@silenteer/natsu-port-server
Advanced tools
Comparing version 0.0.43 to 0.0.44
@@ -94,2 +94,3 @@ "use strict"; | ||
subject: wsRequest.subject, | ||
data: wsRequest.data, | ||
headers, | ||
@@ -269,3 +270,3 @@ options, | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const { subject, headers, options } = params; | ||
const { subject, headers, options, data = {} } = params; | ||
let result; | ||
@@ -276,3 +277,3 @@ const shouldSetNamespace = (_a = configuration_1.default.natsNamespaceSubjects) === null || _a === void 0 ? void 0 : _a.includes(subject); | ||
headers, | ||
body: { subject }, | ||
body: Object.assign({ subject }, data), | ||
}; | ||
@@ -279,0 +280,0 @@ const message = yield service_nats_1.default.request({ |
{ | ||
"name": "@silenteer/natsu-port-server", | ||
"version": "0.0.43", | ||
"version": "0.0.44", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "private": false, |
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
55060
847