update meshtastic.js package version

This commit is contained in:
Sacha Weatherstone
2023-12-26 22:16:45 +10:00
parent dcab2c33d0
commit a4a5061171
54 changed files with 455 additions and 466 deletions
+5 -3
View File
@@ -2,7 +2,7 @@ import type { ChannelValidation } from "@app/validation/channel.js";
import { DynamicForm } from "@components/Form/DynamicForm.js";
import { useToast } from "@core/hooks/useToast.js";
import { useDevice } from "@core/stores/deviceStore.js";
import { Protobuf } from "@meshtastic/meshtasticjs";
import { Protobuf } from "@meshtastic/js";
import { fromByteArray, toByteArray } from "base64-js";
export interface SettingsPanelProps {
@@ -52,7 +52,8 @@ export const Channel = ({ channel }: SettingsPanelProps): JSX.Element => {
type: "select",
name: "role",
label: "Role",
description: "Device telemetry is sent over PRIMARY. Only one PRIMARY allowed",
description:
"Device telemetry is sent over PRIMARY. Only one PRIMARY allowed",
properties: {
enumValue: Protobuf.Channel_Role,
},
@@ -70,7 +71,8 @@ export const Channel = ({ channel }: SettingsPanelProps): JSX.Element => {
type: "text",
name: "settings.name",
label: "Name",
description: "A unique name for the channel <12 bytes, leave blank for default",
description:
"A unique name for the channel <12 bytes, leave blank for default",
},
{
type: "toggle",