@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.
@@ -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; }