@zeplin/cli
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "@zeplin/cli", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Zeplin CLI", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/app", |
@@ -19,2 +19,3 @@ "use strict"; | ||
const http_status_codes_1 = require("http-status-codes"); | ||
const url_1 = require("url"); | ||
const LOGIN_URL = "/users/login"; | ||
@@ -60,3 +61,3 @@ const AUTHORIZE_URL = "/oauth/authorize"; | ||
const [, responseQueryParams] = response.data.split("?"); | ||
const responseParams = new URLSearchParams(responseQueryParams); | ||
const responseParams = new url_1.URLSearchParams(responseQueryParams); | ||
return responseParams.get("access_token"); | ||
@@ -63,0 +64,0 @@ } |
{ | ||
"name": "@zeplin/cli", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Zeplin CLI", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/app", |
Sorry, the diff of this file is not supported yet
105304
1532