UNPKG
@honeypot-run/core
Version:
latest (0.2.71)
0.2.71
0.2.70
0.2.68
0.2.67
0.2.66
0.2.65
0.2.64
0.2.63
0.2.62
0.2.61
0.2.60
0.2.59
0.2.58
0.2.57
0.2.56
0.2.55
0.2.54
0.2.53
0.2.52
0.2.51
0.2.50
0.2.49
0.2.48
0.2.47
0.2.46
0.2.45
0.2.44
0.2.43
0.2.42
0.2.41
0.2.4
0.2.3
0.2.1
0.2.0
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Patented threat analytics and fingerprinting library. Requires a honeypot.run account
@honeypot-run/core
/
dist
/
esm
/
src
/
public
/
models
/
HoneypotBase.js
7 lines
(6 loc)
•
262 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
{ createAmplitudePlugin } from
'../plugins/AmplitudePlugin'
; export
class
HoneypotBase
{ amplitudePlugin(pluginConfig) {
return
createAmplitudePlugin(
this
.track.bind(
this
),
this
.
get
.bind(
this
),
this
.identify.bind(
this
), pluginConfig); } }