Skip to content

Commit

Permalink
Merge pull request #1001 from tonlabs/1.43.1-rc
Browse files Browse the repository at this point in the history
Version 1.43.1
  • Loading branch information
d3p authored Jun 2, 2023
2 parents 72266bf + 404f5ab commit ceeaa05
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 59 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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

## [1.43.1] – 2023-06-01

### Fixed

- `MonitoredMessage` API representation simplified.

## [1.43.0] – 2023-05-23

### New
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ 'TON Labs LTD <[email protected]>' ]
edition = '2018'
name = 'api_derive'
version = '1.43.0'
version = '1.43.1'

[dependencies]
quote = '1.0.26'
Expand Down
2 changes: 1 addition & 1 deletion api/info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ 'TON Labs LTD <[email protected]>' ]
edition = '2018'
name = 'api_info'
version = '1.43.0'
version = '1.43.1'

[dependencies]
serde = '1.0.115'
Expand Down
2 changes: 1 addition & 1 deletion api/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = [ 'TON Labs LTD <[email protected]>' ]
edition = '2018'
name = 'api_test'
version = '1.43.0'
version = '1.43.1'

[dependencies]
serde = '1.0.115'
Expand Down
29 changes: 11 additions & 18 deletions docs/reference/types-and-methods/mod_processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -1022,26 +1022,23 @@ BOC of the message.

```ts
type MonitoredMessageBocVariant = {
value: {
boc: string
}
boc: string
}
```
- `value`: _struct_
- `boc`: _string_
## MonitoredMessageHashAddressVariant
Message's hash and destination address.
```ts
type MonitoredMessageHashAddressVariant = {
value: {
hash: string,
address: string
}
hash: string,
address: string
}
```
- `value`: _struct_
- `hash`: _string_ – Hash of the message.
- `address`: _string_ – Destination address of the message.
## MonitoredMessage
Expand All @@ -1058,25 +1055,21 @@ When _type_ is _'Boc'_
BOC of the message.
- `value`: _struct_
- `boc`: _string_
When _type_ is _'HashAddress'_
Message's hash and destination address.
- `value`: _struct_
- `hash`: _string_ – Hash of the message.
- `address`: _string_ – Destination address of the message.
Variant constructors:
```ts
function monitoredMessageBoc(value: {
boc: string
}): MonitoredMessage;
function monitoredMessageHashAddress(value: {
hash: string,
address: string
}): MonitoredMessage;
function monitoredMessageBoc(boc: string): MonitoredMessage;
function monitoredMessageHashAddress(hash: string, address: string): MonitoredMessage;
```

## MessageMonitoringStatus
Expand Down
2 changes: 1 addition & 1 deletion ton_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = 'ton_client'
version = '1.43.0'
version = '1.43.1'
authors = [ 'TON Labs LTD <[email protected]>' ]
edition = '2018'
license = 'Apache-2.0'
Expand Down
Binary file modified ton_client/src/proofs/trusted_key_blocks.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion ton_client_processing/src/message_monitor/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use serde_json::Value;
use ton_types::Cell;

#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize, ApiType)]
#[serde(tag = "type", content = "value")]
#[serde(tag = "type")]
pub enum MonitoredMessage {
/// BOC of the message.
Boc { boc: String },
Expand Down
2 changes: 1 addition & 1 deletion ton_sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = 'ton_sdk'
version = '1.43.0'
version = '1.43.1'
edition = '2018'
license = 'Apache-2.0'
authors = [ 'TON Labs LTD <[email protected]>' ]
Expand Down
2 changes: 1 addition & 1 deletion toncli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = 'Apache-2.0'
name = 'toncli'
readme = 'README.md'
repository = 'https://github.com/tonlabs/ever-sdk'
version = '1.43.0'
version = '1.43.1'

[dependencies]
base64 = '0.13.0'
Expand Down
40 changes: 12 additions & 28 deletions tools/api.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.43.0",
"version": "1.43.1",
"modules": [
{
"name": "client",
Expand Down Expand Up @@ -10479,16 +10479,8 @@
"type": "Struct",
"struct_fields": [
{
"name": "value",
"type": "Struct",
"struct_fields": [
{
"name": "boc",
"type": "String",
"summary": null,
"description": null
}
],
"name": "boc",
"type": "String",
"summary": null,
"description": null
}
Expand All @@ -10501,23 +10493,15 @@
"type": "Struct",
"struct_fields": [
{
"name": "value",
"type": "Struct",
"struct_fields": [
{
"name": "hash",
"type": "String",
"summary": "Hash of the message.",
"description": null
},
{
"name": "address",
"type": "String",
"summary": "Destination address of the message.",
"description": null
}
],
"summary": null,
"name": "hash",
"type": "String",
"summary": "Hash of the message.",
"description": null
},
{
"name": "address",
"type": "String",
"summary": "Destination address of the message.",
"description": null
}
],
Expand Down

0 comments on commit ceeaa05

Please sign in to comment.