@vtex/api
Advanced tools
Comparing version 0.10.3 to 0.10.4
@@ -15,2 +15,5 @@ 'use strict'; | ||
const data = _data => _data; | ||
const noTransforms = [data]; | ||
const routes = { | ||
@@ -21,2 +24,4 @@ Apps: (account, workspace) => `/${ account }/${ workspace }/apps`, | ||
Acknowledge: (account, workspace, app, service) => `${ routes.App(account, workspace, app) }/acknowledge/${ service }`, | ||
Settings: (account, workspace, app) => `${ routes.App(account, workspace, app) }/settings`, | ||
@@ -48,2 +53,6 @@ | ||
acknowledgeApp(account, workspace, app, service) { | ||
return this.http.put(routes.Acknowledge(account, workspace, app, service)); | ||
} | ||
getAppSettings(account, workspace, app) { | ||
@@ -116,3 +125,3 @@ var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; | ||
const params = { context: contextQuery(context) }; | ||
return this.http(routes.File(account, workspace, app, path), { params: params }); | ||
return this.http(routes.File(account, workspace, app, path), { params: params, transformResponse: noTransforms }); | ||
} | ||
@@ -119,0 +128,0 @@ |
{ | ||
"name": "@vtex/api", | ||
"version": "0.10.3", | ||
"version": "0.10.4", | ||
"description": "VTEX I/O API client", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
31291
364
0