@openreplay/tracker 16.4.2-beta.3 → 16.4.2-beta.4

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/dist/cjs/entry.js CHANGED
@@ -4142,7 +4142,7 @@ async function parseUseEl(useElement, mode, domParser) {
4142
4142
  let [url, symbolId] = href.split('#');
4143
4143
  // happens if svg spritemap is local, fastest case for us
4144
4144
  if (!url && symbolId) {
4145
- const symbol = document.querySelector(href);
4145
+ const symbol = document.querySelector(CSS.escape(href));
4146
4146
  if (symbol) {
4147
4147
  const inlineSvg = `
4148
4148
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="${symbol.getAttribute('viewBox') || '0 0 24 24'}">
@@ -5267,7 +5267,7 @@ class App {
5267
5267
  this.stopCallbacks = [];
5268
5268
  this.commitCallbacks = [];
5269
5269
  this.activityState = ActivityState.NotActive;
5270
- this.version = '16.4.2-beta.3'; // TODO: version compatability check inside each plugin.
5270
+ this.version = '16.4.2-beta.4'; // TODO: version compatability check inside each plugin.
5271
5271
  this.socketMode = false;
5272
5272
  this.compressionThreshold = 24 * 1000;
5273
5273
  this.bc = null;
@@ -9647,7 +9647,7 @@ class API {
9647
9647
  this.signalStartIssue = (reason, missingApi) => {
9648
9648
  const doNotTrack = this.checkDoNotTrack();
9649
9649
  console.log("Tracker couldn't start due to:", JSON.stringify({
9650
- trackerVersion: '16.4.2-beta.3',
9650
+ trackerVersion: '16.4.2-beta.4',
9651
9651
  projectKey: this.options.projectKey,
9652
9652
  doNotTrack,
9653
9653
  reason: missingApi.length ? `missing api: ${missingApi.join(',')}` : reason,