@flopay/react 1.8.6 → 1.8.8
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 +6 -0
- package/dist/index.cjs +9 -9
- package/dist/index.mjs +8 -8
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -690,6 +690,12 @@ It reuses `@flopay/shared`'s country-aware
|
|
|
690
690
|
→ the postcode field is shown but **optional**: empty and format checks are
|
|
691
691
|
both skipped, so these buyers are never blocked.
|
|
692
692
|
|
|
693
|
+
The collected email field and the AVS street, city and state fields follow the
|
|
694
|
+
same pattern: while empty (or, for email, malformed) they hold the submit gate
|
|
695
|
+
shut, and once the buyer leaves the field (or a submit is attempted) they show
|
|
696
|
+
the same red outline and inline `role="alert"` message (e.g. *"Street address is
|
|
697
|
+
required"*, *"Enter a valid email address"*).
|
|
698
|
+
|
|
693
699
|
On the **vault card path** the widget's submit button is gated **synchronously**
|
|
694
700
|
on the client-side AVS check above. Because the client postcode rules mirror the
|
|
695
701
|
backend validator (`validator@13.15.35`) verbatim, a postcode the server's
|