Use noice-json-rpc for the extension to communicate with devtools
The Extension code has been refactored to have better type safety using
noice-json-rpc and the types provided by devtools-protocol.
Bug: 138433107
Change-Id: I6a14d155bca1f773d37e8c204406e3f107dfba58
diff --git a/ui/package-lock.json b/ui/package-lock.json
index c92b6a2..0f60e53 100644
--- a/ui/package-lock.json
+++ b/ui/package-lock.json
@@ -2288,6 +2288,11 @@
"integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=",
"dev": true
},
+ "events": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/events/-/events-3.0.0.tgz",
+ "integrity": "sha512-Dc381HFWJzEOhQ+d8pkNon++bk9h6cdAoAj4iE6Q4y6xgTzySWXlKn05/TVNpjnfRqi/X0EpJEJohPjNI3zpVA=="
+ },
"exec-sh": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.2.2.tgz",
@@ -5160,6 +5165,11 @@
}
}
},
+ "noice-json-rpc": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/noice-json-rpc/-/noice-json-rpc-1.2.0.tgz",
+ "integrity": "sha512-Wm+otW+drKzdqlSPoSwj34tUEq/Xj1gX6Cr2avrykvTW4IY7d3ngLmP+PErALzS0s9nYRokXvYDM54sbFvLlDA=="
+ },
"nopt": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",