@brainfish-ai/web-tracker 0.0.21-rc.1 → 0.0.21

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.
@@ -3586,6 +3586,8 @@ class TrackerSdk {
3586
3586
  if (payload.userId) {
3587
3587
  this.userId = payload.userId;
3588
3588
  this.flush();
3589
+ } else {
3590
+ console.warn("BrainfishWidgetWarn: `.identify` called without a userId. User identification requires a valid userId to be provided.");
3589
3591
  }
3590
3592
  const iframe = document.querySelector("#bf-iframe-container .trigger-iframe");
3591
3593
  if (iframe) {
@@ -38427,7 +38429,7 @@ function toCamelCase(str) {
38427
38429
  ($1) => $1.toUpperCase().replace("-", "").replace("_", "")
38428
38430
  );
38429
38431
  }
38430
- const VERSION = "0.0.21-rc.1";
38432
+ const VERSION = "0.0.21";
38431
38433
  class Tracker extends TrackerSdk {
38432
38434
  // 750KB
38433
38435
  constructor(options) {
Binary file