@cloudcommerce/app-loyalty-points 2.41.14 → 2.42.1

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.
@@ -100,7 +100,7 @@ const handleLoyaltyPointsEvent = async (order, programRules) => {
100
100
  const { data: { result } } = await api.get('search/v1', {
101
101
  limit: order.items.length,
102
102
  params: {
103
- _id: order.items.map((item) => item.product_id),
103
+ '_id': order.items.map((item) => item.product_id),
104
104
  'categories._id': rule.category_ids,
105
105
  },
106
106
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-loyalty-points",
3
3
  "type": "module",
4
- "version": "2.41.14",
4
+ "version": "2.42.1",
5
5
  "description": "e-com.plus Cloud Commerce app to handle simple loyalty points programs",
6
6
  "main": "lib/loyalty-points.js",
7
7
  "files": [
@@ -27,12 +27,12 @@
27
27
  "homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/apps/loyalty-points#readme",
28
28
  "dependencies": {
29
29
  "@ecomplus/utils": "1.5.0-rc.6",
30
- "@cloudcommerce/api": "2.41.14",
31
- "@cloudcommerce/firebase": "2.41.14"
30
+ "@cloudcommerce/firebase": "2.42.1",
31
+ "@cloudcommerce/api": "2.42.1"
32
32
  },
33
33
  "devDependencies": {
34
- "@cloudcommerce/test-base": "2.41.14",
35
- "@cloudcommerce/types": "2.41.14"
34
+ "@cloudcommerce/test-base": "2.42.1",
35
+ "@cloudcommerce/types": "2.42.1"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "bash ../../../scripts/build-lib.sh",