@cloudcommerce/app-loyalty-points 0.23.3 → 0.24.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @cloudcommerce/app-loyalty-points@0.23.2 build /home/leo/code/ecomplus/cloud-commerce/packages/apps/loyalty-points
2
+ > @cloudcommerce/app-loyalty-points@0.24.0 build /home/leo/code/ecomplus/cloud-commerce/packages/apps/loyalty-points
3
3
  > bash ../../../scripts/build-lib.sh
4
4
 
@@ -47,7 +47,7 @@ const handleUpdatedPoints = (
47
47
 
48
48
  export default async (appData) => {
49
49
  const { application, storeId } = appData;
50
- const { params } = appData;
50
+ const params = appData.params;
51
51
  // app configured options
52
52
  const appConfig = { ...application.data, ...application.hidden_data };
53
53
  const { lang, amount } = params;
@@ -2,7 +2,7 @@ import getProgramId from './functions-lib/get-program-id.js';
2
2
 
3
3
  export default (data) => {
4
4
  const { application } = data;
5
- const { params } = data;
5
+ const params = data.params;
6
6
  const appData = {
7
7
  ...application.data,
8
8
  ...application.hidden_data,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-loyalty-points",
3
3
  "type": "module",
4
- "version": "0.23.3",
4
+ "version": "0.24.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
  "exports": {
@@ -20,11 +20,11 @@
20
20
  },
21
21
  "homepage": "https://github.com/ecomplus/cloud-commerce/tree/main/packages/apps/loyalty-points#readme",
22
22
  "dependencies": {
23
- "@cloudcommerce/api": "0.23.3",
24
- "@cloudcommerce/firebase": "0.23.3"
23
+ "@cloudcommerce/api": "0.24.1",
24
+ "@cloudcommerce/firebase": "0.24.1"
25
25
  },
26
26
  "devDependencies": {
27
- "@cloudcommerce/types": "0.23.3"
27
+ "@cloudcommerce/types": "0.24.1"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "bash ../../../scripts/build-lib.sh"