@wise/dynamic-flow-client 4.0.3 → 4.0.4

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/build/main.js CHANGED
@@ -11750,8 +11750,10 @@ var stepComponentToProps = ({
11750
11750
  error,
11751
11751
  external,
11752
11752
  loadingState,
11753
+ step,
11753
11754
  title,
11754
- components
11755
+ components,
11756
+ onAction
11755
11757
  }, rendererMapperProps) => {
11756
11758
  const childrenProps = components.map((c) => componentToRendererProps(c, rendererMapperProps));
11757
11759
  return __spreadValues({
@@ -11763,9 +11765,11 @@ var stepComponentToProps = ({
11763
11765
  error,
11764
11766
  external,
11765
11767
  loadingState,
11768
+ step,
11766
11769
  title,
11767
11770
  children: childrenProps.map(rendererMapperProps.render),
11768
- childrenProps
11771
+ childrenProps,
11772
+ onAction
11769
11773
  }, rendererMapperProps);
11770
11774
  };
11771
11775
 
package/build/main.mjs CHANGED
@@ -11727,8 +11727,10 @@ var stepComponentToProps = ({
11727
11727
  error,
11728
11728
  external,
11729
11729
  loadingState,
11730
+ step,
11730
11731
  title,
11731
- components
11732
+ components,
11733
+ onAction
11732
11734
  }, rendererMapperProps) => {
11733
11735
  const childrenProps = components.map((c) => componentToRendererProps(c, rendererMapperProps));
11734
11736
  return __spreadValues({
@@ -11740,9 +11742,11 @@ var stepComponentToProps = ({
11740
11742
  error,
11741
11743
  external,
11742
11744
  loadingState,
11745
+ step,
11743
11746
  title,
11744
11747
  children: childrenProps.map(rendererMapperProps.render),
11745
- childrenProps
11748
+ childrenProps,
11749
+ onAction
11746
11750
  }, rendererMapperProps);
11747
11751
  };
11748
11752
 
@@ -1,4 +1,4 @@
1
1
  import type { StepRendererProps } from '@wise/dynamic-flow-types/build/renderers';
2
2
  import type { StepDomainComponent } from '../domain/components/StepDomainComponent';
3
3
  import { type RendererMapperProps } from './mappers/componentToRendererProps';
4
- export declare const stepComponentToProps: ({ uid, back, control, description, error, external, loadingState, title, components, }: StepDomainComponent, rendererMapperProps: RendererMapperProps) => StepRendererProps;
4
+ export declare const stepComponentToProps: ({ uid, back, control, description, error, external, loadingState, step, title, components, onAction, }: StepDomainComponent, rendererMapperProps: RendererMapperProps) => StepRendererProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",