diff --git a/package.json b/package.json index 98f99df..84c6c6e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mercadopago/sdk-react", - "version": "0.0.17", + "version": "0.0.18", "description": "Mercado Pago SDK React", "main": "index.js", "keywords": [ diff --git a/src/bricks/wallet/index.tsx b/src/bricks/wallet/index.tsx index 5b1911c..fadda75 100644 --- a/src/bricks/wallet/index.tsx +++ b/src/bricks/wallet/index.tsx @@ -30,6 +30,7 @@ const Wallet = ({ onSubmit = onSubmitDefault as () => Promise, customization, initialization, + brand, locale, }: TWallet) => { useEffect(() => { @@ -37,6 +38,7 @@ const Wallet = ({ let timer: ReturnType; const WalletBrickConfig = { settings: { + brand, initialization, customization, locale, diff --git a/src/bricks/wallet/types.ts b/src/bricks/wallet/types.ts index 2c58647..6c14d55 100644 --- a/src/bricks/wallet/types.ts +++ b/src/bricks/wallet/types.ts @@ -105,6 +105,7 @@ interface IWalletBrickCheckoutCustomization { } export interface PreferenceOnSubmit extends IBrickSettings { + brand?: string; /** * Optional. An object containing initialization options. */ @@ -131,6 +132,7 @@ export interface PreferenceOnSubmit extends IBrickSettings { } export interface PreferenceOnInitialization extends IBrickSettings { + brand?: string; /** * Required. An object containing initialization options. */