humanbehavior-js 0.0.2 → 0.0.3
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/index.js +3 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
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
|
});
|