loopback-connector-natsgetter
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -13,2 +13,3 @@ // Copyright IBM Corp. 2013,2016. All Rights Reserved. | ||
const assert = require('assert'); | ||
const Nats = require('strong-pubsub-nats-streaming').Nats; | ||
@@ -36,3 +37,3 @@ var path = require('path'); | ||
const self = this; | ||
app.models.Nats.publish(self.publishName, { command: 'all', data: {filter, model} }, (err, reply) => { | ||
Nats.publish(self.publishName, { command: 'all', data: {filter, model} }, (err, reply) => { | ||
if (err) return callback(err); | ||
@@ -50,3 +51,3 @@ reply.forEach(val => { | ||
const self = this; | ||
app.models.Nats.publish(self.publishName, { command: 'create', data: {model, body} }, (err, id) => { | ||
Nats.publish(self.publishName, { command: 'create', data: {model, body} }, (err, id) => { | ||
return callback(err, id); | ||
@@ -53,0 +54,0 @@ }); |
{ | ||
"_from": "loopback-connector-natsgetter", | ||
"_id": "loopback-connector-natsgetter@1.1.2", | ||
"_args": [ | ||
[ | ||
"loopback-connector-natsgetter@1.2.1", | ||
"D:\\Fixcar\\gitlab\\market" | ||
] | ||
], | ||
"_from": "loopback-connector-natsgetter@1.2.1", | ||
"_id": "loopback-connector-natsgetter@1.2.1", | ||
"_inBundle": false, | ||
"_integrity": "sha512-emX7CTaB5gG4pT4ipgbFt8MWPYji74Z13ZdF8lsZ9G4yGgw+nK1sXoLLZnUpKdT4FC1qStN4rqNV2KkMIx2p7Q==", | ||
"_integrity": "sha512-UX8+Ld1wJmPzrqxJQBBvniTVmdu2pVE9cimAkJhOQsbl17a4wqLODifQ24WMgmLBQhLFIqXAwPvjaj+ttw6iiA==", | ||
"_location": "/loopback-connector-natsgetter", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "tag", | ||
"type": "version", | ||
"registry": true, | ||
"raw": "loopback-connector-natsgetter", | ||
"raw": "loopback-connector-natsgetter@1.2.1", | ||
"name": "loopback-connector-natsgetter", | ||
"escapedName": "loopback-connector-natsgetter", | ||
"rawSpec": "", | ||
"rawSpec": "1.2.1", | ||
"saveSpec": null, | ||
"fetchSpec": "latest" | ||
"fetchSpec": "1.2.1" | ||
}, | ||
"_requiredBy": [ | ||
"#USER", | ||
"/" | ||
], | ||
"_resolved": "https://registry.npmjs.org/loopback-connector-natsgetter/-/loopback-connector-natsgetter-1.1.2.tgz", | ||
"_resolved": "https://registry.npmjs.org/loopback-connector-natsgetter/-/loopback-connector-natsgetter-1.2.1.tgz", | ||
"_shasum": "f70652425c500ee7b97a3b756b938b954a2ab2f5", | ||
"_spec": "loopback-connector-natsgetter", | ||
"_where": "C:\\Bulat\\Projects\\Fixcar\\boilerroom", | ||
"_spec": "1.2.1", | ||
"_where": "D:\\Fixcar\\gitlab\\market", | ||
"author": { | ||
@@ -39,3 +44,3 @@ "name": "Bulat Dashiev", | ||
}, | ||
"version": "1.2.1" | ||
"version": "1.2.2" | ||
} |
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
3414
60