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) {
@@ -741,7 +741,7 @@
741
741
  const formData = options.payload instanceof es2018$2.FormData
742
742
  ? cloneFormData(options.payload)
743
743
  : new es2018$2.FormData();
744
- if (Array.isArray(value)) {
744
+ if (es2018$1.isArray(value)) {
745
745
  value.forEach(x => formData.append(name, x));
746
746
  }
747
747
  else {