keq 2.7.2 → 2.7.3
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/CHANGELOG.md +7 -0
- package/dist/esm/src/keq.d.ts +1 -1
- package/dist/umd/src/keq.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.7.3](https://github.com/keq-request/keq/compare/v2.7.2...v2.7.3) (2024-08-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* .set(key, value) cannot set the number type value when adding a custom header ([2085cc6](https://github.com/keq-request/keq/commit/2085cc613f68b26018fdabb3b6bb39d0b208a50e))
|
|
11
|
+
|
|
5
12
|
## [2.7.2](https://github.com/keq-request/keq/compare/v2.7.1...v2.7.2) (2024-08-13)
|
|
6
13
|
|
|
7
14
|
|
package/dist/esm/src/keq.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare class Keq<OUTPUT, OPERATION extends Omit<KeqOperation, 'responseB
|
|
|
27
27
|
set<T extends keyof KeqBaseOperation['requestHeaders']>(name: T, value: KeqBaseOperation['requestHeaders'][T]): this;
|
|
28
28
|
set(headers: Headers): this;
|
|
29
29
|
set(headers: Record<string, string>): this;
|
|
30
|
-
set(name: string, value: string): this;
|
|
30
|
+
set(name: string, value: string | number): this;
|
|
31
31
|
/**
|
|
32
32
|
* Set request query/searchParams
|
|
33
33
|
*/
|
package/dist/umd/src/keq.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare class Keq<OUTPUT, OPERATION extends Omit<KeqOperation, 'responseB
|
|
|
27
27
|
set<T extends keyof KeqBaseOperation['requestHeaders']>(name: T, value: KeqBaseOperation['requestHeaders'][T]): this;
|
|
28
28
|
set(headers: Headers): this;
|
|
29
29
|
set(headers: Record<string, string>): this;
|
|
30
|
-
set(name: string, value: string): this;
|
|
30
|
+
set(name: string, value: string | number): this;
|
|
31
31
|
/**
|
|
32
32
|
* Set request query/searchParams
|
|
33
33
|
*/
|