@saasquatch/squatch-js 2.8.2 → 2.8.3-1
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 +23 -3
- package/coverage/clover.xml +630 -593
- package/coverage/coverage-final.json +22 -20
- package/coverage/lcov.info +1087 -997
- package/dist/squatch.cjs.js +288 -2160
- package/dist/squatch.cjs.js.map +1 -1
- package/dist/squatch.esm.js +1131 -1556
- package/dist/squatch.esm.js.map +1 -1
- package/dist/squatch.js +285 -2161
- package/dist/squatch.js.map +1 -1
- package/dist/squatch.min.js +4 -5
- package/dist/types.d.ts +134 -1
- package/dist/utils/logger.d.ts +23 -0
- package/dist/widgets/PopupWidget.d.ts +3 -2
- package/dist/widgets/SkeletonTemplate.d.ts +11 -0
- package/dist/widgets/Widget.d.ts +12 -0
- package/dist/widgets/declarative/DeclarativeWidget.d.ts +4 -0
- package/dist/widgets/declarative/DeclarativeWidgets.d.ts +0 -6
- package/package.json +1 -3
- package/vite.config.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.8.3] - 2026-03-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Preconnect and dns-prefetch resource hints for Cloudinary and Google Fonts to improve widget load performance
|
|
15
|
+
- Initial height support from `brandingConfig.loadingHeight` for both embed and popup widgets
|
|
16
|
+
- Loading skeleton displayed in declarative widgets while widget content loads
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Replaced `debug` npm package with lightweight custom logger (~4-5KB bundle savings)
|
|
21
|
+
- Switched from `resize-observer-polyfill` to native `ResizeObserver`
|
|
22
|
+
- Enabled esbuild minification in Vite build config
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- Fixed `brandingConfig` being undefined for passwordless widgets in `Widgets.render()`
|
|
27
|
+
- Fixed popup widget `_createPopupDialog` to accept brandingConfig as parameter
|
|
28
|
+
|
|
10
29
|
## [2.8.2] - 2026-03-16
|
|
11
30
|
|
|
12
31
|
### Fixed
|
|
@@ -393,9 +412,10 @@ No release notes.
|
|
|
393
412
|
|
|
394
413
|
No release notes.
|
|
395
414
|
|
|
396
|
-
[unreleased]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.
|
|
397
|
-
[2.8.
|
|
398
|
-
[2.8.
|
|
415
|
+
[unreleased]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.3...HEAD
|
|
416
|
+
[2.8.3]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.2...@saasquatch%2Fsquatch-js@2.8.3
|
|
417
|
+
[2.8.2]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.1...@saasquatch%2Fsquatch-js@2.8.2
|
|
418
|
+
[2.8.1]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.8.0...@saasquatch%2Fsquatch-js@2.8.1
|
|
399
419
|
[2.8.0]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.7.0...@saasquatch%2Fsquatch-js@2.8.0
|
|
400
420
|
[2.7.0]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.6.3...@saasquatch%2Fsquatch-js@2.7.0
|
|
401
421
|
[2.6.3]: https://github.com/saasquatch/squatch-js/compare/@saasquatch%2Fsquatch-js@2.6.2...@saasquatch%2Fsquatch-js@2.6.3
|