From 15a871c86c092767accdbab4202ddb249ee34869 Mon Sep 17 00:00:00 2001 From: blushi Date: Mon, 27 Mar 2023 10:13:19 +0200 Subject: [PATCH 1/5] chore(release): Publish v0.6.0 --- CHANGELOG.md | 15 +++++++++++++++ lerna.json | 2 +- packages/api/CHANGELOG.md | 15 +++++++++++++++ packages/api/package.json | 2 +- packages/demo-app/CHANGELOG.md | 11 +++++++++++ packages/demo-app/package.json | 4 ++-- 6 files changed, 45 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0f9caba..35b6df43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.6.0) (2023-03-27) + + +### Features + +* Add amino signing support to regen-ledger msgs ([#38](https://github.com/regen-network/regen-js/issues/38)) ([84d6b5a](https://github.com/regen-network/regen-js/commit/84d6b5a7b344f893d80ba54b99067677cfdb36ef)), closes [#39](https://github.com/regen-network/regen-js/issues/39) [#43](https://github.com/regen-network/regen-js/issues/43) [#44](https://github.com/regen-network/regen-js/issues/44) [#45](https://github.com/regen-network/regen-js/issues/45) [#46](https://github.com/regen-network/regen-js/issues/46) [#48](https://github.com/regen-network/regen-js/issues/48) [#50](https://github.com/regen-network/regen-js/issues/50) [#49](https://github.com/regen-network/regen-js/issues/49) [#47](https://github.com/regen-network/regen-js/issues/47) [#53](https://github.com/regen-network/regen-js/issues/53) [#52](https://github.com/regen-network/regen-js/issues/52) [#54](https://github.com/regen-network/regen-js/issues/54) [#55](https://github.com/regen-network/regen-js/issues/55) [#56](https://github.com/regen-network/regen-js/issues/56) +* add bridge_amino and test ([#61](https://github.com/regen-network/regen-js/issues/61)) ([cb0d339](https://github.com/regen-network/regen-js/commit/cb0d33904c12b61a06def9aa85a56c96a633743e)) +* add transfer ibc proto ([#40](https://github.com/regen-network/regen-js/issues/40)) ([61c6cd2](https://github.com/regen-network/regen-js/commit/61c6cd2d4b3903da8bbb5d771dd815bdeb1c1000)) +* update ecocredit amino types ([#64](https://github.com/regen-network/regen-js/issues/64)) ([6c8fabb](https://github.com/regen-network/regen-js/commit/6c8fabb8c24c977446f879b861c8e338d4b58b60)) +* update proto files for regen-ledger v5.0 and cosmos-sdk v0.46.7 ([#66](https://github.com/regen-network/regen-js/issues/66)) ([5feaeed](https://github.com/regen-network/regen-js/commit/5feaeeda4f32eb3379f0b5c1b2dc7557c2e08b46)) + + + + + # [0.5.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.5.0) (2023-01-16) diff --git a/lerna.json b/lerna.json index cc7097f5..f3a9d8a3 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.5.0" + "version": "0.6.0" } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index ee931d5e..17a7615f 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,21 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.6.0) (2023-03-27) + + +### Features + +* Add amino signing support to regen-ledger msgs ([#38](https://github.com/regen-network/regen-js/issues/38)) ([84d6b5a](https://github.com/regen-network/regen-js/commit/84d6b5a7b344f893d80ba54b99067677cfdb36ef)), closes [#39](https://github.com/regen-network/regen-js/issues/39) [#43](https://github.com/regen-network/regen-js/issues/43) [#44](https://github.com/regen-network/regen-js/issues/44) [#45](https://github.com/regen-network/regen-js/issues/45) [#46](https://github.com/regen-network/regen-js/issues/46) [#48](https://github.com/regen-network/regen-js/issues/48) [#50](https://github.com/regen-network/regen-js/issues/50) [#49](https://github.com/regen-network/regen-js/issues/49) [#47](https://github.com/regen-network/regen-js/issues/47) [#53](https://github.com/regen-network/regen-js/issues/53) [#52](https://github.com/regen-network/regen-js/issues/52) [#54](https://github.com/regen-network/regen-js/issues/54) [#55](https://github.com/regen-network/regen-js/issues/55) [#56](https://github.com/regen-network/regen-js/issues/56) +* add bridge_amino and test ([#61](https://github.com/regen-network/regen-js/issues/61)) ([cb0d339](https://github.com/regen-network/regen-js/commit/cb0d33904c12b61a06def9aa85a56c96a633743e)) +* add transfer ibc proto ([#40](https://github.com/regen-network/regen-js/issues/40)) ([61c6cd2](https://github.com/regen-network/regen-js/commit/61c6cd2d4b3903da8bbb5d771dd815bdeb1c1000)) +* update ecocredit amino types ([#64](https://github.com/regen-network/regen-js/issues/64)) ([6c8fabb](https://github.com/regen-network/regen-js/commit/6c8fabb8c24c977446f879b861c8e338d4b58b60)) +* update proto files for regen-ledger v5.0 and cosmos-sdk v0.46.7 ([#66](https://github.com/regen-network/regen-js/issues/66)) ([5feaeed](https://github.com/regen-network/regen-js/commit/5feaeeda4f32eb3379f0b5c1b2dc7557c2e08b46)) + + + + + # [0.5.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.5.0) (2023-01-16) diff --git a/packages/api/package.json b/packages/api/package.json index ba627ae4..a14149c2 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@regen-network/api", - "version": "0.5.0", + "version": "0.6.0", "author": "admin@regen.network", "description": "A client library for the Regen Ledger", "license": "Apache-2.0", diff --git a/packages/demo-app/CHANGELOG.md b/packages/demo-app/CHANGELOG.md index cf67f371..19b66568 100644 --- a/packages/demo-app/CHANGELOG.md +++ b/packages/demo-app/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.6.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.6.0) (2023-03-27) + + +### Features + +* Add amino signing support to regen-ledger msgs ([#38](https://github.com/regen-network/regen-js/issues/38)) ([84d6b5a](https://github.com/regen-network/regen-js/commit/84d6b5a7b344f893d80ba54b99067677cfdb36ef)), closes [#39](https://github.com/regen-network/regen-js/issues/39) [#43](https://github.com/regen-network/regen-js/issues/43) [#44](https://github.com/regen-network/regen-js/issues/44) [#45](https://github.com/regen-network/regen-js/issues/45) [#46](https://github.com/regen-network/regen-js/issues/46) [#48](https://github.com/regen-network/regen-js/issues/48) [#50](https://github.com/regen-network/regen-js/issues/50) [#49](https://github.com/regen-network/regen-js/issues/49) [#47](https://github.com/regen-network/regen-js/issues/47) [#53](https://github.com/regen-network/regen-js/issues/53) [#52](https://github.com/regen-network/regen-js/issues/52) [#54](https://github.com/regen-network/regen-js/issues/54) [#55](https://github.com/regen-network/regen-js/issues/55) [#56](https://github.com/regen-network/regen-js/issues/56) + + + + + # [0.5.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.5.0) (2023-01-16) diff --git a/packages/demo-app/package.json b/packages/demo-app/package.json index d9e38f5a..ec201760 100644 --- a/packages/demo-app/package.json +++ b/packages/demo-app/package.json @@ -1,13 +1,13 @@ { "name": "@regen-network/demo-app", - "version": "0.5.0", + "version": "0.6.0", "author": "admin@regen.network", "description": "Demo web application using @regen-network/api", "license": "Apache-2.0", "private": true, "repository": "https://github.com/regen-network/regen-js", "dependencies": { - "@regen-network/api": "^0.5.0", + "@regen-network/api": "^0.6.0", "@testing-library/jest-dom": "^5.11.8", "@testing-library/react": "^11.2.2", "@testing-library/user-event": "^12.6.0", From 739163b341ff466d14fdd7df8025ffd7c0cadfe4 Mon Sep 17 00:00:00 2001 From: blushi Date: Mon, 5 Aug 2024 12:43:27 +0200 Subject: [PATCH 2/5] feat: add amino data MsgAttest converter --- .../{ecocredit => }/converter-utils.ts | 0 .../api/src/tx/modules/data/converters.ts | 8 +++ .../src/tx/modules/data/v1/attest_amino.ts | 62 +++++++++++++++++++ .../marketplace/v1/buy_direct_amino.ts | 2 +- .../ecocredit/marketplace/v1/sell_amino.ts | 2 +- .../ecocredit/v1/create_batch_amino.ts | 2 +- packages/api/src/tx/modules/index.ts | 1 + packages/api/src/tx/msg.ts | 8 ++- 8 files changed, 80 insertions(+), 5 deletions(-) rename packages/api/src/tx/modules/{ecocredit => }/converter-utils.ts (100%) create mode 100644 packages/api/src/tx/modules/data/converters.ts create mode 100644 packages/api/src/tx/modules/data/v1/attest_amino.ts diff --git a/packages/api/src/tx/modules/ecocredit/converter-utils.ts b/packages/api/src/tx/modules/converter-utils.ts similarity index 100% rename from packages/api/src/tx/modules/ecocredit/converter-utils.ts rename to packages/api/src/tx/modules/converter-utils.ts diff --git a/packages/api/src/tx/modules/data/converters.ts b/packages/api/src/tx/modules/data/converters.ts new file mode 100644 index 00000000..9e770934 --- /dev/null +++ b/packages/api/src/tx/modules/data/converters.ts @@ -0,0 +1,8 @@ +import { AminoConverters } from '@cosmjs/stargate'; +import { attestConverter, attestTypeUrl } from './v1/attest_amino'; + +export function createDataAminoConverters(): AminoConverters { + return { + [attestTypeUrl]: attestConverter(), + }; +} diff --git a/packages/api/src/tx/modules/data/v1/attest_amino.ts b/packages/api/src/tx/modules/data/v1/attest_amino.ts new file mode 100644 index 00000000..0026497b --- /dev/null +++ b/packages/api/src/tx/modules/data/v1/attest_amino.ts @@ -0,0 +1,62 @@ +import { AminoMsg } from '@cosmjs/amino'; + +import { MsgAttest } from '../../../../generated/regen/data/v1/tx'; +import { + DigestAlgorithm, + GraphCanonicalizationAlgorithm, + GraphMerkleTree, + ContentHash_Graph, +} from '../../../../generated/regen/data/v1/types'; +import { AminoConverter } from '@cosmjs/stargate'; +import { omitDefault } from '../../converter-utils'; + +const msgAttestAminoType = 'regen-ledger/MsgAttest'; + +export const attestTypeUrl = '/' + MsgAttest.$type; + +type AminoContentHash_Graph = { + hash: Uint8Array; + digest_algorithm?: DigestAlgorithm; + canonicalization_algorithm?: GraphCanonicalizationAlgorithm; + merkle_tree?: GraphMerkleTree; +}; +export interface AminoMsgAttest extends AminoMsg { + readonly type: typeof msgAttestAminoType; + readonly value: { + readonly attestor: string; + readonly content_hashes: AminoContentHash_Graph[]; + }; +} + +export function attestConverter(): AminoConverter { + return { + aminoType: msgAttestAminoType, + toAmino: ({ + attestor, + contentHashes, + }: MsgAttest): AminoMsgAttest['value'] => ({ + attestor, + content_hashes: contentHashes.map(contentHash => ({ + hash: contentHash.hash, + digest_algorithm: omitDefault(contentHash.digestAlgorithm), + canonicalization_algorithm: omitDefault( + contentHash.canonicalizationAlgorithm, + ), + merkle_tree: omitDefault(contentHash.merkleTree), + })), + }), + fromAmino: ({ + attestor, + content_hashes, + }: AminoMsgAttest['value']): Partial => ({ + attestor, + contentHashes: content_hashes.map(contentHash => ({ + $type: ContentHash_Graph.$type, + hash: contentHash.hash, + digestAlgorithm: contentHash.digest_algorithm || 0, + canonicalizationAlgorithm: contentHash.canonicalization_algorithm || 0, + merkleTree: contentHash.merkle_tree || 0, + })), + }), + }; +} diff --git a/packages/api/src/tx/modules/ecocredit/marketplace/v1/buy_direct_amino.ts b/packages/api/src/tx/modules/ecocredit/marketplace/v1/buy_direct_amino.ts index a26a8eae..12a621fe 100644 --- a/packages/api/src/tx/modules/ecocredit/marketplace/v1/buy_direct_amino.ts +++ b/packages/api/src/tx/modules/ecocredit/marketplace/v1/buy_direct_amino.ts @@ -6,7 +6,7 @@ import { MsgBuyDirect_Order, } from '../../../../../generated/regen/ecocredit/marketplace/v1/tx'; import { AminoCoin } from './sell_amino'; -import { omitDefault } from '../../converter-utils'; +import { omitDefault } from '../../../converter-utils'; const msgBuyDirectAmnioType = 'regen.marketplace/MsgBuyDirect'; diff --git a/packages/api/src/tx/modules/ecocredit/marketplace/v1/sell_amino.ts b/packages/api/src/tx/modules/ecocredit/marketplace/v1/sell_amino.ts index 24c73e5c..b778290d 100644 --- a/packages/api/src/tx/modules/ecocredit/marketplace/v1/sell_amino.ts +++ b/packages/api/src/tx/modules/ecocredit/marketplace/v1/sell_amino.ts @@ -4,7 +4,7 @@ import { MsgSell, MsgSell_Order, } from '../../../../../generated/regen/ecocredit/marketplace/v1/tx'; -import { AminoDate } from '../../converter-utils'; +import { AminoDate } from '../../../converter-utils'; const msgSellAminoType = 'regen.marketplace/MsgSell'; diff --git a/packages/api/src/tx/modules/ecocredit/v1/create_batch_amino.ts b/packages/api/src/tx/modules/ecocredit/v1/create_batch_amino.ts index 9491875a..989e83a4 100644 --- a/packages/api/src/tx/modules/ecocredit/v1/create_batch_amino.ts +++ b/packages/api/src/tx/modules/ecocredit/v1/create_batch_amino.ts @@ -5,7 +5,7 @@ import { BatchIssuance, OriginTx, } from '../../../../generated/regen/ecocredit/v1/types'; -import { AminoDate } from '../converter-utils'; +import { AminoDate } from '../../converter-utils'; const msgCreateBatchAminoType = 'regen/MsgCreateBatch'; diff --git a/packages/api/src/tx/modules/index.ts b/packages/api/src/tx/modules/index.ts index 59f22690..3a6da0ed 100644 --- a/packages/api/src/tx/modules/index.ts +++ b/packages/api/src/tx/modules/index.ts @@ -1 +1,2 @@ export { createEcocreditAminoConverters } from './ecocredit/converters'; +export { createDataAminoConverters } from './data/converters'; diff --git a/packages/api/src/tx/msg.ts b/packages/api/src/tx/msg.ts index f7fd8615..38bc3b78 100644 --- a/packages/api/src/tx/msg.ts +++ b/packages/api/src/tx/msg.ts @@ -10,7 +10,10 @@ import { Registry, EncodeObject, GeneratedType } from '@cosmjs/proto-signing'; import { SigningConnectionOptions } from '../api'; import { createStargateSigningClient } from './stargate-signing'; -import { createEcocreditAminoConverters } from './modules'; +import { + createDataAminoConverters, + createEcocreditAminoConverters, +} from './modules'; import { messageTypeRegistry } from '../generated/typeRegistry'; export interface MessageClient { @@ -26,6 +29,7 @@ export interface MessageClient { function createDefaultTypes(): AminoConverters { return { ...createEcocreditAminoConverters(), + ...createDataAminoConverters(), }; } @@ -39,7 +43,7 @@ export async function setupTxExtension( const registry = new Registry([...defaultRegistryTypes, ...customRegistry]); const aminoTypes = new AminoTypes(createDefaultTypes()); - + console.log('aminoTypes', aminoTypes); const signingClient = await createStargateSigningClient( connection.endpoint, connection.signer, From 4358b52b9743a09925d758f42b62992df3bc026f Mon Sep 17 00:00:00 2001 From: blushi Date: Mon, 5 Aug 2024 12:54:50 +0200 Subject: [PATCH 3/5] chore(release): Publish v0.7.0 --- CHANGELOG.md | 11 +++++++++++ lerna.json | 2 +- packages/api/CHANGELOG.md | 11 +++++++++++ packages/api/package.json | 2 +- packages/demo-app/CHANGELOG.md | 8 ++++++++ packages/demo-app/package.json | 4 ++-- 6 files changed, 34 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35b6df43..91fc68a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/regen-network/regen-js/compare/v0.6.0...v0.7.0) (2024-08-05) + + +### Features + +* add amino data MsgAttest converter ([739163b](https://github.com/regen-network/regen-js/commit/739163b341ff466d14fdd7df8025ffd7c0cadfe4)) + + + + + # [0.6.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.6.0) (2023-03-27) diff --git a/lerna.json b/lerna.json index f3a9d8a3..f77bd59f 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.6.0" + "version": "0.7.0" } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 17a7615f..e1dc3c4e 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/regen-network/regen-js/compare/v0.6.0...v0.7.0) (2024-08-05) + + +### Features + +* add amino data MsgAttest converter ([739163b](https://github.com/regen-network/regen-js/commit/739163b341ff466d14fdd7df8025ffd7c0cadfe4)) + + + + + # [0.6.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.6.0) (2023-03-27) diff --git a/packages/api/package.json b/packages/api/package.json index a14149c2..fc557077 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@regen-network/api", - "version": "0.6.0", + "version": "0.7.0", "author": "admin@regen.network", "description": "A client library for the Regen Ledger", "license": "Apache-2.0", diff --git a/packages/demo-app/CHANGELOG.md b/packages/demo-app/CHANGELOG.md index 19b66568..7028aacb 100644 --- a/packages/demo-app/CHANGELOG.md +++ b/packages/demo-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.7.0](https://github.com/regen-network/regen-js/compare/v0.6.0...v0.7.0) (2024-08-05) + +**Note:** Version bump only for package @regen-network/demo-app + + + + + # [0.6.0](https://github.com/regen-network/regen-js/compare/v0.3.0...v0.6.0) (2023-03-27) diff --git a/packages/demo-app/package.json b/packages/demo-app/package.json index ec201760..bfeefeae 100644 --- a/packages/demo-app/package.json +++ b/packages/demo-app/package.json @@ -1,13 +1,13 @@ { "name": "@regen-network/demo-app", - "version": "0.6.0", + "version": "0.7.0", "author": "admin@regen.network", "description": "Demo web application using @regen-network/api", "license": "Apache-2.0", "private": true, "repository": "https://github.com/regen-network/regen-js", "dependencies": { - "@regen-network/api": "^0.6.0", + "@regen-network/api": "^0.7.0", "@testing-library/jest-dom": "^5.11.8", "@testing-library/react": "^11.2.2", "@testing-library/user-event": "^12.6.0", From 88737e56f612fb957e997e26ff852662768c2046 Mon Sep 17 00:00:00 2001 From: blushi Date: Mon, 5 Aug 2024 13:54:27 +0200 Subject: [PATCH 4/5] fix: use base64 string for hash in amino --- .../src/tx/modules/data/v1/attest_amino.ts | 23 ++++++++++++++++--- packages/api/src/tx/msg.ts | 2 +- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/packages/api/src/tx/modules/data/v1/attest_amino.ts b/packages/api/src/tx/modules/data/v1/attest_amino.ts index 0026497b..65e0c727 100644 --- a/packages/api/src/tx/modules/data/v1/attest_amino.ts +++ b/packages/api/src/tx/modules/data/v1/attest_amino.ts @@ -15,7 +15,7 @@ const msgAttestAminoType = 'regen-ledger/MsgAttest'; export const attestTypeUrl = '/' + MsgAttest.$type; type AminoContentHash_Graph = { - hash: Uint8Array; + hash: string; digest_algorithm?: DigestAlgorithm; canonicalization_algorithm?: GraphCanonicalizationAlgorithm; merkle_tree?: GraphMerkleTree; @@ -37,7 +37,7 @@ export function attestConverter(): AminoConverter { }: MsgAttest): AminoMsgAttest['value'] => ({ attestor, content_hashes: contentHashes.map(contentHash => ({ - hash: contentHash.hash, + hash: base64FromBytes(contentHash.hash), digest_algorithm: omitDefault(contentHash.digestAlgorithm), canonicalization_algorithm: omitDefault( contentHash.canonicalizationAlgorithm, @@ -52,7 +52,7 @@ export function attestConverter(): AminoConverter { attestor, contentHashes: content_hashes.map(contentHash => ({ $type: ContentHash_Graph.$type, - hash: contentHash.hash, + hash: bytesFromBase64(contentHash.hash), digestAlgorithm: contentHash.digest_algorithm || 0, canonicalizationAlgorithm: contentHash.canonicalization_algorithm || 0, merkleTree: contentHash.merkle_tree || 0, @@ -60,3 +60,20 @@ export function attestConverter(): AminoConverter { }), }; } + +function bytesFromBase64(b64: string): Uint8Array { + const bin = window.atob(b64); + const arr = new Uint8Array(bin.length); + for (let i = 0; i < bin.length; ++i) { + arr[i] = bin.charCodeAt(i); + } + return arr; +} + +function base64FromBytes(arr: Uint8Array): string { + const bin: string[] = []; + arr.forEach(byte => { + bin.push(String.fromCharCode(byte)); + }); + return window.btoa(bin.join('')); +} diff --git a/packages/api/src/tx/msg.ts b/packages/api/src/tx/msg.ts index 38bc3b78..6b7fa806 100644 --- a/packages/api/src/tx/msg.ts +++ b/packages/api/src/tx/msg.ts @@ -43,7 +43,7 @@ export async function setupTxExtension( const registry = new Registry([...defaultRegistryTypes, ...customRegistry]); const aminoTypes = new AminoTypes(createDefaultTypes()); - console.log('aminoTypes', aminoTypes); + const signingClient = await createStargateSigningClient( connection.endpoint, connection.signer, From 7a45272098403a913beb3b0698ce2b2d3ec21ef4 Mon Sep 17 00:00:00 2001 From: blushi Date: Mon, 5 Aug 2024 13:56:52 +0200 Subject: [PATCH 5/5] chore(release): Publish v0.7.1 --- CHANGELOG.md | 11 +++++++++++ lerna.json | 2 +- packages/api/CHANGELOG.md | 11 +++++++++++ packages/api/package.json | 2 +- packages/demo-app/CHANGELOG.md | 8 ++++++++ packages/demo-app/package.json | 4 ++-- 6 files changed, 34 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91fc68a8..bc486779 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/regen-network/regen-js/compare/v0.7.0...v0.7.1) (2024-08-05) + + +### Bug Fixes + +* use base64 string for hash in amino ([88737e5](https://github.com/regen-network/regen-js/commit/88737e56f612fb957e997e26ff852662768c2046)) + + + + + # [0.7.0](https://github.com/regen-network/regen-js/compare/v0.6.0...v0.7.0) (2024-08-05) diff --git a/lerna.json b/lerna.json index f77bd59f..89b3c852 100644 --- a/lerna.json +++ b/lerna.json @@ -9,5 +9,5 @@ "packages": [ "packages/*" ], - "version": "0.7.0" + "version": "0.7.1" } diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index e1dc3c4e..87d9370b 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/regen-network/regen-js/compare/v0.7.0...v0.7.1) (2024-08-05) + + +### Bug Fixes + +* use base64 string for hash in amino ([88737e5](https://github.com/regen-network/regen-js/commit/88737e56f612fb957e997e26ff852662768c2046)) + + + + + # [0.7.0](https://github.com/regen-network/regen-js/compare/v0.6.0...v0.7.0) (2024-08-05) diff --git a/packages/api/package.json b/packages/api/package.json index fc557077..ab99000d 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@regen-network/api", - "version": "0.7.0", + "version": "0.7.1", "author": "admin@regen.network", "description": "A client library for the Regen Ledger", "license": "Apache-2.0", diff --git a/packages/demo-app/CHANGELOG.md b/packages/demo-app/CHANGELOG.md index 7028aacb..ebd4a9e9 100644 --- a/packages/demo-app/CHANGELOG.md +++ b/packages/demo-app/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.1](https://github.com/regen-network/regen-js/compare/v0.7.0...v0.7.1) (2024-08-05) + +**Note:** Version bump only for package @regen-network/demo-app + + + + + # [0.7.0](https://github.com/regen-network/regen-js/compare/v0.6.0...v0.7.0) (2024-08-05) **Note:** Version bump only for package @regen-network/demo-app diff --git a/packages/demo-app/package.json b/packages/demo-app/package.json index bfeefeae..da961a63 100644 --- a/packages/demo-app/package.json +++ b/packages/demo-app/package.json @@ -1,13 +1,13 @@ { "name": "@regen-network/demo-app", - "version": "0.7.0", + "version": "0.7.1", "author": "admin@regen.network", "description": "Demo web application using @regen-network/api", "license": "Apache-2.0", "private": true, "repository": "https://github.com/regen-network/regen-js", "dependencies": { - "@regen-network/api": "^0.7.0", + "@regen-network/api": "^0.7.1", "@testing-library/jest-dom": "^5.11.8", "@testing-library/react": "^11.2.2", "@testing-library/user-event": "^12.6.0",