@vtex/api
Advanced tools
Comparing version 0.10.1-beta to 0.10.2-beta
@@ -205,3 +205,5 @@ 'use strict'; | ||
listApps(account, workspace, _ref4) { | ||
listApps(account, workspace) { | ||
var _ref4 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
let oldVersion = _ref4.oldVersion; | ||
@@ -221,3 +223,5 @@ let context = _ref4.context; | ||
listAppFiles(account, workspace, app, _ref5) { | ||
listAppFiles(account, workspace, app) { | ||
var _ref5 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; | ||
let prefix = _ref5.prefix; | ||
@@ -224,0 +228,0 @@ let context = _ref5.context; |
@@ -141,2 +141,7 @@ 'use strict'; | ||
const data = (_ref) => { | ||
let _data = _ref.data; | ||
return _data; | ||
}; | ||
class Client { | ||
@@ -152,4 +157,5 @@ constructor(authToken, userAgent, baseURL) { | ||
}); | ||
this.http.interceptors.response.use(data, Promise.reject); | ||
} | ||
} | ||
exports.default = Client; |
@@ -178,3 +178,3 @@ 'use strict'; | ||
* @param workspace | ||
* @param stream A stream of Vinyl files. | ||
* @param files An array of {path, contents}, where contents can be a String, a Buffer or a ReadableStream. | ||
* @return Promise | ||
@@ -181,0 +181,0 @@ */ |
{ | ||
"name": "@vtex/api", | ||
"version": "0.10.1-beta", | ||
"version": "0.10.2-beta", | ||
"description": "VTEX I/O API client", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
53117
1086