@obsrviq/tracker 0.4.2 → 0.6.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/dist/index.d.ts +3 -0
- package/dist/index.js +639 -103
- package/dist/index.js.map +1 -1
- package/dist/obsrviq.global.js +40 -40
- package/dist/obsrviq.global.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +49 -1
- package/src/mask.ts +127 -6
- package/src/network.ts +81 -17
- package/src/ratelimit.ts +24 -0
- package/src/recorder.ts +20 -1
- package/src/serialize.ts +63 -7
- package/src/transport.ts +357 -64
- package/src/util.ts +15 -1
- package/src/websocket.ts +143 -0
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,9 @@ declare class ObsrviqClient {
|
|
|
37
37
|
/** The current session id (null until init). */
|
|
38
38
|
get sessionId(): string | null;
|
|
39
39
|
init(config: ObsrviqInitConfig): void;
|
|
40
|
+
/** Fetch the per-site masking config (GET /v1/config) and merge its keys with any
|
|
41
|
+
* static ones. Best-effort: on failure the built-in masking still applies. */
|
|
42
|
+
private loadRemoteMaskKeys;
|
|
40
43
|
/** (Re)create the session id, clock, meta, and transport. Used by init() and
|
|
41
44
|
* reset(). Does not start recording — callers decide via maybeStart().
|
|
42
45
|
* @param seedInitUser seed identity from the init-time `cfg.userId`. True for
|