diff --git a/packages/ccd-js-gen/package.json b/packages/ccd-js-gen/package.json index 46bc80d56..79336522c 100644 --- a/packages/ccd-js-gen/package.json +++ b/packages/ccd-js-gen/package.json @@ -29,7 +29,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@concordium/common-sdk": "9.3.0", + "@concordium/common-sdk": "9.4.0", "buffer": "^6.0.3", "commander": "^11.0.0", "ts-morph": "^19.0.0" diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 85c58080f..abdfa2234 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Unreleased +## 9.4.0 ### Added @@ -11,6 +11,7 @@ ### Fixed - Added missing fields to `getBlockChainParameters` response. (rootKeys, level1Keys, level2Keys) +- Use of bigint exponentiation causing issues in web. ## 9.3.0 diff --git a/packages/common/package.json b/packages/common/package.json index 5188a5909..dcc1523d5 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@concordium/common-sdk", - "version": "9.3.0", + "version": "9.4.0", "license": "Apache-2.0", "engines": { "node": ">=14.16.0" diff --git a/packages/common/src/web3Proofs.ts b/packages/common/src/web3Proofs.ts index 95c49524d..ceea274ba 100644 --- a/packages/common/src/web3Proofs.ts +++ b/packages/common/src/web3Proofs.ts @@ -49,7 +49,7 @@ import { } from './web3IdHelpers'; export const MAX_STRING_BYTE_LENGTH = 31; -export const MAX_U64 = 2n ** 64n - 1n; +export const MAX_U64 = 18446744073709551615n; // 2n ** 64n - 1n export const MIN_DATE_ISO = '-262144-01-01T00:00:00Z'; export const MAX_DATE_ISO = '+262143-12-31T23:59:59.999999999Z'; export const MIN_DATE_TIMESTAMP = Date.parse(MIN_DATE_ISO); diff --git a/packages/nodejs/CHANGELOG.md b/packages/nodejs/CHANGELOG.md index fc31599ec..754e61ba6 100644 --- a/packages/nodejs/CHANGELOG.md +++ b/packages/nodejs/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 9.4.0 + +- Bumped @concordium/common-sdk to 9.4.0. + ## 9.3.0 - Bumped @concordium/common-sdk to 9.3.0. diff --git a/packages/nodejs/package.json b/packages/nodejs/package.json index e1d6e5b6a..de0dc3cee 100644 --- a/packages/nodejs/package.json +++ b/packages/nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@concordium/node-sdk", - "version": "9.3.0", + "version": "9.4.0", "description": "Helpers for interacting with the Concordium node", "repository": { "type": "git", @@ -60,7 +60,7 @@ "build-dev": "tsc" }, "dependencies": { - "@concordium/common-sdk": "9.3.0", + "@concordium/common-sdk": "9.4.0", "@grpc/grpc-js": "^1.3.4", "@protobuf-ts/grpc-transport": "^2.8.2", "buffer": "^6.0.3", diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index 4433f447d..4f1bbfa8b 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 6.4.0 + +- Bumped @concordium/common-sdk to 9.4.0. + ## 6.3.0 - Bumped @concordium/common-sdk to 9.3.0. diff --git a/packages/web/package.json b/packages/web/package.json index f3f8be2da..cbb07e69c 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "@concordium/web-sdk", - "version": "6.3.0", + "version": "6.4.0", "license": "Apache-2.0", "browser": "lib/concordium.min.js", "types": "lib/index.d.ts", @@ -48,7 +48,7 @@ "webpack-cli": "^4.9.2" }, "dependencies": { - "@concordium/common-sdk": "9.3.0", + "@concordium/common-sdk": "9.4.0", "@concordium/rust-bindings": "1.2.0", "@grpc/grpc-js": "^1.3.4", "@protobuf-ts/grpcweb-transport": "^2.8.2", diff --git a/yarn.lock b/yarn.lock index 1c9e0d13c..1f15a7dc1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1316,7 +1316,7 @@ __metadata: version: 0.0.0-use.local resolution: "@concordium/ccd-js-gen@workspace:packages/ccd-js-gen" dependencies: - "@concordium/common-sdk": 9.3.0 + "@concordium/common-sdk": 9.4.0 "@types/node": ^20.5.0 "@typescript-eslint/eslint-plugin": ^4.28.1 "@typescript-eslint/parser": ^4.28.1 @@ -1334,7 +1334,7 @@ __metadata: languageName: unknown linkType: soft -"@concordium/common-sdk@9.3.0, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common": +"@concordium/common-sdk@9.4.0, @concordium/common-sdk@workspace:^, @concordium/common-sdk@workspace:packages/common": version: 0.0.0-use.local resolution: "@concordium/common-sdk@workspace:packages/common" dependencies: @@ -1402,7 +1402,7 @@ __metadata: version: 0.0.0-use.local resolution: "@concordium/node-sdk@workspace:packages/nodejs" dependencies: - "@concordium/common-sdk": 9.3.0 + "@concordium/common-sdk": 9.4.0 "@grpc/grpc-js": ^1.3.4 "@noble/ed25519": ^1.7.1 "@protobuf-ts/grpc-transport": ^2.8.2 @@ -1441,7 +1441,7 @@ __metadata: version: 0.0.0-use.local resolution: "@concordium/web-sdk@workspace:packages/web" dependencies: - "@concordium/common-sdk": 9.3.0 + "@concordium/common-sdk": 9.4.0 "@concordium/rust-bindings": 1.2.0 "@grpc/grpc-js": ^1.3.4 "@protobuf-ts/grpcweb-transport": ^2.8.2