@itutoring/itutoring_application_js_api 1.5.18 → 1.5.20

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.
@@ -35,6 +35,12 @@ class ReservationSystem
35
35
  static #REMOVE_SALE_COUPON = "RemoveSaleCoupon";
36
36
  static #GET_SALE_AMOUNTS = "GetSaleAmounts";
37
37
  static #GET_CART_ITEMS_COUNT = "GetCartItemsCount";
38
+ static #REMOVE_ITEM_FROM_CART = "RemoveItemFromCart";
39
+
40
+ static async removeItemFromCart(itemSku)
41
+ {
42
+ await APIController.Post(this.#MODULE, this.#REMOVE_ITEM_FROM_CART, { 'sku': itemSku });
43
+ }
38
44
 
39
45
  static async getCartItemsCount()
40
46
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.5.18",
3
+ "version": "1.5.20",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",