0.0.29 • Published 12 months ago
@a24/events v0.0.29
usage example
// event.ts
import { Events } from '@a24/events';
const events = new Events();
events.init(url, debounced, timeout);
events.setUserId(id);
export default events;
// other.ts
import { EventData } from '@a24/events';
const data: EventData = {...}
events.send(data);
, where
url - is the server URL that will be used for the request
userId - user id's, required param, string
timeout - specifies the number of milliseconds before the request times out. If the request takes longer than `timeout`, the request will be aborted. default is 5000
debounced - debouce fetch, optional param, boolean, default true
data - event data, required param, type EventData,
0.0.26
12 months ago
0.0.27
12 months ago
0.0.28
12 months ago
0.0.29
12 months ago
0.0.25
3 years ago
0.0.24
3 years ago
0.0.23
3 years ago
0.0.22
3 years ago
0.0.21
3 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
3 years ago
0.0.17
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.1
3 years ago