@esolve/ng-esolve-connect 0.22.1 → 0.22.2

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.
@@ -4216,6 +4216,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
4216
4216
  args: [ESOLVE_CONNECT_CONFIG]
4217
4217
  }] }, { type: i1$2.HttpClient }, { type: EsolveErrorHandlerService }, { type: EsolveResponseHandlerService }]; } });
4218
4218
 
4219
+ // TODO: Spilt folder to file types
4220
+
4219
4221
  // Only export the types that are accessible to the public API
4220
4222
 
4221
4223
  class EsolveBankingDetails {
@@ -4803,7 +4805,8 @@ class EsolveWishlistService {
4803
4805
  * Updates the wishlist by preforming various actions, such as adding, editing or removing items from the list.
4804
4806
  *
4805
4807
  * @param items An array of options to update the wishlist
4806
- * @param action The default action to preform
4808
+ * @param default_action The default action to preform
4809
+ *
4807
4810
  * @returns An `Observable` with an array of responses that gives feedback on the requested changes
4808
4811
  */
4809
4812
  setWishlist(items, default_action = 'add') {
@@ -4833,7 +4836,7 @@ class EsolveWishlistService {
4833
4836
  */
4834
4837
  setWishlistEmpty() {
4835
4838
  return this.http
4836
- .post(`${this.config.api_url}/set-wishlist-empty.php`, {
4839
+ .post(`${this.config.api_url}/set-wishlist-empty.php`, null, {
4837
4840
  headers: {
4838
4841
  'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8;',
4839
4842
  },
@@ -4850,6 +4853,7 @@ class EsolveWishlistService {
4850
4853
  * Processes the eSolve wishlist records
4851
4854
  *
4852
4855
  * @param wishlist_item_records Records to process
4856
+ *
4853
4857
  * @returns An array of processed cart items
4854
4858
  */
4855
4859
  processWishlist(wishlist_item_records) {
@@ -4865,6 +4869,7 @@ class EsolveWishlistService {
4865
4869
  }
4866
4870
  /**
4867
4871
  * Retrieves stock records from HTTP params.
4872
+ *
4868
4873
  * @param params HTTP client parameters
4869
4874
  */
4870
4875
  getWishlistRecords(params) {