diff --git a/CHANGELOG.md b/CHANGELOG.md index 7958870b..6b7e461a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ and this project adheres to +import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx" ``` +- The TypeScript build `target` and `lib` is now ES2022, + [analogue to CosmJS 0.35](https://github.com/cosmos/cosmjs/pull/1783). + ## [0.10.1] - 2025-07-29 - Add missing json-safe.\* files to package diff --git a/tsconfig.json b/tsconfig.json index 3bd079b1..e7fa85e9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,8 @@ "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "isolatedModules": true, - "lib": ["es2020"], + "lib": ["es2022"], + "target": "es2022", "module": "node20", "newLine": "LF", "noEmitOnError": true, @@ -22,8 +23,7 @@ "resolveJsonModule": true, "rootDir": "src", "sourceMap": true, - "strict": true, - "target": "es2020" + "strict": true }, "include": ["src/**/*"] }