@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 +12 -0
- package/dist/index.d.mts +1 -5
- package/dist/index.d.ts +1 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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;
|