@hotlap.ai/telemetry 1.2.0 → 1.4.0
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/CONTRIBUTING.md +3 -3
- package/README.md +4 -2
- package/dist/cli.js +3 -3
- package/dist/{index-t4qz2011.js → index-ndbp3f5t.js} +194 -34
- package/dist/lap-points.d.ts +76 -0
- package/dist/lap-points.d.ts.map +1 -0
- package/dist/live.d.ts +34 -1
- package/dist/live.d.ts.map +1 -1
- package/dist/live.js +1 -1
- package/dist/neutral/lap-points.js +156 -0
- package/dist/telemetry-server.d.ts +100 -1
- package/dist/telemetry-server.d.ts.map +1 -1
- package/dist/telemetry-server.js +462 -126
- package/package.json +9 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hotlap.ai/telemetry",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "High-performance iRacing telemetry library for Bun - IBT file parsing and live data streaming",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
"import": "./dist/neutral/session-yaml.js",
|
|
33
33
|
"default": "./dist/neutral/session-yaml.js"
|
|
34
34
|
},
|
|
35
|
+
"./points": {
|
|
36
|
+
"types": "./dist/lap-points.d.ts",
|
|
37
|
+
"import": "./dist/neutral/lap-points.js",
|
|
38
|
+
"default": "./dist/neutral/lap-points.js"
|
|
39
|
+
},
|
|
35
40
|
"./live": {
|
|
36
41
|
"types": "./dist/live.d.ts",
|
|
37
42
|
"import": "./dist/live.js",
|
|
@@ -55,13 +60,15 @@
|
|
|
55
60
|
"scripts": {
|
|
56
61
|
"build": "bun run build:js && bun run build:types",
|
|
57
62
|
"build:js": "bun build ./src/index.ts ./src/ibt.ts ./src/live.ts ./src/constants.ts ./src/cli.ts ./src/telemetry-server.ts ./src/types.ts ./src/binary-reader.ts --outdir ./dist --target bun --splitting && bun run build:neutral",
|
|
58
|
-
"build:neutral": "bun build ./src/ibt.ts ./src/normalize.ts ./src/session-yaml.ts --outdir ./dist/neutral --target browser --splitting",
|
|
63
|
+
"build:neutral": "bun build ./src/ibt.ts ./src/normalize.ts ./src/session-yaml.ts ./src/lap-points.ts --outdir ./dist/neutral --target browser --splitting",
|
|
59
64
|
"build:types": "tsc --emitDeclarationOnly --declaration --declarationMap --outDir ./dist",
|
|
60
65
|
"build:server": "bun build ./src/telemetry-server.ts --compile --outfile ./dist/hotlap-telemetry",
|
|
66
|
+
"build:sidecar": "bun run build:server && bun run scripts/copy-sidecar.ts",
|
|
61
67
|
"clean": "rm -rf dist",
|
|
62
68
|
"dev": "bun --watch src/cli.ts",
|
|
63
69
|
"dashboard": "bun run examples/dashboard-server.ts",
|
|
64
70
|
"server": "bun run src/telemetry-server.ts",
|
|
71
|
+
"mock:overlays": "bun run scripts/mock-overlay-server.ts",
|
|
65
72
|
"typecheck": "tsc --noEmit",
|
|
66
73
|
"test": "bun test",
|
|
67
74
|
"fixtures:pull": "bun run scripts/fixtures-pull.ts",
|