@one-commerce/sdk-core 2.3.12 → 2.4.5
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/lib/bundles/bundle.esm.js +10 -0
- package/lib/bundles/bundle.esm.js.map +1 -1
- package/lib/bundles/bundle.esm.min.js +1 -1
- package/lib/bundles/bundle.esm.min.js.map +1 -1
- package/lib/bundles/bundle.umd.js +10 -0
- package/lib/bundles/bundle.umd.js.map +1 -1
- package/lib/bundles/bundle.umd.min.js +1 -1
- package/lib/bundles/bundle.umd.min.js.map +1 -1
- package/lib/cjs/shop/services.js +10 -0
- package/lib/cjs/shop/services.js.map +1 -1
- package/lib/esm/shop/services.js +8 -0
- package/lib/esm/shop/services.js.map +1 -1
- package/lib/types/shop/services.d.ts +5 -0
- package/lib/types/shop/services.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1055,6 +1055,16 @@ var ShopCart = /*#__PURE__*/function (_BaseCallClass4) {
|
|
|
1055
1055
|
value: function addToCart(productId, amount, where, cartId) {
|
|
1056
1056
|
return this.call('addToCart', productId, amount, where, cartId);
|
|
1057
1057
|
}
|
|
1058
|
+
}, {
|
|
1059
|
+
key: "addMultipleProductsToCart",
|
|
1060
|
+
value: function addMultipleProductsToCart(newProducts, cartId) {
|
|
1061
|
+
return this.call('addMultipleProductsToCart', newProducts, cartId);
|
|
1062
|
+
}
|
|
1063
|
+
}, {
|
|
1064
|
+
key: "fetchCart",
|
|
1065
|
+
value: function fetchCart(cartId) {
|
|
1066
|
+
return this.call('fetchCart', cartId);
|
|
1067
|
+
}
|
|
1058
1068
|
}]);
|
|
1059
1069
|
|
|
1060
1070
|
return ShopCart;
|