tf-checkout-react 1.6.6-beta.12 → 1.6.6-beta.13
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.
- package/dist/components/orderDetailsContainer/index.d.ts +1 -1
- package/dist/tf-checkout-react.cjs.development.js +2 -2
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +2 -2
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/api/index.ts +1 -1
- package/src/components/orderDetailsContainer/index.tsx +10 -9
- package/src/hoc/CustomFields/index.tsx +1 -1
|
@@ -1692,7 +1692,7 @@ var getCustomFields = /*#__PURE__*/function () {
|
|
|
1692
1692
|
while (1) switch (_context3.prev = _context3.next) {
|
|
1693
1693
|
case 0:
|
|
1694
1694
|
_context3.next = 2;
|
|
1695
|
-
return publicRequest.get("/v1/event/" + eventId + "/
|
|
1695
|
+
return publicRequest.get("/v1/event/" + eventId + "/fields");
|
|
1696
1696
|
case 2:
|
|
1697
1697
|
response = _context3.sent;
|
|
1698
1698
|
customFields = _get(response, 'data.data.attributes', []);
|
|
@@ -2068,7 +2068,7 @@ var withCustomFields = function withCustomFields(Children) {
|
|
|
2068
2068
|
while (1) switch (_context.prev = _context.next) {
|
|
2069
2069
|
case 0:
|
|
2070
2070
|
_context.prev = 0;
|
|
2071
|
-
eventId = getQueryVariable('event_id') || '';
|
|
2071
|
+
eventId = getQueryVariable('event_id') || getQueryVariable("eventId") || '';
|
|
2072
2072
|
_context.next = 4;
|
|
2073
2073
|
return getCustomFields(eventId);
|
|
2074
2074
|
case 4:
|