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

ton

Package Overview
Dependencies
Maintainers
3
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ton - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

1

dist/address/Address.d.ts

@@ -15,2 +15,3 @@ /// <reference types="node" />

equals(src: Address): boolean;
toBuffer: () => Buffer;
toFriendlyBuffer: (args?: {

@@ -17,0 +18,0 @@ bounceable?: boolean | undefined;

@@ -106,2 +106,12 @@ "use strict";

}
toBuffer = () => {
const addr = Buffer.alloc(34);
addr[0] = 0;
addr[1] = this.workChain;
addr.set(this.hash, 2);
const addressWithChecksum = Buffer.alloc(36);
addressWithChecksum.set(addr);
addressWithChecksum.set(crc16(addr), 34);
return addressWithChecksum;
};
toFriendlyBuffer = (args) => {

@@ -108,0 +118,0 @@ let testOnly = (args && args.testOnly !== undefined) ? args.testOnly : false;

2

package.json
{
"name": "ton",
"version": "2.2.0",
"version": "2.3.0",
"repository": "https://github.com/ex3ndr/ton.git",

@@ -5,0 +5,0 @@ "author": "Steve Korshakov <steve@korshakov.com>",

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