@develit-io/backend-sdk 5.45.0 → 5.47.0

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.d.mts CHANGED
@@ -514,9 +514,12 @@ interface BaseEvent {
514
514
  metadata: {
515
515
  timestamp: string;
516
516
  correlationId: string;
517
- entityId?: string;
518
- entityStatus?: string;
519
- idempotencyKey?: string;
517
+ entityId: string;
518
+ /**
519
+ * Idempotency key is built as
520
+ * `${entityId}-${eventSignal}-${idempotencySuffix}`
521
+ */
522
+ idempotencySuffix?: string;
520
523
  };
521
524
  }
522
525
 
package/dist/index.d.ts CHANGED
@@ -514,9 +514,12 @@ interface BaseEvent {
514
514
  metadata: {
515
515
  timestamp: string;
516
516
  correlationId: string;
517
- entityId?: string;
518
- entityStatus?: string;
519
- idempotencyKey?: string;
517
+ entityId: string;
518
+ /**
519
+ * Idempotency key is built as
520
+ * `${entityId}-${eventSignal}-${idempotencySuffix}`
521
+ */
522
+ idempotencySuffix?: string;
520
523
  };
521
524
  }
522
525
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-io/backend-sdk",
3
- "version": "5.45.0",
3
+ "version": "5.47.0",
4
4
  "description": "Develit Backend SDK",
5
5
  "author": "Develit.io",
6
6
  "license": "ISC",