@buka/nestjs-kit 4.1.2 → 4.1.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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.1.3](https://github.com/buka-ltd/npm.nestjs-kit/compare/v4.1.2...v4.1.3) (2026-05-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* 修复格式化错误无效的问题 ([6fca5cb](https://github.com/buka-ltd/npm.nestjs-kit/commit/6fca5cbb5526055f34dc35028e9eb82c8c709866))
|
|
9
|
+
|
|
3
10
|
## [4.1.2](https://github.com/buka-ltd/npm.nestjs-kit/compare/v4.1.1...v4.1.2) (2026-05-21)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.js
CHANGED
|
@@ -8148,10 +8148,10 @@ const KEQ_REQUEST_PROVIDER = {
|
|
|
8148
8148
|
provide: OPEN_BAO_KEQ_REQUEST,
|
|
8149
8149
|
useFactory: (options, tokenManager) => {
|
|
8150
8150
|
const request = new keq.KeqRequest();
|
|
8151
|
+
request.use(formatError());
|
|
8151
8152
|
request.use((0, _keq_request_url.setBaseUrl)(options.address + "/v1/"));
|
|
8152
8153
|
request.use(setOpenBaoToken(() => tokenManager.getToken()));
|
|
8153
8154
|
request.use((0, _keq_request_exception.validateStatusCode)());
|
|
8154
|
-
request.use(formatError());
|
|
8155
8155
|
return request;
|
|
8156
8156
|
},
|
|
8157
8157
|
inject: [MODULE_OPTIONS_TOKEN$3, OpenBaoTokenManager]
|