Skip to content

Commit

Permalink
Merge pull request #69 from casper-ecosystem/feature/new-transfer-method
Browse files Browse the repository at this point in the history
newTransferWithoutObligatoryId -> newTransferWithOptionalTransferId
  • Loading branch information
hoffmannjan authored Jun 10, 2021
2 parents 8739e64 + 874b642 commit c0ece06
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to casper-client-sdk.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.4.2

## Added

- `newTransferWithoutObligatoryId` renamed to `newTransferWithOptionalTransferId`

## 1.4.1

## Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "casper-client-sdk",
"version": "1.4.1",
"version": "1.4.2",
"license": "Apache 2.0",
"description": "SDK to interact with the Casper blockchain",
"homepage": "https://github.com/casper-ecosystem/casper-client-sdk#README.md",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/DeployUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ export class ExecutableDeployItem implements ToBytes {
* transfer will be used as the source purse
* @param id user-defined transfer id. This parameter is optional.
*/
public static newTransferWithoutObligatoryId(
public static newTransferWithOptionalTransferId(
amount: BigNumberish,
target: URef | PublicKey,
sourcePurse?: URef | null,
Expand Down

0 comments on commit c0ece06

Please sign in to comment.