@flopay/vue 1.19.1 → 1.20.0
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/package.json +3 -3
package/README.md
CHANGED
|
@@ -193,6 +193,12 @@ h(FloPayCheckout, {
|
|
|
193
193
|
});
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
+
### Stripe account switch
|
|
197
|
+
|
|
198
|
+
`@flopay/react`'s `FloPayCheckout` re-mounts its wallet buttons when a claim moves the checkout to another Stripe account, and tells the billing API it can. The Vue port of that Stripe account switch follows with SDK 2.0, and `FloPayCheckout` here gets no account-switch code before then.
|
|
199
|
+
|
|
200
|
+
Until then `@flopay/vue` does not send the `stripe-account-switch-v1` capability, so when a claim would change the Stripe account the billing API hides Apple Pay and Google Pay for the Vue checkout, as it does today; card and PayPal stay available. The detached create's `routingProducts` hint (the cart's product codes) comes from `@flopay/js` and is sent by the Vue checkout too, so a cart whose products use another Stripe account normally starts on that account from the first response and the claim does not move it.
|
|
201
|
+
|
|
196
202
|
## Errors
|
|
197
203
|
|
|
198
204
|
Errors are `FloPayError` instances from `@flopay/shared`, emitted through `@error`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flopay/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.0",
|
|
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.
|
|
40
|
-
"@flopay/shared": "1.
|
|
39
|
+
"@flopay/js": "1.20.0",
|
|
40
|
+
"@flopay/shared": "1.20.0",
|
|
41
41
|
"@paypal/paypal-js": "^11.3.0",
|
|
42
42
|
"@stripe/stripe-js": "^10.3.0"
|
|
43
43
|
},
|