Huge News!Announcing our $40M Series B led by Abstract Ventures.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.4.6 to 1.5.0

4

build/modules/process/runProcess.js

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

const ok_event = {
data: { req_id, address, amount: (Number(balance) / 10 ** 9).toFixed() },
data: { req_id, address, amount: (Number(balance) / 10 ** 9).toFixed(9) },
event: "resTonBalance"

@@ -193,3 +193,3 @@ };

const ok_event = {
data: { req_id, address, amount: (Number(balance) / 10 ** jetton_settings.decimals).toFixed(), jetton_name },
data: { req_id, address, amount: (Number(balance) / 10 ** jetton_settings.decimals).toFixed(jetton_settings.decimals), jetton_name },
event: "resJTonBalance"

@@ -196,0 +196,0 @@ };

{
"name": "ton-watcher",
"version": "1.4.6",
"version": "1.5.0",
"description": "",

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

@@ -200,3 +200,3 @@ import { getHttpV4Endpoint } from "@orbs-network/ton-access";

const ok_event: TonProcessEvents<'resTonBalance'> = {
data: { req_id, address, amount: (Number(balance) / 10 ** 9).toFixed() },
data: { req_id, address, amount: (Number(balance) / 10 ** 9).toFixed(9) },
event: "resTonBalance"

@@ -241,3 +241,3 @@ };

const ok_event: TonProcessEvents<'resJTonBalance'> = {
data: { req_id, address, amount: (Number(balance) / 10 ** jetton_settings.decimals).toFixed(), jetton_name },
data: { req_id, address, amount: (Number(balance) / 10 ** jetton_settings.decimals).toFixed(jetton_settings.decimals), jetton_name },
event: "resJTonBalance"

@@ -244,0 +244,0 @@ };

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