arky-sdk 0.3.104 → 0.3.107
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/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +13 -1
- package/dist/types.d.ts +13 -1
- package/dist/types.js.map +1 -1
- package/dist/utils.cjs +2 -0
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +2 -0
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -939,7 +939,7 @@ var createEshopApi = (apiConfig) => {
|
|
|
939
939
|
market: apiConfig.market,
|
|
940
940
|
...params
|
|
941
941
|
};
|
|
942
|
-
return apiConfig.httpClient.post(`/v1/
|
|
942
|
+
return apiConfig.httpClient.post(`/v1/orders/quote`, payload, options);
|
|
943
943
|
},
|
|
944
944
|
async checkout(params, options) {
|
|
945
945
|
const payload = {
|
|
@@ -1532,6 +1532,8 @@ function createPaymentForCheckout(subtotalMinor, marketId, currency, paymentMeth
|
|
|
1532
1532
|
shipping: 0,
|
|
1533
1533
|
discount,
|
|
1534
1534
|
total,
|
|
1535
|
+
paid: 0,
|
|
1536
|
+
refunds: [],
|
|
1535
1537
|
type: paymentMethod,
|
|
1536
1538
|
...taxAmount > 0 && {
|
|
1537
1539
|
tax: {
|