@plyaz/core 1.7.2 → 1.8.1

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.
@@ -169,7 +169,7 @@ function getConfigForEnvironment(env) {
169
169
  }
170
170
  __name(getConfigForEnvironment, "getConfigForEnvironment");
171
171
  function validateBaseURL(mergedConfig, errors) {
172
- if (!mergedConfig.baseURL) {
172
+ if (mergedConfig.baseURL === void 0 || mergedConfig.baseURL === null) {
173
173
  errors.push("baseURL is required in API configuration (apiConfig parameter)");
174
174
  }
175
175
  }
@@ -3328,10 +3328,8 @@ var Core = class _Core {
3328
3328
  });
3329
3329
  const backendFlagStore = createStandaloneFeatureFlagStore();
3330
3330
  const compositeStore = {
3331
- // Error store methods
3332
- ...backendErrorStore,
3333
- // Feature flag store methods
3334
- ...backendFlagStore
3331
+ errors: backendErrorStore,
3332
+ featureFlags: backendFlagStore
3335
3333
  };
3336
3334
  _Core._rootStore = {
3337
3335
  getState: /* @__PURE__ */ __name(() => compositeStore, "getState"),