@wise/dynamic-flow-types 2.0.1 → 2.1.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.
@@ -164,9 +164,13 @@ export type ReviewLayout = {
164
164
  orientation?: Orientation;
165
165
  margin?: Margin;
166
166
  /**
167
- * @deprecated Only supported on web client
167
+ * @deprecated Please use callToAction instead
168
168
  */
169
169
  action?: Action;
170
+ callToAction?: {
171
+ title: string;
172
+ action: Action;
173
+ };
170
174
  };
171
175
  export type SearchLayout = SearchConfig & {
172
176
  type: 'search';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-types",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "Dynamic Flow TypeScript Types",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,9 +13,9 @@
13
13
  "build"
14
14
  ],
15
15
  "devDependencies": {
16
- "@formatjs/cli": "^4.8.3",
17
- "eslint": "8.36.0",
18
- "prettier": "2.8.4",
16
+ "@formatjs/cli": "^4.8.4",
17
+ "eslint": "8.52.0",
18
+ "prettier": "2.8.8",
19
19
  "typescript": "4.9.5"
20
20
  },
21
21
  "peerDependencies": {},