humanbehavior-js 0.0.2 → 0.0.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/esm/index.js CHANGED
@@ -4487,6 +4487,9 @@ var HumanBehaviorTracker = /** @class */ (function () {
4487
4487
  this.endUserId = null;
4488
4488
  this.initialized = false;
4489
4489
  this.initializationPromise = null;
4490
+ if (!apiKey) {
4491
+ throw new Error('Human Behavior apiKey is required');
4492
+ }
4490
4493
  this.api = new HumanBehaviorAPI({
4491
4494
  apiKey: apiKey,
4492
4495
  });