mirror of
https://github.com/MercuryWorkshop/bare-mux.git
synced 2025-05-16 07:30:01 -04:00
actually fix bare-mux types this time
This commit is contained in:
parent
223ad3d286
commit
31bae262e1
4 changed files with 14 additions and 19 deletions
1
index.js
1
index.js
|
@ -1 +0,0 @@
|
|||
"use strict";export*from"./BareTypes";export*from"./BareClient";export{WebSocketFields}from"./snapshot";
|
16
package.json
16
package.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mercuryworkshop/bare-mux",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"description": "",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
@ -8,18 +8,14 @@
|
|||
},
|
||||
"author": "",
|
||||
"main": "dist/index.cjs",
|
||||
"types": "dist/types.d.ts",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"require": "./lib/index.cjs",
|
||||
"import": "./lib/index.cjs"
|
||||
},
|
||||
"browser": {
|
||||
"import": "./dist/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
}
|
||||
}
|
||||
"require": "./dist/bare.cjs",
|
||||
"types": "./dist/index.d.ts"
|
||||
},
|
||||
"./node": "./lib/index.cjs"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
|
|
|
@ -4,3 +4,9 @@ export * from './Switcher';
|
|||
export * from './RemoteClient';
|
||||
export { BareClient as default } from './BareClient';
|
||||
export { WebSocketFields } from "./snapshot";
|
||||
|
||||
export type * from './BareTypes';
|
||||
export type * from './BareClient';
|
||||
export type * from './Switcher';
|
||||
export type * from './RemoteClient';
|
||||
export type * from "./snapshot";
|
|
@ -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";
|
Loading…
Add table
Add a link
Reference in a new issue