@onekeyfe/extension-bridge-hosted 2.0.0-alpha.0 → 2.0.0-alpha.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.
|
@@ -144,7 +144,6 @@ class JsBridgeExtBackground extends JsBridgeBase {
|
|
|
144
144
|
// TODO optimize
|
|
145
145
|
entries(this.ports).forEach(([portId, port]) => {
|
|
146
146
|
if (port.name === EXT_PORT_UI_TO_BG) {
|
|
147
|
-
console.log(`notify to ui port: ${portId}`);
|
|
148
147
|
// TODO check ports disconnected
|
|
149
148
|
this.requestSync({
|
|
150
149
|
data,
|
|
@@ -169,7 +169,6 @@ class JsBridgeExtBackground extends cross_inpage_provider_core_1.JsBridgeBase {
|
|
|
169
169
|
// TODO optimize
|
|
170
170
|
(0, entries_1.default)(this.ports).forEach(([portId, port]) => {
|
|
171
171
|
if (port.name === EXT_PORT_UI_TO_BG) {
|
|
172
|
-
console.log(`notify to ui port: ${portId}`);
|
|
173
172
|
// TODO check ports disconnected
|
|
174
173
|
this.requestSync({
|
|
175
174
|
data,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/extension-bridge-hosted",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"cross-inpage-provider"
|
|
6
6
|
],
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"start": "tsc --watch"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@onekeyfe/cross-inpage-provider-core": "2.0.0-alpha.
|
|
32
|
-
"@onekeyfe/cross-inpage-provider-types": "2.0.0-alpha.
|
|
31
|
+
"@onekeyfe/cross-inpage-provider-core": "2.0.0-alpha.2",
|
|
32
|
+
"@onekeyfe/cross-inpage-provider-types": "2.0.0-alpha.2",
|
|
33
33
|
"uuid": "^8.3.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/uuid": "^8.3.4"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "0792eb8ecafd6dfdf58d48cc7c6bc3f89a25cd21"
|
|
39
39
|
}
|