@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/README.md +1 -1
- package/dist/developer-assistance.cjs +1 -1
- package/dist/developer-assistance.mjs +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/paypercut-checkout.iife.min.js +1 -1
- package/dist/paypercut-checkout.iife.min.js.map +1 -1
- package/dist/paypercut-developer-assistance.iife.min.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1743,7 +1743,7 @@ Tip: Prefer subscribing with the SdkEvent enum for stronger typing.
|
|
|
1743
1743
|
<body>
|
|
1744
1744
|
<div id="checkout"></div>
|
|
1745
1745
|
|
|
1746
|
-
<script src="https://cdn.jsdelivr.net/npm/@paypercut/checkout-js@1.4.
|
|
1746
|
+
<script src="https://cdn.jsdelivr.net/npm/@paypercut/checkout-js@1.4.3/dist/paypercut-checkout.iife.min.js"></script>
|
|
1747
1747
|
<script>
|
|
1748
1748
|
const checkout = PaypercutCheckout({
|
|
1749
1749
|
id: '01KB23M9EC960C50G3AH14FTTT',
|
package/dist/index.cjs
CHANGED
|
@@ -105,7 +105,7 @@ class Emitter {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
const SDK_VERSION = "1.4.
|
|
108
|
+
const SDK_VERSION = "1.4.3";
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* Build-time configuration
|
|
@@ -4820,7 +4820,9 @@ class CardElementImpl {
|
|
|
4820
4820
|
border: '0',
|
|
4821
4821
|
display: 'block',
|
|
4822
4822
|
overflow: 'hidden',
|
|
4823
|
-
|
|
4823
|
+
// Hosted Elements uses a normal document color scheme. A mismatch makes
|
|
4824
|
+
// browsers paint an opaque canvas even with transparent html/body styles.
|
|
4825
|
+
colorScheme: 'normal',
|
|
4824
4826
|
transition: 'height 350ms ease-in-out, opacity 400ms ease-in-out 100ms',
|
|
4825
4827
|
willChange: 'height, opacity',
|
|
4826
4828
|
});
|