🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

ton-ledger

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ton-ledger - npm Package Compare versions

Comparing version

to
2.2.0

2

dist/index.d.ts

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

export { TonTransport } from './TonTransport';
export { TonPayloadFormat, TonTransport } from './TonTransport';

@@ -5,3 +5,6 @@ /// <reference types="node" />

import { Address, Cell, Message, SendMode, StateInit } from "ton";
declare type KnownMessage = {
export declare type TonPayloadFormat = {
type: 'unsafe';
message: Message;
} | {
type: 'comment';

@@ -77,8 +80,4 @@ text: string;

stateInit?: StateInit;
payload?: {
type: 'custom';
message: Message;
} | KnownMessage;
payload?: TonPayloadFormat;
}) => Promise<Cell>;
}
export {};

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

}
else if (transaction.payload.type === 'custom') {
else if (transaction.payload.type === 'unsafe') {
payload = new ton_1.Cell();

@@ -172,0 +172,0 @@ transaction.payload.message.writeTo(payload);

{
"name": "ton-ledger",
"version": "2.1.0",
"version": "2.2.0",
"repository": "https://github.com/ton-foundation/ton-ledger-ts.git",

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