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

@depay/web3-payments

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@depay/web3-payments - npm Package Compare versions

Comparing version 12.0.0 to 12.0.1

8

dist/esm/index.evm.js

@@ -707,3 +707,3 @@ import Blockchains from '@depay/web3-blockchains';

params: transactionParams({ paymentRoute, exchangeRoute, event }),
value: transactionValue({ paymentRoute, exchangeRoute })
value: transactionValue({ paymentRoute })
};

@@ -847,6 +847,6 @@

let transactionValue = ({ paymentRoute, exchangeRoute })=> {
let transactionValue = ({ paymentRoute })=> {
if(paymentRoute.fromToken.address == Blockchains[paymentRoute.blockchain].currency.address) {
if(exchangeRoute) {
return exchangeRoute.amountIn.toString()
if(!paymentRoute.directTransfer) {
return paymentRoute.fromAmount.toString()
} else { // direct payment

@@ -853,0 +853,0 @@ return paymentRoute.toAmount.toString()

@@ -711,3 +711,3 @@ (function (global, factory) {

params: transactionParams({ paymentRoute, exchangeRoute, event }),
value: transactionValue({ paymentRoute, exchangeRoute })
value: transactionValue({ paymentRoute })
};

@@ -851,6 +851,6 @@

let transactionValue = ({ paymentRoute, exchangeRoute })=> {
let transactionValue = ({ paymentRoute })=> {
if(paymentRoute.fromToken.address == Blockchains__default["default"][paymentRoute.blockchain].currency.address) {
if(exchangeRoute) {
return exchangeRoute.amountIn.toString()
if(!paymentRoute.directTransfer) {
return paymentRoute.fromAmount.toString()
} else { // direct payment

@@ -857,0 +857,0 @@ return paymentRoute.toAmount.toString()

{
"name": "@depay/web3-payments",
"moduleName": "Web3Payments",
"version": "12.0.0",
"version": "12.0.1",
"description": "JavaScript library to scan crypto wallets for liquefiable assets and perform cost-effective, auto-converted payments on-chain.",

@@ -6,0 +6,0 @@ "main": "dist/umd/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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