Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ and this project adheres to
## [Unreleased]

- Migrate from @cosmology/telescope to @hyperweb/telescope.
- Set `exports` field in `package.json`. This disallows importing paths with are
not explicitly exported. In case you used the import style with file
extension, you need to convert to the extension-less style:

```diff
-import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx.js"
+import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"
```

## [0.10.1] - 2025-07-29

Expand Down
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./index.d.ts"
},
"./*": {
"types": "./*.d.ts",
"default": "./*.js"
}
},
"files": [
"cosmos/",
"cosmos_proto/",
Expand All @@ -40,8 +49,7 @@
"prepare-publishing": "./scripts/prepare-publishing.sh",
"build": "rm -rf ./build && tsc && npm run prepare-publishing"
},
"dependencies": {
},
"dependencies": {},
"devDependencies": {
"@hyperweb/telescope": "^1.17.4",
"@types/node": "^15.6.2",
Expand Down