@rileybathurst/paddle 1.9.20 → 1.9.21

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "1.9.20",
4
+ "version": "1.9.21",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "tsc --noEmit && stay-gold && vite",
@@ -10,10 +10,12 @@ const specs: SpecsTypes = {
10
10
  unit: "px", // ✅ string
11
11
  }
12
12
  } */
13
+ // * number[] is for cost when passing both price and discount
14
+ // or
13
15
  type SpecsTypes = {
14
16
  [key: string]: | string | number
15
17
  | {
16
- [key: string]: string | number;
18
+ [key: string]: string | number | number[];
17
19
  };
18
20
  }
19
21
  // * moving the section tag to the parent component means you can loop yourself