@tap-payments/apple-pay-button 0.0.64-development → 0.0.65-development

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.
@@ -296,15 +296,16 @@ export var useApplePay = function (_a) {
296
296
  return [3, 12];
297
297
  case 3:
298
298
  setLoading(true);
299
+ session_1.completePayment({ status: ApplePaySession.STATUS_SUCCESS });
299
300
  return [4, appService.tapTokenization(event.payment.token.paymentData)];
300
301
  case 4:
301
302
  data = _t.sent();
302
303
  setSuccess === null || setSuccess === void 0 ? void 0 : setSuccess(true);
303
304
  onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(data);
304
- session_1.completePayment({ status: ApplePaySession.STATUS_SUCCESS });
305
305
  return [3, 12];
306
306
  case 5:
307
307
  setLoading(true);
308
+ session_1.completePayment({ status: ApplePaySession.STATUS_SUCCESS });
308
309
  return [4, appService.tapTokenization(event.payment.token.paymentData)];
309
310
  case 6:
310
311
  tokenId = (_t.sent()).id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/apple-pay-button",
3
- "version": "0.0.64-development",
3
+ "version": "0.0.65-development",
4
4
  "description": "Apple Pay Button React Component",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.js",