intelicoreact 1.1.57 → 1.1.59

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.
@@ -175,11 +175,15 @@ var AbortableFetch = /*#__PURE__*/function () {
175
175
  body: stringifyBody(item.body)
176
176
  } : {}), {}, {
177
177
  signal: abortController.signal
178
- })).catch(function (response) {
178
+ })).then(function (response) {
179
+ response.request = item;
180
+ return response;
181
+ }).catch(function (response) {
179
182
  return Promise.resolve({
180
183
  ok: false,
181
184
  status: 0,
182
- statusText: response
185
+ statusText: response,
186
+ request: item
183
187
  });
184
188
  });
185
189
  if ((0, _classPrivateFieldGet2.default)(_this, _everyPromiseCallback) && !item.isSkipEveryPromiseCallback) request = request.then(function (response) {
@@ -240,7 +240,7 @@ var InputAddress = function InputAddress(_ref) {
240
240
  getData();
241
241
  }
242
242
 
243
- if (!isWrongAddress) onChange(typeof query === 'string' || !onChangeValueTransformer || typeof onChangeValueTransformer !== 'function' ? query : onChangeValueTransformer(query));
243
+ onChange(typeof query === 'string' || !onChangeValueTransformer || typeof onChangeValueTransformer !== 'function' ? query : onChangeValueTransformer(query));
244
244
  }, [query]);
245
245
  (0, _react.useEffect)(function () {
246
246
  if (!isFocused) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.1.57",
3
+ "version": "1.1.59",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [