diff --git a/packages/logs-provider/package.json b/packages/logs-provider/package.json index a2dadf2a7..3c3cdc1ea 100644 --- a/packages/logs-provider/package.json +++ b/packages/logs-provider/package.json @@ -8,20 +8,20 @@ }, "license": "MIT", "type": "module", - "main": "./dist/commonjs/index.js", - "types": "./dist/commonjs/index.d.ts", - "module": "./dist/esm/index.js", + "main": "./dist/commonjs/mod.js", + "types": "./dist/commonjs/mod.d.ts", + "module": "./dist/esm/mod.js", "exports": { "./package.json": "./package.json", ".": { "import": { - "@substrate-connect/source": "./src/index.ts", - "types": "./dist/esm/index.d.ts", - "default": "./dist/esm/index.js" + "@substrate-connect/source": "./src/mod.ts", + "types": "./dist/esm/mod.d.ts", + "default": "./dist/esm/mod.js" }, "require": { - "types": "./dist/commonjs/index.d.ts", - "default": "./dist/commonjs/index.js" + "types": "./dist/commonjs/mod.d.ts", + "default": "./dist/commonjs/mod.js" } } }, @@ -32,7 +32,7 @@ "project": "./tsconfig.build.json", "exports": { "./package.json": "./package.json", - ".": "./src/index.ts" + ".": "./src/mod.ts" }, "sourceDialects": [ "@substrate-connect/source" diff --git a/packages/ws-provider/package.json b/packages/ws-provider/package.json index 562ad2fbf..75778f60b 100644 --- a/packages/ws-provider/package.json +++ b/packages/ws-provider/package.json @@ -12,7 +12,7 @@ "./package.json": "./package.json", ".": { "import": { - "@substrate-connect/source": "./src/index.ts", + "@substrate-connect/source": "./src/mod.ts", "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" },