@paystack/inline-js 2.24.0-dev.1 → 2.24.0-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 +1 -0
- package/es/inline.js +1 -0
- package/lib/inline.js +1 -0
- package/package.json +1 -1
package/dist/inline.js
CHANGED
|
@@ -551,6 +551,7 @@ var PaystackPop = (function () {
|
|
|
551
551
|
var iframe = createIframe("inline-checkout-".concat(id));
|
|
552
552
|
iframe.src = "".concat(config.checkoutUrl, "popup");
|
|
553
553
|
iframe.style.cssText = checkoutCSS;
|
|
554
|
+
iframe.style.colorScheme = 'light';
|
|
554
555
|
iframe.setAttribute('allowpaymentrequest', 'true');
|
|
555
556
|
iframe.setAttribute('allow', 'payment; clipboard-read; clipboard-write');
|
|
556
557
|
document.body.appendChild(iframe);
|
package/es/inline.js
CHANGED
|
@@ -548,6 +548,7 @@ function mountCheckoutIframe(id) {
|
|
|
548
548
|
var iframe = createIframe("inline-checkout-".concat(id));
|
|
549
549
|
iframe.src = "".concat(config.checkoutUrl, "popup");
|
|
550
550
|
iframe.style.cssText = checkoutCSS;
|
|
551
|
+
iframe.style.colorScheme = 'light';
|
|
551
552
|
iframe.setAttribute('allowpaymentrequest', 'true');
|
|
552
553
|
iframe.setAttribute('allow', 'payment; clipboard-read; clipboard-write');
|
|
553
554
|
document.body.appendChild(iframe);
|
package/lib/inline.js
CHANGED
|
@@ -550,6 +550,7 @@ function mountCheckoutIframe(id) {
|
|
|
550
550
|
var iframe = createIframe("inline-checkout-".concat(id));
|
|
551
551
|
iframe.src = "".concat(config.checkoutUrl, "popup");
|
|
552
552
|
iframe.style.cssText = checkoutCSS;
|
|
553
|
+
iframe.style.colorScheme = 'light';
|
|
553
554
|
iframe.setAttribute('allowpaymentrequest', 'true');
|
|
554
555
|
iframe.setAttribute('allow', 'payment; clipboard-read; clipboard-write');
|
|
555
556
|
document.body.appendChild(iframe);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paystack/inline-js",
|
|
3
|
-
"version": "2.24.0-dev.
|
|
3
|
+
"version": "2.24.0-dev.2",
|
|
4
4
|
"description": "Client-side library to load the Paystack checkout form",
|
|
5
5
|
"packageManager": "pnpm@10.33.4+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800",
|
|
6
6
|
"main": "lib/inline.js",
|