@nestia/fetcher 1.5.8 → 1.6.0-dev.20230807
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/lib/IConnection.d.ts +5 -0
- package/lib/IConnection.js +1 -0
- package/lib/IConnection.js.map +1 -1
- package/package.json +1 -1
- package/src/IConnection.ts +7 -0
package/lib/IConnection.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference lib="dom" />
|
|
1
2
|
import { IEncryptionPassword } from "./IEncryptionPassword";
|
|
2
3
|
import { IRandomGenerator } from "./IRandomGenerator";
|
|
3
4
|
/**
|
|
@@ -106,6 +107,10 @@ export declare namespace IConnection {
|
|
|
106
107
|
* A referrer policy to set request's referrerPolicy.
|
|
107
108
|
*/
|
|
108
109
|
referrerPolicy?: "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
|
|
110
|
+
/**
|
|
111
|
+
* An AbortSignal to set request's signal.
|
|
112
|
+
*/
|
|
113
|
+
signal?: AbortSignal | null;
|
|
109
114
|
}
|
|
110
115
|
/**
|
|
111
116
|
* Type of allowed header values.
|
package/lib/IConnection.js
CHANGED
package/lib/IConnection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IConnection.js","sourceRoot":"","sources":["../src/IConnection.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"IConnection.js","sourceRoot":"","sources":["../src/IConnection.ts"],"names":[],"mappings":";AAAA,2BAA2B"}
|
package/package.json
CHANGED
package/src/IConnection.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/// <reference lib="dom" />
|
|
2
|
+
|
|
1
3
|
import { IEncryptionPassword } from "./IEncryptionPassword";
|
|
2
4
|
import { IRandomGenerator } from "./IRandomGenerator";
|
|
3
5
|
|
|
@@ -134,6 +136,11 @@ export namespace IConnection {
|
|
|
134
136
|
| "strict-origin"
|
|
135
137
|
| "strict-origin-when-cross-origin"
|
|
136
138
|
| "unsafe-url";
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* An AbortSignal to set request's signal.
|
|
142
|
+
*/
|
|
143
|
+
signal?: AbortSignal | null;
|
|
137
144
|
}
|
|
138
145
|
|
|
139
146
|
/**
|