@riosst100/pwa-marketplace 2.6.5 → 2.6.7
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/package.json +1 -1
- package/src/intercept.js +5 -3
package/package.json
CHANGED
package/src/intercept.js
CHANGED
|
@@ -229,12 +229,14 @@ module.exports = targets => {
|
|
|
229
229
|
const gatewaysPath = '@riosst100/pwa-marketplace/src/components/PaymentMethod/';
|
|
230
230
|
|
|
231
231
|
paymentMethods.map(method =>
|
|
232
|
-
veniaTargets.checkoutPagePaymentTypes.tap(checkoutPagePaymentTypes =>
|
|
232
|
+
veniaTargets.checkoutPagePaymentTypes.tap(checkoutPagePaymentTypes => {
|
|
233
233
|
checkoutPagePaymentTypes.add({
|
|
234
234
|
paymentCode: method,
|
|
235
235
|
importPath: gatewaysPath + method
|
|
236
|
-
})
|
|
237
|
-
|
|
236
|
+
});
|
|
237
|
+
|
|
238
|
+
return checkoutPagePaymentTypes;
|
|
239
|
+
})
|
|
238
240
|
);
|
|
239
241
|
|
|
240
242
|
// targets.of('@magento/venia-ui').checkoutPagePaymentTypes.tap(checkoutPagePaymentTypes =>
|