@aliyun-obv/api 0.0.59 → 0.0.61

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/api.es.js +5 -1
  2. package/package.json +3 -3
package/dist/api.es.js CHANGED
@@ -163,7 +163,11 @@ class BaseFetch {
163
163
  return res;
164
164
  } catch (error) {
165
165
  if (this.defaults.errorHandler) {
166
- return this.defaults.errorHandler(error, options);
166
+ return this.defaults.errorHandler(
167
+ { method: "POST", api, params: getParams(params) },
168
+ error,
169
+ options
170
+ );
167
171
  }
168
172
  throw error;
169
173
  }
package/package.json CHANGED
@@ -10,11 +10,11 @@
10
10
  "urijs": "^1.19.1",
11
11
  "lodash": "^4.17.21",
12
12
  "@alicloud/console-base-error-prompt-proxy": "^1.9.12",
13
- "@aliyun-obv/i18n": "0.0.59",
14
- "@aliyun-obv/utils": "0.0.59",
13
+ "@aliyun-obv/i18n": "0.0.61",
14
+ "@aliyun-obv/utils": "0.0.61",
15
15
  "@alifd/next": "^1.27.11",
16
16
  "styled-components": "^5.2.0"
17
17
  },
18
18
  "devDependencies": {},
19
- "version": "0.0.59"
19
+ "version": "0.0.61"
20
20
  }