hyperttp 0.3.23 → 0.4.0

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.
Files changed (41) hide show
  1. package/Hyperttp/Client/HyperClient.d.ts +28 -12
  2. package/Hyperttp/Client/HyperClient.d.ts.map +1 -1
  3. package/Hyperttp/Client/HyperClient.js +107 -100
  4. package/Hyperttp/Client/HyperClient.js.map +1 -1
  5. package/Hyperttp/Request.d.ts +2 -1
  6. package/Hyperttp/Request.d.ts.map +1 -1
  7. package/Hyperttp/Request.js +30 -5
  8. package/Hyperttp/Request.js.map +1 -1
  9. package/Hyperttp/UrlExtractor.d.ts +1 -1
  10. package/Hyperttp/UrlExtractor.d.ts.map +1 -1
  11. package/Hyperttp/UrlExtractor.js +1 -1
  12. package/Hyperttp/UrlExtractor.js.map +1 -1
  13. package/Hyperttp/Utils/RequestBuilder.d.ts +138 -2
  14. package/Hyperttp/Utils/RequestBuilder.d.ts.map +1 -1
  15. package/Hyperttp/Utils/RequestBuilder.js +142 -5
  16. package/Hyperttp/Utils/RequestBuilder.js.map +1 -1
  17. package/Hyperttp/defaultConfig.d.ts +1 -1
  18. package/Hyperttp/defaultConfig.d.ts.map +1 -1
  19. package/Hyperttp/defaultConfig.js +1 -1
  20. package/Hyperttp/defaultConfig.js.map +1 -1
  21. package/Hyperttp/index.d.ts +0 -1
  22. package/Hyperttp/index.d.ts.map +1 -1
  23. package/Hyperttp/index.js +1 -1
  24. package/Hyperttp/index.js.map +1 -1
  25. package/LICENSE +21 -0
  26. package/README.md +200 -0
  27. package/Types/index.d.ts +0 -1
  28. package/Types/index.d.ts.map +1 -1
  29. package/Types/index.js +0 -1
  30. package/Types/index.js.map +1 -1
  31. package/Types/url-extractor.d.ts +40 -0
  32. package/Types/url-extractor.d.ts.map +1 -1
  33. package/index.d.ts +1 -1
  34. package/index.d.ts.map +1 -1
  35. package/index.js +1 -1
  36. package/index.js.map +1 -1
  37. package/package.json +19 -10
  38. package/Types/http-client.d.ts +0 -35
  39. package/Types/http-client.d.ts.map +0 -1
  40. package/Types/http-client.js +0 -2
  41. package/Types/http-client.js.map +0 -1
package/README.md ADDED
@@ -0,0 +1,200 @@
1
+ # Hyperttp
2
+
3
+ Advanced HTTP client for Node.js with caching, rate limiting, request queuing,
4
+ automatic retries, cookie management, and automatic JSON/XML parsing.
5
+
6
+ ## Features
7
+
8
+ - Automatic request deduplication
9
+ - LRU caching with TTL
10
+ - Configurable rate limiting
11
+ - Concurrent request management
12
+ - Exponential backoff with jitter for retries
13
+ - Cookie jar support
14
+ - Automatic response parsing (JSON/XML/text/buffer)
15
+ - Automatic handling of redirects
16
+ - Fluent request builder API
17
+
18
+ ## Installation
19
+
20
+ ```bash
21
+ npm install hyperttp
22
+ ```
23
+
24
+ ---
25
+
26
+ ## 🚀 Simple Usage
27
+
28
+ Get started in seconds — just import and make requests:
29
+
30
+ ```typescript
31
+ import HttpClientImproved from "hyperttp";
32
+
33
+ const client = new HttpClientImproved();
34
+
35
+ // Simple GET request
36
+ const data = await client.get("https://api.example.com/data");
37
+
38
+ // POST request with JSON body
39
+ const postData = await client.post("https://api.example.com/items", {
40
+ name: "Item 1",
41
+ });
42
+ ```
43
+
44
+ **That's it!** Caching, request queuing, and retries are enabled by default.
45
+
46
+ ---
47
+
48
+ ## ⚙️ Advanced Configuration
49
+
50
+ Configure all components for your specific needs:
51
+
52
+ ```typescript
53
+ import HttpClientImproved from "hyperttp";
54
+
55
+ const client = new HttpClientImproved({
56
+ // 🌐 Network settings
57
+ network: {
58
+ timeout: 10000, // Request timeout (ms)
59
+ maxConcurrent: 50, // Max concurrent requests
60
+ maxRedirects: 5, // Max redirects to follow
61
+ followRedirects: true, // Follow redirects automatically
62
+ userAgent: "MyApp/1.0", // User-Agent header
63
+ allowHttp2: true, // Enable HTTP/2
64
+ pipelining: 10, // Request pipelining
65
+ keepAliveTimeout: 30000, // Keep-alive timeout
66
+ rejectUnauthorized: false, // Skip SSL certificate validation
67
+ },
68
+
69
+ // 💾 Caching (LRU cache)
70
+ cache: {
71
+ enabled: true, // Enable caching
72
+ ttl: 1000 * 60 * 5, // Cache TTL (5 minutes)
73
+ maxSize: 500, // Max cache size (entries)
74
+ },
75
+
76
+ // 🚦 Rate Limiting (Token Bucket)
77
+ rateLimit: {
78
+ enabled: true, // Enable rate limiting
79
+ maxRequests: 100, // Max requests per window
80
+ windowMs: 60000, // Time window (ms)
81
+ },
82
+
83
+ // 📊 Request Queue
84
+ queue: {
85
+ enabled: true, // Enable request queue
86
+ },
87
+
88
+ // 🔄 Retry Logic
89
+ retry: {
90
+ maxRetries: 3, // Max retry attempts
91
+ baseDelay: 1000, // Base delay between retries (ms)
92
+ maxDelay: 10000, // Max delay (ms)
93
+ jitter: true, // Add randomization to delays
94
+ retryStatusCodes: [408, 429, 500, 502, 503, 504],
95
+ },
96
+
97
+ // 📈 Metrics
98
+ metrics: {
99
+ enabled: true, // Enable metrics collection
100
+ maxHistory: 1000, // Metrics history size
101
+ },
102
+
103
+ // 🔍 Logging
104
+ verbose: true, // Enable verbose logging
105
+ logger: (level, msg) => console.log(`[${level}] ${msg}`),
106
+ });
107
+ ```
108
+
109
+ ### Using Advanced Features
110
+
111
+ ```typescript
112
+ // Using Fluent RequestBuilder
113
+ const result = await client
114
+ .request("https://api.example.com/search")
115
+ .query({ q: "hyperttp", limit: 10 })
116
+ .headers({ Authorization: "Bearer TOKEN" })
117
+ .json()
118
+ .send();
119
+
120
+ // Get client statistics
121
+ const stats = client.getStats();
122
+ console.log({
123
+ cacheSize: stats.cacheSize, // Current cache size
124
+ inflightRequests: stats.inflightRequests, // Active requests
125
+ queuedRequests: stats.queuedRequests, // Requests waiting in queue
126
+ activeRequests: stats.activeRequests, // Currently executing
127
+ currentRateLimit: stats.currentRateLimit, // Used rate limit slots
128
+ });
129
+
130
+ // Work with metrics
131
+ const metrics = client.getMetrics("https://api.example.com/data");
132
+ console.log(metrics);
133
+
134
+ // Clear cache
135
+ client.clearCache();
136
+
137
+ // Clear metrics
138
+ client.clearMetrics();
139
+
140
+ // Graceful shutdown
141
+ await client.destroy();
142
+ ```
143
+
144
+ ---
145
+
146
+ ## Fluent Builder API
147
+
148
+ ```typescript
149
+ client
150
+ .request("https://api.example.com/data")
151
+ .get() // default
152
+ .headers({ "X-Test": "123" })
153
+ .query({ page: 1 })
154
+ .json() // or .text(), .xml()
155
+ .send()
156
+ .then(console.log);
157
+ ```
158
+
159
+ ---
160
+
161
+ ## Architecture Components
162
+
163
+ ### 💾 CacheManager
164
+
165
+ LRU cache with TTL and metadata support (etag, lastModified):
166
+
167
+ - Automatically caches GET/HEAD responses
168
+ - Configurable size and TTL
169
+ - Methods: `get()`, `set()`, `getWithMetadata()`, `setWithMetadata()`
170
+
171
+ ### 📊 QueueManager
172
+
173
+ Request queue management:
174
+
175
+ - Concurrency control (maxConcurrent)
176
+ - FIFO processing of pending requests
177
+ - Methods: `enqueue()`, `activeCount`, `queuedCount`
178
+
179
+ ### 🚦 RateLimiter
180
+
181
+ Token bucket algorithm with wait queue:
182
+
183
+ - Smooth rate limiting
184
+ - FIFO waiting when limit exceeded
185
+ - Methods: `wait()`, `tryConsume()`, `remainingRequests`
186
+
187
+ ### 📈 MetricsManager
188
+
189
+ Performance metrics collection and analysis:
190
+
191
+ - Request timing
192
+ - Bytes sent/received
193
+ - Cache hits/misses
194
+ - Retry counts
195
+
196
+ ---
197
+
198
+ ## Documentation
199
+
200
+ - [Русский](https://github.com/Dirold2/hyperttp/blob/main/lang/ru/README.md)
package/Types/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- export * from "./http-client.js";
2
1
  export * from "./url-extractor.js";
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Types/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
package/Types/index.js CHANGED
@@ -1,3 +1,2 @@
1
- export * from "./http-client.js";
2
1
  export * from "./url-extractor.js";
3
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Types/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Types/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -1,10 +1,50 @@
1
+ /**
2
+ * @ru Шаблон URL для извлечения параметров.
3
+ * @en URL pattern for extracting parameters.
4
+ *
5
+ * @typeParam T - Типы имен групп (строковые литералы).
6
+ * @typeParam T - Group names types (string literals).
7
+ */
1
8
  export interface UrlPattern<T extends string = string> {
9
+ /**
10
+ * @ru Название сущности (например, "video", "user").
11
+ * @en Entity name (e.g., "video", "user").
12
+ */
2
13
  entity: string;
14
+ /**
15
+ * @ru Регулярное выражение для сопоставления URL.
16
+ * @en Regular expression for matching URLs.
17
+ */
3
18
  regex: RegExp;
19
+ /**
20
+ * @ru Имена захваченных групп.
21
+ * @en Captured group names.
22
+ */
4
23
  groupNames: T[];
5
24
  }
25
+ /**
26
+ * @ru Интерфейс экстрактора URL для извлечения идентификаторов из URL различных платформ.
27
+ * @en URL extractor interface for extracting IDs from URLs of different platforms.
28
+ */
6
29
  export interface UrlExtractorInterface {
30
+ /**
31
+ * @ru Регистрирует платформу с набором шаблонов URL.
32
+ * @en Registers a platform with a set of URL patterns.
33
+ *
34
+ * @param platform - Platform name (e.g., "youtube", "twitter").
35
+ * @param patterns - Array of URL patterns for this platform.
36
+ */
7
37
  registerPlatform(platform: string, patterns: UrlPattern[]): void;
38
+ /**
39
+ * @ru Извлекает идентификаторы из URL для указанной сущности и платформы.
40
+ * @en Extracts IDs from URL for the specified entity and platform.
41
+ *
42
+ * @typeParam T - ID type (string or number).
43
+ * @param url - URL to extract from.
44
+ * @param entity - Entity name to look for.
45
+ * @param platform - Platform name.
46
+ * @returns Object with extracted IDs mapped by group names.
47
+ */
8
48
  extractId<T extends string | number>(url: string, entity: string, platform: string): Record<string, T>;
9
49
  }
10
50
  //# sourceMappingURL=url-extractor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"url-extractor.d.ts","sourceRoot":"","sources":["../../src/Types/url-extractor.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,CAAC,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAEjE,SAAS,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACjC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,GACf,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;CACtB"}
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;IACnD;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,UAAU,EAAE,CAAC,EAAE,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAEjE;;;;;;;;;OASG;IACH,SAAS,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACjC,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,GACf,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;CACtB"}
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { HyperClient } from "./Hyperttp/index.js";
2
- export { Request, PreparedRequest, UrlExtractor } from "./Hyperttp/index.js";
2
+ export { Request, UrlExtractor } from "./Hyperttp/index.js";
3
3
  export type * from "./Types/index.js";
4
4
  export * from "@hyperttp/cache";
5
5
  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,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE7E,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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAE5D,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 CHANGED
@@ -1,5 +1,5 @@
1
1
  export { HyperClient } from "./Hyperttp/index.js";
2
- export { Request, PreparedRequest, UrlExtractor } from "./Hyperttp/index.js";
2
+ export { Request, UrlExtractor } from "./Hyperttp/index.js";
3
3
  export * from "@hyperttp/cache";
4
4
  export * from "@hyperttp/queue";
5
5
  export * from "@hyperttp/ratelimit";
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAI7E,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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAI5D,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperttp",
3
- "version": "0.3.23",
3
+ "version": "0.4.0",
4
4
  "description": "A high-performance, universal HTTP client for Node.js with caching, retries, queueing, rate limiting, cookies and logging.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -11,6 +11,14 @@
11
11
  "type": "git",
12
12
  "url": "git+https://github.com/dirold2/hyperttp.git"
13
13
  },
14
+ "exports": {
15
+ ".": {
16
+ "types": "./index.d.ts",
17
+ "import": "./index.js",
18
+ "require": "./index.js"
19
+ },
20
+ "./package.json": "./package.json"
21
+ },
14
22
  "sideEffects": [
15
23
  "./index.js",
16
24
  "./index.d.ts"
@@ -28,15 +36,16 @@
28
36
  "logger"
29
37
  ],
30
38
  "dependencies": {
31
- "@hyperttp/core": "^1.1.10",
32
- "@hyperttp/cache": "^1.0.22",
33
- "@hyperttp/parser": "^1.0.19",
34
- "@hyperttp/inflight": "^1.0.4",
35
- "@hyperttp/interceptors": "^1.0.4",
36
- "@hyperttp/metrics": "^1.0.4",
37
- "@hyperttp/queue": "^1.0.6",
38
- "@hyperttp/serializer": "^1.0.4",
39
- "@hyperttp/ratelimit": "^1.0.4"
39
+ "@hyperttp/core": "^1.3.0",
40
+ "@hyperttp/types": "^0.2.0",
41
+ "@hyperttp/cache": "^1.1.6",
42
+ "@hyperttp/parser": "^1.1.6",
43
+ "@hyperttp/inflight": "^1.1.5",
44
+ "@hyperttp/interceptors": "^1.1.5",
45
+ "@hyperttp/metrics": "^1.1.5",
46
+ "@hyperttp/queue": "^1.1.5",
47
+ "@hyperttp/serializer": "^1.1.5",
48
+ "@hyperttp/ratelimit": "^1.1.5"
40
49
  },
41
50
  "private": false
42
51
  }
@@ -1,35 +0,0 @@
1
- import { RequestBuilder } from "../Hyperttp/Utils/RequestBuilder.js";
2
- import type { HttpClientOptions, RequestInterface, RequestMetrics, ResponseType, StreamResponse } from "@hyperttp/core";
3
- export interface HttpClientStats {
4
- cacheSize: number;
5
- inflightRequests: number;
6
- queuedRequests: number;
7
- activeRequests: number;
8
- currentRateLimit: number;
9
- }
10
- export interface HeadResponse {
11
- status: number;
12
- headers: Record<string, any>;
13
- }
14
- export interface HttpClientInterface {
15
- readonly config?: HttpClientOptions;
16
- get<T = unknown>(req: RequestInterface | string, responseType?: ResponseType): Promise<T>;
17
- post<T = unknown>(req: RequestInterface | string, body?: any, responseType?: ResponseType): Promise<T>;
18
- put<T = unknown>(req: RequestInterface | string, body?: any, responseType?: ResponseType): Promise<T>;
19
- patch<T = unknown>(req: RequestInterface | string, body?: any, responseType?: ResponseType): Promise<T>;
20
- delete<T = unknown>(req: RequestInterface | string, responseType?: ResponseType): Promise<T>;
21
- options<T = unknown>(req: RequestInterface | string, body?: any, responseType?: ResponseType): Promise<T>;
22
- head(req: RequestInterface | string): Promise<HeadResponse>;
23
- stream(req: RequestInterface | string): Promise<StreamResponse>;
24
- request(url: string): RequestBuilder;
25
- create(options: Partial<HttpClientOptions>): HttpClientInterface;
26
- extend(options: Partial<HttpClientOptions>): HttpClientInterface;
27
- warmup(urls: string[], count?: number): Promise<void>;
28
- getStats(): HttpClientStats;
29
- getMetrics(key: string): RequestMetrics | undefined;
30
- getAllMetrics(): RequestMetrics[];
31
- clearMetrics(): void;
32
- clearCache(): void;
33
- destroy(): Promise<void>;
34
- }
35
- //# sourceMappingURL=http-client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"http-client.d.ts","sourceRoot":"","sources":["../../src/Types/http-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,cAAc,EACf,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAEpC,GAAG,CAAC,CAAC,GAAG,OAAO,EACb,GAAG,EAAE,gBAAgB,GAAG,MAAM,EAC9B,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,CAAC,CAAC,CAAC;IAEd,IAAI,CAAC,CAAC,GAAG,OAAO,EACd,GAAG,EAAE,gBAAgB,GAAG,MAAM,EAC9B,IAAI,CAAC,EAAE,GAAG,EACV,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,CAAC,CAAC,CAAC;IAEd,GAAG,CAAC,CAAC,GAAG,OAAO,EACb,GAAG,EAAE,gBAAgB,GAAG,MAAM,EAC9B,IAAI,CAAC,EAAE,GAAG,EACV,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,CAAC,CAAC,CAAC;IAEd,KAAK,CAAC,CAAC,GAAG,OAAO,EACf,GAAG,EAAE,gBAAgB,GAAG,MAAM,EAC9B,IAAI,CAAC,EAAE,GAAG,EACV,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,CAAC,CAAC,CAAC;IAEd,MAAM,CAAC,CAAC,GAAG,OAAO,EAChB,GAAG,EAAE,gBAAgB,GAAG,MAAM,EAC9B,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,CAAC,CAAC,CAAC;IAEd,OAAO,CAAC,CAAC,GAAG,OAAO,EACjB,GAAG,EAAE,gBAAgB,GAAG,MAAM,EAC9B,IAAI,CAAC,EAAE,GAAG,EACV,YAAY,CAAC,EAAE,YAAY,GAC1B,OAAO,CAAC,CAAC,CAAC,CAAC;IAEd,IAAI,CAAC,GAAG,EAAE,gBAAgB,GAAG,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;IAE5D,MAAM,CAAC,GAAG,EAAE,gBAAgB,GAAG,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;IAEhE,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC;IAErC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,mBAAmB,CAAC;IACjE,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,mBAAmB,CAAC;IAEjE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtD,QAAQ,IAAI,eAAe,CAAC;IAC5B,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAAC;IACpD,aAAa,IAAI,cAAc,EAAE,CAAC;IAClC,YAAY,IAAI,IAAI,CAAC;IACrB,UAAU,IAAI,IAAI,CAAC;IAEnB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=http-client.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"http-client.js","sourceRoot":"","sources":["../../src/Types/http-client.ts"],"names":[],"mappings":""}