update meshtastic.js package version

This commit is contained in:
Sacha Weatherstone 2023-12-26 22:17:57 +10:00
parent 3b5df5b376
commit 98f8791e18
No known key found for this signature in database
6 changed files with 11 additions and 11 deletions

View file

@ -7,7 +7,7 @@ sidebar_label: Connecting
```tsx ```tsx
import type React from "React"; import type React from "React";
import { IHTTPConnection } from "@meshtastic/meshtasticjs"; import { IHTTPConnection } from "@meshtastic/js";
export const Connection = (): JSX.Element => { export const Connection = (): JSX.Element => {
const connection = new IHTTPConnection(); const connection = new IHTTPConnection();

View file

@ -14,7 +14,7 @@ import {
Types, Types,
Protobuf, Protobuf,
SettingsManager SettingsManager
} from "@meshtastic/meshtasticjs"; } from "@meshtastic/js";
/** /**
* Connection method * Connection method

View file

@ -20,7 +20,7 @@
"@docusaurus/theme-mermaid": "3.0.1", "@docusaurus/theme-mermaid": "3.0.1",
"@heroicons/react": "^2.1.1", "@heroicons/react": "^2.1.1",
"@mdx-js/react": "^3.0.0", "@mdx-js/react": "^3.0.0",
"@meshtastic/meshtasticjs": "2.2.16-0", "@meshtastic/js": "2.2.16-0",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"base64-js": "^1.5.1", "base64-js": "^1.5.1",
"clsx": "^2.0.0", "clsx": "^2.0.0",

View file

@ -29,7 +29,7 @@ dependencies:
'@mdx-js/react': '@mdx-js/react':
specifier: ^3.0.0 specifier: ^3.0.0
version: 3.0.0(@types/react@18.2.45)(react@18.2.0) version: 3.0.0(@types/react@18.2.45)(react@18.2.0)
'@meshtastic/meshtasticjs': '@meshtastic/js':
specifier: 2.2.16-0 specifier: 2.2.16-0
version: 2.2.16-0 version: 2.2.16-0
autoprefixer: autoprefixer:
@ -1586,8 +1586,8 @@ packages:
resolution: {integrity: sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bow7OIQwYYaHjk9XlBQ2A==} resolution: {integrity: sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bow7OIQwYYaHjk9XlBQ2A==}
dev: false dev: false
/@buf/meshtastic_protobufs.bufbuild_es@1.6.0-20231206215336-8002ce9b3c7a.1(@bufbuild/protobuf@1.6.0): /@buf/meshtastic_protobufs.bufbuild_es@1.6.0-20231217172755-5fd2f2d6c2a0.1(@bufbuild/protobuf@1.6.0):
resolution: {tarball: https://buf.build/gen/npm/v1/@buf/meshtastic_protobufs.bufbuild_es/-/meshtastic_protobufs.bufbuild_es-1.6.0-20231206215336-8002ce9b3c7a.1.tgz} resolution: {tarball: https://buf.build/gen/npm/v1/@buf/meshtastic_protobufs.bufbuild_es/-/meshtastic_protobufs.bufbuild_es-1.6.0-20231217172755-5fd2f2d6c2a0.1.tgz}
peerDependencies: peerDependencies:
'@bufbuild/protobuf': ^1.6.0 '@bufbuild/protobuf': ^1.6.0
dependencies: dependencies:
@ -2556,10 +2556,10 @@ packages:
react: 18.2.0 react: 18.2.0
dev: false dev: false
/@meshtastic/meshtasticjs@2.2.16-0: /@meshtastic/js@2.2.16-0:
resolution: {integrity: sha512-s1KdXxMmgtvu3NMoEy4U0WJPACTJrQ0JbhSjOm9s2AhMnb6496YQr8DYlhuzo6MhdLTEe3asGXncxoKcdWGqQQ==} resolution: {integrity: sha512-uwo6ODtHr+x5HSrSkMcUsqW3DC75ANfqby2N7dKMJ1xnoU7G9NPbrHAGm8xMv0N6QR+118yWSLbx3HSvVIsN8w==}
dependencies: dependencies:
'@buf/meshtastic_protobufs.bufbuild_es': 1.6.0-20231206215336-8002ce9b3c7a.1(@bufbuild/protobuf@1.6.0) '@buf/meshtastic_protobufs.bufbuild_es': 1.6.0-20231217172755-5fd2f2d6c2a0.1(@bufbuild/protobuf@1.6.0)
'@bufbuild/protobuf': 1.6.0 '@bufbuild/protobuf': 1.6.0
crc: 4.3.2 crc: 4.3.2
sub-events: 1.9.0 sub-events: 1.9.0

View file

@ -1,4 +1,4 @@
import { Protobuf, Types } from "@meshtastic/meshtasticjs"; import { Protobuf, Types } from "@meshtastic/js";
import React, { useEffect } from "react"; import React, { useEffect } from "react";
interface Region { interface Region {

View file

@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react";
import { fromByteArray, toByteArray } from "base64-js"; import { fromByteArray, toByteArray } from "base64-js";
import { Protobuf } from "@meshtastic/meshtasticjs"; import { Protobuf } from "@meshtastic/js";
import Layout from "@theme/Layout"; import Layout from "@theme/Layout";
const OEM = (): JSX.Element => { const OEM = (): JSX.Element => {