@salla.sa/twilight 2.13.2 → 2.13.10

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": "@salla.sa/twilight",
3
- "version": "2.13.2",
3
+ "version": "2.13.10",
4
4
  "description": "Salla Theme Toolkit, Webcomponents, Events, Requests, Utils",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "homepage": "https://salla.dev",
35
35
  "dependencies": {
36
- "@salla.sa/base": "^2.13.1",
36
+ "@salla.sa/base": "^2.13.10",
37
37
  "axios": "^0.27.2",
38
38
  "infinite-scroll": "^4.0.1",
39
39
  "jwt-decode": "^3.1.2",
@@ -190,9 +190,10 @@ export interface ProductOptionDetail {
190
190
  }
191
191
 
192
192
  export interface Rating {
193
- total: number;
193
+ total: number;//double check if it still used
194
194
  count: number;
195
- rate: number;
195
+ rate: number;//double check if it still used
196
+ starts:number;
196
197
  }
197
198
 
198
199
  export namespace ProductResponse {
package/types/common.d.ts CHANGED
@@ -66,7 +66,7 @@ export interface Product {
66
66
  currency?: string;
67
67
  donation?: any;
68
68
  images?: ImageElement[];
69
- rating?: any;
69
+ rating?: {count:number, stars:1|2|3|4|5};
70
70
  options?: any[];
71
71
  tags?: any[];
72
72
  brand?: Brand | any;