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

ton-watcher

Package Overview
Dependencies
Maintainers
0
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ton-watcher - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

5

build/modules/txs/tonTxWatcher.js

@@ -76,3 +76,6 @@ "use strict";

}
if (!this.last_lt || BigInt(this.last_lt) < all_txs[0].lt) {
if (!all_txs.length) {
return;
}
if (!this.last_lt || BigInt(this.last_lt) < all_txs[0]?.lt) {
this.last_lt = all_txs[0].lt.toString();

@@ -79,0 +82,0 @@ this.last_hash = all_txs[0].hash().toString('hex');

2

package.json
{
"name": "ton-watcher",
"version": "1.0.10",
"version": "1.0.11",
"description": "",

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

@@ -104,3 +104,7 @@ import { Address, TonClient, Transaction } from "@ton/ton";

if (!this.last_lt || BigInt(this.last_lt) < all_txs[0].lt) {
if (!all_txs.length) {
return;
}
if (!this.last_lt || BigInt(this.last_lt) < all_txs[0]?.lt) {
this.last_lt = all_txs[0].lt.toString();

@@ -107,0 +111,0 @@ this.last_hash = all_txs[0].hash().toString('hex');

Sorry, the diff of this file is not supported yet

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