@wise/dynamic-flow-client 4.18.0 → 4.18.1

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.
@@ -0,0 +1,4 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import DynamicFlowWise from '../test-utils/DynamicFlowWise';
3
+ export type DFStory = StoryObj<typeof DynamicFlowWise>;
4
+ export type DFMeta = Meta<typeof DynamicFlowWise>;
@@ -0,0 +1,2 @@
1
+ import type { Step as DFStep } from '@wise/dynamic-flow-types/build/next';
2
+ export declare const getBasicStep: () => DFStep;
@@ -0,0 +1,5 @@
1
+ import type { Step } from '@wise/dynamic-flow-types/build/next';
2
+ import { DynamicFlowWisePropsWithInitialAction, DynamicFlowWisePropsWithInitialStep } from '../../test-utils/DynamicFlowWise';
3
+ export declare const renderWithStep: (step: Step, httpClient?: typeof fetch) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const renderWithAction: (initialAction: DynamicFlowWisePropsWithInitialAction["initialAction"], httpClient?: typeof fetch) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const renderWithStepAndOverrides: (step: Step, overrides: Partial<DynamicFlowWisePropsWithInitialStep>) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "4.18.0",
3
+ "version": "4.18.1",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.js",
@@ -95,10 +95,11 @@
95
95
  "classnames": "2.5.1",
96
96
  "react-webcam": "^7.2.0",
97
97
  "screenfull": "^5.2.0",
98
- "@wise/dynamic-flow-types": "3.15.0"
98
+ "@wise/dynamic-flow-types": "3.15.1"
99
99
  },
100
100
  "scripts": {
101
- "dev": "pnpm build:visual-tests && storybook dev -p 3003",
101
+ "dev": "EXCLUDE_VISUAL_TESTS=true pnpm storybook dev -p 3003",
102
+ "dev:visual-tests": "pnpm build:visual-tests && storybook dev -p 3003",
102
103
  "build": "rm -rf build && npm-run-all build:*",
103
104
  "build:types": "tsc --project ./tsconfig.types.json",
104
105
  "build:js": "node ./scripts/build.mjs",