update deps, fix missing BLE config

This commit is contained in:
Sacha Weatherstone
2022-12-03 14:19:29 +10:00
parent d43621ffe1
commit 5156a67fc4
3 changed files with 288 additions and 285 deletions

View File

@@ -44,12 +44,12 @@
"react": "^18.2.0",
"react-chartjs-2": "^5.0.1",
"react-dom": "^18.2.0",
"react-hook-form": "^7.39.6",
"react-hook-form": "^7.40.0",
"react-hot-toast": "^2.4.0",
"react-icons": "^4.6.0",
"react-icons": "^4.7.1",
"react-json-pretty": "^2.2.0",
"react-json-tree": "^0.17.0",
"react-map-gl": "^7.0.19",
"react-map-gl": "^7.0.20",
"react-qrcode-logo": "^2.8.0",
"rfc4648": "^1.5.2",
"zustand": "4.1.4"
@@ -58,16 +58,16 @@
"@tailwindcss/forms": "^0.5.3",
"@types/chrome": "^0.0.203",
"@types/geodesy": "^2.2.3",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@types/node": "^18.11.10",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@types/w3c-web-serial": "^1.0.3",
"@types/web-bluetooth": "^0.0.16",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vitejs/plugin-react": "^2.2.0",
"autoprefixer": "^10.4.13",
"eslint": "^8.28.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",

554
pnpm-lock.yaml generated
View File

File diff suppressed because it is too large Load Diff

View File

@@ -162,6 +162,9 @@ export const useDeviceStore = create<DeviceState>((set, get) => ({
config.payloadVariant.lora.region ===
Protobuf.Config_LoRaConfig_RegionCode.UNSET;
break;
case "bluetooth":
device.config.bluetooth = config.payloadVariant.bluetooth;
break;
}
}
})