Updates
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\""
|
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@meshtastic/meshtasticjs": "^0.6.6",
|
"@meshtastic/meshtasticjs": "^0.6.9",
|
||||||
"add": "^2.0.6",
|
"add": "^2.0.6",
|
||||||
"react": "^17.0.0",
|
"react": "^17.0.0",
|
||||||
"react-dom": "^17.0.0",
|
"react-dom": "^17.0.0",
|
||||||
|
|||||||
+6
-8
@@ -78,7 +78,7 @@ const App = () => {
|
|||||||
setConnection(connection);
|
setConnection(connection);
|
||||||
// connection.connect(window.location.hostname, undefined, true);
|
// connection.connect(window.location.hostname, undefined, true);
|
||||||
connection.connect({
|
connection.connect({
|
||||||
address: '192.168.13.71',
|
address: '192.168.1.103',
|
||||||
receiveBatchRequests: false,
|
receiveBatchRequests: false,
|
||||||
tls: false,
|
tls: false,
|
||||||
fetchInterval: 2000,
|
fetchInterval: 2000,
|
||||||
@@ -124,13 +124,11 @@ const App = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
// case 'getChannelResponse':
|
case 'getChannelResponse':
|
||||||
// if (adminMessage.data.variant.getChannelResponse) {
|
if (adminMessage.data.variant.getChannelResponse) {
|
||||||
// setChannels((channels) => [
|
let message = adminMessage.data.variant.getChannelResponse;
|
||||||
// ...channels,
|
setChannels((channels) => [...channels, message]);
|
||||||
// adminMessage.data.variant.getChannelResponse,
|
}
|
||||||
// ]);
|
|
||||||
// }
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -213,10 +213,10 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
purgecss "^3.1.3"
|
purgecss "^3.1.3"
|
||||||
|
|
||||||
"@meshtastic/meshtasticjs@^0.6.6":
|
"@meshtastic/meshtasticjs@^0.6.9":
|
||||||
version "0.6.6"
|
version "0.6.9"
|
||||||
resolved "https://registry.yarnpkg.com/@meshtastic/meshtasticjs/-/meshtasticjs-0.6.6.tgz#e29aa995dd540512f5e46b0302553c6210da5ad5"
|
resolved "https://registry.yarnpkg.com/@meshtastic/meshtasticjs/-/meshtasticjs-0.6.9.tgz#41b3bad1fba2b1f0b1a2c86ed1f1db4907271a0b"
|
||||||
integrity sha512-g0YZaPsVbhRTTLMCoxXhEzYNcPmNmZTP4hWRwQZd6cgoJ+AHIH9g1aJ0q2x9JBGQyhjCnNvhab6LALCGuAAdKA==
|
integrity sha512-o62NzVMLejs5thdbu8YXXdZ523aOxPX6FWfw6noWTVbnLhYxvpltOtcOveI4iPMRk9JGid4KcwehBUvbQi4Sag==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@protobuf-ts/runtime" "^2.0.0-alpha.21"
|
"@protobuf-ts/runtime" "^2.0.0-alpha.21"
|
||||||
rxjs "^6.6.7"
|
rxjs "^6.6.7"
|
||||||
|
|||||||
Reference in New Issue
Block a user