webextension-messages 1.0.2 → 1.0.4

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,9 +1,9 @@
1
1
  {
2
2
  "name": "webextension-messages",
3
- "version": "1.0.2",
4
- "description": "Package simplifying the exchange of messages between the background and tabs",
3
+ "version": "1.0.4",
4
+ "description": "Package simplifying the exchange of messages between the background process and tabs of the browser",
5
5
  "license": "MIT",
6
- "author": "Igor Morozov",
6
+ "author": "Igor Morozov <ismorozs@gmail.com>",
7
7
  "main": "./dist/webextension-messages.js",
8
8
  "scripts": {
9
9
  "start": "webpack"
@@ -12,5 +12,8 @@
12
12
  "webextension-polyfill": "0.12.0",
13
13
  "webpack": "5.108.4",
14
14
  "webpack-cli": "7.2.1"
15
- }
15
+ },
16
+ "homepage": "https://github.com/ismorozs/webextension-messages",
17
+ "repository": "https://github.com/ismorozs/webextension-messages.git",
18
+ "bugs": "https://github.com/ismorozs/webextension-messages/issues"
16
19
  }
package/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- const browser = require("webextension-polyfill");
1
+ const browser = require("webextension-polyfill/dist/browser-polyfill.min");
2
2
 
3
3
  const STOP_ACTION = `WEBEXTENSION_MESSAGES_STOP_COMMUNICATION`;
4
4
  const RESULT_PROMISES = {};