@webext-core/proxy-service 1.0.1 → 1.0.2
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/lib/index.cjs +0 -1
- package/lib/index.js +0 -1
- package/package.json +7 -6
package/lib/index.cjs
CHANGED
|
@@ -95,7 +95,6 @@ function defineProxyService(name, init, config) {
|
|
|
95
95
|
return new Proxy({}, {
|
|
96
96
|
get(_, path) {
|
|
97
97
|
return (...args) => __async(this, null, function* () {
|
|
98
|
-
console.log(`Proxy${name}.${path}`, { args });
|
|
99
98
|
const res = yield sendMessage(messageKey, {
|
|
100
99
|
method: path,
|
|
101
100
|
args
|
package/lib/index.js
CHANGED
|
@@ -64,7 +64,6 @@ function defineProxyService(name, init, config) {
|
|
|
64
64
|
return new Proxy({}, {
|
|
65
65
|
get(_, path) {
|
|
66
66
|
return (...args) => __async(this, null, function* () {
|
|
67
|
-
console.log(`Proxy${name}.${path}`, { args });
|
|
68
67
|
const res = yield sendMessage(messageKey, {
|
|
69
68
|
method: path,
|
|
70
69
|
args
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webext-core/proxy-service",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Defer function execution to the background",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -41,23 +41,24 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"
|
|
45
|
-
"
|
|
44
|
+
"webextension-polyfill": "^0.10.0",
|
|
45
|
+
"@webext-core/messaging": "1.1.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/webextension-polyfill": "^0.9.1",
|
|
49
49
|
"@vitest/coverage-c8": "^0.24.5",
|
|
50
|
-
"@webext-core/fake-browser": "1.0.1",
|
|
51
|
-
"tsconfig": "0.0.0",
|
|
52
50
|
"tsup": "^6.4.0",
|
|
53
51
|
"typescript": "^4.8.4",
|
|
54
|
-
"vitest": "^0.24.5"
|
|
52
|
+
"vitest": "^0.24.5",
|
|
53
|
+
"@webext-core/fake-browser": "1.0.2",
|
|
54
|
+
"tsconfig": "0.0.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"webextension-polyfill": "^0.10.0"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "tsup src/index.ts --clean --out-dir lib --format esm,cjs --dts",
|
|
61
|
+
"build:dependencies": "cd ../.. && turbo run build --filter=@webext-core/proxy-service^...",
|
|
61
62
|
"test": "vitest -r src",
|
|
62
63
|
"test:coverage": "vitest run -r src --coverage",
|
|
63
64
|
"compile": "tsc --noEmit"
|