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.9.1 to 0.9.2

17

lib/AppsClient.js

@@ -66,3 +66,3 @@ 'use strict';

value: function getAppSettings(account, workspace, app) {
var _ref2 = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3];
var _ref2 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};

@@ -82,3 +82,3 @@ var _ref2$context = _ref2.context;

value: function updateAppSettings(account, workspace, app, settings) {
var _ref3 = arguments.length <= 4 || arguments[4] === undefined ? {} : arguments[4];
var _ref3 = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};

@@ -98,3 +98,3 @@ var _ref3$context = _ref3.context;

value: function patchAppSettings(account, workspace, app, settings) {
var _ref4 = arguments.length <= 4 || arguments[4] === undefined ? {} : arguments[4];
var _ref4 = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};

@@ -122,3 +122,3 @@ var _ref4$context = _ref4.context;

value: function listApps(account, workspace) {
var options = arguments.length <= 2 || arguments[2] === undefined ? { oldVersion: '', context: [], since: '', service: '' } : arguments[2];
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : { oldVersion: '', context: [], since: '', service: '' };

@@ -152,2 +152,3 @@ (0, _required2.default)({ account: account, workspace: workspace });

var url = '' + this.endpointUrl + this.routes.Files(account, workspace, app);
var marker = encodeURIComponent(nextMarker);

@@ -157,3 +158,3 @@ return this.http.get(url).query({

context: contextQuery(context),
nextMarker: nextMarker
marker: marker
}).thenJson();

@@ -164,3 +165,3 @@ }

value: function getAppFile(account, workspace, app, path) {
var context = arguments.length <= 4 || arguments[4] === undefined ? [] : arguments[4];
var context = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];

@@ -177,3 +178,3 @@ (0, _required2.default)({ account: account, workspace: workspace, app: app, path: path });

value: function getApp(account, workspace, app) {
var context = arguments.length <= 3 || arguments[3] === undefined ? [] : arguments[3];
var context = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];

@@ -190,3 +191,3 @@ (0, _required2.default)({ account: account, workspace: workspace, app: app });

value: function getDependencyMap(account, workspace) {
var service = arguments.length <= 2 || arguments[2] === undefined ? '' : arguments[2];
var service = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';

@@ -193,0 +194,0 @@ (0, _required2.default)({ account: account, workspace: workspace });

@@ -7,3 +7,3 @@ 'use strict';

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };

@@ -71,3 +71,3 @@ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();

var pre = arguments.length <= 3 || arguments[3] === undefined ? false : arguments[3];
var pre = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;

@@ -150,3 +150,3 @@ (0, _required2.default)({ account: account, workspace: workspace, zip: zip });

value: function listVersionsByApp(account, workspace, vendor, name) {
var major = arguments.length <= 4 || arguments[4] === undefined ? '' : arguments[4];
var major = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : '';

@@ -153,0 +153,0 @@ (0, _required2.default)({ account: account, workspace: workspace, vendor: vendor, name: name });

@@ -96,3 +96,3 @@ 'use strict';

value: function listFiles(account, workspace, bucket) {
var prefix = arguments.length <= 3 || arguments[3] === undefined ? '' : arguments[3];
var prefix = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';

@@ -115,3 +115,3 @@ (0, _required2.default)({ account: account, workspace: workspace, bucket: bucket });

value: function saveFile(account, workspace, bucket, path, streamOrPath) {
var _ref2 = arguments.length <= 5 || arguments[5] === undefined ? {} : arguments[5];
var _ref2 = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {};

@@ -118,0 +118,0 @@ var unzip = _ref2.unzip;

{
"name": "@vtex/api",
"version": "0.9.1",
"version": "0.9.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