Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crosslightning-evm

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crosslightning-evm - npm Package Compare versions

Comparing version 2.0.1 to 2.0.3

8

dist/evm/events/EVMChainEvents.js

@@ -89,8 +89,12 @@ "use strict";

}
const fromBlock = lastBlock + 1;
if (fromBlock > toBlock) {
return;
}
const logs = yield this.provider.getLogs({
fromBlock: lastBlock + 1,
fromBlock,
toBlock,
address: this.evmSwapProgram.contract.address
});
console.log("Returned past logs: ", logs);
console.log("Returned past logs (" + fromBlock + "-" + toBlock + "): ", logs);
//Check the logs

@@ -97,0 +101,0 @@ for (let log of logs) {

{
"name": "crosslightning-evm",
"version": "2.0.1",
"version": "2.0.3",
"description": "EVM specific base implementation",

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

@@ -97,4 +97,10 @@ import {EVMSwapData} from "../swaps/EVMSwapData";

const fromBlock = lastBlock+1;
if(fromBlock>toBlock) {
return;
}
const logs: Array<Log> = await this.provider.getLogs({
fromBlock: lastBlock+1,
fromBlock,
toBlock,

@@ -104,3 +110,3 @@ address: this.evmSwapProgram.contract.address

console.log("Returned past logs: ", logs);
console.log("Returned past logs ("+fromBlock+"-"+toBlock+"): ", logs);

@@ -107,0 +113,0 @@ //Check the logs

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