Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Feb 15, 2024
1 parent c07af16 commit 816a41e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
9 changes: 4 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "undios",
"description": "Fetch-based axios-style HTTP client",
"version": "0.1.1",
"version": "0.1.4",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -16,7 +16,7 @@
"require": "./lib/adapter/node.cjs",
"import": "./lib/adapter/node.js"
},
"browser": {
"default": {
"import": "./lib/adapter/browser.js"
},
"types": "./lib/adapter/index.d.ts"
Expand Down Expand Up @@ -50,15 +50,14 @@
"plugin"
],
"devDependencies": {
"cordis": "^3.10.1",
"cordis": "^3.10.4",
"undici": "^6.6.2"
},
"peerDependencies": {
"cordis": "^3.10.1"
"cordis": "^3.10.4"
},
"dependencies": {
"cosmokit": "^1.5.2",
"file-type": "^16.5.4",
"ws": "^8.16.0"
}
}
2 changes: 2 additions & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { defineProperty, Dict, trimSlash } from 'cosmokit'
import { ClientOptions } from 'ws'
import { WebSocket } from 'undios/adapter'

export type { WebSocket } from 'undios/adapter'

declare module 'cordis' {
interface Context {
http: HTTP
Expand Down
6 changes: 3 additions & 3 deletions packages/file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@
],
"devDependencies": {
"@types/mime-db": "^1.43.5",
"cordis": "^3.10.3"
"cordis": "^3.10.4"
},
"peerDependencies": {
"cordis": "^3.10.3",
"undios": "^0.1.3"
"cordis": "^3.10.4",
"undios": "^0.1.4"
},
"dependencies": {
"cosmokit": "^1.5.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/proxy-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "undios-proxy-agent",
"description": "Proxy agent support for undios",
"version": "0.1.1",
"version": "0.1.3",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -44,11 +44,11 @@
"plugin"
],
"devDependencies": {
"cordis": "^3.10.1"
"cordis": "^3.10.4"
},
"peerDependencies": {
"cordis": "^3.10.1",
"undios": "^0.1.0"
"cordis": "^3.10.4",
"undios": "^0.1.4"
},
"dependencies": {
"http-proxy-agent": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/proxy-agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function socksAgent(result: ParseResult, options: SocksDispatcherOptions = {}) {
return new Agent({ ...rest, connect: createConnect(result, connect) })
}

export const name = 'http-socks'
export const name = 'undios-proxy-agent'

export interface Config {}

Expand Down

0 comments on commit 816a41e

Please sign in to comment.