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.21.0 to 0.22.0

16

dist/contract/Sender.d.ts

@@ -5,11 +5,13 @@ import { Address } from "../address/Address";

import { StateInit } from "../messages/StateInit";
export type SenderArguments = {
amount: bigint;
to: Address;
sendMode?: SendMode;
bounce?: boolean;
init?: StateInit;
body?: Cell;
};
export interface Sender {
readonly address?: Address;
send(args: {
amount: bigint;
mode: SendMode;
to: Address;
stateInit?: StateInit;
body?: Cell;
}): Promise<void>;
send(args: SenderArguments): Promise<void>;
}

@@ -34,3 +34,3 @@ export { Address } from './address/Address';

export { AccountState } from './contract/AccountState';
export { Sender } from './contract/Sender';
export { Sender, SenderArguments } from './contract/Sender';
export { toNano, fromNano } from './utils/convert';

@@ -37,0 +37,0 @@ export { crc16 } from './utils/crc16';

{
"name": "ton-core",
"version": "0.21.0",
"version": "0.22.0",
"main": "dist/index.js",

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

@@ -6,5 +6,14 @@ import { Address } from "../address/Address";

export type SenderArguments = {
amount: bigint,
to: Address,
sendMode?: SendMode,
bounce?: boolean,
init?: StateInit,
body?: Cell
}
export interface Sender {
readonly address?: Address;
send(args: { amount: bigint, mode: SendMode, to: Address, stateInit?: StateInit, body?: Cell }): Promise<void>;
send(args: SenderArguments): Promise<void>;
}

@@ -50,3 +50,3 @@ // Address

export { AccountState } from './contract/AccountState';
export { Sender } from './contract/Sender';
export { Sender, SenderArguments } from './contract/Sender';

@@ -53,0 +53,0 @@ // Utility

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