@arbidocs/sdk 0.4.127 → 0.4.128

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.
package/dist/index.js CHANGED
@@ -5216,7 +5216,11 @@ async function presignedPut(url, body, onProgress, headers) {
5216
5216
  });
5217
5217
  return;
5218
5218
  }
5219
- const putRes = await fetch(url, { method: "PUT", body, ...headers ? { headers } : {} });
5219
+ const putRes = await fetch(url, {
5220
+ method: "PUT",
5221
+ body,
5222
+ ...headers ? { headers } : {}
5223
+ });
5220
5224
  if (!putRes.ok) {
5221
5225
  const snippet = await putRes.text().catch(() => "");
5222
5226
  throw new Error(`Presigned PUT failed: ${putRes.status} ${snippet.slice(0, 200)}`);