Skip to content

Commit ec8d064

Browse files
authored
refactor(sdk): fallback to false for node-only packages (#1931)
1 parent a0d9011 commit ec8d064

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

sdk/package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "2.142.0-beta.6",
44
"main": "lib/node/index.js",
55
"types": "lib/node/index.d.ts",
6-
"browser": "./lib/browser/index.js",
6+
"module": "./lib/browser/index.js",
77
"author": "crispheaney",
88
"homepage": "https://www.drift.trade/",
99
"repository": {
@@ -137,5 +137,11 @@
137137
"chalk-template": "<1.1.1",
138138
"supports-hyperlinks": "<4.1.1",
139139
"has-ansi": "<6.0.1"
140+
},
141+
"browser": {
142+
"helius-laserstream": false,
143+
"@triton-one/yellowstone-grpc": false,
144+
"@grpc/grpc-js": false,
145+
"zstddec": false
140146
}
141-
}
147+
}

0 commit comments

Comments
 (0)