Skip to content

Commit

Permalink
Fix timestamp fields types (closes #30)
Browse files Browse the repository at this point in the history
  • Loading branch information
dokmic committed Oct 10, 2021
1 parent 6067ea9 commit c207504
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "snowplow-analytics-sdk",
"version": "0.3.0",
"version": "0.3.1",
"description": "Snowplow JavaScript and TypeScript Analytics SDK",
"keywords": [
"snowplow",
Expand Down
14 changes: 7 additions & 7 deletions src/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
export interface Event {
app_id: string;
platform: string;
etl_tstamp: number;
collector_tstamp: number;
dvce_created_tstamp: number;
etl_tstamp: string;
collector_tstamp: string;
dvce_created_tstamp: string;
event: string;
event_id: string;
txn_id: number;
Expand Down Expand Up @@ -135,16 +135,16 @@ export interface Event {
mkt_clickid: string;
mkt_network: string;
etl_tags: string;
dvce_sent_tstamp: number;
dvce_sent_tstamp: string;
refr_domain_userid: string;
refr_dvce_tstamp: number;
refr_dvce_tstamp: string;
derived_contexts: unknown;
domain_sessionid: string;
derived_tstamp: number;
derived_tstamp: string;
event_vendor: string;
event_name: string;
event_format: string;
event_version: string;
event_fingerprint: string;
true_tstamp: number;
true_tstamp: string;
}

0 comments on commit c207504

Please sign in to comment.