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/cjs/index.js
CHANGED
|
@@ -4491,6 +4491,9 @@ var HumanBehaviorTracker = /** @class */ (function () {
|
|
|
4491
4491
|
this.endUserId = null;
|
|
4492
4492
|
this.initialized = false;
|
|
4493
4493
|
this.initializationPromise = null;
|
|
4494
|
+
if (!apiKey) {
|
|
4495
|
+
throw new Error('Human Behavior apiKey is required');
|
|
4496
|
+
}
|
|
4494
4497
|
this.api = new HumanBehaviorAPI({
|
|
4495
4498
|
apiKey: apiKey,
|
|
4496
4499
|
});
|