@znight/core 0.6.1 → 0.6.2

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.
Files changed (2) hide show
  1. package/README.md +14 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -368,13 +368,17 @@ return what is known (`[]`).
368
368
  declared in core, so producers and observers (`@znight/observability`, your plugins) share them
369
369
  without depending on each other:
370
370
 
371
- | Hook | Event | Produced by |
372
- | ------------------- | ----------------------- | ---------------------------------------------------------------------------- |
373
- | `http:request` | `HttpRequestEvent` | `@znight/http`, one request |
374
- | `messaging:message` | `MessageDeliveryEvent` | `@znight/messaging`, one delivery |
375
- | `messaging:publish` | `MessagePublishEvent` | `@znight/messaging`, one `MessageBroker` publication |
376
- | `schedule:run` | `ScheduledRunEvent` | `@znight/schedule`, one occurrence of a job (executed or not, see `outcome`) |
377
- | `graphql:operation` | `GraphQLOperationEvent` | `@znight/graphql` (RFC 0005), one GraphQL operation |
371
+ | Hook | Event | Produced by |
372
+ | ---------------------- | -------------------------- | ---------------------------------------------------------------------------- |
373
+ | `http:request` | `HttpRequestEvent` | `@znight/http`, one request |
374
+ | `messaging:message` | `MessageDeliveryEvent` | `@znight/messaging`, one delivery |
375
+ | `messaging:publish` | `MessagePublishEvent` | `@znight/messaging`, one `MessageBroker` publication |
376
+ | `schedule:run` | `ScheduledRunEvent` | `@znight/schedule`, one occurrence of a job (executed or not, see `outcome`) |
377
+ | `graphql:operation` | `GraphQLOperationEvent` | `@znight/graphql` (RFC 0005), one GraphQL operation |
378
+ | `websocket:message` | `WebSocketMessageEvent` | `@znight/websocket` (RFC 0003), one inbound message (`$ping` excluded) |
379
+ | `websocket:connection` | `WebSocketConnectionEvent` | `@znight/websocket`, a connection opened or closed (emitted only) |
380
+ | `events:publish` | `EventPublishEvent` | `@znight/events` (RFC 0011), one publication with at least one listener |
381
+ | `events:listener` | `EventListenerEvent` | `@znight/events`, one listener invocation, inline or detached |
378
382
 
379
383
  `ScheduledRunEvent` carries `job`, `kind` (`cron` / `interval` / `timeout`), `host`, `method`,
380
384
  `runId`, `trigger` (`schedule` / `start` / `manual` / `queued`), `scheduledAt` (epoch ms),
@@ -461,6 +465,7 @@ the [architecture specification](../../docs/internals/architecture.md#48-validat
461
465
  The catalogue is shared by the compiler and every first-party package. `ZNIGHT001`–`ZNIGHT029`
462
466
  belong to the core, the compiler and the features of the first release (`ZNIGHT023`, a missing
463
467
  route decision, is reported by `@znight/http`). From `ZNIGHT030`, each package owns a block of ten:
464
- `ZNIGHT030`–`039` `@znight/openapi`, `ZNIGHT040`–`049` `@znight/schedule`, `ZNIGHT060`–`069`
465
- `@znight/graphql` (RFC 0005; `050`–`059` are reserved for `@znight/websocket`, RFC 0003).
468
+ `ZNIGHT030`–`039` `@znight/openapi`, `ZNIGHT040`–`049` `@znight/schedule`, `ZNIGHT050`–`059`
469
+ `@znight/websocket` (RFC 0003), `ZNIGHT060`–`069` `@znight/graphql` (RFC 0005, RFC 0007),
470
+ `ZNIGHT070`–`079` `@znight/events` (RFC 0011).
466
471
  Inside a block, codes are allocated in order; third-party packages get no `ZNIGHT` code.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@znight/core",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Znight core runtime: compile-time DI container, lifecycle, plugins and marker decorators",
5
5
  "license": "MIT",
6
6
  "author": "Ugho STEPHAN",