From c52ec1dc43b509424c209a49f315f8418c88681a Mon Sep 17 00:00:00 2001 From: maze Date: Tue, 10 Mar 2026 18:39:32 +0100 Subject: [PATCH] Updated package name to include org --- package.json | 4 ++-- src/index.ts | 21 +++++++++++++++------ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 06af2f8..846aae1 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "meshcore", + "name": "@hamradio/meshcore", "version": "1.1.1", "description": "MeshCore protocol support for Typescript", "keywords": [ @@ -9,7 +9,7 @@ ], "repository": { "type": "git", - "url": "git+https://git.maze.io/ham/meshcore.js" + "url": "https://git.maze.io/ham/meshcore.js" }, "license": "MIT", "author": "Wijnand Modderman-Lenstra", diff --git a/src/index.ts b/src/index.ts index 4e883e8..2b201a6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,11 +1,20 @@ export * from './identity'; -export * from './identity.types'; -export type * from './identity.types'; +import * as identityTypes from './identity.types'; +import type * as identityTypesTypes from './identity.types'; export * from './crypto'; -export * from './crypto.types'; -export type * from './crypto.types'; +import * as cryptoTypes from './crypto.types'; +import type * as cryptoTypesTypes from './crypto.types'; export * from './packet'; -export * from './packet.types'; -export type * from './packet.types'; +import * as packetTypes from './packet.types'; +import type * as packetTypesTypes from './packet.types'; + +export type { + identityTypes, + identityTypesTypes, + cryptoTypes, + cryptoTypesTypes, + packetTypes, + packetTypesTypes +};