@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.
@@ -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.
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
+ /// <reference lib="dom" />
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  //# sourceMappingURL=IConnection.js.map
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestia/fetcher",
3
- "version": "1.5.8",
3
+ "version": "1.6.0-dev.20230807",
4
4
  "description": "Fetcher library of Nestia SDK",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -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
  /**