@novu/framework 2.10.0-alpha.2 → 2.10.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.
Files changed (57) hide show
  1. package/dist/cjs/{health-check.types-D7zhgmn3.d.cts → health-check.types-DwKatX-8.d.cts} +3 -2
  2. package/dist/cjs/{index-CcsfZUx6.d.cts → index-BTTxx1ad.d.cts} +2 -2
  3. package/dist/cjs/index.cjs +42 -42
  4. package/dist/cjs/index.d.cts +4 -4
  5. package/dist/cjs/internal/index.d.cts +3 -3
  6. package/dist/cjs/servers/express.cjs +36 -36
  7. package/dist/cjs/servers/express.d.cts +5 -5
  8. package/dist/cjs/servers/h3.cjs +49 -49
  9. package/dist/cjs/servers/h3.d.cts +5 -5
  10. package/dist/cjs/servers/lambda.cjs +59 -59
  11. package/dist/cjs/servers/lambda.d.cts +6 -6
  12. package/dist/cjs/servers/nest.cjs +62 -62
  13. package/dist/cjs/servers/nest.d.cts +7 -7
  14. package/dist/cjs/servers/next.cjs +22 -22
  15. package/dist/cjs/servers/next.d.cts +5 -5
  16. package/dist/cjs/servers/nuxt.cjs +49 -49
  17. package/dist/cjs/servers/nuxt.d.cts +5 -5
  18. package/dist/cjs/servers/remix.cjs +49 -49
  19. package/dist/cjs/servers/remix.d.cts +5 -5
  20. package/dist/cjs/servers/sveltekit.cjs +54 -54
  21. package/dist/cjs/servers/sveltekit.d.cts +5 -5
  22. package/dist/cjs/step-resolver.cjs +1 -1
  23. package/dist/cjs/step-resolver.d.cts +11 -11
  24. package/dist/cjs/{subscriber.types-Dq1CT3w8.d.cts → subscriber.types-CftO3aFY.d.cts} +1 -1
  25. package/dist/cjs/validators.cjs +1 -1
  26. package/dist/cjs/validators.d.cts +1 -1
  27. package/dist/esm/chunk-JKG63DBC.js +1 -0
  28. package/dist/esm/{chunk-YZ2OSJPP.js → chunk-MQSAHSED.js} +1 -1
  29. package/dist/esm/{chunk-TNHN7OQT.js → chunk-WSQ6EEHO.js} +38 -38
  30. package/dist/esm/{health-check.types-C0QWDZeM.d.ts → health-check.types-C4vZDz5x.d.ts} +3 -2
  31. package/dist/esm/{index-D-DVHaDC.d.ts → index-D4Rt1gOC.d.ts} +2 -2
  32. package/dist/esm/index.d.ts +4 -4
  33. package/dist/esm/index.js +1 -1
  34. package/dist/esm/internal/index.d.ts +3 -3
  35. package/dist/esm/servers/express.d.ts +5 -5
  36. package/dist/esm/servers/express.js +1 -1
  37. package/dist/esm/servers/h3.d.ts +5 -5
  38. package/dist/esm/servers/h3.js +1 -1
  39. package/dist/esm/servers/lambda.d.ts +6 -6
  40. package/dist/esm/servers/lambda.js +1 -1
  41. package/dist/esm/servers/nest.d.ts +7 -7
  42. package/dist/esm/servers/nest.js +1 -1
  43. package/dist/esm/servers/next.d.ts +5 -5
  44. package/dist/esm/servers/next.js +1 -1
  45. package/dist/esm/servers/nuxt.d.ts +5 -5
  46. package/dist/esm/servers/nuxt.js +1 -1
  47. package/dist/esm/servers/remix.d.ts +5 -5
  48. package/dist/esm/servers/remix.js +1 -1
  49. package/dist/esm/servers/sveltekit.d.ts +5 -5
  50. package/dist/esm/servers/sveltekit.js +1 -1
  51. package/dist/esm/step-resolver.d.ts +11 -11
  52. package/dist/esm/step-resolver.js +1 -1
  53. package/dist/esm/{subscriber.types-c69nNiHL.d.ts → subscriber.types-CfRj4acH.d.ts} +1 -1
  54. package/dist/esm/validators.d.ts +1 -1
  55. package/dist/esm/validators.js +1 -1
  56. package/package.json +18 -18
  57. package/dist/esm/chunk-V7JTIDNT.js +0 -1
@@ -1,4 +1,4 @@
1
- import { C as ContextPayload, a as ConditionalPartial, P as PickRequiredKeys, S as Step, b as Prettify, c as Subscriber, d as ContextResolved, D as DeepPartial$1, e as ChannelStepEnum, A as ActionStepEnum, f as Awaitable, W as WithPassthrough, g as StepOptions } from './subscriber.types-Dq1CT3w8.cjs';
1
+ import { a as ContextPayload, b as ConditionalPartial, P as PickRequiredKeys, c as Step, d as Prettify, S as Subscriber, C as ContextResolved, D as DeepPartial$1, e as ChannelStepEnum, A as ActionStepEnum, f as Awaitable, W as WithPassthrough, g as StepOptions } from './subscriber.types-CftO3aFY.cjs';
2
2
  import { S as Schema, J as JsonSchema } from './base.schema.types-BApIn9jr.cjs';
3
3
 
4
4
  type CodeResult = {
@@ -642,6 +642,7 @@ type Event = {
642
642
  action: Exclude<PostActionEnum, PostActionEnum.TRIGGER>;
643
643
  subscriber: Subscriber;
644
644
  context: ContextResolved;
645
+ env?: Record<string, string>;
645
646
  };
646
647
  type State = {
647
648
  stepId: string;
@@ -679,4 +680,4 @@ type HealthCheck = {
679
680
  };
680
681
  };
681
682
 
682
- export { CronExpression as C, type DiscoverProviderOutput as D, type EventTriggerResult as E, GetActionEnum as G, type HealthCheck as H, PostActionEnum as P, SeverityLevelEnum as S, type Workflow as W, type ClientOptions as a, WorkflowChannelEnum as b, type CodeResult as c, type StepType as d, type DiscoverStepOutput as e, type DiscoverWorkflowOutput as f, type DiscoverOutput as g, type EventTriggerParams as h, type EventTriggerResponse as i, type CancelEventTriggerResponse as j, type Event as k, type State as l, type ExecuteOutputMetadata as m, type ExecuteOutputOptions as n, type ExecuteOutput as o, type ExecuteInput as p, type Execute as q, type WorkflowPreference as r, type ChannelPreference as s, type WorkflowPreferences as t, type WorkflowOptions as u };
683
+ export { type ClientOptions as C, type DiscoverOutput as D, type ExecuteInput as E, GetActionEnum as G, type HealthCheck as H, PostActionEnum as P, SeverityLevelEnum as S, type Workflow as W, CronExpression as a, type CancelEventTriggerResponse as b, type ChannelPreference as c, type CodeResult as d, type DiscoverProviderOutput as e, type DiscoverStepOutput as f, type DiscoverWorkflowOutput as g, type Event as h, type EventTriggerParams as i, type EventTriggerResponse as j, type EventTriggerResult as k, type Execute as l, type ExecuteOutput as m, type ExecuteOutputMetadata as n, type ExecuteOutputOptions as o, type State as p, type StepType as q, WorkflowChannelEnum as r, type WorkflowOptions as s, type WorkflowPreference as t, type WorkflowPreferences as u };
@@ -1,5 +1,5 @@
1
- import { a as ClientOptions, W as Workflow, H as HealthCheck, g as DiscoverOutput, k as Event, o as ExecuteOutput, c as CodeResult, h as EventTriggerParams, q as Execute, u as WorkflowOptions } from './health-check.types-D7zhgmn3.cjs';
2
- import { f as Awaitable } from './subscriber.types-Dq1CT3w8.cjs';
1
+ import { C as ClientOptions, W as Workflow, H as HealthCheck, D as DiscoverOutput, h as Event, m as ExecuteOutput, d as CodeResult, i as EventTriggerParams, l as Execute, s as WorkflowOptions } from './health-check.types-DwKatX-8.cjs';
2
+ import { f as Awaitable } from './subscriber.types-CftO3aFY.cjs';
3
3
  import { S as Schema, a as FromSchema, F as FromSchemaUnvalidated } from './base.schema.types-BApIn9jr.cjs';
4
4
  import './step-resolver.cjs';
5
5