koonjs 0.5.3 → 0.5.5

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/index.d.ts CHANGED
@@ -151,6 +151,9 @@ export class Koon {
151
151
  /** Clear all cookies from the cookie jar. Keeps TLS sessions and connection pool. */
152
152
  clearCookies(): void;
153
153
 
154
+ /** Close all pooled connections and release resources. The client can still be used after — new connections open on demand. */
155
+ close(): void;
156
+
154
157
  exportProfile(): string;
155
158
  saveSession(): string;
156
159
  loadSession(json: string): void;
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koonjs",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Browser-impersonating HTTP client with TLS/HTTP2 fingerprint spoofing",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",