@paypercut/checkout-js 1.2.12 → 1.2.18
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
CHANGED
|
@@ -67,12 +67,12 @@ pnpm add @paypercut/checkout-js
|
|
|
67
67
|
|
|
68
68
|
```html
|
|
69
69
|
<!-- jsDelivr (recommended with SRI) -->
|
|
70
|
-
<script src="https://cdn.jsdelivr.net/npm/@paypercut/checkout-js@1.2.
|
|
70
|
+
<script src="https://cdn.jsdelivr.net/npm/@paypercut/checkout-js@1.2.18/dist/paypercut-checkout.iife.min.js"
|
|
71
71
|
integrity="sha384-..."
|
|
72
72
|
crossorigin="anonymous"></script>
|
|
73
73
|
|
|
74
74
|
<!-- or UNPKG -->
|
|
75
|
-
<script src="https://unpkg.com/@paypercut/checkout-js@1.2.
|
|
75
|
+
<script src="https://unpkg.com/@paypercut/checkout-js@1.2.18/dist/paypercut-checkout.iife.min.js"></script>
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
---
|
|
@@ -871,7 +871,7 @@ Tip: Prefer subscribing with the SdkEvent enum for stronger typing.
|
|
|
871
871
|
<body>
|
|
872
872
|
<div id="checkout"></div>
|
|
873
873
|
|
|
874
|
-
<script src="https://cdn.jsdelivr.net/npm/@paypercut/checkout-js@1.2.
|
|
874
|
+
<script src="https://cdn.jsdelivr.net/npm/@paypercut/checkout-js@1.2.18/dist/paypercut-checkout.iife.min.js"></script>
|
|
875
875
|
<script>
|
|
876
876
|
const checkout = PaypercutCheckout({
|
|
877
877
|
id: '01KB23M9EC960C50G3AH14FTTT',
|
package/dist/index.cjs
CHANGED
|
@@ -91,7 +91,7 @@ class Emitter {
|
|
|
91
91
|
* Production configuration (for merchants)
|
|
92
92
|
*/
|
|
93
93
|
const productionConfig = {
|
|
94
|
-
version: "1.2.
|
|
94
|
+
version: "1.2.18",
|
|
95
95
|
defaultCheckoutOrigin: 'https://buy.paypercut.io',
|
|
96
96
|
defaultApiOrigin: 'https://api.paypercut.io',
|
|
97
97
|
defaultVaultApiUrl: 'https://api.basistheory.com',
|
|
@@ -213,6 +213,7 @@ function createThreeDSFrameShell(onCancel) {
|
|
|
213
213
|
iframe.setAttribute('frameborder', '0');
|
|
214
214
|
Object.assign(iframe.style, {
|
|
215
215
|
border: 'none',
|
|
216
|
+
outline: 'none',
|
|
216
217
|
borderRadius: '6px',
|
|
217
218
|
display: 'block',
|
|
218
219
|
background: 'transparent',
|
|
@@ -2028,8 +2029,6 @@ const PaypercutExpressCheckout = function (options) {
|
|
|
2028
2029
|
};
|
|
2029
2030
|
|
|
2030
2031
|
// ── Apple Pay SDK loader ──────────────────────────────────────────────────────
|
|
2031
|
-
// Tracks whether the Apple Pay CDN script has already been injected so multiple
|
|
2032
|
-
// CheckoutImpl instances don't race to add it more than once.
|
|
2033
2032
|
let _applePaySdkInjected = false;
|
|
2034
2033
|
/**
|
|
2035
2034
|
* Injects Apple's cross-browser Apple Pay JS SDK into the parent page so that
|