New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vtex/api

Package Overview
Dependencies
Maintainers
5
Versions
890
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtex/api - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

lib/utils/apiEndpoints.js

8

lib/AppsClient.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc