Skip to content

Commit

Permalink
Merge pull request #1175 from Adyen/release/24.4.0
Browse files Browse the repository at this point in the history
Release/24.4.0
  • Loading branch information
zenit2001 authored Sep 19, 2024
2 parents 4da8a1d + ab4a880 commit 7269616
Show file tree
Hide file tree
Showing 114 changed files with 19,842 additions and 19,805 deletions.
2 changes: 1 addition & 1 deletion cartridges/app_adyen_SFRA/.project
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>app_adyen_SFRA</name>
<comment>v24.3.2</comment>
<comment>v24.4.0</comment>
<projects></projects>
<buildSpec>
<buildCommand>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function initializeCardComponent() {
return _initializeCardComponent.apply(this, arguments);
}
function _initializeCardComponent() {
_initializeCardComponent = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
_initializeCardComponent = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
var cardNode;
return _regeneratorRuntime().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function makeGiftcardPaymentRequest(_x, _x2, _x3) {
return _makeGiftcardPaymentRequest.apply(this, arguments);
}
function _makeGiftcardPaymentRequest() {
_makeGiftcardPaymentRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(giftCardData, giftcardBalance, reject) {
_makeGiftcardPaymentRequest = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(giftCardData, giftcardBalance, reject) {
var brandSelect, selectedBrandIndex, giftcardBrand, partialPaymentRequest, partialPaymentResponse;
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
Expand Down Expand Up @@ -292,7 +292,7 @@ function handleOnChange(state) {
store.componentsObj[type].stateData = state.data;
}
var actionHandler = /*#__PURE__*/function () {
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(action) {
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(action) {
var checkout;
return _regeneratorRuntime().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use strict";

var _excluded = ["giftCards"];
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
var store = require('../../../../store');
var _require = require('./renderGenericComponent'),
initializeCheckout = _require.initializeCheckout;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function renderPaymentMethods(_x, _x2, _x3) {
return _renderPaymentMethods.apply(this, arguments);
}
function _renderPaymentMethods() {
_renderPaymentMethods = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(paymentMethods, imagePath, adyenDescriptions) {
_renderPaymentMethods = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(paymentMethods, imagePath, adyenDescriptions) {
var i, pm;
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
Expand Down Expand Up @@ -239,7 +239,7 @@ function initializeCheckout() {
return _initializeCheckout.apply(this, arguments);
}
function _initializeCheckout() {
_initializeCheckout = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
_initializeCheckout = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
var paymentMethodsResponse, giftCardsData, totalDiscountedAmount, giftCards, lastGiftCard, paymentMethodsWithoutGiftCards, storedPaymentMethodsWithoutGiftCards, firstPaymentMethod;
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
Expand Down Expand Up @@ -313,7 +313,7 @@ function _initializeCheckout() {
// used by renderGiftCardComponent.js
document.addEventListener(INIT_CHECKOUT_EVENT, function () {
var handleCheckoutEvent = /*#__PURE__*/function () {
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
return _regeneratorRuntime().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
Expand Down Expand Up @@ -346,7 +346,7 @@ function renderGenericComponent() {
return _renderGenericComponent.apply(this, arguments);
}
function _renderGenericComponent() {
_renderGenericComponent = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
_renderGenericComponent = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
var _store$addedGiftCards2;
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function handleInput(_ref6) {
var paymentMethodID = _ref6.paymentMethodID;
var input = document.querySelector("#rb_".concat(paymentMethodID));
input.onchange = /*#__PURE__*/function () {
var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(event) {
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(event) {
return _regeneratorRuntime().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
Expand Down Expand Up @@ -159,7 +159,7 @@ function checkIfNodeIsAvailable(_x2) {
return _checkIfNodeIsAvailable.apply(this, arguments);
}
function _checkIfNodeIsAvailable() {
_checkIfNodeIsAvailable = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(node) {
_checkIfNodeIsAvailable = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(node) {
var isNodeAvailable;
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
Expand Down Expand Up @@ -191,7 +191,7 @@ function appendNodeToContainerIfAvailable(_x3, _x4, _x5, _x6) {
return _appendNodeToContainerIfAvailable.apply(this, arguments);
}
function _appendNodeToContainerIfAvailable() {
_appendNodeToContainerIfAvailable = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(paymentMethodsUI, li, node, container) {
_appendNodeToContainerIfAvailable = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(paymentMethodsUI, li, node, container) {
var canBeMounted;
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
Expand All @@ -217,7 +217,7 @@ function _appendNodeToContainerIfAvailable() {
return _appendNodeToContainerIfAvailable.apply(this, arguments);
}
module.exports.renderPaymentMethod = /*#__PURE__*/function () {
var _renderPaymentMethod = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(paymentMethod, isStored, path) {
var _renderPaymentMethod = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(paymentMethod, isStored, path) {
var description,
rerender,
canRender,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function mountAmazonPayComponent() {
return _mountAmazonPayComponent.apply(this, arguments);
}
function _mountAmazonPayComponent() {
_mountAmazonPayComponent = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
_mountAmazonPayComponent = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
var _paymentMethodsRespon, amazonPayNode, data, paymentMethodsResponse, applicationInfo, checkout, amazonPayConfig, amazonConfig, amazonPayComponent, shopperDetails;
return _regeneratorRuntime().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function initializeCheckout() {
return _initializeCheckout.apply(this, arguments);
}
function _initializeCheckout() {
_initializeCheckout = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
_initializeCheckout = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
var _paymentMethodsRespon3;
var shippingMethods, applicationInfo;
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
Expand Down Expand Up @@ -190,7 +190,7 @@ function createApplePayButton(_x) {
return _createApplePayButton.apply(this, arguments);
}
function _createApplePayButton() {
_createApplePayButton = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(applePayButtonConfig) {
_createApplePayButton = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6(applePayButtonConfig) {
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
Expand All @@ -203,7 +203,7 @@ function _createApplePayButton() {
}));
return _createApplePayButton.apply(this, arguments);
}
initializeCheckout().then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
initializeCheckout().then(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
var _paymentMethodsRespon, _paymentMethodsRespon2;
var applePayPaymentMethod, applePayConfig, applePayButtonConfig, cartContainer, applePayButton, isApplePayButtonAvailable, expressCheckoutNodesIndex;
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
Expand Down Expand Up @@ -237,7 +237,7 @@ initializeCheckout().then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regener
};
}),
onAuthorized: function () {
var _onAuthorized = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject, event) {
var _onAuthorized = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(resolve, reject, event) {
var customerData, billingData, customer, stateData, resolveApplePay;
return _regeneratorRuntime().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
Expand Down Expand Up @@ -292,7 +292,7 @@ initializeCheckout().then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regener
// We already do the payment in paymentFromComponent
},
onShippingMethodSelected: function () {
var _onShippingMethodSelected = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(resolve, reject, event) {
var _onShippingMethodSelected = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(resolve, reject, event) {
var shippingMethod, matchingShippingMethod, calculationResponse, newCalculation, applePayShippingMethodUpdate;
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
Expand Down Expand Up @@ -341,7 +341,7 @@ initializeCheckout().then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regener
return onShippingMethodSelected;
}(),
onShippingContactSelected: function () {
var _onShippingContactSelected = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(resolve, reject, event) {
var _onShippingContactSelected = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(resolve, reject, event) {
var shippingContact, shippingMethods, _shippingMethodsData$, selectedShippingMethod, calculationResponse, shippingMethodsStructured, newCalculation, applePayShippingContactUpdate;
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7269616

Please sign in to comment.