Skip to content

Commit f21c830

Browse files
committed
Bring back main/types fields for bundlephobia support
1 parent 4cee1ba commit f21c830

File tree

15 files changed

+32
-0
lines changed

15 files changed

+32
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to
66

77
## [Unreleased]
88

9+
- Bring back main/types fields for bundlephobia support ([#1940])
10+
11+
[#1940]: https://github.com/cosmos/cosmjs/pull/1940
12+
913
## [0.37.0] - 2025-10-29
1014

1115
### Added

packages/amino/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"Simon Warta <webmaster128@users.noreply.github.com>"
77
],
88
"license": "Apache-2.0",
9+
"main": "build/index.js",
10+
"types": "build/index.d.ts",
911
"exports": {
1012
"types": "./build/index.d.ts",
1113
"default": "./build/index.js"

packages/cosmwasm-stargate/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"Will Clark <willclarktech@users.noreply.github.com>"
77
],
88
"license": "Apache-2.0",
9+
"main": "build/index.js",
10+
"types": "build/index.d.ts",
911
"exports": {
1012
"types": "./build/index.d.ts",
1113
"default": "./build/index.js"

packages/crypto/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"Simon Warta"
88
],
99
"license": "Apache-2.0",
10+
"main": "build/index.js",
11+
"types": "build/index.d.ts",
1012
"exports": {
1113
"types": "./build/index.d.ts",
1214
"default": "./build/index.js"

packages/encoding/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"IOV SAS <admin@iov.one>"
77
],
88
"license": "Apache-2.0",
9+
"main": "build/index.js",
10+
"types": "build/index.d.ts",
911
"exports": {
1012
"types": "./build/index.d.ts",
1113
"default": "./build/index.js"

packages/faucet-client/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"Will Clark <willclarktech@users.noreply.github.com>"
77
],
88
"license": "Apache-2.0",
9+
"main": "build/index.js",
10+
"types": "build/index.d.ts",
911
"exports": {
1012
"types": "./build/index.d.ts",
1113
"default": "./build/index.js"

packages/json-rpc/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"Will Clark <willclarktech@users.noreply.github.com>"
99
],
1010
"license": "Apache-2.0",
11+
"main": "build/index.js",
12+
"types": "build/index.d.ts",
1113
"exports": {
1214
"types": "./build/index.d.ts",
1315
"default": "./build/index.js"

packages/ledger-amino/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"Will Clark <willclarktech@users.noreply.github.com>"
77
],
88
"license": "Apache-2.0",
9+
"main": "build/index.js",
10+
"types": "build/index.d.ts",
911
"exports": {
1012
"types": "./build/index.d.ts",
1113
"default": "./build/index.js"

packages/math/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"IOV SAS <admin@iov.one>"
77
],
88
"license": "Apache-2.0",
9+
"main": "build/index.js",
10+
"types": "build/index.d.ts",
911
"exports": {
1012
"types": "./build/index.d.ts",
1113
"default": "./build/index.js"

packages/proto-signing/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"Simon Warta <webmaster128@users.noreply.github.com>"
88
],
99
"license": "Apache-2.0",
10+
"main": "build/index.js",
11+
"types": "build/index.d.ts",
1012
"exports": {
1113
"types": "./build/index.d.ts",
1214
"default": "./build/index.js"

0 commit comments

Comments
 (0)