@slflows/sdk 0.3.0 → 0.5.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.
@@ -1031,6 +1031,8 @@ interface EventContext {
1031
1031
  * Present when this event was emitted with echo: true.
1032
1032
  */
1033
1033
  echo?: {
1034
+ /** Unique identifier of the original event that was echoed */
1035
+ id: string;
1034
1036
  /** The event body that was echoed */
1035
1037
  body: any;
1036
1038
  /** The output key where the original event was emitted */
@@ -1043,7 +1045,6 @@ interface BaseLifecycleCallbackOutput {
1043
1045
  }
1044
1046
  interface EntityNonSchedulableLifecycleCallbackOutput extends BaseLifecycleCallbackOutput {
1045
1047
  newStatus: Exclude<EntityLifecycleStatus, "in_progress" | "draining">;
1046
- nextScheduleDelay?: never;
1047
1048
  }
1048
1049
  interface EntitySchedulableLifecycleCallbackOutput extends BaseLifecycleCallbackOutput {
1049
1050
  newStatus: "in_progress" | "draining";
@@ -1052,7 +1053,6 @@ interface EntitySchedulableLifecycleCallbackOutput extends BaseLifecycleCallback
1052
1053
  type EntityLifecycleCallbackOutput = EntityNonSchedulableLifecycleCallbackOutput | EntitySchedulableLifecycleCallbackOutput;
1053
1054
  interface AppNonSchedulableLifecycleCallbackOutput extends BaseLifecycleCallbackOutput {
1054
1055
  newStatus: Exclude<AppLifecycleStatus, "in_progress" | "draining">;
1055
- nextScheduleDelay?: never;
1056
1056
  }
1057
1057
  interface AppSchedulableLifecycleCallbackOutput extends BaseLifecycleCallbackOutput {
1058
1058
  newStatus: "in_progress" | "draining";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slflows/sdk",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],