@soltech/fluid-common 1.16.0-sc25233.0 → 1.16.0-sc25233.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.
package/lib/flows.d.ts CHANGED
@@ -3,7 +3,8 @@ export declare const FLOW_TRANSACTIONS: readonly ["deposit", "withdrawal", "quic
3
3
  export type FlowTransaction = typeof FLOW_TRANSACTIONS[number];
4
4
  export declare const FLOW_ELEMENTS: readonly ["widget", "virtual", "inline"];
5
5
  export type FlowElement = typeof FLOW_ELEMENTS[number];
6
- export type HeaderTitleKind = 'CONTENT_KEY' | 'METHOD_NAME' | 'TRANSACTION_STATUS';
6
+ export declare const HEADER_TITLE_KINDS: readonly ["CONTENT_KEY", "METHOD_NAME", "TRANSACTION_STATUS"];
7
+ export type HeaderTitleKind = typeof HEADER_TITLE_KINDS[number];
7
8
  export interface ViewChrome {
8
9
  header: {
9
10
  titleType: HeaderTitleKind;
package/lib/flows.js CHANGED
@@ -1,3 +1,5 @@
1
1
  export const FLOW_SCHEMA_VERSION = 1;
2
2
  export const FLOW_TRANSACTIONS = ['deposit', 'withdrawal', 'quickDeposit', 'inlineQuickDeposit', '*'];
3
3
  export const FLOW_ELEMENTS = ['widget', 'virtual', 'inline'];
4
+ // A string, not the widget's numeric enum: the canonical form a flow id is hashed from holds no numbers.
5
+ export const HEADER_TITLE_KINDS = ['CONTENT_KEY', 'METHOD_NAME', 'TRANSACTION_STATUS'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.16.0-sc25233.0",
3
+ "version": "1.16.0-sc25233.1",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",