keq 2.3.1 → 2.3.2
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.js +1 -1
- package/dist/umd/src/keq.js +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.3.2](https://github.com/keq-request/keq/compare/v2.3.1...v2.3.2) (2024-04-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* cannot send form-data when invoke .attach() first ([0195ee2](https://github.com/keq-request/keq/commit/0195ee2dcb4e43a58185f4c032d29fb6c00ac70d))
|
|
11
|
+
|
|
5
12
|
## [2.3.1](https://github.com/keq-request/keq/compare/v2.3.0...v2.3.1) (2024-03-22)
|
|
6
13
|
|
|
7
14
|
|
package/dist/esm/src/keq.js
CHANGED
|
@@ -159,7 +159,7 @@ export class Keq extends Core {
|
|
|
159
159
|
throw new InvalidArgumentsExceptions();
|
|
160
160
|
}
|
|
161
161
|
this.requestContext.body = assignKeqRequestBody(this.requestContext.body, { [key]: file });
|
|
162
|
-
this.setTypeIfEmpty('form-
|
|
162
|
+
this.setTypeIfEmpty('form-data');
|
|
163
163
|
return this;
|
|
164
164
|
}
|
|
165
165
|
/**
|
package/dist/umd/src/keq.js
CHANGED
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
throw new invalid_arguments_exception_1.InvalidArgumentsExceptions();
|
|
172
172
|
}
|
|
173
173
|
this.requestContext.body = (0, assign_keq_request_body_1.assignKeqRequestBody)(this.requestContext.body, { [key]: file });
|
|
174
|
-
this.setTypeIfEmpty('form-
|
|
174
|
+
this.setTypeIfEmpty('form-data');
|
|
175
175
|
return this;
|
|
176
176
|
}
|
|
177
177
|
/**
|