@bloque/payments-react 0.0.8 → 0.0.9
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.
|
@@ -37,6 +37,6 @@ export interface BloqueCheckoutProps extends Omit<BloqueCheckoutOptions, 'checko
|
|
|
37
37
|
* }
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
export declare function BloqueCheckout({ checkoutId, publicApiKey, mode, checkoutUrl, appearance, onReady, onSuccess, onError, onPending, iframeStyles, className, style, }: BloqueCheckoutProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare function BloqueCheckout({ checkoutId, publicApiKey, mode, checkoutUrl, appearance, showInstallments, onReady, onSuccess, onError, onPending, iframeStyles, className, style, }: BloqueCheckoutProps): import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
export type { AppearanceConfig, BloqueCheckoutOptions, BloqueInitOptions, PaymentResult, } from '@bloque/payments-core';
|
|
42
42
|
export { BloqueCheckout as BloqueCheckoutCore, init, } from '@bloque/payments-core';
|
package/dist/bloque-checkout.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { BloqueCheckout, init } from "@bloque/payments-core";
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
|
-
function bloque_checkout_BloqueCheckout({ checkoutId, publicApiKey, mode, checkoutUrl, appearance, onReady, onSuccess, onError, onPending, iframeStyles, className, style }) {
|
|
4
|
+
function bloque_checkout_BloqueCheckout({ checkoutId, publicApiKey, mode, checkoutUrl, appearance, showInstallments, onReady, onSuccess, onError, onPending, iframeStyles, className, style }) {
|
|
5
5
|
const containerRef = useRef(null);
|
|
6
6
|
const checkoutRef = useRef(null);
|
|
7
7
|
useEffect(()=>{
|
|
@@ -12,6 +12,7 @@ function bloque_checkout_BloqueCheckout({ checkoutId, publicApiKey, mode, checko
|
|
|
12
12
|
mode,
|
|
13
13
|
checkoutUrl,
|
|
14
14
|
appearance,
|
|
15
|
+
showInstallments,
|
|
15
16
|
onReady,
|
|
16
17
|
onSuccess,
|
|
17
18
|
onError,
|
|
@@ -30,6 +31,7 @@ function bloque_checkout_BloqueCheckout({ checkoutId, publicApiKey, mode, checko
|
|
|
30
31
|
mode,
|
|
31
32
|
checkoutUrl,
|
|
32
33
|
appearance,
|
|
34
|
+
showInstallments,
|
|
33
35
|
onReady,
|
|
34
36
|
onSuccess,
|
|
35
37
|
onError,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bloque/payments-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "React wrapper for Bloque payments web components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"provenance": true
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@bloque/payments-core": "0.0.
|
|
37
|
+
"@bloque/payments-core": "0.0.9"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": ">=16.9.0",
|