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";
|
|
20
package.json
20
package.json
|
@ -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": {
|
"import": "./dist/index.js",
|
||||||
"require": "./lib/index.cjs",
|
"require": "./dist/bare.cjs",
|
||||||
"import": "./lib/index.cjs"
|
"types": "./dist/index.d.ts"
|
||||||
},
|
},
|
||||||
"browser": {
|
"./node": "./lib/index.cjs"
|
||||||
"import": "./dist/index.js",
|
|
||||||
"require": "./dist/index.cjs"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
|
@ -37,4 +33,4 @@
|
||||||
"@types/uuid": "^9.0.8",
|
"@types/uuid": "^9.0.8",
|
||||||
"uuid": "^9.0.1"
|
"uuid": "^9.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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";
|
|
@ -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