@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 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