@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/intercept.js +5 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@riosst100/pwa-marketplace",
3
3
  "author": "riosst100@gmail.com",
4
- "version": "2.6.5",
4
+ "version": "2.6.7",
5
5
  "main": "src/index.js",
6
6
  "pwa-studio": {
7
7
  "targets": {
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 =>