tools-min-ns 1.18.9 → 1.18.11

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/README.md CHANGED
@@ -5,7 +5,9 @@ pnpm i tools-min-ns --save
5
5
  ```
6
6
 
7
7
  # updates
8
- ## v1.18.9
8
+ ## v1.18.11
9
+ fix: 修改RequestUtil.getAuthorization isLog比传
10
+ ## v1.18.9/10
9
11
  fix: 修改RequestUtil.getAuthorization json排序问题
10
12
  ## v1.18.8
11
13
  fix: RequestUtil handleRequests并发请求优化
@@ -139,8 +139,8 @@ function exampleAsyncFunction() {
139
139
  requestType?: 'json' | 'form';
140
140
  /** 前端接受类型(默认json) */
141
141
  responseType?: 'json' | 'text' | 'blob' | 'arrayBuffer' | 'formData';
142
- /** 打印 */
143
- isLog: boolean;
142
+ /** 打印 @default false */
143
+ isLog?: boolean;
144
144
  };
145
145
  export function getAuthorization(opt: RequestParam): string;
146
146
  export {};
@@ -156,7 +156,7 @@ import jsonpFn, { jsonpRquest as jsonpRquestFn } from './jsonp';
156
156
  import nsPromiseFn from './nsPromiseFn';
157
157
  import StringUtil from '../string/StringUtil';
158
158
  import PasswordUtil from '../pwd/PasswordUtil';
159
- import DateUtil from 'src/date/DateUtil';
159
+ import DateUtil from '../date/DateUtil';
160
160
  var RequestUtil;
161
161
  (function (RequestUtil) {
162
162
  /** @name 浙里办请求工具设置默认请求头 */
@@ -139,8 +139,8 @@ function exampleAsyncFunction() {
139
139
  requestType?: 'json' | 'form';
140
140
  /** 前端接受类型(默认json) */
141
141
  responseType?: 'json' | 'text' | 'blob' | 'arrayBuffer' | 'formData';
142
- /** 打印 */
143
- isLog: boolean;
142
+ /** 打印 @default false */
143
+ isLog?: boolean;
144
144
  };
145
145
  export function getAuthorization(opt: RequestParam): string;
146
146
  export {};
@@ -197,7 +197,7 @@ var jsonp_1 = __importStar(require("./jsonp"));
197
197
  var nsPromiseFn_1 = __importDefault(require("./nsPromiseFn"));
198
198
  var StringUtil_1 = __importDefault(require("../string/StringUtil"));
199
199
  var PasswordUtil_1 = __importDefault(require("../pwd/PasswordUtil"));
200
- var DateUtil_1 = __importDefault(require("src/date/DateUtil"));
200
+ var DateUtil_1 = __importDefault(require("../date/DateUtil"));
201
201
  var RequestUtil;
202
202
  (function (RequestUtil) {
203
203
  /** @name 浙里办请求工具设置默认请求头 */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tools-min-ns",
3
3
  "description": "工具包适用于前端以及node",
4
- "version": "1.18.9",
4
+ "version": "1.18.11",
5
5
  "main": "lib/index.js",
6
6
  "license": "MIT",
7
7
  "author": "nanshen",