Commit 482eee0e by Chavee Issariyapat

fix seneca client error

parent 9595fd04
......@@ -7,36 +7,11 @@ var LRU = require("lru-cache") ,
});
var senecaAMQP = require('seneca')().use('seneca-amqp-transport');
var client_wf = senecaAMQP.client({
var client = senecaAMQP.client({
type: 'amqp',
pin: 'cmd:wf',
pin: ['cmd:wf','ms:kbpush,cmd:push'],
url: 'amqp://'+config.get('rabbitmq_username')+':'+config.get('rabbitmq_password')+'@'+config.get('rabbitmq_host')+':'+config.get('rabbitmq_port')
});
var client_push = senecaAMQP.client({
type: 'amqp',
pin: 'cmd:push',
url: 'amqp://'+config.get('rabbitmq_username')+':'+config.get('rabbitmq_password')+'@'+config.get('rabbitmq_host')+':'+config.get('rabbitmq_port')
});
// var client_wf = require('seneca')()
// .use('seneca-amqp-transport')
// .client({
// type: 'amqp',
// pin: 'cmd:wf',
// url: 'amqp://'+config.get('rabbitmq_username')+':'+config.get('rabbitmq_password')+'@'+config.get('rabbitmq_host')+':'+config.get('rabbitmq_port')
// });
// var client_push = require('seneca')()
// .use('seneca-amqp-transport')
// .client({
// type: 'amqp',
// pin: 'cmd:push',
// url: 'amqp://'+config.get('rabbitmq_username')+':'+config.get('rabbitmq_password')+'@'+config.get('rabbitmq_host')+':'+config.get('rabbitmq_port')
// });
module.exports = function(options={}) {
return function(req, res, next) {
......@@ -64,7 +39,7 @@ module.exports = function(options={}) {
"cid": data.client_id,
}];
client_wf.act('cmd:wf', {
client.act('cmd:wf', {
message: JSON.stringify(wfmsg)
}, (err, res) => {
if (err) {
......@@ -80,7 +55,7 @@ module.exports = function(options={}) {
"ts": Date.now(),
"cid": data.client_id,
}];
client_push.act('cmd:push', {
client.act('ms:kbpush,cmd:push', {
message: JSON.stringify(pushmsg)
}, (err, res) => {
if (err) {
......@@ -108,3 +83,42 @@ module.exports = function(options={}) {
}
}
}
// setInterval( function() {
// console.log('Fire...');
// let wfmsg = [{
// "topic": 'wf/30AEA47F2830',
// "payload":"F2:20",
// "ts": Date.now(),
// "cid": '30AEA47F2830',
// }];
// client.act('cmd:wf', {
// message: JSON.stringify(wfmsg)
// }, (err, res) => {
// if (err) {
// throw err;
// }
// });
// let pushmsg = [{
// "topic": 'title',
// "payload":"hello world",
// "ts": Date.now(),
// "cid": '30AEA47F2830',
// }];
// client.act('ms:kbpush,cmd:push', {
// message: JSON.stringify(pushmsg)
// }, (err, res) => {
// if (err) {
// throw err;
// }
// });
// },1000);
......@@ -7,13 +7,13 @@
"amqplib": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/amqplib/-/amqplib-0.5.2.tgz",
"integrity": "sha512-l9mCs6LbydtHqRniRwYkKdqxVa6XMz3Vw1fh+2gJaaVgTM6Jk3o8RccAKWKtlhT1US5sWrFh+KKxsVUALURSIA==",
"integrity": "sha1-0tcxPH/6pNELzx5iUt5FkbbMe2M=",
"requires": {
"bitsyntax": "0.0.4",
"bluebird": "3.5.1",
"bitsyntax": "~0.0.4",
"bluebird": "^3.4.6",
"buffer-more-ints": "0.0.2",
"readable-stream": "1.1.14",
"safe-buffer": "5.1.2"
"readable-stream": "1.x >=1.1.9",
"safe-buffer": "^5.0.1"
},
"dependencies": {
"isarray": {
......@@ -26,10 +26,10 @@
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
"integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
"requires": {
"core-util-is": "1.0.2",
"inherits": "2.0.3",
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "0.0.1",
"string_decoder": "0.10.31"
"string_decoder": "~0.10.x"
}
},
"string_decoder": {
......@@ -44,9 +44,9 @@
"resolved": "https://registry.npmjs.org/amqpuri/-/amqpuri-1.1.0.tgz",
"integrity": "sha1-v4Qt8OUJXDA+tPJVU5snY7G0Bis=",
"requires": {
"lodash.curry": "4.1.1",
"lodash.flowright": "3.5.0",
"lodash.pick": "4.4.0"
"lodash.curry": "^4.1.1",
"lodash.flowright": "^3.5.0",
"lodash.pick": "^4.4.0"
}
},
"archy": {
......@@ -69,7 +69,7 @@
"resolved": "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz",
"integrity": "sha1-9hbtqdPktmuMp/ynn2lXIsX44m8=",
"requires": {
"precond": "0.2.3"
"precond": "0.2"
}
},
"balanced-match": {
......@@ -84,7 +84,7 @@
"integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
"optional": true,
"requires": {
"tweetnacl": "0.14.5"
"tweetnacl": "^0.14.3"
}
},
"bitsyntax": {
......@@ -103,18 +103,18 @@
"boom": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/boom/-/boom-5.2.0.tgz",
"integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==",
"integrity": "sha1-XdnabuOl8wIHdDYpDLcX0/SlTgI=",
"requires": {
"hoek": "4.2.1"
"hoek": "4.x.x"
}
},
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"integrity": "sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=",
"optional": true,
"requires": {
"balanced-match": "1.0.0",
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
......@@ -128,10 +128,10 @@
"resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.12.tgz",
"integrity": "sha1-8VDw9nSKvdcq6uhPBEA74u8RN5c=",
"requires": {
"dtrace-provider": "0.8.7",
"moment": "2.22.2",
"mv": "2.1.1",
"safe-json-stringify": "1.2.0"
"dtrace-provider": "~0.8",
"moment": "^2.10.6",
"mv": "~2",
"safe-json-stringify": "~1"
}
},
"concat-map": {
......@@ -159,10 +159,10 @@
"resolved": "https://registry.npmjs.org/csv/-/csv-1.2.1.tgz",
"integrity": "sha1-UjHt/BxxUlEuxFeBB2p6l/9SXAw=",
"requires": {
"csv-generate": "1.1.2",
"csv-parse": "1.3.3",
"csv-stringify": "1.1.2",
"stream-transform": "0.2.2"
"csv-generate": "^1.1.2",
"csv-parse": "^1.3.3",
"csv-stringify": "^1.1.2",
"stream-transform": "^0.2.2"
}
},
"csv-generate": {
......@@ -180,7 +180,7 @@
"resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-1.1.2.tgz",
"integrity": "sha1-d6QVJlgbzjOA8SsA18W7rHDIK1g=",
"requires": {
"lodash.get": "4.4.2"
"lodash.get": "~4.4.2"
}
},
"dashdash": {
......@@ -188,13 +188,13 @@
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
"integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
"requires": {
"assert-plus": "1.0.0"
"assert-plus": "^1.0.0"
}
},
"debug": {
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
"integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=",
"requires": {
"ms": "2.0.0"
}
......@@ -210,7 +210,7 @@
"integrity": "sha1-3JObTT4GIM/gwc2APQ0tftBP/QQ=",
"optional": true,
"requires": {
"nan": "2.10.0"
"nan": "^2.10.0"
}
},
"ecc-jsbn": {
......@@ -219,15 +219,15 @@
"integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=",
"optional": true,
"requires": {
"jsbn": "0.1.1"
"jsbn": "~0.1.0"
}
},
"eraro": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/eraro/-/eraro-1.0.0.tgz",
"integrity": "sha512-JeEqKyNgOxZNji2otWWDCDu1sWqGkrIBBhoGQH0LrPZObccQW8CoD94xkOtpmmlHeY/frG8IwR+jeCS8SQA/Xw==",
"integrity": "sha1-iiFn8LxvlkIAovzeejhtLV27+RI=",
"requires": {
"lodash": "4.17.10"
"lodash": "4.17"
}
},
"escape-regexp-component": {
......@@ -238,9 +238,9 @@
"ewma": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/ewma/-/ewma-2.0.1.tgz",
"integrity": "sha512-MYYK17A76cuuyvkR7MnqLW4iFYPEi5Isl2qb8rXiWpLiwFS9dxW/rncuNnjjgSENuVqZQkIuR4+DChVL4g1lnw==",
"integrity": "sha1-mHbBxJGsVzPIZmABo5YaBMl88eg=",
"requires": {
"assert-plus": "1.0.0"
"assert-plus": "^1.0.0"
}
},
"extsprintf": {
......@@ -251,22 +251,22 @@
"fast-decode-uri-component": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fast-decode-uri-component/-/fast-decode-uri-component-1.0.0.tgz",
"integrity": "sha512-WQSYVKn6tDW/3htASeUkrx5LcnuTENQIZQPCVlwdnvIJ7bYtSpoJYq38MgUJnx1CQIR1gjZ8HJxAEcN4gqugBg=="
"integrity": "sha1-fOEDNqpLJihv7pPXHmeF/w9ZajM="
},
"find-my-way": {
"version": "1.15.1",
"resolved": "https://registry.npmjs.org/find-my-way/-/find-my-way-1.15.1.tgz",
"integrity": "sha512-cwR1IxkB1JIIGxWpX3TQC1U/51htT4dps536rno7fkszeSSevvZGkl1dpIANRNq+X6/VDSF/S4JAuDPSTepHBA==",
"requires": {
"fast-decode-uri-component": "1.0.0",
"safe-regex": "1.1.0",
"semver-store": "0.3.0"
"fast-decode-uri-component": "^1.0.0",
"safe-regex": "^1.1.0",
"semver-store": "^0.3.0"
}
},
"formidable": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.1.tgz",
"integrity": "sha512-Fs9VRguL0gqGHkXS5GQiMCr1VhZBxz0JnJs4JmMp/2jL18Fmbzvv7vOFRU+U8TBkHEE/CX1qDXzJplVULgsLeg=="
"integrity": "sha1-cPt8oCkO5v+WEJBBX0s989IIJlk="
},
"gate-executor": {
"version": "1.1.1",
......@@ -278,15 +278,15 @@
"resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
"integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
"requires": {
"assert-plus": "1.0.0"
"assert-plus": "^1.0.0"
}
},
"gex": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/gex/-/gex-0.3.0.tgz",
"integrity": "sha512-A1F2DMZUAnieFmVowt1QHcH7AJQZApRThR+z4C0GlzMGi6VYUAf9UvQdxODiCajGPGSRso86YJQ48E8+b5CBAQ==",
"integrity": "sha1-IXMkzNblxh0khckT63YUshNYuX8=",
"requires": {
"lodash": "4.17.10"
"lodash": "4.17"
}
},
"glob": {
......@@ -295,11 +295,11 @@
"integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=",
"optional": true,
"requires": {
"inflight": "1.0.6",
"inherits": "2.0.3",
"minimatch": "3.0.4",
"once": "1.4.0",
"path-is-absolute": "1.0.1"
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "2 || 3",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
}
},
"handle-thing": {
......@@ -310,17 +310,17 @@
"hoek": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz",
"integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA=="
"integrity": "sha1-ljRQKqEsRF3Vp8VzS1cruHOKrLs="
},
"hpack.js": {
"version": "2.1.6",
"resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
"integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=",
"requires": {
"inherits": "2.0.3",
"obuf": "1.1.2",
"readable-stream": "2.3.6",
"wbuf": "1.7.3"
"inherits": "^2.0.1",
"obuf": "^1.0.0",
"readable-stream": "^2.0.1",
"wbuf": "^1.1.0"
}
},
"http-deceiver": {
......@@ -333,9 +333,9 @@
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
"integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
"requires": {
"assert-plus": "1.0.0",
"jsprim": "1.4.1",
"sshpk": "1.14.2"
"assert-plus": "^1.0.0",
"jsprim": "^1.2.2",
"sshpk": "^1.7.0"
}
},
"inflight": {
......@@ -344,8 +344,8 @@
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"optional": true,
"requires": {
"once": "1.4.0",
"wrappy": "1.0.2"
"once": "^1.3.0",
"wrappy": "1"
}
},
"inherits": {
......@@ -423,29 +423,29 @@
"lru-cache": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz",
"integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==",
"integrity": "sha1-oRdc80lt/IQ2wVbDNLSVWZK85pw=",
"requires": {
"pseudomap": "1.0.2",
"yallist": "2.1.2"
"pseudomap": "^1.0.2",
"yallist": "^2.1.2"
}
},
"mime": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
"integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
"integrity": "sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE="
},
"minimalistic-assert": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="
"integrity": "sha1-LhlN4ERibUoQ5/f7wAznPoPk1cc="
},
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=",
"optional": true,
"requires": {
"brace-expansion": "1.1.11"
"brace-expansion": "^1.1.7"
}
},
"minimist": {
......@@ -480,9 +480,9 @@
"integrity": "sha1-rmzg1vbV4KT32JN5jQPB6pVZtqI=",
"optional": true,
"requires": {
"mkdirp": "0.5.1",
"ncp": "2.0.0",
"rimraf": "2.4.5"
"mkdirp": "~0.5.1",
"ncp": "~2.0.0",
"rimraf": "~2.4.0"
}
},
"nan": {
......@@ -502,10 +502,10 @@
"resolved": "https://registry.npmjs.org/ndjson/-/ndjson-1.5.0.tgz",
"integrity": "sha1-rmA7NrE0vOw0e0UkIrC/mNWDLsg=",
"requires": {
"json-stringify-safe": "5.0.1",
"minimist": "1.2.0",
"split2": "2.2.0",
"through2": "2.0.3"
"json-stringify-safe": "^5.0.1",
"minimist": "^1.2.0",
"split2": "^2.1.0",
"through2": "^2.0.3"
},
"dependencies": {
"minimist": {
......@@ -528,23 +528,23 @@
"norma": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/norma/-/norma-0.4.1.tgz",
"integrity": "sha512-BSnU+B35GzJgkEcNqiMIm79507Qg68O5L7gRVKATRSx17BHyDn0gVJsi3YzoANC1NbBoKRExwd3KsEZSUox63Q==",
"integrity": "sha1-C+LwW7pMA0xs5brJhE4SQWmdZYU=",
"requires": {
"eraro": "1.0.0",
"lodash": "4.17.10"
"eraro": "1.0",
"lodash": "4.17"
}
},
"obuf": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz",
"integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg=="
"integrity": "sha1-Cb6jND1BhZ69RGKS0RydTbYZCE4="
},
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"requires": {
"wrappy": "1.0.2"
"wrappy": "1"
}
},
"ordu": {
......@@ -566,16 +566,16 @@
"patrun": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/patrun/-/patrun-1.0.0.tgz",
"integrity": "sha512-oemWSuxjb27nPkREl88BxZ2EFDFUKSPace+zYZjFKj2xFn6w/LgDFGptgQvme384As2gpEFIv4WMVE1cb9lDXQ==",
"integrity": "sha1-xQohdOPgKv5/vDXRbmWNIcZqHmY=",
"requires": {
"gex": "0.3.0",
"lodash": "4.17.10"
"gex": "0.3",
"lodash": "4.17"
}
},
"pidusage": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/pidusage/-/pidusage-1.2.0.tgz",
"integrity": "sha512-OGo+iSOk44HRJ8q15AyG570UYxcm5u+R99DI8Khu8P3tKGkVu5EZX4ywHglWSTMNNXQ274oeGpYrvFEhDIFGPg=="
"integrity": "sha1-Ze6WrOTgikzT+SQJlshbNnFx7pI="
},
"precond": {
"version": "0.2.3",
......@@ -585,7 +585,7 @@
"process-nextick-args": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
"integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw=="
"integrity": "sha1-o31zL0JxtKsa0HDTVQjoKQeI/6o="
},
"pseudomap": {
"version": "1.0.2",
......@@ -595,20 +595,20 @@
"qs": {
"version": "6.5.2",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
"integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
"integrity": "sha1-yzroBuh0BERYTvFUzo7pjUA/PjY="
},
"readable-stream": {
"version": "2.3.6",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"integrity": "sha1-sRwn2IuP8fvgcGQ8+UsMea4bCq8=",
"requires": {
"core-util-is": "1.0.2",
"inherits": "2.0.3",
"isarray": "1.0.0",
"process-nextick-args": "2.0.0",
"safe-buffer": "5.1.2",
"string_decoder": "1.1.1",
"util-deprecate": "1.0.2"
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
"isarray": "~1.0.0",
"process-nextick-args": "~2.0.0",
"safe-buffer": "~5.1.1",
"string_decoder": "~1.1.1",
"util-deprecate": "~1.0.1"
}
},
"reconnect-core": {
......@@ -616,53 +616,53 @@
"resolved": "https://registry.npmjs.org/reconnect-core/-/reconnect-core-1.3.0.tgz",
"integrity": "sha1-+65SkZp4d9hE4yRtAaLyZwHIM8g=",
"requires": {
"backoff": "2.5.0"
"backoff": "~2.5.0"
}
},
"restify": {
"version": "7.2.1",
"resolved": "https://registry.npmjs.org/restify/-/restify-7.2.1.tgz",
"integrity": "sha512-xygVfQn/FiyzSPNIiOlzos6+RVcmTTK/bN0/m4z6vQwUY1yXntAsXM8ckq6hMxYfkhZfbPMM5hvBf75B8zLE1g==",
"requires": {
"assert-plus": "1.0.0",
"bunyan": "1.8.12",
"csv": "1.2.1",
"dtrace-provider": "0.8.7",
"escape-regexp-component": "1.0.2",
"ewma": "2.0.1",
"find-my-way": "1.15.1",
"formidable": "1.2.1",
"http-signature": "1.2.0",
"lodash": "4.17.10",
"lru-cache": "4.1.3",
"mime": "1.6.0",
"negotiator": "0.6.1",
"once": "1.4.0",
"pidusage": "1.2.0",
"qs": "6.5.2",
"restify-errors": "5.0.0",
"semver": "5.5.0",
"spdy": "3.4.7",
"uuid": "3.3.2",
"vasync": "1.6.4",
"verror": "1.10.0"
"integrity": "sha1-+sTRSSJMvPs+0GWF3whDNWkCXas=",
"requires": {
"assert-plus": "^1.0.0",
"bunyan": "^1.8.12",
"csv": "^1.1.1",
"dtrace-provider": "^0.8.1",
"escape-regexp-component": "^1.0.2",
"ewma": "^2.0.1",
"find-my-way": "^1.13.0",
"formidable": "^1.2.1",
"http-signature": "^1.2.0",
"lodash": "^4.17.10",
"lru-cache": "^4.1.3",
"mime": "^1.5.0",
"negotiator": "^0.6.1",
"once": "^1.4.0",
"pidusage": "^1.2.0",
"qs": "^6.5.2",
"restify-errors": "^5.0.0",
"semver": "^5.4.1",
"spdy": "^3.4.7",
"uuid": "^3.1.0",
"vasync": "^1.6.4",
"verror": "^1.10.0"
}
},
"restify-errors": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/restify-errors/-/restify-errors-5.0.0.tgz",
"integrity": "sha512-+vby9Kxf7qlzvbZSTIEGkIixkeHG+pVCl34dk6eKnL+ua4pCezpdLT/1/eabzPZb65ADrgoc04jeWrrF1E1pvQ==",
"integrity": "sha1-ZocX4QBoPuxs4NUV+J/x2+wlSo0=",
"requires": {
"assert-plus": "1.0.0",
"lodash": "4.17.10",
"safe-json-stringify": "1.2.0",
"verror": "1.10.0"
"assert-plus": "^1.0.0",
"lodash": "^4.2.1",
"safe-json-stringify": "^1.0.3",
"verror": "^1.8.1"
}
},
"ret": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
"integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg=="
"integrity": "sha1-uKSCXVvbH8P29Twrwz+BOIaBx7w="
},
"rimraf": {
"version": "2.4.5",
......@@ -670,7 +670,7 @@
"integrity": "sha1-7nEM5dk6j9uFb7Xqj/Di11k0sto=",
"optional": true,
"requires": {
"glob": "6.0.4"
"glob": "^6.0.1"
}
},
"rolling-stats": {
......@@ -681,12 +681,12 @@
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
"integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0="
},
"safe-json-stringify": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz",
"integrity": "sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg==",
"integrity": "sha1-NW5EvJjx+TzkXfFLzXwBzahuCv0=",
"optional": true
},
"safe-regex": {
......@@ -694,13 +694,13 @@
"resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
"integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",
"requires": {
"ret": "0.1.15"
"ret": "~0.1.10"
}
},
"safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
"integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo="
},
"select-hose": {
"version": "2.0.0",
......@@ -715,31 +715,31 @@
"semver-store": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/semver-store/-/semver-store-0.3.0.tgz",
"integrity": "sha512-TcZvGMMy9vodEFSse30lWinkj+JgOBvPn8wRItpQRSayhc+4ssDs335uklkfvQQJgL/WvmHLVj4Ycv2s7QCQMg=="
"integrity": "sha1-zmAv8H3zcIDsn0+0CylXZUe+++k="
},
"seneca": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/seneca/-/seneca-3.6.0.tgz",
"integrity": "sha512-vZO/rU0n1CQE/2bHuUtJU1NevF0NTlr+fZuHDrVuk+sSqoy+u+rtcG/8P1nqNEpPLRWfgJB8c/BrJyieg4uEgg==",
"requires": {
"archy": "1.0.0",
"eraro": "1.0.0",
"gate-executor": "1.1.1",
"gex": "0.3.0",
"json-stringify-safe": "5.0.1",
"jsonic": "0.3.0",
"lodash": "4.17.10",
"minimist": "1.2.0",
"nid": "0.3.2",
"norma": "0.4.1",
"ordu": "0.1.1",
"patrun": "1.0.0",
"qs": "6.5.2",
"rolling-stats": "0.1.1",
"semver": "5.5.0",
"seneca-transport": "2.3.0",
"use-plugin": "1.0.2",
"wreck": "12.5.1"
"archy": "1.0",
"eraro": "1.0",
"gate-executor": "1.1",
"gex": "0.3",
"json-stringify-safe": "5.0",
"jsonic": "0.3",
"lodash": "4.17",
"minimist": "1.2",
"nid": "0.3",
"norma": "0.4",
"ordu": "0.1",
"patrun": "1.0",
"qs": "6.5",
"rolling-stats": "0.1",
"semver": "5.5",
"seneca-transport": "2.3",
"use-plugin": "1.0",
"wreck": "12.5"
},
"dependencies": {
"minimist": {
......@@ -752,32 +752,37 @@
"seneca-amqp-transport": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/seneca-amqp-transport/-/seneca-amqp-transport-2.2.0.tgz",
"integrity": "sha512-3hNQEc/pCZj9d5Qhjev90OIOHdncX1GKCdx7Cf8uKirA6R97Nizf/V2CcXLDsLQqvzvtc2G9sG3mnERasewpxA==",
"integrity": "sha1-78JjYC5mP/0tJzwqS5UMZhb+xhw=",
"requires": {
"amqplib": "0.5.2",
"amqpuri": "1.1.0",
"bluebird": "3.5.1",
"jsonic": "0.3.0",
"lodash": "4.17.10",
"uuid": "3.3.2"
"amqplib": "^0.5.1",
"amqpuri": "^1.1.0",
"bluebird": "^3.5.0",
"jsonic": "^0.3.0",
"lodash": "^4.17.4",
"uuid": "^3.1.0"
}
},
"seneca-fire-and-forget": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/seneca-fire-and-forget/-/seneca-fire-and-forget-1.0.0.tgz",
"integrity": "sha1-UQfeBlIvToEksaXzR5zVPjq9axY="
},
"seneca-transport": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/seneca-transport/-/seneca-transport-2.3.0.tgz",
"integrity": "sha512-kocolZ+54fNbwVFloBnOyjeH4SFXFGyefeuqh2sNoQCycAGxBQpzFC8CIJkjL1YUQS8KczPxEs5sIFrKYIQdnA==",
"integrity": "sha1-85KtZrknyzLmld8WEzKrsRtNdBA=",
"requires": {
"eraro": "1.0.0",
"gex": "0.3.0",
"jsonic": "0.3.0",
"lodash": "4.17.10",
"lru-cache": "4.1.3",
"ndjson": "1.5.0",
"nid": "0.3.2",
"patrun": "1.0.0",
"qs": "6.5.2",
"reconnect-core": "1.3.0",
"wreck": "12.5.1"
"eraro": "1.0",
"gex": "0.3",
"jsonic": "0.3",
"lodash": "4.17",
"lru-cache": "4.1",
"ndjson": "1.5",
"nid": "0.3",
"patrun": "1.0",
"qs": "6.5",
"reconnect-core": "1.3",
"wreck": "12.5"
}
},
"spdy": {
......@@ -785,34 +790,34 @@
"resolved": "https://registry.npmjs.org/spdy/-/spdy-3.4.7.tgz",
"integrity": "sha1-Qv9B7OXMD5mjpsKKq7c/XDsDrLw=",
"requires": {
"debug": "2.6.9",
"handle-thing": "1.2.5",
"http-deceiver": "1.2.7",
"safe-buffer": "5.1.2",
"select-hose": "2.0.0",
"spdy-transport": "2.1.0"
"debug": "^2.6.8",
"handle-thing": "^1.2.5",
"http-deceiver": "^1.2.7",
"safe-buffer": "^5.0.1",
"select-hose": "^2.0.0",
"spdy-transport": "^2.0.18"
}
},
"spdy-transport": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-2.1.0.tgz",
"integrity": "sha512-bpUeGpZcmZ692rrTiqf9/2EUakI6/kXX1Rpe0ib/DyOzbiexVfXkw6GnvI9hVGvIwVaUhkaBojjCZwLNRGQg1g==",
"integrity": "sha1-S7sVqv/tC+791WrWHb3Iuj4st6E=",
"requires": {
"debug": "2.6.9",
"detect-node": "2.0.3",
"hpack.js": "2.1.6",
"obuf": "1.1.2",
"readable-stream": "2.3.6",
"safe-buffer": "5.1.2",
"wbuf": "1.7.3"
"debug": "^2.6.8",
"detect-node": "^2.0.3",
"hpack.js": "^2.1.6",
"obuf": "^1.1.1",
"readable-stream": "^2.2.9",
"safe-buffer": "^5.0.1",
"wbuf": "^1.7.2"
}
},
"split2": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/split2/-/split2-2.2.0.tgz",
"integrity": "sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==",
"integrity": "sha1-GGsldbz4PoW30YRldWI47k7kJJM=",
"requires": {
"through2": "2.0.3"
"through2": "^2.0.2"
}
},
"sshpk": {
......@@ -820,15 +825,15 @@
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz",
"integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=",
"requires": {
"asn1": "0.2.3",
"assert-plus": "1.0.0",
"bcrypt-pbkdf": "1.0.2",
"dashdash": "1.14.1",
"ecc-jsbn": "0.1.1",
"getpass": "0.1.7",
"jsbn": "0.1.1",
"safer-buffer": "2.1.2",
"tweetnacl": "0.14.5"
"asn1": "~0.2.3",
"assert-plus": "^1.0.0",
"bcrypt-pbkdf": "^1.0.0",
"dashdash": "^1.12.0",
"ecc-jsbn": "~0.1.1",
"getpass": "^0.1.1",
"jsbn": "~0.1.0",
"safer-buffer": "^2.0.2",
"tweetnacl": "~0.14.0"
}
},
"stream-transform": {
......@@ -839,9 +844,9 @@
"string_decoder": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
"integrity": "sha1-nPFhG6YmhdcDCunkujQUnDrwP8g=",
"requires": {
"safe-buffer": "5.1.2"
"safe-buffer": "~5.1.0"
}
},
"through2": {
......@@ -849,8 +854,8 @@
"resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz",
"integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=",
"requires": {
"readable-stream": "2.3.6",
"xtend": "4.0.1"
"readable-stream": "^2.1.5",
"xtend": "~4.0.1"
}
},
"tweetnacl": {
......@@ -862,11 +867,11 @@
"use-plugin": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/use-plugin/-/use-plugin-1.0.2.tgz",
"integrity": "sha512-46ZNYmSDMgyCBsUIPwLFWzY45jIu4sHFKKq3/M63XCd/RxvliC4qRVWtUAWEexP7q8X1MHJ2Br1U5KLkVFcQCw==",
"integrity": "sha1-kuTm2asDtpAxCTpnhkWdwIeR1DY=",
"requires": {
"eraro": "1.0.0",
"nid": "0.3.2",
"norma": "0.4.1"
"eraro": "1.0",
"nid": "0.3",
"norma": "0.4"
}
},
"util-deprecate": {
......@@ -877,7 +882,7 @@
"uuid": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
"integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="
"integrity": "sha1-G0r0lV6zB3xQHCOHL8ZROBFYcTE="
},
"vasync": {
"version": "1.6.4",
......@@ -907,17 +912,17 @@
"resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
"integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
"requires": {
"assert-plus": "1.0.0",
"assert-plus": "^1.0.0",
"core-util-is": "1.0.2",
"extsprintf": "1.3.0"
"extsprintf": "^1.2.0"
}
},
"wbuf": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz",
"integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==",
"integrity": "sha1-wdjRSTFtPqhShIiVy2oL/oh7h98=",
"requires": {
"minimalistic-assert": "1.0.1"
"minimalistic-assert": "^1.0.0"
}
},
"wrappy": {
......@@ -928,10 +933,10 @@
"wreck": {
"version": "12.5.1",
"resolved": "https://registry.npmjs.org/wreck/-/wreck-12.5.1.tgz",
"integrity": "sha512-l5DUGrc+yDyIflpty1x9XuMj1ehVjC/dTbF3/BasOO77xk0EdEa4M/DuOY8W88MQDAD0fEDqyjc8bkIMHd2E9A==",
"integrity": "sha1-zS/84WdEnh8CQu2c+AVS4g+2kCo=",
"requires": {
"boom": "5.2.0",
"hoek": "4.2.1"
"boom": "5.x.x",
"hoek": "4.x.x"
}
},
"xtend": {
......
......@@ -13,6 +13,7 @@
"lru-cache": "^4.1.3",
"restify": "^7.1.1",
"seneca": "^3.6.0",
"seneca-amqp-transport": "^2.2.0"
"seneca-amqp-transport": "^2.2.0",
"seneca-fire-and-forget": "^1.0.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment