tnx-shared 5.3.160 → 5.3.162

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.
@@ -4729,6 +4729,14 @@
4729
4729
  }
4730
4730
  return control;
4731
4731
  };
4732
+ CommonService.prototype.tryParseJson = function (data) {
4733
+ try {
4734
+ return { valid: true, value: JSON.parse(data) };
4735
+ }
4736
+ catch (e) {
4737
+ return { valid: false, value: data };
4738
+ }
4739
+ };
4732
4740
  CommonService.prototype.convertStringToUnSign = function (str) {
4733
4741
  if (!str)
4734
4742
  return '';
@@ -28442,7 +28450,7 @@
28442
28450
  var AddressService = /** @class */ (function (_super) {
28443
28451
  __extends(AddressService, _super);
28444
28452
  function AddressService(http, injector, _moduleConfigService) {
28445
- var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.commonMasterDataV5Endpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/Address") || this;
28453
+ var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.commonMasterDataEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/Address") || this;
28446
28454
  _this.endPoint = _moduleConfigService.getConfig().environment.apiDomain.commonMasterDataV5Endpoint;
28447
28455
  return _this;
28448
28456
  }