@saasquatch/squatch-js 2.6.2-0 → 2.6.2

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/CHANGELOG.md CHANGED
@@ -7,8 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.6.2] - 2024-02-06
11
+
12
+ ### Added
13
+ - `sq:user-registration` event listener for Instant Access widgets to fire a Load Analytics API event on successful user registration within the widget.
14
+
10
15
  ## [2.6.1] - 2023-09-01
11
16
 
17
+ ### Fixed
18
+
12
19
  - Fix customElementRegistry error that occurs when multiple instances of squatchjs are loaded on the same page.
13
20
 
14
21
  ## [2.6.0] - 2023-08-23
@@ -832,7 +832,7 @@ class EmbedWidget extends Widget {
832
832
  this._loadEvent(_sqh);
833
833
 
834
834
  _log$7("loaded");
835
- } else {
835
+ } else if (frameDoc) {
836
836
  this._attachLoadEventListener(frameDoc, _sqh);
837
837
  }
838
838
  });