mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
Add a JSON-RPC client, session-aware game queries, and generated offline locale data. Update research and stats overlays with cancellable single-flight polling and reconnect handling. Add 41 JavaScript regression tests, Python locale and formatting checks, and generation and validation documentation.
14 lines
461 B
JavaScript
14 lines
461 B
JavaScript
/**
|
|
* LiveStreamAssist browser client.
|
|
* Client: JSON-RPC WebSocket wrapper.
|
|
* GameQuery: production, research, and Dyson power helpers.
|
|
* GameText: offline locale names and DSP KMG formatting.
|
|
*/
|
|
(function (root, factory) {
|
|
var api = factory();
|
|
if (typeof module === "object" && module.exports) module.exports = api;
|
|
root.LiveStreamAssist = api;
|
|
})(typeof globalThis !== "undefined" ? globalThis : this, function () {
|
|
"use strict";
|
|
var ns = {};
|