@vacantthinker/firefox-addon-framework-easy 2026.623.1343 → 2026.623.1422

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.
@@ -2,7 +2,7 @@
2
2
  * Interface for the download request parameters.
3
3
  */
4
4
  export interface DownloadParams {
5
- url: string;
5
+ downlink: string;
6
6
  filename?: string;
7
7
  }
8
8
  export declare function browserDownloadByDownlink(params: DownloadParams): Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"browserDownload.d.ts","sourceRoot":"","sources":["../src/browserDownload.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAYvC"}
1
+ {"version":3,"file":"browserDownload.d.ts","sourceRoot":"","sources":["../src/browserDownload.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAYvC"}
@@ -1,9 +1,9 @@
1
1
  export async function browserDownloadByDownlink(params) {
2
- const { url, filename, } = params;
3
- if (url == undefined)
2
+ const { downlink, filename, } = params;
3
+ if (downlink == undefined)
4
4
  return;
5
5
  const options = {
6
- url
6
+ url: downlink,
7
7
  };
8
8
  if (filename) {
9
9
  options.filename = filename;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vacantthinker/firefox-addon-framework-easy",
3
- "version": "2026.0623.1343",
3
+ "version": "2026.0623.1422",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",