Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@cordisjs/plugin-http

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cordisjs/plugin-http - npm Package Compare versions

Comparing version
1.0.3
to
1.1.0
+2
-2
lib/index.d.ts

@@ -125,4 +125,4 @@ import { Context, Service, z } from 'cordis';

};
decoder<K extends keyof HTTP.ResponseTypes>(type: K, decoder: HTTP.Decoder<HTTP.ResponseTypes[K]>): () => Promise<void>;
proxy(name: string[], factory: (url: URL) => Dispatcher): () => Promise<void>;
decoder<K extends keyof HTTP.ResponseTypes>(type: K, decoder: HTTP.Decoder<HTTP.ResponseTypes[K]>): import("cordis").Disposable<void | Promise<void>>;
proxy(name: string[], factory: (url: URL) => Dispatcher): import("cordis").Disposable<void | Promise<void>>;
extend(config?: HTTP.Config): any;

@@ -129,0 +129,0 @@ resolveConfig(init?: HTTP.RequestConfig): HTTP.RequestConfig;

{
"name": "@cordisjs/plugin-http",
"description": "Fetch-based axios-style HTTP client",
"version": "1.0.3",
"version": "1.1.0",
"type": "module",

@@ -41,3 +41,3 @@ "main": "lib/index.js",

"peerDependencies": {
"cordis": "^4.0.0-alpha.8",
"cordis": "^4.0.0-beta.0",
"undici": "^7.5.0"

@@ -51,3 +51,3 @@ },

"devDependencies": {
"cordis": "^4.0.0-alpha.8",
"cordis": "^4.0.0-beta.0",
"undici": "^7.5.0"

@@ -54,0 +54,0 @@ },