chrome.downloads.download on MS Edge: windows update this week added a bug. Work-around?

I’m working on an extension for MS Edge (Version 122.0.2365.80) running on Win10 pro. The extension has been working properly, but not any more.
I’m using chrome.downloads.download in javascript and what it used to do is invoke the SaveAs dialog box pointing to the last saved-to folder. Now it points to the browser’s default directory.
Is anyone else seeing this?
Is there an option in chrome.downloads.download to point the SaveAs in the right direction?
Here’s the code for the background.js:

chrome.runtime.onInstalled.addListener(function() {
  console.log('Extension installed / updated');
});

chrome.runtime.onMessage.addListener(function (request, sender) {
  if (request.type === 'popupMessage') {
    // Access parameters from the content script
  var receivedParams = request.data;

  // Do something with the parameters
    console.log(receivedParams);
chrome.downloads.download({
       url: receivedParams,
       filename: 'desired_filename.ext',
       saveAs: true
    }, function(downloadId) {
       console.log('Download initiated with ID:', downloadId);
    });
   }
 });

Thanks in advance for any pointers you can provide.

When I call the background.js, I expect it to bring up the SaveAs dialog box pointing at the last-saved-to-directory.
Instead, the code (unchanged) now brings up the SaveAs dialog box pointing to the browser’s default directory.