Skip to content

Commit bab7bc4

Browse files
authored
Merge pull request #294 from Concordium/release/9.5.1
Fix incorrect mapping of field
2 parents 7ab9d75 + 7d8140e commit bab7bc4

File tree

8 files changed

+23
-9
lines changed

8 files changed

+23
-9
lines changed

packages/common/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 9.5.1
4+
5+
### Fixed
6+
7+
- An issue where `BakerRewardPeriodInfo` incorrectly mapped `delegatedCapital` field
8+
39
## 9.5.0
410

511
### Added

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@concordium/common-sdk",
3-
"version": "9.5.0",
3+
"version": "9.5.1",
44
"license": "Apache-2.0",
55
"engines": {
66
"node": ">=14.16.0"

packages/common/src/GRPCTypeTranslation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2805,7 +2805,7 @@ export function bakerRewardPeriodInfo(
28052805
effectiveStake: unwrap(bakerRewardPeriod.effectiveStake?.value),
28062806
commissionRates: trCommissionRates(bakerRewardPeriod.commissionRates),
28072807
equityCapital: unwrap(bakerRewardPeriod.equityCapital?.value),
2808-
delegatedCapital: unwrap(bakerRewardPeriod.equityCapital?.value),
2808+
delegatedCapital: unwrap(bakerRewardPeriod.delegatedCapital?.value),
28092809
isFinalizer: bakerRewardPeriod.isFinalizer,
28102810
};
28112811
}

packages/nodejs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 9.5.1
4+
5+
- Bumped @concordium/common-sdk to 9.5.1.
6+
37
## 9.5.0
48

59
- Bumped @concordium/common-sdk to 9.5.0.

packages/nodejs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@concordium/node-sdk",
3-
"version": "9.5.0",
3+
"version": "9.5.1",
44
"description": "Helpers for interacting with the Concordium node",
55
"repository": {
66
"type": "git",
@@ -60,7 +60,7 @@
6060
"build-dev": "tsc"
6161
},
6262
"dependencies": {
63-
"@concordium/common-sdk": "9.5.0",
63+
"@concordium/common-sdk": "9.5.1",
6464
"@grpc/grpc-js": "^1.3.4",
6565
"@protobuf-ts/grpc-transport": "^2.8.2",
6666
"buffer": "^6.0.3",

packages/web/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 6.5.1
4+
5+
- Bumped @concordium/common-sdk to 9.5.1.
6+
37
## 6.5.0
48

59
- Bumped @concordium/common-sdk to 9.5.0.

packages/web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@concordium/web-sdk",
3-
"version": "6.5.0",
3+
"version": "6.5.1",
44
"license": "Apache-2.0",
55
"browser": "lib/concordium.min.js",
66
"types": "lib/index.d.ts",
@@ -48,7 +48,7 @@
4848
"webpack-cli": "^4.9.2"
4949
},
5050
"dependencies": {
51-
"@concordium/common-sdk": "9.5.0",
51+
"@concordium/common-sdk": "9.5.1",
5252
"@concordium/rust-bindings": "1.2.0",
5353
"@grpc/grpc-js": "^1.3.4",
5454
"@protobuf-ts/grpcweb-transport": "^2.8.2",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ __metadata:
13341334
languageName: unknown
13351335
linkType: soft
13361336

1337-
"@concordium/[email protected].0, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common":
1337+
"@concordium/[email protected].1, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common":
13381338
version: 0.0.0-use.local
13391339
resolution: "@concordium/common-sdk@workspace:packages/common"
13401340
dependencies:
@@ -1423,7 +1423,7 @@ __metadata:
14231423
version: 0.0.0-use.local
14241424
resolution: "@concordium/node-sdk@workspace:packages/nodejs"
14251425
dependencies:
1426-
"@concordium/common-sdk": 9.5.0
1426+
"@concordium/common-sdk": 9.5.1
14271427
"@grpc/grpc-js": ^1.3.4
14281428
"@noble/ed25519": ^1.7.1
14291429
"@protobuf-ts/grpc-transport": ^2.8.2
@@ -1462,7 +1462,7 @@ __metadata:
14621462
version: 0.0.0-use.local
14631463
resolution: "@concordium/web-sdk@workspace:packages/web"
14641464
dependencies:
1465-
"@concordium/common-sdk": 9.5.0
1465+
"@concordium/common-sdk": 9.5.1
14661466
"@concordium/rust-bindings": 1.2.0
14671467
"@grpc/grpc-js": ^1.3.4
14681468
"@protobuf-ts/grpcweb-transport": ^2.8.2

0 commit comments

Comments
 (0)