@webext-core/proxy-service 1.1.0 → 1.1.1

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.
@@ -1248,11 +1248,6 @@ var webExtCoreProxyService = (() => {
1248
1248
  return { err: errMessage };
1249
1249
  });
1250
1250
  }
1251
- return Promise.resolve({
1252
- err: `Listener not found for message.type="${message.type}".
1253
-
1254
- Did you forget to call \`onMessage("getLength", ...)\`?`
1255
- });
1256
1251
  };
1257
1252
  import_webextension_polyfill2.default.runtime.onMessage.addListener(rootListener);
1258
1253
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webext-core/proxy-service",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A type-safe wrapper around the web extension messaging APIs that lets you call a function from anywhere, but execute it in the background. Supports all browsers (Chrome, Firefox, Safari, etc)",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -41,8 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "get-value": "^3.0.1",
44
- "webextension-polyfill": "^0.10.0",
45
- "@webext-core/messaging": "1.2.0"
44
+ "webextension-polyfill": "^0.10.0"
46
45
  },
47
46
  "devDependencies": {
48
47
  "@types/get-value": "^3.0.3",
@@ -51,11 +50,13 @@
51
50
  "tsup": "^6.4.0",
52
51
  "typescript": "^4.8.4",
53
52
  "vitest": "0.28.0",
54
- "@webext-core/fake-browser": "1.2.0",
53
+ "@webext-core/fake-browser": "1.2.2",
54
+ "@webext-core/messaging": "1.3.1",
55
55
  "tsconfig": "0.0.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "webextension-polyfill": "^0.10.0"
58
+ "webextension-polyfill": "^0.10.0",
59
+ "@webext-core/messaging": ">=1.3.1"
59
60
  },
60
61
  "scripts": {
61
62
  "build": "tsup src/index.ts --clean --out-dir lib --dts --format esm,cjs,iife --global-name webExtCoreProxyService",