@sambath999/localize-token 12.4.2 → 12.4.3
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/bundles/sambath999-localize-token.umd.js +1 -3
- package/bundles/sambath999-localize-token.umd.js.map +1 -1
- package/esm2015/localize-token/helpers/interfaces.js +1 -1
- package/esm2015/localize-token/helpers/loccalize.api.helper.js +2 -1
- package/esm2015/localize-token/localize.api.service.js +1 -4
- package/fesm2015/sambath999-localize-token.js +1 -3
- package/fesm2015/sambath999-localize-token.js.map +1 -1
- package/localize-token/helpers/interfaces.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1031,6 +1031,7 @@
|
|
|
1031
1031
|
LocalizeApiHelper.prototype.normalizeError = function (error) {
|
|
1032
1032
|
var _a, _b, _c;
|
|
1033
1033
|
return {
|
|
1034
|
+
error: error.error || {},
|
|
1034
1035
|
code: ((_a = error.error) === null || _a === void 0 ? void 0 : _a.code) || "HTTP_" + error.status,
|
|
1035
1036
|
message: ((_b = error.error) === null || _b === void 0 ? void 0 : _b.message) || error.message,
|
|
1036
1037
|
details: (_c = error.error) === null || _c === void 0 ? void 0 : _c.details,
|
|
@@ -1232,9 +1233,6 @@
|
|
|
1232
1233
|
LocalizeApiService.prototype.ngOnDestroy = function () {
|
|
1233
1234
|
this.destroy$.next();
|
|
1234
1235
|
this.destroy$.complete();
|
|
1235
|
-
// this.isResolvingStartupSubject.complete();
|
|
1236
|
-
// this.isRequestingSubject.complete();
|
|
1237
|
-
// this.configSubject.complete();
|
|
1238
1236
|
};
|
|
1239
1237
|
LocalizeApiService.prototype.request = function (baseUrl, path, method, reqBody, reqHeaders) {
|
|
1240
1238
|
if (method === void 0) { method = exports.EMethod.GET; }
|