Skip to content

Commit

Permalink
Generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Voronezhskii committed May 18, 2021
1 parent eedda03 commit b15b58c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

## [1.15.0] – 2021-05-17
## [1.15.0] – 2021-05-18

### New

Expand All @@ -12,6 +12,11 @@ All notable changes to this project will be documented in this file.
- Configuration parameters: `latency_detection_interval`,
`max_latency`. See client documentation for details.

- **Debot module**:
- signing messages with signing box handles returned from debots.
- return any sdk errors to debot in case of external calls.
- defining signing box handle used to sign message in approve callback.

## [1.14.2] – 2021-04-30

### Fixed
Expand Down
10 changes: 8 additions & 2 deletions packages/core/src/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4751,10 +4751,15 @@ export type DebotActivity = {
/**
* Public key from keypair that was used to sign external message.
*/
signkey: string
signkey: string,

/**
* Signing box handle used to sign external message.
*/
signing_box_handle: number
}

export function debotActivityTransaction(msg: string, dst: string, out: Spending[], fee: bigint, setcode: boolean, signkey: string): DebotActivity {
export function debotActivityTransaction(msg: string, dst: string, out: Spending[], fee: bigint, setcode: boolean, signkey: string, signing_box_handle: number): DebotActivity {
return {
type: 'Transaction',
msg,
Expand All @@ -4763,6 +4768,7 @@ export function debotActivityTransaction(msg: string, dst: string, out: Spending
fee,
setcode,
signkey,
signing_box_handle,
};
}

Expand Down

0 comments on commit b15b58c

Please sign in to comment.