@unitedstatespowersquadrons/components 1.2.11-pre.1 → 1.2.12

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.
Files changed (2) hide show
  1. package/Reducer/types.ts +6 -1
  2. package/package.json +1 -1
package/Reducer/types.ts CHANGED
@@ -21,7 +21,12 @@ export interface GenericAppAction {
21
21
  type: string;
22
22
  }
23
23
 
24
- export type CableAction = { data: object; type: "receivedCable" };
24
+ interface CableData {
25
+ toasts?: Toast[];
26
+ dismissToast?: number;
27
+ [key: string]: unknown;
28
+ }
29
+ export type CableAction = { data: CableData; type: "receivedCable" };
25
30
 
26
31
  export type RailsAppAction<R extends RailsResponse = RailsResponse> =
27
32
  | { type: "saveComplete"; res: R }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unitedstatespowersquadrons/components",
3
- "version": "1.2.11-pre.1",
3
+ "version": "1.2.12",
4
4
  "description": "USPS shared React components library",
5
5
  "main": "index.tsx",
6
6
  "scripts": {