Skip to content

Commit

Permalink
Update XDR definitions to Protocol 14. (#366)
Browse files Browse the repository at this point in the history
* Update XDR source files.

* Regenerate JavaScript XDR code.

* Remove space.

* Regenerate TypeScript definitions for XDR.

* Regenerate XDR

* Regenerate TS definitions for XDR code.

* Fix OperationBody discriminant for setOptions and manageData.

* Update changelog.

* Prettier xdr.d.ts

* Fix md format on changelog.
  • Loading branch information
abuiles authored Sep 21, 2020
1 parent d9b1883 commit c09439b
Show file tree
Hide file tree
Showing 9 changed files with 2,545 additions and 432 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

## Unreleased

### Breaking

- The XDR generated in this code includes breaking changes on the internal XDR library since a bug was fixed which was causing incorrect code to be generated (see https://github.com/stellar/xdrgen/pull/52).

The following functions were renamed:

- `xdr.OperationBody.setOption()` -> `xdr.OperationBody.setOptions()`
- `xdr.OperationBody.manageDatum()` -> `xdr.OperationBody.manageData()`
- `xdr.OperationType.setOption()` -> `xdr.OperationType.setOptions()`
- `xdr.OperationType.manageDatum()` -> `xdr.OperationType.manageData()`

The following enum values were rename in `OperationType`:

- `setOption` -> `setOptions`
- `manageDatum` -> `manageData`

## [v3.0.4](https://github.com/stellar/js-stellar-base/compare/v3.0.3..v3.0.4)

### Update
Expand Down
Loading

0 comments on commit c09439b

Please sign in to comment.