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