@arrowsphere/api-client 3.139.0 → 3.139.2-rc.cpu.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 +10 -0
- package/build/axiosSingleton.js +2 -2
- package/build/quotes/quotesClient.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
4
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [3.139.2] - 2024.09.11
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- [axios] Fix undefined user in clean request log
|
|
10
|
+
|
|
11
|
+
## [3.139.1] - 2024.09.11
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- [quotes] Fixed createQuote payload, items is optional
|
|
15
|
+
|
|
6
16
|
## [3.139.0] - 2024.09.04
|
|
7
17
|
|
|
8
18
|
### Added
|
package/build/axiosSingleton.js
CHANGED
|
@@ -47,14 +47,14 @@ class AxiosSingleton {
|
|
|
47
47
|
* @param request - Axios Request
|
|
48
48
|
*/
|
|
49
49
|
static cleanRequestLog(request) {
|
|
50
|
-
var _a, _b, _c;
|
|
50
|
+
var _a, _b, _c, _d;
|
|
51
51
|
const tempRequest = (0, lodash_1.cloneDeep)(request);
|
|
52
52
|
if ((_a = tempRequest.headers) === null || _a === void 0 ? void 0 : _a.apiKey) {
|
|
53
53
|
const apiKey = (_b = tempRequest.headers) === null || _b === void 0 ? void 0 : _b.apiKey;
|
|
54
54
|
tempRequest.headers.apiKey =
|
|
55
55
|
'****************************' + apiKey.substring(apiKey.length - 4);
|
|
56
56
|
}
|
|
57
|
-
if ((_c = tempRequest.data) === null || _c === void 0 ? void 0 : _c.user.password) {
|
|
57
|
+
if ((_d = (_c = tempRequest.data) === null || _c === void 0 ? void 0 : _c.user) === null || _d === void 0 ? void 0 : _d.password) {
|
|
58
58
|
tempRequest.data.user.password = '***********';
|
|
59
59
|
}
|
|
60
60
|
return tempRequest;
|
|
@@ -52,7 +52,7 @@ export declare type PublishQuoteRequestType = {
|
|
|
52
52
|
};
|
|
53
53
|
export declare type CreateQuoteRequestType = {
|
|
54
54
|
customer?: QuoteCustomerType;
|
|
55
|
-
items
|
|
55
|
+
items?: QuoteItemType[];
|
|
56
56
|
promotionCode?: string;
|
|
57
57
|
};
|
|
58
58
|
export declare class QuotesClient extends AbstractRestfulClient {
|
package/package.json
CHANGED