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

@truecarry/sandbox

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@truecarry/sandbox - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

dist/blockchain/BlockchainStorage.d.ts
/// <reference types="node" />
import { AccountState, Address } from "@ton/core";
import { SmartContract } from "./SmartContract";
import { type BlockchainBase } from "./BlockchainBase";
import { type IBlockchain } from "./BlockchainBase";
export interface BlockchainStorage {
getContract(blockchain: BlockchainBase, address: Address): Promise<SmartContract>;
getContract(blockchain: IBlockchain, address: Address): Promise<SmartContract>;
knownContracts(): SmartContract[];

@@ -12,3 +12,3 @@ clearKnownContracts(): void;

private contracts;
getContract(blockchain: BlockchainBase, address: Address): Promise<SmartContract>;
getContract(blockchain: IBlockchain, address: Address): Promise<SmartContract>;
knownContracts(): SmartContract[];

@@ -62,5 +62,5 @@ clearKnownContracts(): void;

private getLastBlockSeqno;
getContract(blockchain: BlockchainBase, address: Address): Promise<SmartContract>;
getContract(blockchain: IBlockchain, address: Address): Promise<SmartContract>;
knownContracts(): SmartContract[];
clearKnownContracts(): void;
}
/// <reference types="node" />
import type { BlockchainBase, IBlockchain } from "./BlockchainBase";
import type { IBlockchain } from "./BlockchainBase";
import { Address, Cell, Message, ShardAccount, Transaction, TupleItem, TupleReader } from "@ton/core";

@@ -84,3 +84,3 @@ import type { EmulationResult, RunCommonArgs, TickOrTock } from "../executor/Executor";

set account(account: ShardAccount);
static create(blockchain: BlockchainBase, args: {
static create(blockchain: IBlockchain, args: {
address: Address;

@@ -91,3 +91,3 @@ code: Cell;

}): SmartContract;
static empty(blockchain: BlockchainBase, address: Address): SmartContract;
static empty(blockchain: IBlockchain, address: Address): SmartContract;
protected createCommonArgs(params?: MessageParams): RunCommonArgs;

@@ -94,0 +94,0 @@ receiveMessage(message: Message, params?: MessageParams): Promise<SmartContractTransaction>;

{
"name": "@truecarry/sandbox",
"version": "1.0.1",
"version": "1.0.2",
"description": "TON transaction emulator",

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

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