New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mercadopago/sdk-react

Package Overview
Dependencies
Maintainers
14
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mercadopago/sdk-react - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

2

bricks/wallet/index.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc