The RUDP put handler and the browser payload reader decoded a codec document with plain msgpack. cultcache-ts now exports decodeDocumentPayload (definition or plain), the RUDP server reads a put through the registry's definition, and decodeCultNetPayload takes the formatter. cultmesh-ts and cultmesh-browser no longer depend on @msgpack/msgpack: frames and commands use cultnet-ts/wire, and a test per package scans src and the manifest. The envelope probe fixture now runs the plain record first and last. Not yet built or tested on this commit; the verify job follows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "cultmesh-browser",
|
|
"version": "0.3.0",
|
|
"description": "Browser-safe CultMesh document leases and typed operations over CultNet WebSocket transport.",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json",
|
|
"prepack": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json",
|
|
"typecheck": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json --pretty false",
|
|
"test": "node ../../node_modules/typescript/bin/tsc -p tsconfig.json && node ../../node_modules/typescript/bin/tsc -p tsconfig.test.json && node --test dist-test/test/*.test.js"
|
|
},
|
|
"keywords": [
|
|
"cultmesh",
|
|
"cultnet",
|
|
"browser",
|
|
"websocket",
|
|
"gamecult"
|
|
],
|
|
"author": "metacratic",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/GameCult/CultLib.git",
|
|
"directory": "packages/cultmesh-browser"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"dependencies": {
|
|
"cultnet-ts": "^0.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.0.0",
|
|
"typescript": "^5.9.0"
|
|
}
|
|
}
|