@fluojs/notifications 1.0.0 → 1.0.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/README.ko.md CHANGED
@@ -89,7 +89,7 @@ export class WelcomeService {
89
89
  }
90
90
  ```
91
91
 
92
- `NotificationsModule.forRoot(...)`와 `NotificationsModule.forRootAsync(...)`는 `NotificationsService`, `NOTIFICATIONS`, `NOTIFICATION_CHANNELS`를 global provider로 export합니다. 애플리케이션 서비스는 fluo의 class-level `@Inject(...)` decorator로 의존성을 선언해야 standard-decorator DI container가 parameter decorator 없이 서비스를 resolve할 수 있습니다.
92
+ `NotificationsModule.forRoot(...)`와 `NotificationsModule.forRootAsync(...)`는 기본적으로 `NotificationsService`, `NOTIFICATIONS`, `NOTIFICATION_CHANNELS`를 global provider로 export합니다. 이 provider들이 notifications module을 import한 module 안에서만 보이도록 유지하려면 `global: false`를 설정합니다. 애플리케이션 서비스는 fluo의 class-level `@Inject(...)` decorator로 의존성을 선언해야 standard-decorator DI container가 parameter decorator 없이 서비스를 resolve할 수 있습니다.
93
93
 
94
94
  ## 일반적인 패턴
95
95
 
@@ -208,6 +208,7 @@ foundation 패키지는 의도적으로 다음을 **포함하지 않습니다**:
208
208
  - `NotificationQueueNotConfiguredError`
209
209
 
210
210
  상태 snapshot은 platform diagnostics를 위해 `operationMode`, dependency diagnostics, ownership, readiness, health 필드를 포함합니다.
211
+ Queue adapter가 구성되면 `details.dependencies`에 `notifications.queue-adapter`가 포함되고, lifecycle event가 event publisher를 통해 발행되면 `notifications.event-publisher`가 포함됩니다. 이러한 선택적 통합은 `ownership.externallyManaged: true`로 표시되지만, foundation 패키지가 concrete queue 또는 event-bus 리소스를 닫지 않으므로 `ownsResources: false`를 유지합니다.
211
212
 
212
213
  ## 관련 패키지
213
214
 
package/README.md CHANGED
@@ -89,7 +89,7 @@ export class WelcomeService {
89
89
  }
90
90
  ```
91
91
 
92
- `NotificationsModule.forRoot(...)` and `NotificationsModule.forRootAsync(...)` export `NotificationsService`, `NOTIFICATIONS`, and `NOTIFICATION_CHANNELS` as global providers. Application services should declare dependencies with fluo's class-level `@Inject(...)` decorator so the standard-decorator DI container can resolve the service without parameter decorators.
92
+ `NotificationsModule.forRoot(...)` and `NotificationsModule.forRootAsync(...)` export `NotificationsService`, `NOTIFICATIONS`, and `NOTIFICATION_CHANNELS` as global providers by default. Set `global: false` when these providers should stay visible only to the module that imports the notifications module. Application services should declare dependencies with fluo's class-level `@Inject(...)` decorator so the standard-decorator DI container can resolve the service without parameter decorators.
93
93
 
94
94
  ## Common Patterns
95
95
 
@@ -208,6 +208,7 @@ These limitations are part of the package contract so leaf packages can evolve i
208
208
  - `NotificationQueueNotConfiguredError`
209
209
 
210
210
  Status snapshots include `operationMode`, dependency diagnostics, ownership, readiness, and health fields for platform diagnostics.
211
+ When a queue adapter is configured, `details.dependencies` includes `notifications.queue-adapter`; when lifecycle events are published through an event publisher, it includes `notifications.event-publisher`. Those optional integrations mark `ownership.externallyManaged: true` while the foundation package still reports `ownsResources: false` because it does not close concrete queue or event-bus resources.
211
212
 
212
213
  ## Related Packages
213
214
 
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "event-bus",
10
10
  "channels"
11
11
  ],
12
- "version": "1.0.0",
12
+ "version": "1.0.1",
13
13
  "private": false,
14
14
  "license": "MIT",
15
15
  "repository": {
@@ -36,9 +36,9 @@
36
36
  "dist"
37
37
  ],
38
38
  "dependencies": {
39
- "@fluojs/di": "^1.0.0",
40
- "@fluojs/core": "^1.0.0",
41
- "@fluojs/runtime": "^1.0.0"
39
+ "@fluojs/core": "^1.0.3",
40
+ "@fluojs/di": "^1.0.3",
41
+ "@fluojs/runtime": "^1.1.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "vitest": "^3.2.4"