@betterstore/sdk 0.3.24 → 0.3.25

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.25
4
+
5
+ ### Patch Changes
6
+
7
+ - exchange rate setting disabled
8
+
3
9
  ## 0.3.24
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -91,10 +91,7 @@ interface LineItem {
91
91
  product?: Pick<Product, "title" | "priceInCents" | "images">;
92
92
  metadata?: string;
93
93
  }
94
- type Currency = {
95
- code: string;
96
- exchangeRate: number;
97
- };
94
+ type Currency = string;
98
95
  interface CheckoutCreateParams {
99
96
  type: "hosted" | "embed";
100
97
  customerId?: string;
package/dist/index.d.ts CHANGED
@@ -91,10 +91,7 @@ interface LineItem {
91
91
  product?: Pick<Product, "title" | "priceInCents" | "images">;
92
92
  metadata?: string;
93
93
  }
94
- type Currency = {
95
- code: string;
96
- exchangeRate: number;
97
- };
94
+ type Currency = string;
98
95
  interface CheckoutCreateParams {
99
96
  type: "hosted" | "embed";
100
97
  customerId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {