@monei-js/components 1.5.0 → 1.5.1

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.
@@ -1325,7 +1325,10 @@ var calculateFinancing = /*#__PURE__*/function () {
1325
1325
  while (1) {
1326
1326
  switch (_context9.prev = _context9.next) {
1327
1327
  case 0:
1328
- return _context9.abrupt("return", request("/calculate-financing?" + stringify(req)));
1328
+ return _context9.abrupt("return", request("/cofidis/calculate-financing", {
1329
+ method: 'POST',
1330
+ body: req
1331
+ }));
1329
1332
 
1330
1333
  case 1:
1331
1334
  case "end":
@@ -1339,6 +1342,29 @@ var calculateFinancing = /*#__PURE__*/function () {
1339
1342
  return _ref15.apply(this, arguments);
1340
1343
  };
1341
1344
  }();
1345
+ var validateBizumPhone = /*#__PURE__*/function () {
1346
+ var _ref16 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(req) {
1347
+ return runtime_1.wrap(function _callee10$(_context10) {
1348
+ while (1) {
1349
+ switch (_context10.prev = _context10.next) {
1350
+ case 0:
1351
+ return _context10.abrupt("return", request("/bizum/validate-phone", {
1352
+ method: 'POST',
1353
+ body: req
1354
+ }));
1355
+
1356
+ case 1:
1357
+ case "end":
1358
+ return _context10.stop();
1359
+ }
1360
+ }
1361
+ }, _callee10);
1362
+ }));
1363
+
1364
+ return function validateBizumPhone(_x11) {
1365
+ return _ref16.apply(this, arguments);
1366
+ };
1367
+ }();
1342
1368
 
1343
1369
  var _api = {
1344
1370
  __proto__: null,
@@ -1349,7 +1375,8 @@ var _api = {
1349
1375
  createPayment: createPayment,
1350
1376
  sendPaymentReceipt: sendPaymentReceipt,
1351
1377
  createApplePaySession: createApplePaySession,
1352
- calculateFinancing: calculateFinancing
1378
+ calculateFinancing: calculateFinancing,
1379
+ validateBizumPhone: validateBizumPhone
1353
1380
  };
1354
1381
 
1355
1382
  var postRobot = createCommonjsModule(function (module, exports) {
@@ -15259,6 +15286,7 @@ var options$8 = {
15259
15286
  }
15260
15287
  };
15261
15288
  var CofidisLoanModal = /*#__PURE__*/zoid.create(options$8);
15289
+ var CofidisPayModal = CofidisLoanModal;
15262
15290
 
15263
15291
  // @ts-ignore
15264
15292
  var options$9 = {
@@ -15324,6 +15352,7 @@ var options$9 = {
15324
15352
  }
15325
15353
  };
15326
15354
  var CofidisLoanWidget = /*#__PURE__*/zoid.create(options$9);
15355
+ var CofidisPayWidget = CofidisLoanWidget;
15327
15356
 
15328
15357
  var options$a = {
15329
15358
  tag: 'monei-cofidis-loan-button',
@@ -15430,6 +15459,7 @@ var options$a = {
15430
15459
  }
15431
15460
  };
15432
15461
  var CofidisLoan = /*#__PURE__*/zoid.create(options$a);
15462
+ var CofidisPay = CofidisLoan;
15433
15463
 
15434
15464
  // @ts-ignore
15435
15465
  var options$b = {
@@ -15729,5 +15759,5 @@ var NextActionType;
15729
15759
  var api = _api;
15730
15760
  var utils = _utils;
15731
15761
 
15732
- export { Bizum, BizumModal, CardInput, Cofidis, CofidisLoan, CofidisLoanModal, CofidisLoanWidget, CofidisModal, CofidisWidget, GooglePay, NextActionType, PayPal, PaymentModal, PaymentRequest, api, config, confirmPayment$1 as confirmPayment, createToken$1 as createToken, utils };
15762
+ export { Bizum, BizumModal, CardInput, Cofidis, CofidisLoan, CofidisLoanModal, CofidisLoanWidget, CofidisModal, CofidisPay, CofidisPayModal, CofidisPayWidget, CofidisWidget, GooglePay, NextActionType, PayPal, PaymentModal, PaymentRequest, api, config, confirmPayment$1 as confirmPayment, createToken$1 as createToken, utils };
15733
15763
  //# sourceMappingURL=components.esm.js.map