Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

- Fix (`@grafana/faro-web-sdk`): Fixed an issue where custom severity and custom trigger properties
were not being included in user action attributes (#1551)
- Fix (`@grafana/faro-web-sdk`): Fixed an error when `initializeFaro` is called without any window
object present (#1643)

## 2.0.0.beta-2

Expand Down
2 changes: 1 addition & 1 deletion packages/web-sdk/src/config/makeCoreConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function createDefaultMetas(browserConfig: BrowserConfig): MetaItem[] {
...(browserConfig.metas ?? []),
];

const isK6BrowserSession = isObject((window as any).k6);
const isK6BrowserSession = isObject((window as any)?.k6);
if (isK6BrowserSession) {
return [...initialMetas, k6Meta];
}
Expand Down
Loading