@debales/ai 1.1.20 → 1.1.22

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.
@@ -10,4 +10,4 @@ export declare function formatSizeAndCurrency(sizeString: string, storeMetaData:
10
10
  export declare const extractNumericPrice: (price: string) => number;
11
11
  export declare const getMetaUrl: (storeUrl: string) => string;
12
12
  export declare const getShopifyStoreMeta: (storeUrl: string) => Promise<ShopifyStoreMeta>;
13
- export declare const formatPrice: (price: number, currency: string) => string;
13
+ export declare const formatPrice: (price: number | string, currency: string) => string;
@@ -66,6 +66,7 @@ interface UiData {
66
66
  collectedUserInfo: CollectedUserInfo;
67
67
  countryCode?: string;
68
68
  zIndex: number;
69
+ currency?: string;
69
70
  }
70
71
  export interface Product {
71
72
  name: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@debales/ai",
3
3
  "private": false,
4
4
  "access": "public",
5
- "version": "1.1.20",
5
+ "version": "1.1.22",
6
6
  "type": "module",
7
7
  "main": "./dist/module/ai.js",
8
8
  "types": "./dist/module/index.d.ts",