diff --git a/docs/development/js/connecting.mdx b/docs/development/js/connecting.mdx index 0a3e99dd..37e9503d 100644 --- a/docs/development/js/connecting.mdx +++ b/docs/development/js/connecting.mdx @@ -7,7 +7,7 @@ sidebar_label: Connecting ```tsx import type React from "React"; -import { IHTTPConnection } from "@meshtastic/meshtasticjs"; +import { IHTTPConnection } from "@meshtastic/js"; export const Connection = (): JSX.Element => { const connection = new IHTTPConnection(); diff --git a/docs/development/js/http-api.mdx b/docs/development/js/http-api.mdx index d8584390..a8a0d3a3 100644 --- a/docs/development/js/http-api.mdx +++ b/docs/development/js/http-api.mdx @@ -14,7 +14,7 @@ import { Types, Protobuf, SettingsManager -} from "@meshtastic/meshtasticjs"; +} from "@meshtastic/js"; /** * Connection method diff --git a/package.json b/package.json index 522ddbbb..2cb27d23 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@docusaurus/theme-mermaid": "3.0.1", "@heroicons/react": "^2.1.1", "@mdx-js/react": "^3.0.0", - "@meshtastic/meshtasticjs": "2.2.16-0", + "@meshtastic/js": "2.2.16-0", "autoprefixer": "^10.4.16", "base64-js": "^1.5.1", "clsx": "^2.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f994204f..b7abd670 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -29,7 +29,7 @@ dependencies: '@mdx-js/react': specifier: ^3.0.0 version: 3.0.0(@types/react@18.2.45)(react@18.2.0) - '@meshtastic/meshtasticjs': + '@meshtastic/js': specifier: 2.2.16-0 version: 2.2.16-0 autoprefixer: @@ -1586,8 +1586,8 @@ packages: resolution: {integrity: sha512-s3jaWicZd0pkP0jf5ysyHUI/RE7MHos6qlToFcGWXVp+ykHOy77OUMrfbgJ9it2C5bow7OIQwYYaHjk9XlBQ2A==} dev: false - /@buf/meshtastic_protobufs.bufbuild_es@1.6.0-20231206215336-8002ce9b3c7a.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} + /@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-20231217172755-5fd2f2d6c2a0.1.tgz} peerDependencies: '@bufbuild/protobuf': ^1.6.0 dependencies: @@ -2556,10 +2556,10 @@ packages: react: 18.2.0 dev: false - /@meshtastic/meshtasticjs@2.2.16-0: - resolution: {integrity: sha512-s1KdXxMmgtvu3NMoEy4U0WJPACTJrQ0JbhSjOm9s2AhMnb6496YQr8DYlhuzo6MhdLTEe3asGXncxoKcdWGqQQ==} + /@meshtastic/js@2.2.16-0: + resolution: {integrity: sha512-uwo6ODtHr+x5HSrSkMcUsqW3DC75ANfqby2N7dKMJ1xnoU7G9NPbrHAGm8xMv0N6QR+118yWSLbx3HSvVIsN8w==} 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 crc: 4.3.2 sub-events: 1.9.0 diff --git a/src/components/tools/FrequencyCalculator.tsx b/src/components/tools/FrequencyCalculator.tsx index db618ed4..04fc2444 100644 --- a/src/components/tools/FrequencyCalculator.tsx +++ b/src/components/tools/FrequencyCalculator.tsx @@ -1,4 +1,4 @@ -import { Protobuf, Types } from "@meshtastic/meshtasticjs"; +import { Protobuf, Types } from "@meshtastic/js"; import React, { useEffect } from "react"; interface Region { diff --git a/src/pages/tools/OEM.tsx b/src/pages/tools/OEM.tsx index 1d304482..a2eb679a 100644 --- a/src/pages/tools/OEM.tsx +++ b/src/pages/tools/OEM.tsx @@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react"; import { fromByteArray, toByteArray } from "base64-js"; -import { Protobuf } from "@meshtastic/meshtasticjs"; +import { Protobuf } from "@meshtastic/js"; import Layout from "@theme/Layout"; const OEM = (): JSX.Element => {