@api-ts/superagent-wrapper
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -44,4 +44,4 @@ import * as h from '@api-ts/io-ts-http'; | ||
export declare type BoundRequestFactory<Req extends SuperagentRequest<Response>, Route extends h.HttpRoute> = (params: h.RequestType<Route>) => PatchedRequest<Req, Route>; | ||
export declare const requestForRoute: <Req extends SuperagentRequest<Response>, Route extends h.HttpRoute<"get" | "post" | "put" | "delete">>(requestFactory: RequestFactory<Req>, route: Route) => BoundRequestFactory<Req, Route>; | ||
export declare const requestForRoute: <Req extends SuperagentRequest<Response>, Route extends h.HttpRoute<"get" | "post" | "put" | "delete" | "patch">>(requestFactory: RequestFactory<Req>, route: Route) => BoundRequestFactory<Req, Route>; | ||
export {}; | ||
//# sourceMappingURL=request.d.ts.map |
{ | ||
"name": "@api-ts/superagent-wrapper", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "Make type-safe HTTP requests with superagent", | ||
@@ -20,3 +20,3 @@ "author": "Patrick McLaughlin <patrickmclaughlin@bitgo.com>", | ||
"dependencies": { | ||
"@api-ts/io-ts-http": "2.3.0", | ||
"@api-ts/io-ts-http": "2.4.0", | ||
"fp-ts": "^2.0.0", | ||
@@ -27,6 +27,6 @@ "io-ts": "2.1.3", | ||
"devDependencies": { | ||
"@types/chai": "4.3.4", | ||
"@types/chai": "4.3.5", | ||
"@types/express": "4.17.17", | ||
"@types/mocha": "10.0.1", | ||
"@types/superagent": "4.1.16", | ||
"@types/superagent": "4.1.18", | ||
"@types/supertest": "2.0.12", | ||
@@ -33,0 +33,0 @@ "@types/whatwg-url": "11.0.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26270
+ Added@api-ts/io-ts-http@2.4.0(transitive)
- Removed@api-ts/io-ts-http@2.3.0(transitive)
Updated@api-ts/io-ts-http@2.4.0