Export everything and all types

This commit is contained in:
2026-03-10 18:04:56 +01:00
parent 218042f552
commit 7eca26a2b2
2 changed files with 9 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "meshcore",
"version": "1.0.0",
"version": "1.1.0",
"description": "MeshCore protocol support for Typescript",
"keywords": [
"MeshCore",
@@ -21,9 +21,9 @@
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
"require": "./dist/index.js"
}
},
"scripts": {

View File

@@ -1,13 +1,9 @@
export * as types from './packet.types';
export * from './parser';
export * from './identity';
export { Packet } from './packet';
export * from './identity.types';
export type * from './identity.types';
import { Packet as _Packet } from './packet';
import { RouteType, PayloadType } from './packet.types';
export * from './crypto';
export type * from './crypto.types';
export default {
Packet: _Packet,
RouteType,
PayloadType,
};
export * from './packet';
export type * from './packet.types';