Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aserto/aserto-spa-js

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aserto/aserto-spa-js - npm Package Compare versions

Comparing version 0.1.21 to 0.1.22

29

dist/AsertoClient.js

@@ -68,6 +68,7 @@ "use strict";

case 0:
_context.next = 2;
_context.prev = 0;
_context.next = 3;
return (0, _api.get)(this.service, this.token, this.endpoint);
case 2:
case 3:
_yield$get = _context.sent;

@@ -79,3 +80,3 @@ _yield$get2 = _slicedToArray(_yield$get, 2);

if (!error) {
_context.next = 10;
_context.next = 11;
break;

@@ -86,11 +87,21 @@ }

case 10:
_context.next = 12;
case 11:
_context.next = 13;
return response.json();
case 12:
case 13:
map = _context.sent;
this.__accessMap = map;
case 14:
case 15:
_context.next = 21;
break;
case 17:
_context.prev = 17;
_context.t0 = _context["catch"](0);
this.__accessMap = null;
throw _context.t0;
case 21:
case "end":

@@ -100,3 +111,3 @@ return _context.stop();

}
}, _callee, this);
}, _callee, this, [[0, 17]]);
}));

@@ -131,2 +142,2 @@

exports["default"] = AsertoClient;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Bc2VydG9DbGllbnQuanMiXSwibmFtZXMiOlsiVklTSUJMRSIsIkVOQUJMRUQiLCJBTExPV0VEIiwiQXNlcnRvQ2xpZW50Iiwib3B0aW9ucyIsImRlZmF1bHRNYXAiLCJ2aXNpYmxlIiwiZW5hYmxlZCIsImFsbG93ZWQiLCJhY2Nlc3NUb2tlbiIsIkVycm9yIiwidG9rZW4iLCJlbmRwb2ludCIsImFjY2Vzc01hcEVuZHBvaW50Iiwic2VydmljZSIsInNlcnZpY2VVcmwiLCJVUkwiLCJ3aW5kb3ciLCJsb2NhdGlvbiIsIm9yaWdpbiIsInJlc3BvbnNlI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TWFwKCkge1xuICAgIHJldHVybiB0aGlzLl9fYWNjZXNzTWFwO1xuICB9XG5cbiAgcmVzb3VyY2VNYXAocGF0aCkge1xuICAgIGNvbnN0IG1hcCA9ICh0aGlzLl9fYWNjZXNzTWFwW3BhdGhdICYmIHRoaXMuX19hY2Nlc3NNYXBbcGF0aF0udmVyYikgfHwge307XG4gICAgbWFwLkdFVCA9IG1hcC5HRVQgfHwgdGhpcy5kZWZhdWx0TWFwO1xuICAgIG1hcC5QVVQgPSBtYXAuUFVUIHx8IHRoaXMuZGVmYXVsdE1hcDtcbiAgICBtYXAuREVMRVRFID0gbWFwLkRFTEVURSB8fCB0aGlzLmRlZmF1bHRNYXA7XG4gICAgbWFwLlBPU1QgPSBtYXAuUE9TVCB8fCB0aGlzLmRlZmF1bHRNYXA7XG4gICAgcmV0dXJuIG1hcDtcbiAgfVxufVxuIl19
{
"name": "@aserto/aserto-spa-js",
"version": "0.1.21",
"version": "0.1.22",
"description": "Aserto single-page application javascript SDK",

@@ -5,0 +5,0 @@ "main": "dist/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