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 11.12.0 to 11.13.0

2

dist/boc/boc.d.ts
/// <reference types="node" />
import { Cell } from "..";
export declare function getMaxDepth(cell: Cell): number;
export declare function getMaxLevel(cell: Cell): number;
export declare function hashCell(cell: Cell): Buffer;

@@ -4,0 +6,0 @@ export declare function parseBocHeader(serializedBoc: Buffer): {

10

dist/boc/boc.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.serializeToBoc = exports.deserializeBoc = exports.deserializeCellData = exports.parseBocHeader = exports.hashCell = void 0;
exports.serializeToBoc = exports.deserializeBoc = exports.deserializeCellData = exports.parseBocHeader = exports.hashCell = exports.getMaxLevel = exports.getMaxDepth = void 0;
const ton_crypto_1 = require("ton-crypto");

@@ -61,2 +61,3 @@ const __1 = require("..");

}
exports.getMaxDepth = getMaxDepth;
function getMaxDepthAsArray(cell) {

@@ -81,2 +82,3 @@ const maxDepth = getMaxDepth(cell);

}
exports.getMaxLevel = getMaxLevel;
function getRefsDescriptor(cell) {

@@ -87,5 +89,2 @@ const d1 = Uint8Array.from({ length: 1 }, () => 0);

}
/**
* @return {Uint8Array}
*/
function getBitsDescriptor(cell) {

@@ -96,5 +95,2 @@ const d2 = Uint8Array.from({ length: 1 }, () => 0);

}
/**
* @return {Uint8Array}
*/
function getDataWithDescriptors(cell) {

@@ -101,0 +97,0 @@ const d1 = getRefsDescriptor(cell);

@@ -29,2 +29,4 @@ /// <reference types="node" />

equals(src: Cell): boolean;
getMaxLevel(): number;
getMaxDepth(): number;
}

@@ -94,4 +94,10 @@ "use strict";

}
getMaxLevel() {
return (0, boc_1.getMaxLevel)(this);
}
getMaxDepth() {
return (0, boc_1.getMaxDepth)(this);
}
}
exports.Cell = Cell;
_a = symbol_inspect_1.default;
{
"name": "ton",
"version": "11.12.0",
"version": "11.13.0",
"repository": "https://github.com/tonwhales/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