From f7f92c57bc25635e63b8f28800baafa71cd4056a Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 29 Nov 2024 23:15:28 +0700 Subject: [PATCH] fix(ws-provider): exports --- .changeset/nasty-rabbits-ring.md | 5 +++++ packages/ws-provider/package.json | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/nasty-rabbits-ring.md diff --git a/.changeset/nasty-rabbits-ring.md b/.changeset/nasty-rabbits-ring.md new file mode 100644 index 000000000..c8aa7490c --- /dev/null +++ b/.changeset/nasty-rabbits-ring.md @@ -0,0 +1,5 @@ +--- +"@substrate/ws-provider": patch +--- + +fix(ws-provider): exports diff --git a/packages/ws-provider/package.json b/packages/ws-provider/package.json index 75778f60b..17687cf80 100644 --- a/packages/ws-provider/package.json +++ b/packages/ws-provider/package.json @@ -17,13 +17,13 @@ "default": "./dist/esm/index.js" }, "require": { - "types": "./dist/commonjs/index.d.ts", - "default": "./dist/commonjs/index.js" + "types": "./dist/commonjs/index.d.cts", + "default": "./dist/commonjs/index.cjs" } } }, - "main": "./dist/commonjs/index.js", - "types": "./dist/commonjs/index.d.ts", + "main": "./dist/commonjs/index.cjs", + "types": "./dist/commonjs/index.d.cts", "module": "./dist/esm/index.js", "files": [ "dist"