Skip to content

Commit

Permalink
Distribute only the types package of undici with `@solana/rpc-trans…
Browse files Browse the repository at this point in the history
…port-http` (#2298)
  • Loading branch information
steveluscher authored Mar 12, 2024
1 parent 273bc9e commit b645b4f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/rpc-transport-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@
"dependencies": {
"@solana/errors": "workspace:*",
"@solana/rpc-spec": "workspace:*",
"undici": "^6.6.2"
"undici-types": "^6.7.1"
},
"devDependencies": {
"tinybench": "^2.6.0",
"undici": "^6.7.1",
"zx": "^7.2.3"
},
"bundlewatch": {
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc-transport-http/src/http-transport.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SOLANA_ERROR__RPC__TRANSPORT_HTTP_ERROR, SolanaError } from '@solana/errors';
import { RpcTransport } from '@solana/rpc-spec';
import type Dispatcher from 'undici/types/dispatcher';
import type Dispatcher from 'undici-types/dispatcher';

import {
AllowedHttpRequestHeaders,
Expand Down
20 changes: 17 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b645b4f

Please sign in to comment.