@vacantthinker/firefox-addon-framework-easy 2026.528.2315 → 2026.528.2324

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vacantthinker/firefox-addon-framework-easy",
3
- "version": "2026.0528.2315",
3
+ "version": "2026.0528.2324",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -151,7 +151,7 @@ export async function serviceElementPicker(message) {
151
151
  }
152
152
 
153
153
  /**
154
- * middle ware, output: Object.assign({}, message, {x, y, width, height,})
154
+ * middle ware, output: {rectdata}
155
155
  *
156
156
  * @param message{{
157
157
  * tabId:number,
@@ -170,13 +170,13 @@ export async function serviceGetFullPageRectData(message) {
170
170
  let x = 0, y = 0;
171
171
  let width = document.documentElement.scrollWidth;
172
172
  let height = document.documentElement.scrollHeight;
173
-
173
+ let rectData = {
174
+ x, y, width, height,
175
+ };
174
176
  await browser.runtime.sendMessage(Object.assign(
175
177
  {},
176
178
  message,
177
- {
178
- x, y, width, height,
179
- },
179
+ rectData,
180
180
  ));
181
181
  // todo end if (message)
182
182
  },