graphql-ruby-client
Advanced tools
Comparing version 1.7.2 to 1.7.3
# graphql-ruby-client | ||
## 1.7.3 (17 Feb 2020) | ||
- Fix CLI for TypeScript | ||
## 1.7.2 (17 Feb 2020) | ||
@@ -4,0 +8,0 @@ |
@@ -8,2 +8,4 @@ #!/usr/bin/env node | ||
var minimist_1 = __importDefault(require("minimist")); | ||
var index_1 = __importDefault(require("./sync/index")); | ||
console.log(index_1.default); | ||
var argv = minimist_1.default(process.argv.slice(2)); | ||
@@ -19,4 +21,3 @@ if (argv.help || argv.h) { | ||
else { | ||
var sync = require("./sync"); | ||
var result = sync({ | ||
var result = index_1.default({ | ||
path: argv.path, | ||
@@ -34,5 +35,5 @@ relayPersistedOutput: argv["relay-persisted-output"], | ||
}); | ||
result.then(function (_res) { | ||
result.then(function () { | ||
process.exit(0); | ||
}).catch(function (_err) { | ||
}).catch(function () { | ||
// The error is logged by the function | ||
@@ -39,0 +40,0 @@ process.exit(1); |
{ | ||
"name": "graphql-ruby-client", | ||
"version": "1.7.2", | ||
"version": "1.7.3", | ||
"description": "JavaScript client for graphql-ruby", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
93362
2072