loopback-connector-natsgetter
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -35,3 +35,3 @@ // Copyright IBM Corp. 2013,2016. All Rights Reserved. | ||
const self = this; | ||
app.models.Nats.publish(self.publishName, { command: 'all', model, data: filter }, (err, reply) => { | ||
app.models.Nats.publish(self.publishName, { command: 'all', data: {filter, model} }, (err, reply) => { | ||
if (err) return callback(err); | ||
@@ -49,3 +49,3 @@ reply.forEach(val => { | ||
const self = this; | ||
app.models.Nats.publish(self.publishName, { command: 'create', model, data }, (err, id) => { | ||
app.models.Nats.publish(self.publishName, { command: 'create', data: {model, data} }, (err, id) => { | ||
return callback(err, id); | ||
@@ -52,0 +52,0 @@ }); |
{ | ||
"_from": "loopback-connector-natsgetter@^1.1.0", | ||
"_id": "loopback-connector-natsgetter@1.1.1", | ||
"_from": "loopback-connector-natsgetter", | ||
"_id": "loopback-connector-natsgetter@1.1.2", | ||
"_inBundle": false, | ||
"_integrity": "sha512-Qbu9pZwbpKQEqkWWzqyAmFK3jGUHX5pReFqIE/RmvQdPXK510sp5BEGPGOWSMBYf+DhiklbdRSqw5JP9YwjweA==", | ||
"_integrity": "sha512-emX7CTaB5gG4pT4ipgbFt8MWPYji74Z13ZdF8lsZ9G4yGgw+nK1sXoLLZnUpKdT4FC1qStN4rqNV2KkMIx2p7Q==", | ||
"_location": "/loopback-connector-natsgetter", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "range", | ||
"type": "tag", | ||
"registry": true, | ||
"raw": "loopback-connector-natsgetter@^1.1.0", | ||
"raw": "loopback-connector-natsgetter", | ||
"name": "loopback-connector-natsgetter", | ||
"escapedName": "loopback-connector-natsgetter", | ||
"rawSpec": "^1.1.0", | ||
"rawSpec": "", | ||
"saveSpec": null, | ||
"fetchSpec": "^1.1.0" | ||
"fetchSpec": "latest" | ||
}, | ||
@@ -22,6 +22,6 @@ "_requiredBy": [ | ||
], | ||
"_resolved": "https://registry.npmjs.org/loopback-connector-natsgetter/-/loopback-connector-natsgetter-1.1.1.tgz", | ||
"_shasum": "4e8874bb042776d0c37f1fc64b4ee233e0dd4096", | ||
"_spec": "loopback-connector-natsgetter@^1.1.0", | ||
"_where": "C:\\Bulat\\Projects\\Demand", | ||
"_resolved": "https://registry.npmjs.org/loopback-connector-natsgetter/-/loopback-connector-natsgetter-1.1.2.tgz", | ||
"_shasum": "f70652425c500ee7b97a3b756b938b954a2ab2f5", | ||
"_spec": "loopback-connector-natsgetter", | ||
"_where": "C:\\Bulat\\Projects\\Fixcar\\boilerroom", | ||
"author": { | ||
@@ -40,3 +40,3 @@ "name": "Bulat Dashiev", | ||
}, | ||
"version": "1.1.2" | ||
"version": "1.2.0" | ||
} |
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
3281