@thryveai/theme-interfaces 1.5.0 → 1.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Shared Interfaces for all ThryveAi storefront retailer themes.",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -9,6 +9,6 @@
9
9
  "author": "Simon Markey",
10
10
  "license": "ISC",
11
11
  "devDependencies": {
12
- "typescript": "4.3.5"
12
+ "typescript": "^4.5.4"
13
13
  }
14
14
  }
@@ -74,7 +74,7 @@ export interface IRetailerSettings {
74
74
  subHeaderHeight?: number;
75
75
  useAddressValidation?: boolean;
76
76
  externalApps?: IExternalApps;
77
- sodiumWarning?: boolean;
77
+ sodiumWarning?: ISodiumWarning;
78
78
  }
79
79
  export interface IExternalApps {
80
80
  sts?: IExternalAppSTS;
@@ -207,7 +207,7 @@ export interface IDefaultRetailerSettings {
207
207
  smsNotifications: ISMSConfig;
208
208
  subHeaderHeight: number;
209
209
  useAddressValidation: boolean;
210
- sodiumWarning?: boolean;
210
+ sodiumWarning?: ISodiumWarning;
211
211
  }
212
212
  export interface IGoogleAutocompleteSettings {
213
213
  types?: IGoogleAutocompleteTypes;
@@ -226,6 +226,10 @@ export interface ICtaButtons {
226
226
  iconAlignment: "left" | "right" | null;
227
227
  iconName: IconNames;
228
228
  }
229
+ interface ISodiumWarning {
230
+ isEnabled: boolean;
231
+ threshold: number;
232
+ }
229
233
  export interface IAddressesSettings {
230
234
  addressValidationTypes: IAddressValidationTypes;
231
235
  canadianAddressCompleteKey: string | undefined;