All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.1.3 (2020-06-30)
- add-item: prevent changing original item object (param) (c78fa77)
2.1.2 (2020-06-29)
- add-item: check if new item id not equal to variation id (483b580)
2.1.1 (2020-01-25)
- reset: fix reseting self.data (by reference) (548de25)
2.1.0 (2020-01-25)
- reset: add new 'reset' method (09807ca)
2.0.2 (2020-01-07)
2.0.1 (2020-01-02)
2.0.0 (2019-12-26)
-
deps: ecomplus/utils and core-js no more direct dependencies
-
deps: fix pkg dependencies (peer) (4675931)
1.0.0 (2019-11-29)
- constructor: changed default object exported
-
import: 'import * as EventEmitter' (no default export) (ed88be5)
-
methods: fix methods params to support middleware (default events) (93f8d34)
-
constructor: export an instance with .Constructor for new ones (2bf6386)
0.6.3 (2019-11-17)
0.6.2 (2019-09-12)
- remove-item: fix event and self.save() on removeItem method (59d1e3f)
0.6.1 (2019-08-29)
- add-item: fix handling 'addItem' (save) (9ee9ef9)
- constructor: add each item one by one to fix it if needed (874b000)
- constructor: fix constructor setup and some methods (e64998a)
- constructor: setup methods with args correctly (8ae9f53)
- emitter: emit constructor events on methods (.emit) (4f9f196)
- methods: handling instance cart object with 'data' (ec856b5)
- add-item: handling addItem method (e8a09af)
- add-product: implement 'addProduct' method (3ab6636)
- clear: add 'clear' method (7752491)
- emitter: add events emmiter to constructor (6f01886)
- emitter: emit constructor events on methods (1cde35f)
- increase-item-qnt: handle 'increaseItemQnt' method (764c007)
- remove-item: handle 'removeItem' method (03551f1)
- save: add 'save' method (26206b9)
- storage: try to preset cart data from storage (eea39e1)