@flopay/vue 1.18.0 → 1.18.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 +2 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -33,6 +33,8 @@ export default {
|
|
|
33
33
|
|
|
34
34
|
Browser work (session reads, SDK loading, the hosted card widget) starts in `onMounted`, so server rendering never touches `window` and renders the loading state.
|
|
35
35
|
|
|
36
|
+
Supplied buyer names: when an inline `createSession.account` has a non-blank `firstName` or `lastName`, the first session request (the detached shell) already carries the trimmed first and last name, so the billing API issues the hosted card form with its cardholder name field hidden from the start: the field is never rendered. A first name alone or a last name alone is sent on its own. Email, `userId`, the address, and the cart still arrive with the claim, and names are not part of the inline-session cache identity, so editing a name does not start a new session. Blank or whitespace-only names count as absent and leave the request and the form unchanged. The buyer types no name in this case, so no name input is reported. A billing API that does not yet keep names on the shell ignores them and shows the field as before. This matches `@flopay/react`.
|
|
37
|
+
|
|
36
38
|
## Examples
|
|
37
39
|
|
|
38
40
|
Card setup from the Stripe-free subpath:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flopay/vue",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@flopay/js": "1.18.
|
|
40
|
-
"@flopay/shared": "1.18.
|
|
39
|
+
"@flopay/js": "1.18.1",
|
|
40
|
+
"@flopay/shared": "1.18.1",
|
|
41
41
|
"@paypal/paypal-js": "^11.3.0",
|
|
42
42
|
"@stripe/stripe-js": "^10.3.0"
|
|
43
43
|
},
|