@aserto/aserto-spa-js
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -114,6 +114,6 @@ "use strict"; | ||
}; | ||
map.GET = map.GET && defaultMap; | ||
map.PUT = map.PUT && defaultMap; | ||
map.DELETE = map.DELETE && defaultMap; | ||
map.POST = map.POST && defaultMap; | ||
map.GET = map.GET || defaultMap; | ||
map.PUT = map.PUT || defaultMap; | ||
map.DELETE = map.DELETE || defaultMap; | ||
map.POST = map.POST || defaultMap; | ||
return map; | ||
@@ -127,2 +127,2 @@ } | ||
exports["default"] = AsertoClient; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9Bc2VydG9DbGllbnQuanMiXSwibmFtZXMiOlsiVklTSUJMRSIsIkVOQUJMRUQiLCJBTExPV0VEIiwiQXNlcnRvQ2xpZW50Iiwib3B0aW9ucyIsImFjY2Vzc1Rva2VuIiwiRXJyb3IiLCJ0b2tlbiIsImVuZHBvaW50IiwiYWNjZXNzTWFwRW5kcG9pbnQiLCJzZXJ2aWNlIiwic2VydmljZVVybCIsIlVSTCIsIndpbmRvdyIsImxvY2F0aW9uIiwib3JpZ2luIiwicmVzcG9uc2UiLCJlcnJvciIsIm1lc3NhZ2UiLCJqc29uIiwibWFwIiwiX19hY2Nlc3NNYXAiLCJwYXRoIiwidmVyYiIsImRlZmF1bHRNYXAiLCJ2aXNpYmxlIiwiZW5hYmxlZCIsImFsbG93ZWQiLCJHRVQiLCJQVVQiLCJERUxFVEUiLCJQT1NUIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUVBLElBQU1BLE9BQU8sR0FBRyxDQUFoQjs7QUFDQSxJQUFNQyxPQUFPLEdBQUcsQ0FBaEI7O0FBQ0EsSUFBTUMsT0FBTyxHQUFHLENBQWhCOzs7SUFRcUJDLFk7QUFDbkIsd0JBQVlDLE9BQVosRUFB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XAgPSBhd2FpdCByZXNwb25zZS5qc29uKCk7XG4gICAgICB0aGlzLl9fYWNjZXNzTWFwID0gbWFwO1xuICAgIH1cbiAgfVxuXG4gIGFjY2Vzc01hcCgpIHtcbiAgICByZXR1cm4gdGhpcy5fX2FjY2Vzc01hcDtcbiAgfVxuXG4gIHJlc291cmNlTWFwKHBhdGgpIHtcbiAgICBjb25zdCBtYXAgPSAodGhpcy5fX2FjY2Vzc01hcFtwYXRoXSAmJiB0aGlzLl9fYWNjZXNzTWFwW3BhdGhdLnZlcmIpIHx8IHt9O1xuICAgIGNvbnN0IGRlZmF1bHRNYXAgPSB7XG4gICAgICB2aXNpYmxlOiBmYWxzZSxcbiAgICAgIGVuYWJsZWQ6IGZhbHNlLFxuICAgICAgYWxsb3dlZDogZmFsc2VcbiAgICB9O1xuICAgIG1hcC5HRVQgPSBtYXAuR0VUIHx8IGRlZmF1bHRNYXA7XG4gICAgbWFwLlBVVCA9IG1hcC5QVVQgfHwgZGVmYXVsdE1hcDtcbiAgICBtYXAuREVMRVRFID0gbWFwLkRFTEVURSB8fCBkZWZhdWx0TWFwO1xuICAgIG1hcC5QT1NUID0gbWFwLlBPU1QgfHwgZGVmYXVsdE1hcDtcbiAgICByZXR1cm4gbWFwO1xuICB9XG59XG4iXX0= |
{ | ||
"name": "@aserto/aserto-spa-js", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"description": "Aserto single-page application javascript SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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