UNPKG
@s4e/jsentinel
Version:
beta (0.2.0-beta.2)
latest (0.4.3)
0.4.3
0.4.2
0.4.1
0.4.0
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0-beta.2
0.1.0-beta.1
0.0.32
0.0.3
Script integrity and clipboard tamper detection for browsers.
@s4e/jsentinel
/
dist
/
core
/
events.d.ts
4 lines
(3 loc)
•
233 B
TypeScript
View Raw
1
2
3
4
import
type
{
JSentinelMessage
,
JSentinelReason
}
from
"../types"
;
export
declare
function
emit
(
message
:
JSentinelMessage
):
void
;
export
declare
function
emitSafeTamper
(
reason
:
JSentinelReason
,
meta
?:
Record
<
string
,
unknown
>
):
void
;