Skip to content

Commit 85f3d52

Browse files
authored
chore(ws-provider): make papi ws-provider dev dependency. (#2595)
Since we always transpile @polkadot-api/ws-provider, it does not need to be a prod dependency.
1 parent 5044e68 commit 85f3d52

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.changeset/large-buttons-tease.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@substrate/ws-provider": patch
3+
---
4+
5+
chore: make @polkadot-api/ws-provider a dev dependency

packages/ws-provider/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
"trailingComma": "all"
4242
},
4343
"dependencies": {
44-
"@polkadot-api/ws-provider": "0.3.6",
4544
"@polkadot-api/json-rpc-provider-proxy": "0.2.4",
4645
"@polkadot-api/json-rpc-provider": "0.0.4"
4746
},
4847
"devDependencies": {
48+
"@polkadot-api/ws-provider": "0.3.6",
4949
"typescript": "5.6.2",
5050
"vitest": "^2.1.4"
5151
},

packages/ws-provider/src/mod.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable import/no-extraneous-dependencies */
12
import {
23
getInternalWsProvider,
34
type StatusChange,

pnpm-lock.yaml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)