@steffesgroup/steffes-auth
Advanced tools
Comparing version 0.2.9 to 0.2.10
"use strict"; | ||
//---------------------- | ||
// <auto-generated> | ||
// Generated using the NSwag toolchain v13.17.0.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) | ||
// Generated using the NSwag toolchain v13.18.2.0 (NJsonSchema v10.8.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org) | ||
// </auto-generated> | ||
@@ -27,3 +27,3 @@ //---------------------- | ||
transformResult(url, response, processor) { | ||
if ((response.status === 400 || response.status === 500) && response.config.method == "post" && response.data && response.data[""] && window) { | ||
if ((response.status === 400 || response.status === 500) && response.config.method == "post" && response.data && response.data[""] && window && CustomEvent) { | ||
let errorEvent = new CustomEvent("steffes:genericHttpError", { detail: { errors: response.data[""] || [] } }); | ||
@@ -30,0 +30,0 @@ window.dispatchEvent(errorEvent); |
{ | ||
"name": "@steffesgroup/steffes-auth", | ||
"version": "0.2.09", | ||
"version": "0.2.10", | ||
"description": "Steffes Auth", | ||
@@ -5,0 +5,0 @@ "main": "dist/api.js", |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
32450
0