Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@sm1/http-error-manager

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sm1/http-error-manager - npm Package Compare versions

Comparing version
1.1.3
to
1.1.4
+1
-0
lib/cjs/models/http-error-processor.d.ts

@@ -6,2 +6,3 @@ import { IHttpErrorConfig, IHttpErrorModal } from "./http-error-config.interface";

getModal(inputUrl: string, inputErrorCode: string): IHttpErrorModal;
get genericError(): IHttpErrorModal;
}
+4
-1

@@ -25,6 +25,9 @@ "use strict";

catch (e) {
return this.config.genericError;
return this.genericError;
}
}
get genericError() {
return this.config.genericError;
}
}
exports.HttpErrorProcessor = HttpErrorProcessor;

@@ -6,2 +6,3 @@ import { IHttpErrorConfig, IHttpErrorModal } from "./http-error-config.interface";

getModal(inputUrl: string, inputErrorCode: string): IHttpErrorModal;
get genericError(): IHttpErrorModal;
}

@@ -22,5 +22,8 @@ export class HttpErrorProcessor {

catch (e) {
return this.config.genericError;
return this.genericError;
}
}
get genericError() {
return this.config.genericError;
}
}
{
"name": "@sm1/http-error-manager",
"version": "1.1.3",
"version": "1.1.4",
"description": "",

@@ -15,3 +15,4 @@ "main": "./lib/cjs/index.js",

"tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"prepublish": "npm run tsc"
"prepublish": "npm run tsc",
"publish": "npm run tsc && np"
},

@@ -18,0 +19,0 @@ "repository": {