summit-registration-lite 2.0.15 → 2.0.16

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -985,7 +985,7 @@ function lawpay_form_objectSpread(target) { for (var i = 1; i < arguments.length
985
985
  function lawpay_form_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
986
986
 
987
987
  /**
988
- * Copyright 2020 OpenStack Foundation
988
+ * Copyright 2022 OpenStack Foundation
989
989
  * Licensed under the Apache License, Version 2.0 (the "License");
990
990
  * you may not use this file except in compliance with the License.
991
991
  * You may obtain a copy of the License at
@@ -1017,7 +1017,9 @@ const LawPayForm = ({
1017
1017
  exp_month: '',
1018
1018
  exp_year: '',
1019
1019
  postal_code: userProfile.postal_code || '',
1020
- address1: userProfile.address1 || ''
1020
+ address1: userProfile.address1 || '',
1021
+ email: userProfile.email,
1022
+ name: `${userProfile.given_name} ${userProfile.family_name}`
1021
1023
  });
1022
1024
  const [lawPayErrors, setLawPayErrors] = (0,external_react_namespaceObject.useState)({
1023
1025
  exp_month: '',
@@ -1105,7 +1107,10 @@ const LawPayForm = ({
1105
1107
  "postal_code": lawPayFields.postal_code,
1106
1108
  "address1": lawPayFields.address1,
1107
1109
  "exp_year": lawPayFields.exp_year,
1108
- "exp_month": lawPayFields.exp_month
1110
+ "exp_month": lawPayFields.exp_month,
1111
+ "email": lawPayFields.email,
1112
+ "name": lawPayFields.name,
1113
+ "reference": `summit_${reservation.summit_id}_order_${reservation.id}`
1109
1114
  });
1110
1115
  payTicket(provider, {
1111
1116
  token
@@ -1628,7 +1633,6 @@ function personal_information_defineProperty(obj, key, value) { if (key in obj)
1628
1633
 
1629
1634
 
1630
1635
 
1631
-
1632
1636
  const PersonalInfoComponent = ({
1633
1637
  isActive,
1634
1638
  changeForm,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "summit-registration-lite",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "description": "Summit Registration Lite",
5
5
  "main": "index.js",
6
6
  "scripts": {