Skip to content

Commit 2eefb9d

Browse files
authored
Bring back main/types fields for bundlephobia support (#1944)
1 parent 831c291 commit 2eefb9d

File tree

16 files changed

+31
-0
lines changed

16 files changed

+31
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to
1616
- @cosmjs/amino, @cosmjs/proto-signing: Remove scream test around argon2 call in
1717
wallet serialization/deserialization which is not needed anymore after
1818
[#1938].
19+
- Bring back main/types fields for bundlephobia support
1920

2021
[#1935]: https://github.com/cosmos/cosmjs/pull/1935
2122
[#1938]: https://github.com/cosmos/cosmjs/issues/1938

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
"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/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"

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 <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"

packages/encoding/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"

packages/faucet-client/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"

packages/json-rpc/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
"Simon Warta <webmaster128@users.noreply.github.com>"
1010
],
1111
"license": "Apache-2.0",
12+
"main": "build/index.js",
13+
"types": "build/index.d.ts",
1214
"exports": {
1315
"types": "./build/index.d.ts",
1416
"default": "./build/index.js"

packages/ledger-amino/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"

packages/math/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)