@@ -50,6 +50,10 @@ export function createEventParserComponent({ logs }: Pick<AppComponents, 'logs'>
50
50
userAddress : event . context . dcl_eth_address ,
51
51
sessionId : event . context . session_id ,
52
52
timestamp : event . sentAt ,
53
+ timestamps : {
54
+ receivedAt : new Date ( event . receivedAt ) . getTime ( ) ,
55
+ reportedAt : new Date ( event . timestamp ) . getTime ( )
56
+ } ,
53
57
realm : event . context . realm ,
54
58
parcel : {
55
59
isEmptyParcel : event . properties . is_empty_parcel ,
@@ -72,6 +76,10 @@ export function createEventParserComponent({ logs }: Pick<AppComponents, 'logs'>
72
76
userAddress : event . context . dcl_eth_address ,
73
77
sessionId : event . context . session_id ,
74
78
timestamp : event . sentAt ,
79
+ timestamps : {
80
+ receivedAt : new Date ( event . receivedAt ) . getTime ( ) ,
81
+ reportedAt : new Date ( event . timestamp ) . getTime ( )
82
+ } ,
75
83
realm : event . context . realm ,
76
84
emote : {
77
85
emoteIndex : event . properties . emote_index ,
@@ -94,6 +102,10 @@ export function createEventParserComponent({ logs }: Pick<AppComponents, 'logs'>
94
102
userAddress : event . context . dcl_eth_address ,
95
103
sessionId : event . context . session_id ,
96
104
timestamp : event . sentAt ,
105
+ timestamps : {
106
+ receivedAt : new Date ( event . receivedAt ) . getTime ( ) ,
107
+ reportedAt : new Date ( event . timestamp ) . getTime ( )
108
+ } ,
97
109
realm : event . context . realm ,
98
110
passport : {
99
111
receiver : event . properties . receiver_id
@@ -113,6 +125,10 @@ export function createEventParserComponent({ logs }: Pick<AppComponents, 'logs'>
113
125
userAddress : event . context . dcl_eth_address ,
114
126
sessionId : event . context . session_id ,
115
127
timestamp : event . sentAt ,
128
+ timestamps : {
129
+ receivedAt : new Date ( event . receivedAt ) . getTime ( ) ,
130
+ reportedAt : new Date ( event . timestamp ) . getTime ( )
131
+ } ,
116
132
realm : event . context . realm ,
117
133
distance : event . properties . distance ,
118
134
stepCount : event . properties . step_count
@@ -131,6 +147,10 @@ export function createEventParserComponent({ logs }: Pick<AppComponents, 'logs'>
131
147
userAddress : event . context . dcl_eth_address ,
132
148
sessionId : event . context . session_id ,
133
149
timestamp : event . sentAt ,
150
+ timestamps : {
151
+ receivedAt : new Date ( event . receivedAt ) . getTime ( ) ,
152
+ reportedAt : new Date ( event . timestamp ) . getTime ( )
153
+ } ,
134
154
realm : event . context . realm ,
135
155
height : event . properties . height
136
156
}
0 commit comments