@ztimson/momentum 0.14.0 → 0.14.2

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/momentum.mjs CHANGED
@@ -1125,7 +1125,7 @@ class jt extends p {
1125
1125
  const E = (l = c.body) == null ? void 0 : l.getReader(), _ = (F) => {
1126
1126
  if (F.done) {
1127
1127
  o(1);
1128
- const S = new Blob(T), q = r.downloadName || new URL(c.url).pathname.split("/").pop(), Y = URL.createObjectURL(S);
1128
+ const S = new Blob(T), q = r.downloadAs || new URL(c.url).pathname.split("/").pop(), Y = URL.createObjectURL(S);
1129
1129
  yt(Y, q.includes(".") ? q : q + ".zip"), URL.revokeObjectURL(Y), this.emit("DOWNLOAD", t, S), s(S);
1130
1130
  } else {
1131
1131
  const S = F.value;