Comparing version 4.11.1 to 4.12.0
@@ -57,2 +57,7 @@ /// <reference types="bn.js" /> | ||
/** | ||
* Send file to a network | ||
* @param src source file | ||
*/ | ||
sendFile(src: Buffer): Promise<void>; | ||
/** | ||
* Send external message to contract | ||
@@ -59,0 +64,0 @@ * @param contract contract to send message |
@@ -103,2 +103,9 @@ "use strict"; | ||
/** | ||
* Send file to a network | ||
* @param src source file | ||
*/ | ||
async sendFile(src) { | ||
await __classPrivateFieldGet(this, _TonClient_api, "f").sendBoc(src); | ||
} | ||
/** | ||
* Send external message to contract | ||
@@ -105,0 +112,0 @@ * @param contract contract to send message |
{ | ||
"name": "ton", | ||
"version": "4.11.1", | ||
"version": "4.12.0", | ||
"repository": "https://github.com/ex3ndr/ton.git", | ||
@@ -5,0 +5,0 @@ "author": "Steve Korshakov <steve@korshakov.com>", |
195203
4771