@flopay/react 1.4.0 → 1.4.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/README.md +7 -0
- package/dist/index.cjs +691 -710
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +377 -397
- package/dist/index.mjs.map +1 -1
- package/dist/payment-logos/alipay.svg +1 -0
- package/dist/payment-logos/bancontact.svg +1 -0
- package/dist/payment-logos/blik.svg +1 -0
- package/dist/payment-logos/eps.svg +1 -0
- package/dist/payment-logos/giropay.svg +1 -0
- package/dist/payment-logos/ideal.svg +1 -0
- package/dist/payment-logos/klarna.svg +1 -0
- package/dist/payment-logos/p24.svg +1 -0
- package/dist/payment-logos/sepa_debit.svg +1 -0
- package/dist/payment-logos/wechat_pay.svg +1 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -187,6 +187,13 @@ the entire integration change — no SDK redeploy or consumer code update is
|
|
|
187
187
|
required. Wallets only render on supported devices regardless of dashboard
|
|
188
188
|
state (Apple Pay on Safari/macOS/iOS, Google Pay on Chrome).
|
|
189
189
|
|
|
190
|
+
> **Bundler note:** the vendored APM brand logos ship as sibling `.svg` assets
|
|
191
|
+
> under `dist/payment-logos/`, referenced with `new URL('./…', import.meta.url)`
|
|
192
|
+
> so their bytes stay out of the JS bundle (a card-only checkout ships none of
|
|
193
|
+
> them). Your bundler must support asset URLs — Vite, webpack 5, Rollup, Next,
|
|
194
|
+
> and esbuild all do out of the box. Card-only and vault checkouts never render
|
|
195
|
+
> a method tile, so they never request a logo.
|
|
196
|
+
|
|
190
197
|
In `layout="buttons"`, the **Credit / Debit Card** button always opens the
|
|
191
198
|
inline card form. External wallets and PayPal keep their own lifecycle:
|
|
192
199
|
buyer cancellation silently returns to the payment-method chooser with all
|