@mercadopago/sdk-react
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -23,3 +23,3 @@ import React from 'react'; | ||
*/ | ||
declare const Wallet: ({ onReady, onError, onSubmit, customization, initialization, locale, }: TWallet) => React.JSX.Element; | ||
declare const Wallet: ({ onReady, onError, onSubmit, customization, initialization, brand, locale, }: TWallet) => React.JSX.Element; | ||
export default Wallet; |
@@ -25,3 +25,3 @@ import React, { useEffect } from 'react'; | ||
*/ | ||
const Wallet = ({ onReady = onReadyDefault, onError = onErrorDefault, onSubmit = onSubmitDefault, customization, initialization, locale, }) => { | ||
const Wallet = ({ onReady = onReadyDefault, onError = onErrorDefault, onSubmit = onSubmitDefault, customization, initialization, brand, locale, }) => { | ||
useEffect(() => { | ||
@@ -32,2 +32,3 @@ // CardPayment uses a debounce to prevent unnecessary reRenders. | ||
settings: { | ||
brand, | ||
initialization, | ||
@@ -34,0 +35,0 @@ customization, |
@@ -96,2 +96,3 @@ import { IBrickSettings } from '../util/types/common'; | ||
export interface PreferenceOnSubmit extends IBrickSettings { | ||
brand?: string; | ||
/** | ||
@@ -122,2 +123,3 @@ * Optional. An object containing initialization options. | ||
export interface PreferenceOnInitialization extends IBrickSettings { | ||
brand?: string; | ||
/** | ||
@@ -124,0 +126,0 @@ * Required. An object containing initialization options. |
{ | ||
"name": "@mercadopago/sdk-react", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "Mercado Pago SDK React", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
159737
3169
1