@plyaz/core 1.10.0 → 1.10.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.
package/dist/index.mjs CHANGED
@@ -3207,6 +3207,11 @@ var Core = class _Core {
3207
3207
  environment: globalEnvironment,
3208
3208
  runtime,
3209
3209
  apiClient: apiConfig ? { baseURL: apiConfig.baseURL, ...apiConfig } : void 0,
3210
+ db: options.db,
3211
+ cache: options.cache,
3212
+ storage: options.storage,
3213
+ notifications: options.notifications,
3214
+ observability: options.observability,
3210
3215
  services: mergedServices,
3211
3216
  stores: {
3212
3217
  // Returns specific slice from namespaced root store (type-safe)
@@ -16993,7 +16998,10 @@ async function initializeServices(config) {
16993
16998
  globalThis.console.log("[PlyazProvider] Initializing domain services...");
16994
16999
  }
16995
17000
  await ServiceRegistry.initialize({
17001
+ environment: config.environment,
17002
+ runtime: config.runtime ?? detectRuntime(),
16996
17003
  apiClient: { baseURL: config.api.baseURL },
17004
+ observability: config.observability,
16997
17005
  services: config.services,
16998
17006
  // Provide store registry for injecting stores into services
16999
17007
  stores: createStoreRegistry()