ts-mailcow-api 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.d.ts +1 -4
- package/dist/types.js +4 -4
- package/dist/types.js.map +1 -1
- package/package.json +2 -1
package/dist/types.d.ts
CHANGED
|
@@ -1393,10 +1393,7 @@ export type GetRecipientMapResponse = RecipientMap[];
|
|
|
1393
1393
|
* Error class used for exception handling.
|
|
1394
1394
|
*/
|
|
1395
1395
|
export declare class MailcowException extends Error {
|
|
1396
|
-
|
|
1397
|
-
* The error message provided by Mailcow.
|
|
1398
|
-
*/
|
|
1399
|
-
message: string;
|
|
1396
|
+
constructor(message?: string, options?: ErrorOptions);
|
|
1400
1397
|
}
|
|
1401
1398
|
/**
|
|
1402
1399
|
* Fail2Ban edit request.
|
package/dist/types.js
CHANGED
|
@@ -5,10 +5,10 @@ exports.MailcowException = void 0;
|
|
|
5
5
|
* Error class used for exception handling.
|
|
6
6
|
*/
|
|
7
7
|
class MailcowException extends Error {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
constructor(message, options) {
|
|
9
|
+
super(message, options);
|
|
10
|
+
this.name = 'MailcowException';
|
|
11
|
+
}
|
|
12
12
|
}
|
|
13
13
|
exports.MailcowException = MailcowException;
|
|
14
14
|
//# sourceMappingURL=types.js.map
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AA07CA;;GAEG;AACH,MAAa,gBAAiB,SAAQ,KAAK;IACzC
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AA07CA;;GAEG;AACH,MAAa,gBAAiB,SAAQ,KAAK;IACzC,YAAY,OAAgB,EAAE,OAAsB;QAClD,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;IACjC,CAAC;CACF;AALD,4CAKC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-mailcow-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "TypeScript wrapper for the mailcow API.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "ts-mocha \"test/**/*.test.ts\"",
|
|
7
|
+
"test:smoke": "MAILCOW_E2E=1 ts-mocha test/smoke.test.ts",
|
|
7
8
|
"lint": "eslint src",
|
|
8
9
|
"lint:fix": "eslint src --fix",
|
|
9
10
|
"format": "prettier --ignore-path .gitignore --check ./src/",
|