@vtex/api
Advanced tools
Comparing version 0.12.2 to 0.12.3
@@ -23,2 +23,4 @@ 'use strict'; | ||
Link: (account, workspace, app) => `/${ account }/${ workspace }/links/${ app }`, | ||
Acknowledge: (account, workspace, app, service) => `${ routes.App(account, workspace, app) }/acknowledge/${ service }`, | ||
@@ -64,2 +66,13 @@ | ||
link(account, workspace, app, changes) { | ||
const headers = { | ||
'Content-Type': 'application/json' | ||
}; | ||
return this.http.put(routes.Link(account, workspace, app), changes, { headers: headers }); | ||
} | ||
unlink(account, workspace, app) { | ||
return this.http.delete(routes.Link(account, workspace, app)); | ||
} | ||
getAppSettings(account, workspace, app) { | ||
@@ -66,0 +79,0 @@ var _ref2 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; |
@@ -7,2 +7,6 @@ 'use strict'; | ||
var _AppEngineClient = require('./AppEngineClient.js'); | ||
var _AppEngineClient2 = _interopRequireDefault(_AppEngineClient); | ||
var _RegistryClient = require('./RegistryClient.js'); | ||
@@ -29,2 +33,3 @@ | ||
AppsClient: _AppsClient2.default, | ||
AppEngineClient: _AppEngineClient2.default, | ||
RegistryClient: _RegistryClient2.default, | ||
@@ -31,0 +36,0 @@ VBaseClient: _VBaseClient2.default, |
{ | ||
"name": "@vtex/api", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
224831
735
0