@betterstore/sdk 0.3.24 → 0.3.26

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,17 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.26
4
+
5
+ ### Patch Changes
6
+
7
+ - disabeling currency update
8
+
9
+ ## 0.3.25
10
+
11
+ ### Patch Changes
12
+
13
+ - exchange rate setting disabled
14
+
3
15
  ## 0.3.24
4
16
 
5
17
  ### 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;
@@ -106,7 +103,6 @@ interface CheckoutUpdateParams {
106
103
  customerId?: string;
107
104
  tax?: number;
108
105
  shipping?: number;
109
- currency?: Currency;
110
106
  shippingInfo?: {
111
107
  rateId: string;
112
108
  provider?: 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;
@@ -106,7 +103,6 @@ interface CheckoutUpdateParams {
106
103
  customerId?: string;
107
104
  tax?: number;
108
105
  shipping?: number;
109
- currency?: Currency;
110
106
  shippingInfo?: {
111
107
  rateId: string;
112
108
  provider?: 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.26",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {