@paystack/inline-js 2.23.0-dev.4 → 2.24.0-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
@@ -559,6 +559,7 @@ var PaystackPop = (function () {
559
559
  function mountBackgroundIframe(id) {
560
560
  var iframe = createIframe("inline-background-".concat(id));
561
561
  iframe.style.cssText = backgroundCSS;
562
+ iframe.style.colorScheme = 'light';
562
563
  document.body.appendChild(iframe);
563
564
  var bgWindow = iframe.contentWindow.document;
564
565
  bgWindow.open();
package/es/inline.js CHANGED
@@ -556,6 +556,7 @@ function mountCheckoutIframe(id) {
556
556
  function mountBackgroundIframe(id) {
557
557
  var iframe = createIframe("inline-background-".concat(id));
558
558
  iframe.style.cssText = backgroundCSS;
559
+ iframe.style.colorScheme = 'light';
559
560
  document.body.appendChild(iframe);
560
561
  var bgWindow = iframe.contentWindow.document;
561
562
  bgWindow.open();
package/lib/inline.js CHANGED
@@ -558,6 +558,7 @@ function mountCheckoutIframe(id) {
558
558
  function mountBackgroundIframe(id) {
559
559
  var iframe = createIframe("inline-background-".concat(id));
560
560
  iframe.style.cssText = backgroundCSS;
561
+ iframe.style.colorScheme = 'light';
561
562
  document.body.appendChild(iframe);
562
563
  var bgWindow = iframe.contentWindow.document;
563
564
  bgWindow.open();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paystack/inline-js",
3
- "version": "2.23.0-dev.4",
3
+ "version": "2.24.0-dev.1",
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",