@lingxiteam/assets 1.0.12-alpha.3 → 1.0.12-alpha.4

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.
@@ -117,7 +117,7 @@ var fetch = function fetch(url) {
117
117
  var optSecurityHeaderKey = (opts.headers || {})[securityHeaderKey];
118
118
  var isDebug = (config === null || config === void 0 ? void 0 : config.debug) || window.lxDebug || !!window.localStorage.getItem('lxDebug') || true;
119
119
  // 如果在headers 传入disabledSignKey标识 标识不启用加密
120
- if ((opts === null || opts === void 0 ? void 0 : (_opts$headers = opts.headers) === null || _opts$headers === void 0 ? void 0 : _opts$headers.disabledSignKey) !== true) {
120
+ if ((opts === null || opts === void 0 ? void 0 : (_opts$headers = opts.headers) === null || _opts$headers === void 0 ? void 0 : _opts$headers.disabledSignKey) === true) {
121
121
  var _opts$headers2;
122
122
  opts === null || opts === void 0 ? true : (_opts$headers2 = opts.headers) === null || _opts$headers2 === void 0 ? true : delete _opts$headers2.disabledSignKey;
123
123
  return originFetch(url, opts);
@@ -123,7 +123,7 @@ var fetch = function fetch(url) {
123
123
  var optSecurityHeaderKey = (opts.headers || {})[_const.securityHeaderKey];
124
124
  var isDebug = (config === null || config === void 0 ? void 0 : config.debug) || window.lxDebug || !!window.localStorage.getItem('lxDebug') || true;
125
125
  // 如果在headers 传入disabledSignKey标识 标识不启用加密
126
- if ((opts === null || opts === void 0 ? void 0 : (_opts$headers = opts.headers) === null || _opts$headers === void 0 ? void 0 : _opts$headers.disabledSignKey) !== true) {
126
+ if ((opts === null || opts === void 0 ? void 0 : (_opts$headers = opts.headers) === null || _opts$headers === void 0 ? void 0 : _opts$headers.disabledSignKey) === true) {
127
127
  var _opts$headers2;
128
128
  opts === null || opts === void 0 ? true : (_opts$headers2 = opts.headers) === null || _opts$headers2 === void 0 ? true : delete _opts$headers2.disabledSignKey;
129
129
  return originFetch(url, opts);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/assets",
3
- "version": "1.0.12-alpha.3",
3
+ "version": "1.0.12-alpha.4",
4
4
  "description": "灵犀低代码平台移动端 - 工具类",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",