@laplace.live/ws 7.1.0 → 7.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This project is based on [bilibili-live-ws](https://github.com/simon300000/bilib
|
|
|
8
8
|
- Uses web-standard `EventTarget`/`Event` instead of Node.js `EventEmitter` polyfills
|
|
9
9
|
- Uses native `WebSocket` API directly, removing `isomorphic-ws` and `ws` dependencies
|
|
10
10
|
- No `Buffer` polyfills
|
|
11
|
-
- Typed `addEventListener` via `LiveEventMap` with
|
|
11
|
+
- Typed `addEventListener` via `LiveEventMap` with `@laplace.live/internal` types
|
|
12
12
|
- Conditional `exports` field with `./server`, `./client`, `./browser` sub-path exports
|
|
13
13
|
|
|
14
14
|
## Install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@laplace.live/ws",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.4",
|
|
4
4
|
"description": "Bilibili Live WebSocket/TCP API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -35,7 +35,9 @@
|
|
|
35
35
|
"build": "tsup",
|
|
36
36
|
"check": "tsc --noEmit",
|
|
37
37
|
"test": "bun test --timeout 5000",
|
|
38
|
-
"prepublishOnly": "bun run build"
|
|
38
|
+
"prepublishOnly": "bun run build",
|
|
39
|
+
"release": "changeset publish",
|
|
40
|
+
"version": "changeset version"
|
|
39
41
|
},
|
|
40
42
|
"repository": {
|
|
41
43
|
"type": "git",
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
},
|
|
66
68
|
"devDependencies": {
|
|
67
69
|
"@biomejs/biome": "^2.4.6",
|
|
70
|
+
"@changesets/cli": "^2.30.0",
|
|
68
71
|
"@types/bun": "^1.3.10",
|
|
69
72
|
"@types/pako": "^2.0.4",
|
|
70
73
|
"tsup": "^8.5.1",
|