Skip to content

Commit 342273d

Browse files
committed
fix(price-pusher): export injective/endpoint-pool to unblock CJS build
The exports map drives ts-duality --noEsm CJS compilation. Without an entry for src/injective/endpoint-pool.ts, dist/injective/endpoint-pool.cjs is not generated and dist/injective/injective.cjs fails at runtime when it requires ./endpoint-pool.js. Mirror the pattern used by the other injective files.
1 parent 4967b82 commit 342273d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/price_pusher/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@
113113
"default": "./dist/injective/command.cjs",
114114
"types": "./dist/injective/command.d.ts"
115115
},
116+
"./injective/endpoint-pool": {
117+
"default": "./dist/injective/endpoint-pool.cjs",
118+
"types": "./dist/injective/endpoint-pool.d.ts"
119+
},
116120
"./injective/injective": {
117121
"default": "./dist/injective/injective.cjs",
118122
"types": "./dist/injective/injective.d.ts"

0 commit comments

Comments
 (0)