Expand description
Non-engine browser bindings published in the wowlab-common npm package.
ModulesΒ§
- analytics π
- crypto π
- dto π
- Per-export DTO wrappers for the wasm boundary; only
parcelneeds them, since its canonical types stay free oftsify. - markdown π
- numeric π
- Explicit conversions at the JavaScript
NumberDTO boundary. - parcel π
- Parcel codec WASM bindings; stateless function API where each call takes a
ParcelConfigDtoplus the input. - parsing π
- permutations π
- scaling π
- sim_
config π
StructsΒ§
- Parcel
Config Dto - Parcel
Decode Meta Dto - Parcel
Decoded Dto - Parcel
Limits Dto - Result
Export Dto - Result
Item Dto - Wasm
Analytics Error - Analytics failure converted to a named JavaScript error at the export boundary.
- Wasm
Analyze Result - WASM-exposed result of analyzing a spell description: dependencies + parse errors.
- Wasm
Crypto Error - Node-authentication crypto failure converted at the JavaScript boundary.
- Wasm
Markdown Doc - Wasm
Markdown Table - Wasm
SimConfig Error - Simulation-configuration failure converted to a named JavaScript error at the export boundary.
EnumsΒ§
- Export
Kind Dto - Wasm
Common Error - Typed error that converts to a JS
Errorwith anameproperty. - Wasm
Parcel Error - Wasm
Parsing Error
FunctionsΒ§
- wasm_
analyze_ spell_ desc - Analyze a spell description and return its data dependencies.
- wasm_
build_ permutation_ space - wasm_
build_ sentinel_ config - Build a TOML sentinel config string from a JS object.
- wasm_
build_ sign_ message - wasm_
build_ sign_ message_ bytes - wasm_
build_ sim_ config - Build a TOML sim config string from a JS object.
- wasm_
build_ space_ for_ selection - wasm_
compute_ chart_ overlay - wasm_
compute_ cost_ analysis - wasm_
compute_ scatter_ overlay - wasm_
compute_ timeline_ metrics - wasm_
decode_ and_ derive - Decode
ResultViewV1+TimelineViewV1and deriveAnalyticsView. - wasm_
decode_ job_ result - Decode the
JobResult+JobTimelineenvelope and return a tagged view. - wasm_
decode_ loadout - wasm_
encode_ minimal_ loadout - Encode a minimal loadout string for a spec with no talent selections.
- wasm_
extract_ spec_ id_ from_ loadout - wasm_
generate_ node_ keypair - Generate a new node keypair. Returns
{ privateKey, publicKey }. - wasm_
generate_ permutation_ rows - Generate permutation rows (item IDs per contested slot) for indices 0..limit.
- wasm_
pan_ timeline_ by - wasm_
parcel_ decode - wasm_
parcel_ decode_ result_ export - wasm_
parcel_ default_ limits - wasm_
parcel_ encode - Encode raw payload bytes into a parcel envelope (
contentTypenull uses the codec default). - wasm_
parcel_ encode_ result_ export - wasm_
parcel_ inspect - Render the inspect summary; a malformed envelope yields a string starting with
LibParcel inspect: ERR_.... - wasm_
parcel_ result_ export_ prefix - wasm_
parse_ implemented_ specs - Parse and validate engine
getImplementedSpecs()payload. - wasm_
parse_ job_ meta - wasm_
parse_ simc - wasm_
parse_ spell_ desc - wasm_
render_ global_ string - wasm_
render_ spell_ desc_ with_ data - Render a spell description against a resolved character bundle into structured fragments.
- wasm_
resolve_ item - wasm_
sha256_ hex - wasm_
sign_ message - Sign a message with a base64-encoded private key. Returns signature as base64.
- wasm_
tokenize_ spell_ desc - Tokenize a spell description into fragments for debug display.
- wasm_
tournament_ payload - wasm_
verify_ signature - wasm_
zoom_ timeline_ at - Compute the new viewport after a cursor-anchored zoom step (
local_xis pixels from the trackβs left edge).