@next-core/brick-kit 2.181.0 → 2.181.1

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.esm.js CHANGED
@@ -6005,7 +6005,8 @@ function getApiArgsFromApiProfile(_ref, originalArgs, method) {
6005
6005
  isFileType,
6006
6006
  request
6007
6007
  } = _ref;
6008
- var isDownload = isFileType && method === "saveAs";
6008
+ // `saveAs` requires the first argument to be the filename.
6009
+ var isDownload = method === "saveAs";
6009
6010
  var fileName;
6010
6011
  if (isDownload) {
6011
6012
  fileName = originalArgs.shift();