Comparing version 0.1.0 to 0.1.1
@@ -68,3 +68,3 @@ #!/usr/bin/env node | ||
return __awaiter(_this, void 0, void 0, function () { | ||
var masto, token, error_1; | ||
var masto, access_token, error_1; | ||
return __generator(this, function (_b) { | ||
@@ -82,8 +82,7 @@ switch (_b.label) { | ||
password: password, | ||
// @ts-ignore | ||
scope: 'read write push', | ||
})]; | ||
case 3: | ||
token = _b.sent(); | ||
console.log(token); | ||
access_token = (_b.sent()).access_token; | ||
console.log(access_token); | ||
process.exit(0); | ||
@@ -90,0 +89,0 @@ return [3 /*break*/, 5]; |
{ | ||
"name": "masto-cli", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"bin": "./cli/index.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/neetbox/masto-cli.git", |
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
39564
97