@evergis/api 3.0.60 → 3.0.61

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/api.esm.js CHANGED
@@ -5897,16 +5897,7 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
5897
5897
  _createClass(PortalSettings, [{
5898
5898
  key: "fetchPortalSettings",
5899
5899
  value: async function fetchPortalSettings(query) {
5900
- var _config$settings, _config$settings2, _config$settings3;
5901
-
5902
- const config = JSON.parse(await this.getConfiguration(query));
5903
- this.config = _extends({}, config || {}, {
5904
- settings: {
5905
- withPortal: (config == null ? void 0 : (_config$settings = config.settings) == null ? void 0 : _config$settings.withPortal) === undefined || config.settings.withPortal,
5906
- allowRegistration: (config == null ? void 0 : (_config$settings2 = config.settings) == null ? void 0 : _config$settings2.allowRegistration) === undefined || config.settings.allowRegistration,
5907
- allowSNS: (config == null ? void 0 : (_config$settings3 = config.settings) == null ? void 0 : _config$settings3.allowSNS) === undefined || config.settings.allowSNS
5908
- }
5909
- });
5900
+ this.config = JSON.parse(await this.getConfiguration(query));
5910
5901
  return this.config;
5911
5902
  }
5912
5903
  }]);