Skip to content

Commit

Permalink
Merge pull request #294 from Concordium/release/9.5.1
Browse files Browse the repository at this point in the history
Fix incorrect mapping of field
  • Loading branch information
soerenbf authored Oct 19, 2023
2 parents 7ab9d75 + 7d8140e commit bab7bc4
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 9 deletions.
6 changes: 6 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 9.5.1

### Fixed

- An issue where `BakerRewardPeriodInfo` incorrectly mapped `delegatedCapital` field

## 9.5.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@concordium/common-sdk",
"version": "9.5.0",
"version": "9.5.1",
"license": "Apache-2.0",
"engines": {
"node": ">=14.16.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/GRPCTypeTranslation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2805,7 +2805,7 @@ export function bakerRewardPeriodInfo(
effectiveStake: unwrap(bakerRewardPeriod.effectiveStake?.value),
commissionRates: trCommissionRates(bakerRewardPeriod.commissionRates),
equityCapital: unwrap(bakerRewardPeriod.equityCapital?.value),
delegatedCapital: unwrap(bakerRewardPeriod.equityCapital?.value),
delegatedCapital: unwrap(bakerRewardPeriod.delegatedCapital?.value),
isFinalizer: bakerRewardPeriod.isFinalizer,
};
}
Expand Down
4 changes: 4 additions & 0 deletions packages/nodejs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 9.5.1

- Bumped @concordium/common-sdk to 9.5.1.

## 9.5.0

- Bumped @concordium/common-sdk to 9.5.0.
Expand Down
4 changes: 2 additions & 2 deletions packages/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@concordium/node-sdk",
"version": "9.5.0",
"version": "9.5.1",
"description": "Helpers for interacting with the Concordium node",
"repository": {
"type": "git",
Expand Down Expand Up @@ -60,7 +60,7 @@
"build-dev": "tsc"
},
"dependencies": {
"@concordium/common-sdk": "9.5.0",
"@concordium/common-sdk": "9.5.1",
"@grpc/grpc-js": "^1.3.4",
"@protobuf-ts/grpc-transport": "^2.8.2",
"buffer": "^6.0.3",
Expand Down
4 changes: 4 additions & 0 deletions packages/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 6.5.1

- Bumped @concordium/common-sdk to 9.5.1.

## 6.5.0

- Bumped @concordium/common-sdk to 9.5.0.
Expand Down
4 changes: 2 additions & 2 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@concordium/web-sdk",
"version": "6.5.0",
"version": "6.5.1",
"license": "Apache-2.0",
"browser": "lib/concordium.min.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -48,7 +48,7 @@
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@concordium/common-sdk": "9.5.0",
"@concordium/common-sdk": "9.5.1",
"@concordium/rust-bindings": "1.2.0",
"@grpc/grpc-js": "^1.3.4",
"@protobuf-ts/grpcweb-transport": "^2.8.2",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1334,7 +1334,7 @@ __metadata:
languageName: unknown
linkType: soft

"@concordium/[email protected].0, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common":
"@concordium/[email protected].1, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common":
version: 0.0.0-use.local
resolution: "@concordium/common-sdk@workspace:packages/common"
dependencies:
Expand Down Expand Up @@ -1423,7 +1423,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@concordium/node-sdk@workspace:packages/nodejs"
dependencies:
"@concordium/common-sdk": 9.5.0
"@concordium/common-sdk": 9.5.1
"@grpc/grpc-js": ^1.3.4
"@noble/ed25519": ^1.7.1
"@protobuf-ts/grpc-transport": ^2.8.2
Expand Down Expand Up @@ -1462,7 +1462,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@concordium/web-sdk@workspace:packages/web"
dependencies:
"@concordium/common-sdk": 9.5.0
"@concordium/common-sdk": 9.5.1
"@concordium/rust-bindings": 1.2.0
"@grpc/grpc-js": ^1.3.4
"@protobuf-ts/grpcweb-transport": ^2.8.2
Expand Down

0 comments on commit bab7bc4

Please sign in to comment.