Comparing version 4.4.4 to 4.4.5
@@ -28,3 +28,2 @@ #!/usr/bin/env node | ||
var TChannelAsJSON = require('tchannel/as/json'); | ||
var thriftify = require('thriftify'); | ||
var minimist = require('minimist'); | ||
@@ -135,3 +134,3 @@ var myLocalIp = require('my-local-ip'); | ||
specs[serviceName] = | ||
thriftify.readSpecSync(path.join(opts.thrift, fileName)); | ||
fs.readFileSync(path.join(opts.thrift, fileName), 'utf8'); | ||
} | ||
@@ -186,3 +185,3 @@ }); | ||
sender = new TChannelAsThrift({spec: spec}); | ||
sender = new TChannelAsThrift({source: spec}); | ||
sender.send(request, opts.endpoint, opts.head, | ||
@@ -189,0 +188,0 @@ opts.body, onResponse); |
{ | ||
"name": "tcurl", | ||
"version": "4.4.4", | ||
"version": "4.4.5", | ||
"description": "A command line utility to talk to a tchannel server", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
30226
17
594