@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.cjs.development.js +1 -10
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +1 -10
- package/dist/api.esm.js.map +1 -1
- package/dist/services/PortalSettings.d.ts +16 -1
- package/package.json +2 -2
|
@@ -5899,16 +5899,7 @@ let PortalSettings = /*#__PURE__*/function (_ClientSettingsServic) {
|
|
|
5899
5899
|
_createClass(PortalSettings, [{
|
|
5900
5900
|
key: "fetchPortalSettings",
|
|
5901
5901
|
value: async function fetchPortalSettings(query) {
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
const config = JSON.parse(await this.getConfiguration(query));
|
|
5905
|
-
this.config = _extends({}, config || {}, {
|
|
5906
|
-
settings: {
|
|
5907
|
-
withPortal: (config == null ? void 0 : (_config$settings = config.settings) == null ? void 0 : _config$settings.withPortal) === undefined || config.settings.withPortal,
|
|
5908
|
-
allowRegistration: (config == null ? void 0 : (_config$settings2 = config.settings) == null ? void 0 : _config$settings2.allowRegistration) === undefined || config.settings.allowRegistration,
|
|
5909
|
-
allowSNS: (config == null ? void 0 : (_config$settings3 = config.settings) == null ? void 0 : _config$settings3.allowSNS) === undefined || config.settings.allowSNS
|
|
5910
|
-
}
|
|
5911
|
-
});
|
|
5902
|
+
this.config = JSON.parse(await this.getConfiguration(query));
|
|
5912
5903
|
return this.config;
|
|
5913
5904
|
}
|
|
5914
5905
|
}]);
|