@wise/dynamic-flow-client-internal 0.3.4 → 0.4.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.
@@ -1,3 +1,3 @@
1
- export type { DynamicFlowProps, Step } from '@wise/dynamic-flow-client';
2
- export { fixtures, translations, makeFetcher, JsonSchemaForm, isValidSchema, } from '@wise/dynamic-flow-client';
1
+ export type { DynamicFlowProps, Step, InitialAction } from '@wise/dynamic-flow-client';
2
+ export { fixtures, translations, makeHttpClient, JsonSchemaForm, isValidSchema, } from '@wise/dynamic-flow-client';
3
3
  export { DynamicFlow } from './dynamicFlow/DynamicFlow';
@@ -0,0 +1,3 @@
1
+ type HttpClient = typeof window.fetch;
2
+ export declare const fixtureHttpClient: HttpClient;
3
+ export {};
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ declare const NeptuneProviders: ({ children }: {
3
+ children: React.ReactNode;
4
+ }) => JSX.Element;
5
+ export default NeptuneProviders;
@@ -0,0 +1,2 @@
1
+ import { RenderResult, RenderOptions } from '@testing-library/react';
2
+ export declare const renderWithProviders: (children: React.ReactNode, options?: RenderOptions) => RenderResult;
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client-internal",
3
- "version": "0.3.4",
3
+ "version": "0.4.0",
4
4
  "description": "Dynamic Flow web client for Wise",
5
+ "license": "Apache-2.0",
5
6
  "main": "./build/main.min.js",
6
7
  "types": "./build/types/index.d.ts",
7
8
  "style": "./build/main.css",
@@ -80,7 +81,7 @@
80
81
  "react-intl": "^6"
81
82
  },
82
83
  "dependencies": {
83
- "@wise/dynamic-flow-client": "^0.4.3"
84
+ "@wise/dynamic-flow-client": "0.5.0"
84
85
  },
85
86
  "prettier": "@transferwise/eslint-config/.prettierrc.js",
86
87
  "scripts": {
@@ -1,3 +0,0 @@
1
- type Fetcher = typeof window.fetch;
2
- export declare const fixtureFetcher: Fetcher;
3
- export {};