@telecrypt-io/storage 0.5.18 → 0.5.20

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.
@@ -1256,7 +1256,7 @@ async function deleteFileMedia(storage, mediaIds, signal) {
1256
1256
  const client = storage.getClient();
1257
1257
  const http = requireFileDeletionTransport(client);
1258
1258
  try {
1259
- await withRateLimitRetry(() => withMatrixMutationAbort(client, () => http.authedRequest(Method.Post, "/io.telecrypt.storage/delete_media", undefined, { media_ids: [...mediaIds] }, { prefix: ClientPrefix.Unstable, abortSignal: signal }), signal, "delete file media"), signal);
1259
+ await withRateLimitRetry(() => withMatrixMutationAbort(client, () => http.authedRequest(Method.Post, "/io.telecrypt.storage/delete_media", undefined, { media_ids: [...mediaIds] }, { prefix: ClientPrefix.Unstable, json: false, abortSignal: signal }), signal, "delete file media"), signal);
1260
1260
  }
1261
1261
  catch (error) {
1262
1262
  if (error instanceof MutationOutcomeUnknownError)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telecrypt-io/storage",
3
- "version": "0.5.18",
3
+ "version": "0.5.20",
4
4
  "license": "BUSL-1.1",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.19.0",