Skip to content

Commit

Permalink
Merge pull request #55 from confio/re-enable-json
Browse files Browse the repository at this point in the history
Re-enable fromJSON/toJSON
  • Loading branch information
webmaster128 committed Dec 22, 2022
2 parents c377050 + 663a94c commit 2cc1729
Show file tree
Hide file tree
Showing 122 changed files with 13,938 additions and 121 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Expand Up @@ -8,6 +8,14 @@ and this project adheres to

## [Unreleased]

## [0.6.1] - 2022-12-22

### Changed

- Bring back fromJSON/toJSON ([#55])

[#55]: https://github.com/confio/cosmjs-types/pull/55

## [0.6.0] - 2022-12-08

### Changed
Expand Down Expand Up @@ -60,7 +68,8 @@ No changelog, sorry. Maybe the diff helps.

- wasmd 0.18 types (cosmwasm/wasm/v1/\*)

[unreleased]: https://github.com/confio/cosmjs-types/compare/v0.6.0...HEAD
[unreleased]: https://github.com/confio/cosmjs-types/compare/v0.6.1...HEAD
[0.6.1]: https://github.com/confio/cosmjs-types/compare/v0.6.0...v0.6.1
[0.6.0]: https://github.com/confio/cosmjs-types/compare/v0.5.2...v0.6.0
[0.5.2]: https://github.com/confio/cosmjs-types/compare/v0.5.1...v0.5.2
[0.5.1]: https://github.com/confio/cosmjs-types/compare/v0.5.0...v0.5.1
Expand Down
6 changes: 4 additions & 2 deletions scripts/codegen.js
Expand Up @@ -53,8 +53,10 @@ telescope({
]
},
methods: {
fromJSON: false,
toJSON: false
// There are users who need those functions. CosmJS does not need them directly.
// See https://github.com/cosmos/cosmjs/pull/1329
fromJSON: true,
toJSON: true,
},
typingsFormat: {
useDeepPartial: true,
Expand Down

0 comments on commit 2cc1729

Please sign in to comment.