fix tracker move batch debug to query param (#2052)
This commit is contained in:
parent
60483499ee
commit
bb09e59bf4
4 changed files with 6 additions and 3 deletions
Binary file not shown.
|
|
@ -1,3 +1,7 @@
|
|||
# 12.0.9
|
||||
|
||||
- moved logging to query
|
||||
|
||||
# 12.0.8
|
||||
|
||||
- better logging for network batches
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@openreplay/tracker",
|
||||
"description": "The OpenReplay tracker main package",
|
||||
"version": "12.0.8",
|
||||
"version": "12.0.9",
|
||||
"keywords": [
|
||||
"logging",
|
||||
"replay"
|
||||
|
|
|
|||
|
|
@ -90,7 +90,6 @@ export default class QueueSender {
|
|||
|
||||
const headers = {
|
||||
Authorization: `Bearer ${this.token as string}`,
|
||||
'X-Openreplay-Batch': `${this.pageNo ?? 'noPageNum'}_${batchNumStr ?? 'noBatchNum'}`,
|
||||
} as Record<string, string>
|
||||
|
||||
if (isCompressed) {
|
||||
|
|
@ -107,7 +106,7 @@ export default class QueueSender {
|
|||
return
|
||||
}
|
||||
|
||||
fetch(this.ingestURL, {
|
||||
fetch(`${this.ingestURL}?batch=${this.pageNo ?? 'noPageNum'}_${batchNumStr ?? 'noBatchNum'}`, {
|
||||
body: batch,
|
||||
method: 'POST',
|
||||
headers,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue