@cloudcommerce/app-galaxpay 0.23.3 → 0.24.0

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-galaxpay@0.23.2 build /home/leo/code/ecomplus/cloud-commerce/packages/apps/galaxpay
2
+ > @cloudcommerce/app-galaxpay@0.23.3 build /home/leo/code/ecomplus/cloud-commerce/packages/apps/galaxpay
3
3
  > bash scripts/build.sh
4
4
 
@@ -19,7 +19,7 @@ const parseAddress = (to) => ({
19
19
  export default async (appData) => {
20
20
  // treat module request body
21
21
  const { application } = appData;
22
- const { params } = appData;
22
+ const params = appData.params;
23
23
  // app configured options
24
24
  const configApp = {
25
25
  ...application.data,
@@ -5,7 +5,7 @@ import { parsePeriodicityToEcom } from './functions-lib/all-parses.js';
5
5
 
6
6
  export default async (data) => {
7
7
  const { application } = data;
8
- const { params } = data;
8
+ const params = data.params;
9
9
  // https://apx-mods.e-com.plus/api/v1/list_payments/schema.json?store_id=100
10
10
  const amount = params.amount || { total: undefined, discount: undefined };
11
11
  // const initialTotalAmount = amount.total;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/app-galaxpay",
3
3
  "type": "module",
4
- "version": "0.23.3",
4
+ "version": "0.24.0",
5
5
  "description": "E-Com Plus Cloud Commerce app to integrate Galax Pay for recurring payments",
6
6
  "main": "lib/galaxpay.js",
7
7
  "exports": {
@@ -23,12 +23,12 @@
23
23
  "axios": "^1.4.0",
24
24
  "firebase-admin": "^11.10.1",
25
25
  "firebase-functions": "^4.4.1",
26
- "@cloudcommerce/api": "0.23.3",
27
- "@cloudcommerce/firebase": "0.23.3"
26
+ "@cloudcommerce/api": "0.24.0",
27
+ "@cloudcommerce/firebase": "0.24.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@firebase/app-types": "^0.9.0",
31
- "@cloudcommerce/types": "0.23.3"
31
+ "@cloudcommerce/types": "0.24.0"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "bash scripts/build.sh"