@paypercut/checkout-js 1.4.2 → 1.4.3

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/index.mjs CHANGED
@@ -100,7 +100,7 @@ class Emitter {
100
100
  }
101
101
  }
102
102
 
103
- const SDK_VERSION = "1.4.2";
103
+ const SDK_VERSION = "1.4.3";
104
104
 
105
105
  /**
106
106
  * Build-time configuration
@@ -4815,7 +4815,9 @@ class CardElementImpl {
4815
4815
  border: '0',
4816
4816
  display: 'block',
4817
4817
  overflow: 'hidden',
4818
- colorScheme: 'light dark',
4818
+ // Hosted Elements uses a normal document color scheme. A mismatch makes
4819
+ // browsers paint an opaque canvas even with transparent html/body styles.
4820
+ colorScheme: 'normal',
4819
4821
  transition: 'height 350ms ease-in-out, opacity 400ms ease-in-out 100ms',
4820
4822
  willChange: 'height, opacity',
4821
4823
  });