@noah-libjs/request 0.0.55 → 0.0.56

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -136,6 +136,9 @@ var Request = /*#__PURE__*/function (_EventEmitter) {
136
136
  };
137
137
  ins.interceptors.request.use(function (config) {
138
138
  var _a;
139
+ Request.logger.log('request', {
140
+ config: config
141
+ });
139
142
  if (config.pure_req) return onRequest(config);
140
143
  var headers = (_a = config.headers) !== null && _a !== void 0 ? _a : config.headers = {};
141
144
  if (!config.ignore_x_arg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noah-libjs/request",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -21,7 +21,7 @@
21
21
  "access": "public"
22
22
  },
23
23
  "dependencies": {
24
- "@noah-libjs/utils": "^0.0.55",
24
+ "@noah-libjs/utils": "^0.0.56",
25
25
  "axios": "^0.26.1",
26
26
  "store": "2.x"
27
27
  },
@@ -32,5 +32,5 @@
32
32
  "keywords": [],
33
33
  "author": "",
34
34
  "license": "MIT",
35
- "gitHead": "43779f40fafd0e816e1a48f6202b9be207959a44"
35
+ "gitHead": "5b482ad7daba780c88a758f96086367228977c97"
36
36
  }