hyperttp 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Hyperttp/Client/HyperClient.d.ts +7 -3
- package/Hyperttp/Client/HyperClient.d.ts.map +1 -1
- package/Hyperttp/Client/HyperClient.js +1 -1
- package/Hyperttp/Client/HyperClient.js.map +3 -3
- package/Hyperttp/Request.d.ts +3 -0
- package/Hyperttp/Request.d.ts.map +1 -1
- package/Hyperttp/Request.js +1 -1
- package/Hyperttp/Request.js.map +3 -3
- package/Hyperttp/UrlExtractor.d.ts +16 -5
- package/Hyperttp/UrlExtractor.d.ts.map +1 -1
- package/Hyperttp/UrlExtractor.js +1 -1
- package/Hyperttp/UrlExtractor.js.map +3 -3
- package/Hyperttp/Utils/RequestBuilder.d.ts +1 -7
- package/Hyperttp/Utils/RequestBuilder.d.ts.map +1 -1
- package/Hyperttp/Utils/RequestBuilder.js +1 -1
- package/Hyperttp/Utils/RequestBuilder.js.map +3 -3
- package/Hyperttp/Utils/index.d.ts +2 -0
- package/Hyperttp/Utils/index.d.ts.map +1 -1
- package/Hyperttp/Utils/index.js.map +2 -2
- package/Hyperttp/Utils/query.d.ts +3 -1
- package/Hyperttp/Utils/query.d.ts.map +1 -1
- package/Hyperttp/Utils/query.js.map +2 -2
- package/Hyperttp/index.d.ts +1 -0
- package/Hyperttp/index.d.ts.map +1 -1
- package/Hyperttp/index.js.map +2 -2
- package/README.md +390 -162
- package/Types/url-extractor.d.ts +5 -2
- package/Types/url-extractor.d.ts.map +1 -1
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js.map +2 -2
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-extractor.d.ts","sourceRoot":"","sources":["../../src/Types/url-extractor.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAC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AAG,MAAM,CAAC,CAAC;IACnC,SAAS,CACP,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,OAAO,GACnB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACpC"}
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export { HyperClient, RequestBuilder } from "./Hyperttp/index.js";
|
|
2
|
+
export type { ResponseType, ShortcutRequestOptions } from "./Hyperttp/index.js";
|
|
2
3
|
export { Request, PreparedRequest, UrlExtractor } from "./Hyperttp/index.js";
|
|
3
4
|
export type { RequestQuery } from "./Hyperttp/Utils/query.js";
|
|
4
5
|
export type { RequestHeaders, RequestBodyData, RequestConfig } from "./Hyperttp/Request.js";
|
|
6
|
+
export type { HttpMethod, RestRequestOptions } from "@hyperttp/core/rest";
|
|
7
|
+
export type { HyperClientOptions, HyperTransport, UniversalResponse } from "@hyperttp/types";
|
|
5
8
|
export type * from "./Types/index.js";
|
|
6
9
|
export * from "@hyperttp/cache";
|
|
7
10
|
export * from "@hyperttp/queue";
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE7E,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAClE,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE7E,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC5F,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC1E,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAE7F,mBAAmB,kBAAkB,CAAC;AAEtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
|
package/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["export { HyperClient, RequestBuilder } from \"./Hyperttp/index.js\";\nexport { Request, PreparedRequest, UrlExtractor } from \"./Hyperttp/index.js\";\n\nexport type { RequestQuery } from \"./Hyperttp/Utils/query.js\";\nexport type { RequestHeaders, RequestBodyData, RequestConfig } from \"./Hyperttp/Request.js\";\n\nexport type * from \"./Types/index.js\";\n\nexport * from \"@hyperttp/cache\";\nexport * from \"@hyperttp/queue\";\nexport * from \"@hyperttp/ratelimit\";\nexport * from \"@hyperttp/interceptors\";\nexport * from \"@hyperttp/metrics\";\nexport * from \"@hyperttp/inflight\";\nexport * from \"@hyperttp/parser\";\nexport * from \"@hyperttp/serializer\";\n"],
|
|
5
|
-
"mappings": "aAAA,OAAS,YAAa,mBAAsB,
|
|
4
|
+
"sourcesContent": ["export { HyperClient, RequestBuilder } from \"./Hyperttp/index.js\";\nexport type { ResponseType, ShortcutRequestOptions } from \"./Hyperttp/index.js\";\nexport { Request, PreparedRequest, UrlExtractor } from \"./Hyperttp/index.js\";\n\nexport type { RequestQuery } from \"./Hyperttp/Utils/query.js\";\nexport type { RequestHeaders, RequestBodyData, RequestConfig } from \"./Hyperttp/Request.js\";\nexport type { HttpMethod, RestRequestOptions } from \"@hyperttp/core/rest\";\nexport type { HyperClientOptions, HyperTransport, UniversalResponse } from \"@hyperttp/types\";\n\nexport type * from \"./Types/index.js\";\n\nexport * from \"@hyperttp/cache\";\nexport * from \"@hyperttp/queue\";\nexport * from \"@hyperttp/ratelimit\";\nexport * from \"@hyperttp/interceptors\";\nexport * from \"@hyperttp/metrics\";\nexport * from \"@hyperttp/inflight\";\nexport * from \"@hyperttp/parser\";\nexport * from \"@hyperttp/serializer\";\n"],
|
|
5
|
+
"mappings": "aAAA,OAAS,YAAa,mBAAsB,sBAE5C,OAAS,QAAS,gBAAiB,iBAAoB,sBASvD,WAAc,kBACd,WAAc,kBACd,WAAc,sBACd,WAAc,yBACd,WAAc,oBACd,WAAc,qBACd,WAAc,mBACd,WAAc",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperttp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "A high-performance, universal HTTP client for Node.js, Bun, Deno and Browser with caching, retries, queueing, rate limiting, cookies and logging.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"@hyperttp/inflight": "^2.0.0",
|
|
41
41
|
"@hyperttp/interceptors": "^2.0.0",
|
|
42
42
|
"@hyperttp/metrics": "^2.0.0",
|
|
43
|
-
"@hyperttp/parser": "^2.0.
|
|
43
|
+
"@hyperttp/parser": "^2.0.1",
|
|
44
44
|
"@hyperttp/queue": "^2.0.0",
|
|
45
45
|
"@hyperttp/ratelimit": "^2.0.0",
|
|
46
46
|
"@hyperttp/serializer": "^2.0.0",
|
|
47
|
-
"@hyperttp/transport-undici": "^0.3.
|
|
47
|
+
"@hyperttp/transport-undici": "^0.3.1",
|
|
48
48
|
"@hyperttp/types": "^0.3.0",
|
|
49
49
|
"hcacher": "^0.2.0",
|
|
50
50
|
"undici": "^8.10.0"
|