Browse Source

update deps, fix missing BLE config

pull/66/head
Sacha Weatherstone 4 years ago
parent
commit
5156a67fc4
No known key found for this signature in database GPG Key ID: 7AB2D7E206124B31
  1. 16
      package.json
  2. 554
      pnpm-lock.yaml
  3. 3
      src/core/stores/deviceStore.ts

16
package.json

@ -44,12 +44,12 @@
"react": "^18.2.0", "react": "^18.2.0",
"react-chartjs-2": "^5.0.1", "react-chartjs-2": "^5.0.1",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-hook-form": "^7.39.6", "react-hook-form": "^7.40.0",
"react-hot-toast": "^2.4.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-pretty": "^2.2.0",
"react-json-tree": "^0.17.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", "react-qrcode-logo": "^2.8.0",
"rfc4648": "^1.5.2", "rfc4648": "^1.5.2",
"zustand": "4.1.4" "zustand": "4.1.4"
@ -58,16 +58,16 @@
"@tailwindcss/forms": "^0.5.3", "@tailwindcss/forms": "^0.5.3",
"@types/chrome": "^0.0.203", "@types/chrome": "^0.0.203",
"@types/geodesy": "^2.2.3", "@types/geodesy": "^2.2.3",
"@types/node": "^18.11.9", "@types/node": "^18.11.10",
"@types/react": "^18.0.25", "@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9", "@types/react-dom": "^18.0.9",
"@types/w3c-web-serial": "^1.0.3", "@types/w3c-web-serial": "^1.0.3",
"@types/web-bluetooth": "^0.0.16", "@types/web-bluetooth": "^0.0.16",
"@typescript-eslint/eslint-plugin": "^5.44.0", "@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.44.0", "@typescript-eslint/parser": "^5.45.0",
"@vitejs/plugin-react": "^2.2.0", "@vitejs/plugin-react": "^2.2.0",
"autoprefixer": "^10.4.13", "autoprefixer": "^10.4.13",
"eslint": "^8.28.0", "eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0", "eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2", "eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0", "eslint-plugin-import": "^2.26.0",

554
pnpm-lock.yaml

File diff suppressed because it is too large

3
src/core/stores/deviceStore.ts

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

Loading…
Cancel
Save