@paystack/inline-js 2.22.5-dev.1 → 2.22.5-dev.2

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/dist/inline.js CHANGED
@@ -1983,7 +1983,10 @@ var PaystackPop = (function () {
1983
1983
  isShortTouch = false;
1984
1984
  };
1985
1985
 
1986
- document.addEventListener('touchstart', handleTouchStart, true);
1986
+ document.addEventListener('touchstart', handleTouchStart, {
1987
+ passive: false,
1988
+ capture: true
1989
+ });
1987
1990
  document.addEventListener('touchend', handleClosePreCheckoutModal, true);
1988
1991
  var openPaystackPopButton = getPreCheckoutModalOpenPaystackPopButton(this.preCheckoutModal);
1989
1992
  var payWithVaultButton = getPreCheckoutModalPayWithVaultButton(this.preCheckoutModal);
package/es/inline.js CHANGED
@@ -1980,7 +1980,10 @@ var Inline = /*#__PURE__*/function () {
1980
1980
  isShortTouch = false;
1981
1981
  };
1982
1982
 
1983
- document.addEventListener('touchstart', handleTouchStart, true);
1983
+ document.addEventListener('touchstart', handleTouchStart, {
1984
+ passive: false,
1985
+ capture: true
1986
+ });
1984
1987
  document.addEventListener('touchend', handleClosePreCheckoutModal, true);
1985
1988
  var openPaystackPopButton = getPreCheckoutModalOpenPaystackPopButton(this.preCheckoutModal);
1986
1989
  var payWithVaultButton = getPreCheckoutModalPayWithVaultButton(this.preCheckoutModal);
package/lib/inline.js CHANGED
@@ -1982,7 +1982,10 @@ var Inline = /*#__PURE__*/function () {
1982
1982
  isShortTouch = false;
1983
1983
  };
1984
1984
 
1985
- document.addEventListener('touchstart', handleTouchStart, true);
1985
+ document.addEventListener('touchstart', handleTouchStart, {
1986
+ passive: false,
1987
+ capture: true
1988
+ });
1986
1989
  document.addEventListener('touchend', handleClosePreCheckoutModal, true);
1987
1990
  var openPaystackPopButton = getPreCheckoutModalOpenPaystackPopButton(this.preCheckoutModal);
1988
1991
  var payWithVaultButton = getPreCheckoutModalPayWithVaultButton(this.preCheckoutModal);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/inline-js",
3
- "version": "2.22.5-dev.1",
3
+ "version": "2.22.5-dev.2",
4
4
  "description": "Client-side library to load the Paystack checkout form",
5
5
  "main": "lib/inline.js",
6
6
  "module": "es/inline.js",