turf-common 1.0.7 → 1.0.10
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.
|
@@ -18,13 +18,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
exports.AppBadRequestException = void 0;
|
|
19
19
|
var AppBadRequestException = /** @class */ (function (_super) {
|
|
20
20
|
__extends(AppBadRequestException, _super);
|
|
21
|
-
// private appBadRequestException: IAppBadRequestException;
|
|
22
21
|
function AppBadRequestException(appBadRequestException) {
|
|
23
22
|
var _this = _super.call(this) || this;
|
|
24
|
-
_this.message =
|
|
23
|
+
_this.message = appBadRequestException.message.join(",");
|
|
24
|
+
_this._error = appBadRequestException;
|
|
25
25
|
return _this;
|
|
26
|
-
// this.appBadRequestException = appBadRequestException;
|
|
27
26
|
}
|
|
27
|
+
Object.defineProperty(AppBadRequestException.prototype, "error", {
|
|
28
|
+
get: function () {
|
|
29
|
+
return this.error;
|
|
30
|
+
},
|
|
31
|
+
enumerable: false,
|
|
32
|
+
configurable: true
|
|
33
|
+
});
|
|
28
34
|
return AppBadRequestException;
|
|
29
35
|
}(Error));
|
|
30
36
|
exports.AppBadRequestException = AppBadRequestException;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "turf-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"clean": "del build",
|
|
12
12
|
"build": "npm run clean && tsc",
|
|
13
|
+
"version:deploy": "npm version patch && git push && npm run build && npm publish",
|
|
13
14
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
15
|
},
|
|
15
16
|
"repository": {
|