Skip to content

Commit 565fba2

Browse files
committed
fix: add typesVersions for compatibility with node10 module resolution
1 parent df3117b commit 565fba2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
{
22
"name": "@ipshipyard/node-datachannel",
3-
"version": "0.26.0",
3+
"version": "0.26.1",
44
"description": "WebRTC For Node.js and Electron. libdatachannel node bindings.",
55
"main": "./dist/cjs/lib/index.cjs",
66
"module": "./dist/esm/lib/index.mjs",
77
"types": "./dist/types/lib/index.d.ts",
8+
"typesVersions": {
9+
"*": {
10+
"*": [
11+
"dist/types/lib/index.d.ts"
12+
],
13+
"polyfill": [
14+
"dist/types/polyfill/index.d.ts"
15+
]
16+
}
17+
},
818
"exports": {
919
".": {
1020
"types": "./dist/types/lib/index.d.ts",

0 commit comments

Comments
 (0)