@vacantthinker/firefox-addon-framework-easy 2026.619.928 → 2026.619.1137

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.
@@ -1 +1 @@
1
- {"version":3,"file":"browserNotification.d.ts","sourceRoot":"","sources":["../src/browserNotification.ts"],"names":[],"mappings":"AAEA,wBAAsB,qCAAqC,CAAC,OAAO,EAAE,MAAM,iBAE1E;AAED,wBAAsB,qCAAqC,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAgB5F;AAED,wBAAsB,yBAAyB,CAC7C,mBAAmB,EAAE,OAAO,CAAC,aAAa,CAAC,yBAAyB,GACnE,OAAO,CAAC,MAAM,CAAC,CAEjB"}
1
+ {"version":3,"file":"browserNotification.d.ts","sourceRoot":"","sources":["../src/browserNotification.ts"],"names":[],"mappings":"AAEA,wBAAsB,qCAAqC,CAAC,OAAO,EAAE,MAAM,iBAE1E;AAED,wBAAsB,qCAAqC,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAO5F;AAED,wBAAsB,yBAAyB,CAC7C,mBAAmB,EAAE,OAAO,CAAC,aAAa,CAAC,yBAAyB,GACnE,OAAO,CAAC,MAAM,CAAC,CAEjB"}
@@ -3,18 +3,12 @@ export async function browserNotificationCreateBasicMessage(message) {
3
3
  await browserNotificationCreateBasicContent(message);
4
4
  }
5
5
  export async function browserNotificationCreateBasicContent(content) {
6
- const notification = ({
7
- content: content,
8
- });
9
6
  const notificationOptions = {
10
- message: "",
7
+ message: content,
11
8
  type: 'basic',
12
9
  title: browserRuntimeManifestName()
13
10
  };
14
- const options = {
15
- ...notificationOptions, ...notification
16
- };
17
- return await browserNotificationCreate(options);
11
+ return await browserNotificationCreate(notificationOptions);
18
12
  }
19
13
  export async function browserNotificationCreate(notificationOptions) {
20
14
  return await browser.notifications.create(notificationOptions);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vacantthinker/firefox-addon-framework-easy",
3
- "version": "2026.0619.0928",
3
+ "version": "2026.0619.1137",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",