@paystack/inline-js 2.15.0-dev.6 → 2.15.0-dev.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.
package/dist/inline.js CHANGED
@@ -545,6 +545,7 @@ var PaystackPop = (function () {
545
545
  iframe.src = "".concat(config.checkoutUrl, "popup");
546
546
  iframe.style.cssText = checkoutCSS;
547
547
  iframe.setAttribute('allowpaymentrequest', 'true');
548
+ iframe.setAttribute('allow', 'payment');
548
549
  document.body.appendChild(iframe);
549
550
  return iframe;
550
551
  }
package/es/inline.js CHANGED
@@ -542,6 +542,7 @@ function mountCheckoutIframe(id) {
542
542
  iframe.src = "".concat(config.checkoutUrl, "popup");
543
543
  iframe.style.cssText = checkoutCSS;
544
544
  iframe.setAttribute('allowpaymentrequest', 'true');
545
+ iframe.setAttribute('allow', 'payment');
545
546
  document.body.appendChild(iframe);
546
547
  return iframe;
547
548
  }
package/lib/inline.js CHANGED
@@ -544,6 +544,7 @@ function mountCheckoutIframe(id) {
544
544
  iframe.src = "".concat(config.checkoutUrl, "popup");
545
545
  iframe.style.cssText = checkoutCSS;
546
546
  iframe.setAttribute('allowpaymentrequest', 'true');
547
+ iframe.setAttribute('allow', 'payment');
547
548
  document.body.appendChild(iframe);
548
549
  return iframe;
549
550
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/inline-js",
3
- "version": "2.15.0-dev.6",
3
+ "version": "2.15.0-dev.7",
4
4
  "description": "Client-side library to load the Paystack checkout form",
5
5
  "main": "lib/inline.js",
6
6
  "module": "es/inline.js",