@paystack/inline-js 2.22.7-dev.1 → 2.22.8-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 +2 -0
- package/es/inline.js +2 -0
- package/lib/inline.js +2 -0
- package/package.json +1 -1
package/dist/inline.js
CHANGED
|
@@ -566,6 +566,8 @@ var PaystackPop = (function () {
|
|
|
566
566
|
iframe.src = src;
|
|
567
567
|
iframe.id = id;
|
|
568
568
|
iframe.name = id;
|
|
569
|
+
iframe.setAttribute('allowpaymentrequest', 'true');
|
|
570
|
+
iframe.setAttribute('allow', 'payment; clipboard-read; clipboard-write');
|
|
569
571
|
return iframe;
|
|
570
572
|
}
|
|
571
573
|
function getApplePayButton(container) {
|
package/es/inline.js
CHANGED
|
@@ -563,6 +563,8 @@ function mountEmbedCheckoutIframe(id, src) {
|
|
|
563
563
|
iframe.src = src;
|
|
564
564
|
iframe.id = id;
|
|
565
565
|
iframe.name = id;
|
|
566
|
+
iframe.setAttribute('allowpaymentrequest', 'true');
|
|
567
|
+
iframe.setAttribute('allow', 'payment; clipboard-read; clipboard-write');
|
|
566
568
|
return iframe;
|
|
567
569
|
}
|
|
568
570
|
function getApplePayButton(container) {
|
package/lib/inline.js
CHANGED
|
@@ -565,6 +565,8 @@ function mountEmbedCheckoutIframe(id, src) {
|
|
|
565
565
|
iframe.src = src;
|
|
566
566
|
iframe.id = id;
|
|
567
567
|
iframe.name = id;
|
|
568
|
+
iframe.setAttribute('allowpaymentrequest', 'true');
|
|
569
|
+
iframe.setAttribute('allow', 'payment; clipboard-read; clipboard-write');
|
|
568
570
|
return iframe;
|
|
569
571
|
}
|
|
570
572
|
function getApplePayButton(container) {
|