MeMesh API Documentation - v2.8.10
Documentation
GitHub
Preparing search index...
sanitizeEvent
Function sanitizeEvent
sanitizeEvent
(
event
:
unknown
,
visited
?:
WeakSet
<
object
>
,
depth
?:
number
,
)
:
unknown
Sanitize a telemetry event
Removes banned fields
Hashes sensitive-looking strings
Truncates long strings
Handles circular references, null/undefined, and errors gracefully
Parameters
event
:
unknown
visited
:
WeakSet
<
object
>
= ...
depth
:
number
= 0
Returns
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
GitHub
MeMesh API Documentation - v2.8.10
Loading...
Sanitize a telemetry event