fix (tracker): projectKey type correction
This commit is contained in:
parent
debf13ff99
commit
503bfeda43
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@openreplay/tracker",
|
||||
"description": "The OpenReplay tracker main package",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"keywords": [
|
||||
"logging",
|
||||
"replay"
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ function processOptions(obj: any): obj is Options {
|
|||
}
|
||||
} else {
|
||||
console.warn("OpenReplay: projectKey is expected to have a string type.")
|
||||
obj.projectKey = obj.projectID.toString()
|
||||
obj.projectKey = obj.projectKey.toString()
|
||||
}
|
||||
}
|
||||
if (typeof obj.sessionToken !== 'string' && obj.sessionToken != null) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue