@vtex/api
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -13,5 +13,5 @@ 'use strict'; | ||
var _appsEndpoints = require('./utils/appsEndpoints.js'); | ||
var _apiEndpoints = require('./utils/apiEndpoints.js'); | ||
var _appsEndpoints2 = _interopRequireDefault(_appsEndpoints); | ||
var _apiEndpoints2 = _interopRequireDefault(_apiEndpoints); | ||
@@ -31,3 +31,3 @@ var _required = require('./utils/required.js'); | ||
var _ref$endpointUrl = _ref.endpointUrl; | ||
var endpointUrl = _ref$endpointUrl === undefined ? (0, _appsEndpoints2.default)('STABLE') : _ref$endpointUrl; | ||
var endpointUrl = _ref$endpointUrl === undefined ? (0, _apiEndpoints2.default)('STABLE') : _ref$endpointUrl; | ||
@@ -38,3 +38,3 @@ _classCallCheck(this, AppsClient); | ||
this.authToken = authToken; | ||
this.endpointUrl = endpointUrl === 'BETA' ? (0, _appsEndpoints2.default)(endpointUrl) : endpointUrl; | ||
this.endpointUrl = endpointUrl === 'BETA' ? (0, _apiEndpoints2.default)(endpointUrl) : endpointUrl; | ||
this.userAgent = userAgent; | ||
@@ -41,0 +41,0 @@ this.headers = { |
@@ -19,5 +19,5 @@ 'use strict'; | ||
var _appsEndpoints = require('./utils/appsEndpoints.js'); | ||
var _apiEndpoints = require('./utils/apiEndpoints.js'); | ||
var _appsEndpoints2 = _interopRequireDefault(_appsEndpoints); | ||
var _apiEndpoints2 = _interopRequireDefault(_apiEndpoints); | ||
@@ -39,5 +39,5 @@ var _vbaseEndpoints = require('./utils/vbaseEndpoints.js'); | ||
VTEXIDClient: _VTEXIDClient2.default, | ||
appsEndpoints: _appsEndpoints2.default, | ||
apiEndpoints: _apiEndpoints2.default, | ||
vbaseEndpoints: _vbaseEndpoints2.default, | ||
vtexidEndpoints: _vtexidEndpoints2.default | ||
}; |
{ | ||
"name": "@vtex/api", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "VTEX I/O API client", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
28111
19
561
0