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.3.3 to 1.3.4

1

build/modules/queue/Queue.js

@@ -90,2 +90,3 @@ "use strict";

else {
this.in_progress = false;
this.tmr = setTimeout(() => this.run(), 1000 / this.limit_per_sec);

@@ -92,0 +93,0 @@ }

6

build/modules/txs/TransferQueu.js

@@ -78,5 +78,6 @@ "use strict";

}
let retries = 30;
let retries = 31;
while (retries) {
retries--;
await (0, common_helpers_1.wait)(2000);
try {

@@ -93,6 +94,5 @@ const txs = await this.ton.getTransactions(this.ton.address);

catch (e) {
await (0, common_helpers_1.wait)(2000);
}
}
throw new Error(`Can't find tx in ton blockchain in 150 sec`);
throw new Error(`Can't find tx in ton blockchain in 60 sec`);
}

@@ -99,0 +99,0 @@ }

@@ -167,3 +167,3 @@ "use strict";

.storeUint(0xf8a7ea5, 32) // opcode for jetton transfer
.storeUint(seqno, 64) // query id
.storeUint(0, 64) // query id
.storeCoins(amount) // jetton amount, amount * 10^decimals

@@ -170,0 +170,0 @@ .storeAddress(parsed_address) // destination:MsgAddress

{
"name": "ton-watcher",
"version": "1.3.3",
"version": "1.3.4",
"description": "",

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

@@ -119,2 +119,3 @@

} else {
this.in_progress = false;
this.tmr = setTimeout(() => this.run(), 1000 / this.limit_per_sec);

@@ -121,0 +122,0 @@ }

@@ -95,6 +95,7 @@ import { Cell } from "@ton/core";

let retries = 30
let retries = 31
while(retries) {
retries--;
await wait(2000);
try {

@@ -110,8 +111,7 @@ const txs = await this.ton.getTransactions(this.ton.address);

} catch(e) {
await wait(2000);
}
}
throw new Error(`Can't find tx in ton blockchain in 150 sec`);
throw new Error(`Can't find tx in ton blockchain in 60 sec`);
}
}

@@ -208,3 +208,3 @@ import { TonClient4, WalletContractV5R1, internal, SendMode, OpenedContract, Address, JettonMaster, JettonWallet, beginCell, toNano, external, Cell, storeMessage } from "@ton/ton";

.storeUint(0xf8a7ea5, 32) // opcode for jetton transfer
.storeUint(seqno, 64) // query id
.storeUint(0, 64) // query id
.storeCoins(amount) // jetton amount, amount * 10^decimals

@@ -211,0 +211,0 @@ .storeAddress(parsed_address) // destination:MsgAddress

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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