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

ton-core

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ton-core - npm Package Compare versions

Comparing version 0.34.0 to 0.35.0

2

dist/boc/Cell.js

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

if (opts && opts.refs) {
refs = opts.refs;
refs = [...opts.refs];
}

@@ -86,0 +86,0 @@ // Resolve type

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.storeMessageRelaxed = exports.loadMessageRelaxed = void 0;
const Builder_1 = require("../boc/Builder");
const CommonMessageInfoRelaxed_1 = require("./CommonMessageInfoRelaxed");

@@ -32,3 +33,11 @@ const StateInit_1 = require("./StateInit");

builder.storeBit(true);
builder.store((0, StateInit_1.storeStateInit)(message.init));
let initCell = (0, Builder_1.beginCell)().store((0, StateInit_1.storeStateInit)(message.init));
if (builder.availableBits - 2 /* At least on byte for body */ >= initCell.bits) {
builder.storeBit(false);
builder.storeBuilder(initCell);
}
else {
builder.storeBit(true);
builder.storeRef(initCell);
}
}

@@ -35,0 +44,0 @@ else {

{
"name": "ton-core",
"version": "0.34.0",
"version": "0.35.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "repository": "https://github.com/ton-community/ton-core.git",

@@ -49,3 +49,3 @@ import inspectSymbol from 'symbol.inspect';

if (opts && opts.refs) {
refs = opts.refs;
refs = [...opts.refs];
}

@@ -52,0 +52,0 @@

@@ -1,2 +0,2 @@

import { Builder } from "../boc/Builder";
import { beginCell, Builder } from "../boc/Builder";
import { Cell } from "../boc/Cell";

@@ -47,3 +47,10 @@ import { Slice } from "../boc/Slice";

builder.storeBit(true);
builder.store(storeStateInit(message.init));
let initCell = beginCell().store(storeStateInit(message.init));
if (builder.availableBits - 2 /* At least on byte for body */ >= initCell.bits) {
builder.storeBit(false);
builder.storeBuilder(initCell);
} else {
builder.storeBit(true);
builder.storeRef(initCell);
}
} else {

@@ -50,0 +57,0 @@ builder.storeBit(false);

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