Skip to content

Commit

Permalink
Merge pull request #358 from tonlabs/1.29.0-rc
Browse files Browse the repository at this point in the history
Version 1.29.0
  • Loading branch information
d3p authored Feb 4, 2022
2 parents fa54342 + a16871e commit 021f371
Show file tree
Hide file tree
Showing 45 changed files with 870 additions and 665 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file.

## [1.29.0] – 2022-02-03

### New
- Added `abi.encode_boc` function to encode parameters with values to BOC, using ABI types.
- Added support of `address` type in `boc.encode_boc`.
- All fetch requests are now called with timeouts to prevent freezing in case of infinite answer.
- Support of `MYCODE` instruction in TVM

## [1.28.1] – 2022-02-01

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

63 changes: 48 additions & 15 deletions docs/classes/AbiModule.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ <h3>Methods</h3>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="AbiModule.html#decode_message" class="tsd-kind-icon">decode_<wbr>message</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="AbiModule.html#decode_message_body" class="tsd-kind-icon">decode_<wbr>message_<wbr>body</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="AbiModule.html#encode_account" class="tsd-kind-icon">encode_<wbr>account</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="AbiModule.html#encode_boc" class="tsd-kind-icon">encode_<wbr>boc</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="AbiModule.html#encode_initial_data" class="tsd-kind-icon">encode_<wbr>initial_<wbr>data</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="AbiModule.html#encode_internal_message" class="tsd-kind-icon">encode_<wbr>internal_<wbr>message</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="AbiModule.html#encode_message" class="tsd-kind-icon">encode_<wbr>message</a></li>
Expand All @@ -129,7 +130,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3060">modules.ts:3060</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3089">modules.ts:3089</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -151,7 +152,7 @@ <h3>client</h3>
<div class="tsd-signature tsd-kind-icon">client<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">IClient</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3058">modules.ts:3058</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3087">modules.ts:3087</a></li>
</ul>
</aside>
</section>
Expand All @@ -168,7 +169,7 @@ <h3>attach_<wbr>signature</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3157">modules.ts:3157</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3186">modules.ts:3186</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -197,7 +198,7 @@ <h3>attach_<wbr>signature_<wbr>to_<wbr>message_<wbr>body</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3079">modules.ts:3079</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3108">modules.ts:3108</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -221,7 +222,7 @@ <h3>decode_<wbr>account_<wbr>data</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3205">modules.ts:3205</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3234">modules.ts:3234</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -255,7 +256,7 @@ <h3>decode_<wbr>boc</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3265">modules.ts:3265</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3294">modules.ts:3294</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -301,7 +302,7 @@ <h3>decode_<wbr>initial_<wbr>data</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3238">modules.ts:3238</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3267">modules.ts:3267</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -330,7 +331,7 @@ <h3>decode_<wbr>message</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3167">modules.ts:3167</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3196">modules.ts:3196</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -359,7 +360,7 @@ <h3>decode_<wbr>message_<wbr>body</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3177">modules.ts:3177</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3206">modules.ts:3206</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -388,7 +389,7 @@ <h3>encode_<wbr>account</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3192">modules.ts:3192</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3221">modules.ts:3221</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -416,6 +417,35 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="encode_boc" class="tsd-anchor"></a>
<h3>encode_<wbr>boc</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">encode_<wbr>boc<span class="tsd-signature-symbol">(</span>params<span class="tsd-signature-symbol">: </span><a href="../modules.html#ParamsOfAbiEncodeBoc" class="tsd-signature-type" data-tsd-kind="Type alias">ParamsOfAbiEncodeBoc</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#ResultOfAbiEncodeBoc" class="tsd-signature-type" data-tsd-kind="Type alias">ResultOfAbiEncodeBoc</a><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3304">modules.ts:3304</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Encodes given parameters in JSON into a BOC using param types from ABI.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>params: <a href="../modules.html#ParamsOfAbiEncodeBoc" class="tsd-signature-type" data-tsd-kind="Type alias">ParamsOfAbiEncodeBoc</a></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules.html#ResultOfAbiEncodeBoc" class="tsd-signature-type" data-tsd-kind="Type alias">ResultOfAbiEncodeBoc</a><span class="tsd-signature-symbol">&gt;</span></h4>
<p>ResultOfAbiEncodeBoc</p>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="encode_initial_data" class="tsd-anchor"></a>
<h3>encode_<wbr>initial_<wbr>data</h3>
Expand All @@ -426,7 +456,7 @@ <h3>encode_<wbr>initial_<wbr>data</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3228">modules.ts:3228</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3257">modules.ts:3257</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -460,7 +490,7 @@ <h3>encode_<wbr>internal_<wbr>message</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3147">modules.ts:3147</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3176">modules.ts:3176</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -508,7 +538,7 @@ <h3>encode_<wbr>message</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3121">modules.ts:3121</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3150">modules.ts:3150</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -567,7 +597,7 @@ <h3>encode_<wbr>message_<wbr>body</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3070">modules.ts:3070</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3099">modules.ts:3099</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -596,7 +626,7 @@ <h3>update_<wbr>initial_<wbr>data</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/5e70414/packages/core/src/modules.ts#L3215">modules.ts:3215</a></li>
<li>Defined in <a href="https://github.com/tonlabs/ton-client-js/blob/fa54342/packages/core/src/modules.ts#L3244">modules.ts:3244</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -662,6 +692,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="AbiModule.html#encode_account" class="tsd-kind-icon">encode_<wbr>account</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="AbiModule.html#encode_boc" class="tsd-kind-icon">encode_<wbr>boc</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="AbiModule.html#encode_initial_data" class="tsd-kind-icon">encode_<wbr>initial_<wbr>data</a>
</li>
Expand Down
Loading

0 comments on commit 021f371

Please sign in to comment.