@jx3box/jx3box-ui 2.4.11 → 2.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/single/thx.less +103 -94
- package/i18n/messages/en-US.js +1 -0
- package/i18n/messages/vi.js +1 -0
- package/i18n/messages/zh-CN.js +1 -0
- package/i18n/messages/zh-TW.js +1 -0
- package/package.json +2 -2
- package/src/interact/BoxcoinRecords.vue +14 -24
- package/tests/fixtures/analytics-dual-sink-v1.json +150 -0
- package/tests/traffic-analytics-contract.test.js +1 -1
|
@@ -125,131 +125,140 @@
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
// 打赏记录:宽屏对齐列,窄容器保留寄语与时间。
|
|
129
|
+
.w-boxcoin-records {
|
|
130
|
+
container-type: inline-size;
|
|
131
|
+
}
|
|
128
132
|
.w-boxcoin-records-list {
|
|
129
133
|
max-width: 960px;
|
|
130
|
-
border: 1px solid #eee;
|
|
131
134
|
margin: 0 auto;
|
|
132
|
-
border-radius: 6px;
|
|
133
135
|
overflow: hidden;
|
|
136
|
+
border: 1px solid #e9ebf0;
|
|
137
|
+
border-radius: 8px;
|
|
138
|
+
background: #fff;
|
|
134
139
|
|
|
135
140
|
.u-list {
|
|
136
|
-
|
|
137
|
-
.x(left);
|
|
138
|
-
margin: 0 auto;
|
|
141
|
+
margin: 0;
|
|
139
142
|
padding: 0;
|
|
143
|
+
list-style: none;
|
|
144
|
+
text-align: left;
|
|
140
145
|
}
|
|
141
146
|
.u-item {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
a {
|
|
153
|
-
color: var(--el-color-primary);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
.u-meta {
|
|
157
|
-
.db;
|
|
158
|
-
.fl;
|
|
147
|
+
display: grid;
|
|
148
|
+
grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr) 84px minmax(0, 1.4fr) 142px;
|
|
149
|
+
align-items: center;
|
|
150
|
+
gap: 12px;
|
|
151
|
+
padding: 10px 16px;
|
|
152
|
+
border-bottom: 1px solid #f0f1f5;
|
|
153
|
+
font-size: 13px;
|
|
154
|
+
line-height: 1.6;
|
|
155
|
+
&:last-child { border-bottom: 0; }
|
|
159
156
|
}
|
|
157
|
+
.u-meta { min-width: 0; }
|
|
160
158
|
.u-action {
|
|
161
|
-
|
|
162
|
-
.db;
|
|
163
|
-
padding-right: 10px;
|
|
164
|
-
.flex;
|
|
159
|
+
display: flex;
|
|
165
160
|
align-items: center;
|
|
166
161
|
justify-content: center;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
.auto(x);
|
|
171
|
-
}
|
|
172
|
-
.x;
|
|
162
|
+
i { display: flex; }
|
|
163
|
+
svg, img { display: block; width: 20px; height: 20px; }
|
|
164
|
+
.el-icon svg { width: 16px; height: 16px; }
|
|
173
165
|
}
|
|
174
166
|
.u-user {
|
|
175
|
-
|
|
176
|
-
.nobreak;
|
|
177
|
-
.flex;
|
|
167
|
+
display: flex;
|
|
178
168
|
align-items: center;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
&.u-default {
|
|
185
|
-
color: @color;
|
|
186
|
-
&:hover {
|
|
187
|
-
text-decoration: none;
|
|
188
|
-
}
|
|
189
|
-
}
|
|
169
|
+
gap: 6px;
|
|
170
|
+
color: #475569;
|
|
171
|
+
text-decoration: none;
|
|
172
|
+
span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
173
|
+
&[href]:hover { color: var(--el-color-primary); }
|
|
190
174
|
.u-user-avatar {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
175
|
+
flex: 0 0 24px;
|
|
176
|
+
width: 24px;
|
|
177
|
+
height: 24px;
|
|
178
|
+
border-radius: 50%;
|
|
179
|
+
object-fit: cover;
|
|
180
|
+
background: #f5f6f8;
|
|
195
181
|
}
|
|
196
182
|
}
|
|
197
|
-
.u-count {
|
|
198
|
-
.w(120px);
|
|
199
|
-
}
|
|
200
183
|
.u-head {
|
|
201
|
-
|
|
202
|
-
|
|
184
|
+
padding-top: 8px;
|
|
185
|
+
padding-bottom: 8px;
|
|
186
|
+
background: #f8f9fb;
|
|
187
|
+
color: #7b8798;
|
|
188
|
+
font-size: 12px;
|
|
189
|
+
font-weight: 500;
|
|
190
|
+
.u-user { color: inherit; }
|
|
203
191
|
}
|
|
204
192
|
.u-body {
|
|
193
|
+
&:hover { background: #fdfbfc; }
|
|
205
194
|
.u-count {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
color:
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
.nobreak;
|
|
214
|
-
.w(280px);
|
|
215
|
-
color: @color;
|
|
216
|
-
}
|
|
217
|
-
.u-delete {
|
|
218
|
-
.ml(20px);
|
|
219
|
-
color: #c00;
|
|
220
|
-
i {
|
|
221
|
-
.mr(3px);
|
|
222
|
-
}
|
|
223
|
-
.pointer;
|
|
224
|
-
&:hover {
|
|
225
|
-
color: #f00;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
.u-client {
|
|
229
|
-
color: @v4focus;
|
|
195
|
+
justify-self: start;
|
|
196
|
+
padding: 2px 8px;
|
|
197
|
+
border-radius: 4px;
|
|
198
|
+
background: #fff0f5;
|
|
199
|
+
color: #db5181;
|
|
200
|
+
font-variant-numeric: tabular-nums;
|
|
201
|
+
white-space: nowrap;
|
|
230
202
|
}
|
|
203
|
+
.u-remark { color: #596273; overflow-wrap: anywhere; white-space: pre-wrap; }
|
|
204
|
+
.u-time { color: #8b95a5; font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
205
|
+
}
|
|
206
|
+
.u-operations {
|
|
207
|
+
display: flex;
|
|
208
|
+
align-items: center;
|
|
209
|
+
justify-content: flex-end;
|
|
210
|
+
flex-wrap: wrap;
|
|
211
|
+
gap: 6px;
|
|
212
|
+
min-width: 0;
|
|
231
213
|
}
|
|
214
|
+
.u-client { color: #929aaa; font-size: 11px; overflow-wrap: anywhere; }
|
|
215
|
+
.u-delete {
|
|
216
|
+
padding: 3px 6px;
|
|
217
|
+
border: 0;
|
|
218
|
+
border-radius: 4px;
|
|
219
|
+
background: transparent;
|
|
220
|
+
color: #b76b73;
|
|
221
|
+
font: inherit;
|
|
222
|
+
font-size: 12px;
|
|
223
|
+
white-space: nowrap;
|
|
224
|
+
cursor: pointer;
|
|
225
|
+
&:hover { background: #fff0f0; color: #d94757; }
|
|
226
|
+
}
|
|
227
|
+
a:focus-visible, button:focus-visible { outline: 2px solid var(--el-color-primary); outline-offset: 2px; }
|
|
228
|
+
}
|
|
229
|
+
.w-boxcoin-records.is-admin .u-item {
|
|
230
|
+
grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr) 76px minmax(0, 1.2fr) 142px 90px;
|
|
231
|
+
column-gap: 10px;
|
|
232
232
|
}
|
|
233
233
|
.w-boxcoin-records-pages {
|
|
234
|
+
display: flex;
|
|
234
235
|
justify-content: center;
|
|
235
|
-
|
|
236
|
+
margin-top: 12px;
|
|
236
237
|
}
|
|
237
|
-
|
|
238
|
-
@media screen and (max-width: @phone) {
|
|
238
|
+
.boxcoin-records-compact() {
|
|
239
239
|
.w-boxcoin-records-list {
|
|
240
|
-
|
|
241
|
-
.u-
|
|
242
|
-
|
|
240
|
+
.u-head { display: none; }
|
|
241
|
+
.u-item.u-body {
|
|
242
|
+
grid-template-columns: 20px minmax(0, 1fr) auto;
|
|
243
|
+
gap: 8px;
|
|
244
|
+
padding: 12px;
|
|
243
245
|
}
|
|
244
|
-
.u-
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
.u-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
.u-remark {
|
|
252
|
-
.none;
|
|
246
|
+
.u-action { grid-column: 1; grid-row: 1; }
|
|
247
|
+
.u-participant { grid-column: 2; grid-row: 1; }
|
|
248
|
+
.u-count { grid-column: 3; grid-row: 1; }
|
|
249
|
+
.u-author {
|
|
250
|
+
grid-column: 2 / -1;
|
|
251
|
+
&::before { content: attr(data-label); flex-shrink: 0; color: #8b95a5; font-size: 12px; }
|
|
252
|
+
.u-user-avatar { flex-basis: 22px; width: 22px; height: 22px; }
|
|
253
253
|
}
|
|
254
|
+
.u-remark { grid-column: 2 / -1; }
|
|
255
|
+
.u-time { grid-column: 2 / -1; }
|
|
256
|
+
.u-operations { grid-column: 2 / -1; justify-content: flex-start; }
|
|
254
257
|
}
|
|
255
258
|
}
|
|
259
|
+
@container (max-width: 800px) {
|
|
260
|
+
.boxcoin-records-compact();
|
|
261
|
+
}
|
|
262
|
+
@media screen and (max-width: @phone) {
|
|
263
|
+
.boxcoin-records-compact();
|
|
264
|
+
}
|
package/i18n/messages/en-US.js
CHANGED
package/i18n/messages/vi.js
CHANGED
package/i18n/messages/zh-CN.js
CHANGED
package/i18n/messages/zh-TW.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jx3box/jx3box-ui",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.13",
|
|
4
4
|
"description": "JX3BOX Vue3 UI",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@element-plus/icons-vue": "^2.3.2",
|
|
37
|
-
"@jx3box/jx3box-common": "^9.5.
|
|
37
|
+
"@jx3box/jx3box-common": "^9.5.11",
|
|
38
38
|
"@jx3box/jx3box-data": "^3.9.9",
|
|
39
39
|
"@jx3box/jx3box-editor": "^3.2.13",
|
|
40
40
|
"@jx3box/jx3box-emotion": "^1.3.2",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="w-boxcoin-records" v-loading="loading">
|
|
2
|
+
<div class="w-boxcoin-records" :class="{ 'is-admin': isSuperAdmin }" v-loading="loading">
|
|
3
3
|
<div class="w-boxcoin-records-list" v-if="list && list.length">
|
|
4
4
|
<ul class="u-list">
|
|
5
5
|
<li class="u-item u-head">
|
|
6
6
|
<span class="u-meta u-action">
|
|
7
7
|
<el-icon><Trophy /></el-icon>
|
|
8
8
|
</span>
|
|
9
|
-
<span class="u-meta u-user">{{ $jx3boxT("jx3boxUi.boxcoinRecords.participant", "参与打赏") }}</span>
|
|
10
|
-
<span class="u-meta u-user">{{ $jx3boxT("jx3boxUi.boxcoinRecords.author", "收益作者") }}</span>
|
|
9
|
+
<span class="u-meta u-user u-participant">{{ $jx3boxT("jx3boxUi.boxcoinRecords.participant", "参与打赏") }}</span>
|
|
10
|
+
<span class="u-meta u-user u-author">{{ $jx3boxT("jx3boxUi.boxcoinRecords.author", "收益作者") }}</span>
|
|
11
11
|
<span class="u-meta u-count">{{ $jx3boxT("jx3boxUi.boxcoinRecords.boxcoin", "盒币") }}</span>
|
|
12
12
|
<span class="u-meta u-remark">{{ $jx3boxT("jx3boxUi.boxcoinRecords.remark", "寄语") }}</span>
|
|
13
|
-
<
|
|
13
|
+
<span class="u-meta u-time">{{ $jx3boxT("jx3boxUi.boxcoinRecords.time", "时间") }}</span>
|
|
14
14
|
</li>
|
|
15
15
|
<li v-for="(item, i) in list" :key="i" class="u-item u-body">
|
|
16
16
|
<span class="u-meta u-action">
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
</template>
|
|
23
23
|
</span>
|
|
24
24
|
<template v-if="item.ext_operate_user_info?.id == 1">
|
|
25
|
-
<span class="u-meta u-user u-default">
|
|
25
|
+
<span class="u-meta u-user u-participant u-default">
|
|
26
26
|
<img class="u-user-avatar" :src="showAvatar(item.ext_operate_user_info.avatar)" alt />
|
|
27
27
|
<span>{{ $jx3boxT("jx3boxUi.boxcoinRecords.system", "系统") }}</span>
|
|
28
28
|
</span>
|
|
29
29
|
</template>
|
|
30
|
-
<a v-else class="u-meta u-user" :href="authorLink(item.operate_user_id)" target="_blank">
|
|
30
|
+
<a v-else class="u-meta u-user u-participant" :href="authorLink(item.operate_user_id)" target="_blank">
|
|
31
31
|
<img class="u-user-avatar" :src="showAvatar(item.ext_operate_user_info.avatar)" alt />
|
|
32
|
-
<span>{{ item.ext_operate_user_info.display_name }}</span>
|
|
32
|
+
<span :title="item.ext_operate_user_info.display_name">{{ item.ext_operate_user_info.display_name }}</span>
|
|
33
33
|
</a>
|
|
34
|
-
<a class="u-meta u-user" :href="authorLink(item.user_id)" target="_blank">
|
|
34
|
+
<a class="u-meta u-user u-author" :data-label="$jx3boxT('jx3boxUi.boxcoinRecords.author', '收益作者')" :href="authorLink(item.user_id)" target="_blank">
|
|
35
35
|
<img class="u-user-avatar" :src="showAvatar(item.ext_user_info.avatar)" alt />
|
|
36
|
-
<span>{{ item.ext_user_info.display_name }}</span>
|
|
36
|
+
<span :title="item.ext_user_info.display_name">{{ item.ext_user_info.display_name }}</span>
|
|
37
37
|
</a>
|
|
38
38
|
<span class="u-meta u-count">
|
|
39
39
|
+
|
|
@@ -41,9 +41,11 @@
|
|
|
41
41
|
</span>
|
|
42
42
|
<span class="u-meta u-remark">{{ item.remark }}</span>
|
|
43
43
|
<time class="u-meta u-time">{{ showTime(item.created_at) }}</time>
|
|
44
|
-
<span class="u-
|
|
45
|
-
<
|
|
46
|
-
|
|
44
|
+
<span class="u-operations" v-if="isSuperAdmin">
|
|
45
|
+
<button type="button" class="u-delete" @click="recovery(item, i)">
|
|
46
|
+
{{ $jx3boxT("jx3boxUi.boxcoinRecords.revoke", "撤销") }}
|
|
47
|
+
</button>
|
|
48
|
+
<span class="u-client" v-if="item.client">({{ item.client }})</span>
|
|
47
49
|
</span>
|
|
48
50
|
</li>
|
|
49
51
|
</ul>
|
|
@@ -189,15 +191,3 @@ export default {
|
|
|
189
191
|
},
|
|
190
192
|
};
|
|
191
193
|
</script>
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
<style lang="less">
|
|
195
|
-
/* src/interact/BoxcoinRecords.vue */
|
|
196
|
-
.w-boxcoin-records-pages{
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
.flex(x);
|
|
201
|
-
margin-top:5px;
|
|
202
|
-
}
|
|
203
|
-
</style>
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fixture_version": "analytics-dual-sink-v1",
|
|
3
|
+
"privacy_assertions": {
|
|
4
|
+
"payload_fields_that_must_be_absent": [
|
|
5
|
+
"query",
|
|
6
|
+
"hash",
|
|
7
|
+
"full_url",
|
|
8
|
+
"fullPath",
|
|
9
|
+
"href",
|
|
10
|
+
"location"
|
|
11
|
+
],
|
|
12
|
+
"route_context_is_template_or_sanitized_path_only": true
|
|
13
|
+
},
|
|
14
|
+
"canonical_event": {
|
|
15
|
+
"schema_version": 1,
|
|
16
|
+
"event_id": "canonical-page-view-0001",
|
|
17
|
+
"instance_id": "instance-fixture-0001",
|
|
18
|
+
"session_id": "session-fixture-0001",
|
|
19
|
+
"sequence_no": 1,
|
|
20
|
+
"page_view_id": "page-view-fixture-0001",
|
|
21
|
+
"occurred_at": "2026-08-26T01:20:30.000Z",
|
|
22
|
+
"timezone_offset": -480,
|
|
23
|
+
"event_type": "page_view",
|
|
24
|
+
"event_name": "page_view",
|
|
25
|
+
"page_key": "index.home",
|
|
26
|
+
"route_name": "index",
|
|
27
|
+
"route_pattern": "/index/:section?",
|
|
28
|
+
"route_path": "/index",
|
|
29
|
+
"navigation_type": "router",
|
|
30
|
+
"is_entry": true,
|
|
31
|
+
"layout_version": "index-2026-08",
|
|
32
|
+
"public_target": {
|
|
33
|
+
"key": "section",
|
|
34
|
+
"type": "section",
|
|
35
|
+
"id": "home"
|
|
36
|
+
},
|
|
37
|
+
"product": "jx3box",
|
|
38
|
+
"project": "index",
|
|
39
|
+
"client": "web",
|
|
40
|
+
"surface": "pc_web",
|
|
41
|
+
"game_client": "std",
|
|
42
|
+
"platform": "web",
|
|
43
|
+
"domain": "www.jx3box.com",
|
|
44
|
+
"referrer_domain": "ref.example",
|
|
45
|
+
"display_mode": "browser",
|
|
46
|
+
"sample_rate": 1
|
|
47
|
+
},
|
|
48
|
+
"traffic_finalization": {
|
|
49
|
+
"duration_ms": 32000,
|
|
50
|
+
"is_exit": true
|
|
51
|
+
},
|
|
52
|
+
"tracking": {
|
|
53
|
+
"request": {
|
|
54
|
+
"schema_version": 1,
|
|
55
|
+
"sdk_version": "1.1.0",
|
|
56
|
+
"events": [
|
|
57
|
+
{
|
|
58
|
+
"schema_version": 1,
|
|
59
|
+
"event_id": "canonical-page-view-0001",
|
|
60
|
+
"instance_id": "instance-fixture-0001",
|
|
61
|
+
"session_id": "session-fixture-0001",
|
|
62
|
+
"sequence_no": 1,
|
|
63
|
+
"page_view_id": "page-view-fixture-0001",
|
|
64
|
+
"occurred_at": "2026-08-26T01:20:30.000Z",
|
|
65
|
+
"timezone_offset": -480,
|
|
66
|
+
"event_type": "page_view",
|
|
67
|
+
"event_name": "page_view",
|
|
68
|
+
"page_key": "index.home",
|
|
69
|
+
"route_name": "index",
|
|
70
|
+
"route_pattern": "/index/:section?",
|
|
71
|
+
"route_path": "/index",
|
|
72
|
+
"navigation_type": "router",
|
|
73
|
+
"is_entry": true,
|
|
74
|
+
"layout_version": "index-2026-08",
|
|
75
|
+
"public_target": {
|
|
76
|
+
"key": "section",
|
|
77
|
+
"type": "section",
|
|
78
|
+
"id": "home"
|
|
79
|
+
},
|
|
80
|
+
"product": "jx3box",
|
|
81
|
+
"project": "index",
|
|
82
|
+
"client": "web",
|
|
83
|
+
"surface": "pc_web",
|
|
84
|
+
"game_client": "std",
|
|
85
|
+
"platform": "web",
|
|
86
|
+
"domain": "www.jx3box.com",
|
|
87
|
+
"referrer_domain": "ref.example",
|
|
88
|
+
"display_mode": "browser",
|
|
89
|
+
"sample_rate": 1
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"response": {
|
|
94
|
+
"code": 0,
|
|
95
|
+
"data": {
|
|
96
|
+
"items": [
|
|
97
|
+
{
|
|
98
|
+
"event_id": "canonical-page-view-0001",
|
|
99
|
+
"status": "accepted"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"blocked": null,
|
|
103
|
+
"rule_version": "tracking-2026-08-26"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"traffic": {
|
|
108
|
+
"request": {
|
|
109
|
+
"instance_id": "instance-fixture-0001",
|
|
110
|
+
"session_id": "session-fixture-0001",
|
|
111
|
+
"surface": "pc_web",
|
|
112
|
+
"domain": "www.jx3box.com",
|
|
113
|
+
"game_client": "std",
|
|
114
|
+
"entry_source": {
|
|
115
|
+
"referrer": "https://ref.example/"
|
|
116
|
+
},
|
|
117
|
+
"events": [
|
|
118
|
+
{
|
|
119
|
+
"event_id": "canonical-page-view-0001",
|
|
120
|
+
"occurred_at": "2026-08-26T01:20:30.000Z",
|
|
121
|
+
"project": "index",
|
|
122
|
+
"path": "/index",
|
|
123
|
+
"route_pattern": "/index/:section?",
|
|
124
|
+
"page_key": "index.home",
|
|
125
|
+
"target": {
|
|
126
|
+
"type": "section",
|
|
127
|
+
"id": "home"
|
|
128
|
+
},
|
|
129
|
+
"sequence": 1,
|
|
130
|
+
"is_entry": true,
|
|
131
|
+
"is_exit": true,
|
|
132
|
+
"duration_ms": 32000
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"response": {
|
|
137
|
+
"code": 0,
|
|
138
|
+
"data": {
|
|
139
|
+
"items": [
|
|
140
|
+
{
|
|
141
|
+
"event_id": "canonical-page-view-0001",
|
|
142
|
+
"status": "duplicate"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"blocked": null,
|
|
146
|
+
"rule_version": "traffic-2026-08-26"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -18,7 +18,7 @@ require("@babel/register")({
|
|
|
18
18
|
const assert = require("node:assert/strict");
|
|
19
19
|
const fs = require("node:fs");
|
|
20
20
|
const { test } = require("node:test");
|
|
21
|
-
const fixture = require("
|
|
21
|
+
const fixture = require("./fixtures/analytics-dual-sink-v1.json");
|
|
22
22
|
const SHARED_ANALYTICS_QUEUE_STORAGE_KEY = "jx3box:analytics:queue:v1";
|
|
23
23
|
const { createEventQueue, createQueueStorage, createTrafficSink } = require("@jx3box/jx3box-common/js/analytics.js");
|
|
24
24
|
const {
|