Skip to content

Commit 7afa37e

Browse files
authored
fix: logs provider tshy config (#2583)
1 parent 0c1ef89 commit 7afa37e

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

packages/logs-provider/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@
88
},
99
"license": "MIT",
1010
"type": "module",
11-
"main": "./dist/commonjs/index.js",
12-
"types": "./dist/commonjs/index.d.ts",
13-
"module": "./dist/esm/index.js",
11+
"main": "./dist/commonjs/mod.js",
12+
"types": "./dist/commonjs/mod.d.ts",
13+
"module": "./dist/esm/mod.js",
1414
"exports": {
1515
"./package.json": "./package.json",
1616
".": {
1717
"import": {
18-
"@substrate-connect/source": "./src/index.ts",
19-
"types": "./dist/esm/index.d.ts",
20-
"default": "./dist/esm/index.js"
18+
"@substrate-connect/source": "./src/mod.ts",
19+
"types": "./dist/esm/mod.d.ts",
20+
"default": "./dist/esm/mod.js"
2121
},
2222
"require": {
23-
"types": "./dist/commonjs/index.d.ts",
24-
"default": "./dist/commonjs/index.js"
23+
"types": "./dist/commonjs/mod.d.ts",
24+
"default": "./dist/commonjs/mod.js"
2525
}
2626
}
2727
},
@@ -32,7 +32,7 @@
3232
"project": "./tsconfig.build.json",
3333
"exports": {
3434
"./package.json": "./package.json",
35-
".": "./src/index.ts"
35+
".": "./src/mod.ts"
3636
},
3737
"sourceDialects": [
3838
"@substrate-connect/source"

packages/ws-provider/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"./package.json": "./package.json",
1313
".": {
1414
"import": {
15-
"@substrate-connect/source": "./src/index.ts",
15+
"@substrate-connect/source": "./src/mod.ts",
1616
"types": "./dist/esm/index.d.ts",
1717
"default": "./dist/esm/index.js"
1818
},

0 commit comments

Comments
 (0)