extra-request 3.0.2 → 3.0.3

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.
@@ -337,7 +337,7 @@
337
337
  return (0, object_1.isRecord)(val)
338
338
  && (0, string_1.isString)(val.jsonrpc)
339
339
  && (0, string_1.isString)(val.id)
340
- && (0, undefined_1.isntUndefined)(val.result);
340
+ && 'result' in val;
341
341
  }
342
342
  jsonRpc.isJsonRpcSuccess = isJsonRpcSuccess;
343
343
  function isntJsonRpcSuccess(val) {
@@ -694,7 +694,7 @@
694
694
  const formData = options.payload instanceof es2018$2.FormData
695
695
  ? cloneFormData(options.payload)
696
696
  : new es2018$2.FormData();
697
- if (Array.isArray(value)) {
697
+ if (es2018$1.isArray(value)) {
698
698
  value.forEach(x => formData.append(name, x));
699
699
  }
700
700
  else {