actually fix bare-mux types this time

This commit is contained in:
Percs 2024-07-02 14:51:29 -05:00
parent 223ad3d286
commit 31bae262e1
4 changed files with 14 additions and 19 deletions

View file

@ -1 +0,0 @@
"use strict";export*from"./BareTypes";export*from"./BareClient";export{WebSocketFields}from"./snapshot";

View file

@ -1,6 +1,6 @@
{ {
"name": "@mercuryworkshop/bare-mux", "name": "@mercuryworkshop/bare-mux",
"version": "1.1.1", "version": "1.1.2",
"description": "", "description": "",
"type": "module", "type": "module",
"scripts": { "scripts": {
@ -8,18 +8,14 @@
}, },
"author": "", "author": "",
"main": "dist/index.cjs", "main": "dist/index.cjs",
"types": "dist/types.d.ts", "types": "dist/index.d.ts",
"exports": { "exports": {
".": { ".": {
"node": {
"require": "./lib/index.cjs",
"import": "./lib/index.cjs"
},
"browser": {
"import": "./dist/index.js", "import": "./dist/index.js",
"require": "./dist/index.cjs" "require": "./dist/bare.cjs",
} "types": "./dist/index.d.ts"
} },
"./node": "./lib/index.cjs"
}, },
"files": [ "files": [
"dist", "dist",

View file

@ -4,3 +4,9 @@ export * from './Switcher';
export * from './RemoteClient'; export * from './RemoteClient';
export { BareClient as default } from './BareClient'; export { BareClient as default } from './BareClient';
export { WebSocketFields } from "./snapshot"; export { WebSocketFields } from "./snapshot";
export type * from './BareTypes';
export type * from './BareClient';
export type * from './Switcher';
export type * from './RemoteClient';
export type * from "./snapshot";

View file

@ -1,6 +0,0 @@
export type * from './BareTypes';
export type * from './BareClient';
export type * from './Switcher';
export type * from './RemoteClient';
export type { BareClient as default } from './BareClient';
export type { WebSocketFields } from "./snapshot";