@flopay/react 1.16.4 → 1.16.5
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 +26 -1
- package/dist/automatic-payment-button.d.ts +9 -2
- package/dist/index.cjs +9 -9
- package/dist/index.mjs +7 -7
- package/dist/one-click-warnings.d.ts +12 -0
- package/package.json +3 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One-time, development-only warnings that steer integrators from keyless
|
|
3
|
+
* Auto/Confirm session creation to server-minted one-click sessions
|
|
4
|
+
* (`@flopay/node` `checkout.sessions.createOneClick` + the button's `getSession`).
|
|
5
|
+
*
|
|
6
|
+
* Each warning fires at most once per page load and never when
|
|
7
|
+
* `process.env.NODE_ENV` is `'production'`.
|
|
8
|
+
*/
|
|
9
|
+
/** The automatic payment button was given inline create-session props. */
|
|
10
|
+
export declare function warnInlineAutomaticPaymentCreate(): void;
|
|
11
|
+
/** `FloPayCheckout` was given `createSession` with a confirm or auto checkout mode. */
|
|
12
|
+
export declare function warnKeylessCheckoutCreate(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flopay/react",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.5",
|
|
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.16.
|
|
40
|
-
"@flopay/shared": "1.16.
|
|
39
|
+
"@flopay/js": "1.16.5",
|
|
40
|
+
"@flopay/shared": "1.16.5",
|
|
41
41
|
"@paypal/paypal-js": "^11.3.0",
|
|
42
42
|
"@stripe/react-stripe-js": "^7.0.1",
|
|
43
43
|
"@stripe/stripe-js": "^10.3.0"
|