@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/entry-backend.js +5 -0
- package/dist/entry-backend.js.map +1 -1
- package/dist/entry-backend.mjs +5 -0
- package/dist/entry-backend.mjs.map +1 -1
- package/dist/entry-frontend-browser.js +8 -0
- package/dist/entry-frontend-browser.js.map +1 -1
- package/dist/entry-frontend-browser.mjs +8 -0
- package/dist/entry-frontend-browser.mjs.map +1 -1
- package/dist/entry-frontend.js +8 -0
- package/dist/entry-frontend.js.map +1 -1
- package/dist/entry-frontend.mjs +8 -0
- package/dist/entry-frontend.mjs.map +1 -1
- package/dist/frontend/providers/PlyazProvider.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/dist/init/CoreInitializer.d.ts.map +1 -1
- package/dist/init/nestjs/index.js +5 -0
- package/dist/init/nestjs/index.js.map +1 -1
- package/dist/init/nestjs/index.mjs +5 -0
- package/dist/init/nestjs/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2980,6 +2980,11 @@ var Core = class _Core {
|
|
|
2980
2980
|
environment: globalEnvironment,
|
|
2981
2981
|
runtime,
|
|
2982
2982
|
apiClient: apiConfig ? { baseURL: apiConfig.baseURL, ...apiConfig } : void 0,
|
|
2983
|
+
db: options.db,
|
|
2984
|
+
cache: options.cache,
|
|
2985
|
+
storage: options.storage,
|
|
2986
|
+
notifications: options.notifications,
|
|
2987
|
+
observability: options.observability,
|
|
2983
2988
|
services: mergedServices,
|
|
2984
2989
|
stores: {
|
|
2985
2990
|
// Returns specific slice from namespaced root store (type-safe)
|
|
@@ -8645,7 +8650,10 @@ async function initializeServices(config) {
|
|
|
8645
8650
|
globalThis.console.log("[PlyazProvider] Initializing domain services...");
|
|
8646
8651
|
}
|
|
8647
8652
|
await ServiceRegistry.initialize({
|
|
8653
|
+
environment: config.environment,
|
|
8654
|
+
runtime: config.runtime ?? detectRuntime(),
|
|
8648
8655
|
apiClient: { baseURL: config.api.baseURL },
|
|
8656
|
+
observability: config.observability,
|
|
8649
8657
|
services: config.services,
|
|
8650
8658
|
// Provide store registry for injecting stores into services
|
|
8651
8659
|
stores: createStoreRegistry()
|