@epigraph/epigraph-std-lib 4.0.1-alpha → 4.0.2-alpha
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as SLL } from './single-linked-list.js';
|
|
2
|
+
import { AnalyticsEvent } from '../analytics-event-interface.ts';
|
|
2
3
|
declare const $queue: unique symbol;
|
|
3
4
|
declare const $size: unique symbol;
|
|
4
5
|
export default class Queue {
|
|
@@ -7,7 +8,7 @@ export default class Queue {
|
|
|
7
8
|
constructor();
|
|
8
9
|
get queue(): SLL;
|
|
9
10
|
get size(): number;
|
|
10
|
-
enqueue(data:
|
|
11
|
-
dequeue():
|
|
11
|
+
enqueue(data: AnalyticsEvent): void;
|
|
12
|
+
dequeue(): AnalyticsEvent;
|
|
12
13
|
}
|
|
13
14
|
export {};
|
|
@@ -46,10 +46,7 @@ class g {
|
|
|
46
46
|
event_label: t.label,
|
|
47
47
|
epg_event_tag: ""
|
|
48
48
|
};
|
|
49
|
-
if ("parameters" in t && (a
|
|
50
|
-
...a,
|
|
51
|
-
...t.parameters
|
|
52
|
-
}), JSON.stringify(a).length > 459)
|
|
49
|
+
if ("parameters" in t && Object.assign(a, t.parameters), JSON.stringify(a).length > 459)
|
|
53
50
|
try {
|
|
54
51
|
let s = await this.sendGA4LongParameters(a);
|
|
55
52
|
a = {
|