@vizbeetv/homesso-sdk-qa 1.0.5 → 1.0.7
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/es5/index.cjs +9 -21
- package/es5/index.mjs +9 -21
- package/es6/index.cjs +9 -21
- package/es6/index.mjs +9 -21
- package/package.json +1 -1
- package/types/VizbeeHomeSSOManager.d.ts +0 -5
package/es5/index.cjs
CHANGED
|
@@ -585,7 +585,7 @@ var VizbeeMetricsManager = /** @class */ (function () {
|
|
|
585
585
|
var _a, _b, _c, _d;
|
|
586
586
|
var attributes = {};
|
|
587
587
|
attributes[VizbeeMetricsConstants.METRICS_ATTR_SCREEN_HOMESSO_SDK_VERSION] =
|
|
588
|
-
'1.0.
|
|
588
|
+
'1.0.7';
|
|
589
589
|
attributes['REMOTE_FRIENDLY_NAME'] = (_a = this.senderInfo) === null || _a === void 0 ? void 0 : _a.friendlyName;
|
|
590
590
|
attributes['REMOTE_DEVICE_ID'] = (_b = this.senderInfo) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
591
591
|
attributes['REMOTE_DEVICE_TYPE'] = (_c = this.senderInfo) === null || _c === void 0 ? void 0 : _c.deviceType;
|
|
@@ -1340,11 +1340,6 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1340
1340
|
this.isScreenSignedIn = false;
|
|
1341
1341
|
/** @internal Tracks if sign-in process is currently active */
|
|
1342
1342
|
this.isSignInInProgress = false;
|
|
1343
|
-
/**
|
|
1344
|
-
* @internal Tracks which modal is currently shown so the same progress modal
|
|
1345
|
-
* is not re-shown (snackbar.show() hides + re-mounts, which would flicker).
|
|
1346
|
-
*/
|
|
1347
|
-
this.shownModal = 'none';
|
|
1348
1343
|
/** @internal Information about the sender device */
|
|
1349
1344
|
this.senderInfo = null;
|
|
1350
1345
|
this.signInHandler = null;
|
|
@@ -1583,8 +1578,6 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1583
1578
|
if (_d.sent()) {
|
|
1584
1579
|
return [2 /*return*/];
|
|
1585
1580
|
}
|
|
1586
|
-
this.isSignInInProgress = true;
|
|
1587
|
-
this.updateProgressUI();
|
|
1588
1581
|
signInInfo = {
|
|
1589
1582
|
isSignedIn: this.isRemoteSignedIn,
|
|
1590
1583
|
signInType: signInType,
|
|
@@ -1660,8 +1653,15 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1660
1653
|
if (status instanceof ProgressStatus) {
|
|
1661
1654
|
var regcode = (_a = status.customData) === null || _a === void 0 ? void 0 : _a.regcode;
|
|
1662
1655
|
if (regcode) {
|
|
1656
|
+
// Reg code present: run the full progress flow (relay status to the
|
|
1657
|
+
// sender, log metrics, and render the modal).
|
|
1663
1658
|
this.onProgress(status);
|
|
1664
1659
|
}
|
|
1660
|
+
else {
|
|
1661
|
+
// No reg code: only render the progress modal. There is nothing to
|
|
1662
|
+
// relay to the sender, so skip sendStatusToSender and metrics.
|
|
1663
|
+
this.updateProgressUI();
|
|
1664
|
+
}
|
|
1665
1665
|
}
|
|
1666
1666
|
else if (status instanceof SuccessStatus) {
|
|
1667
1667
|
var userEmail = (_b = status.customData) === null || _b === void 0 ? void 0 : _b.email;
|
|
@@ -1716,12 +1716,6 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1716
1716
|
* @internal
|
|
1717
1717
|
*/
|
|
1718
1718
|
VizbeeHomeSSOManager.prototype.updateProgressUI = function () {
|
|
1719
|
-
var targetModal = this.isRemoteSignedIn ? 'progress' : 'informational';
|
|
1720
|
-
// Avoid re-showing the same modal
|
|
1721
|
-
if (this.shownModal === targetModal) {
|
|
1722
|
-
return;
|
|
1723
|
-
}
|
|
1724
|
-
this.shownModal = targetModal;
|
|
1725
1719
|
if (!this.isRemoteSignedIn) {
|
|
1726
1720
|
var modalOptions = this.vizbeeHomeSSOUIManager.getInformationalSignInModalConfig();
|
|
1727
1721
|
this.snackbar.show(modalOptions);
|
|
@@ -1738,12 +1732,7 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1738
1732
|
* @internal
|
|
1739
1733
|
*/
|
|
1740
1734
|
VizbeeHomeSSOManager.prototype.updateSuccessUI = function () {
|
|
1741
|
-
// Enforce only the success duration; leave title/description to the
|
|
1742
|
-
// integrator's config (or the defaults) so the success toast can be
|
|
1743
|
-
// themed/localized like the informational and progress modals.
|
|
1744
|
-
this.vizbeeHomeSSOUIManager.setSuccessSignInModalConfig({ duration: 10000 });
|
|
1745
1735
|
var modalOptions = this.vizbeeHomeSSOUIManager.getSuccessSignInModalConfig();
|
|
1746
|
-
this.shownModal = 'success';
|
|
1747
1736
|
this.snackbar.show(modalOptions);
|
|
1748
1737
|
};
|
|
1749
1738
|
/**
|
|
@@ -1753,7 +1742,6 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1753
1742
|
* @internal
|
|
1754
1743
|
*/
|
|
1755
1744
|
VizbeeHomeSSOManager.prototype.updateFailureUI = function () {
|
|
1756
|
-
this.shownModal = 'none';
|
|
1757
1745
|
this.snackbar.hide();
|
|
1758
1746
|
};
|
|
1759
1747
|
/** @internal Singleton instance of the manager */
|
|
@@ -1839,7 +1827,7 @@ var setupHomeSSO = function () {
|
|
|
1839
1827
|
// Replaced at build time with package.json's version by
|
|
1840
1828
|
// @rollup/plugin-replace (same token the metrics manager uses), so
|
|
1841
1829
|
// integrators can read the loaded SDK version off the namespace.
|
|
1842
|
-
VERSION: '1.0.
|
|
1830
|
+
VERSION: '1.0.7',
|
|
1843
1831
|
};
|
|
1844
1832
|
window.dispatchEvent(new Event('VIZBEE_HOMESSO_READY'));
|
|
1845
1833
|
};
|
package/es5/index.mjs
CHANGED
|
@@ -581,7 +581,7 @@ var VizbeeMetricsManager = /** @class */ (function () {
|
|
|
581
581
|
var _a, _b, _c, _d;
|
|
582
582
|
var attributes = {};
|
|
583
583
|
attributes[VizbeeMetricsConstants.METRICS_ATTR_SCREEN_HOMESSO_SDK_VERSION] =
|
|
584
|
-
'1.0.
|
|
584
|
+
'1.0.7';
|
|
585
585
|
attributes['REMOTE_FRIENDLY_NAME'] = (_a = this.senderInfo) === null || _a === void 0 ? void 0 : _a.friendlyName;
|
|
586
586
|
attributes['REMOTE_DEVICE_ID'] = (_b = this.senderInfo) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
587
587
|
attributes['REMOTE_DEVICE_TYPE'] = (_c = this.senderInfo) === null || _c === void 0 ? void 0 : _c.deviceType;
|
|
@@ -1336,11 +1336,6 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1336
1336
|
this.isScreenSignedIn = false;
|
|
1337
1337
|
/** @internal Tracks if sign-in process is currently active */
|
|
1338
1338
|
this.isSignInInProgress = false;
|
|
1339
|
-
/**
|
|
1340
|
-
* @internal Tracks which modal is currently shown so the same progress modal
|
|
1341
|
-
* is not re-shown (snackbar.show() hides + re-mounts, which would flicker).
|
|
1342
|
-
*/
|
|
1343
|
-
this.shownModal = 'none';
|
|
1344
1339
|
/** @internal Information about the sender device */
|
|
1345
1340
|
this.senderInfo = null;
|
|
1346
1341
|
this.signInHandler = null;
|
|
@@ -1579,8 +1574,6 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1579
1574
|
if (_d.sent()) {
|
|
1580
1575
|
return [2 /*return*/];
|
|
1581
1576
|
}
|
|
1582
|
-
this.isSignInInProgress = true;
|
|
1583
|
-
this.updateProgressUI();
|
|
1584
1577
|
signInInfo = {
|
|
1585
1578
|
isSignedIn: this.isRemoteSignedIn,
|
|
1586
1579
|
signInType: signInType,
|
|
@@ -1656,8 +1649,15 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1656
1649
|
if (status instanceof ProgressStatus) {
|
|
1657
1650
|
var regcode = (_a = status.customData) === null || _a === void 0 ? void 0 : _a.regcode;
|
|
1658
1651
|
if (regcode) {
|
|
1652
|
+
// Reg code present: run the full progress flow (relay status to the
|
|
1653
|
+
// sender, log metrics, and render the modal).
|
|
1659
1654
|
this.onProgress(status);
|
|
1660
1655
|
}
|
|
1656
|
+
else {
|
|
1657
|
+
// No reg code: only render the progress modal. There is nothing to
|
|
1658
|
+
// relay to the sender, so skip sendStatusToSender and metrics.
|
|
1659
|
+
this.updateProgressUI();
|
|
1660
|
+
}
|
|
1661
1661
|
}
|
|
1662
1662
|
else if (status instanceof SuccessStatus) {
|
|
1663
1663
|
var userEmail = (_b = status.customData) === null || _b === void 0 ? void 0 : _b.email;
|
|
@@ -1712,12 +1712,6 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1712
1712
|
* @internal
|
|
1713
1713
|
*/
|
|
1714
1714
|
VizbeeHomeSSOManager.prototype.updateProgressUI = function () {
|
|
1715
|
-
var targetModal = this.isRemoteSignedIn ? 'progress' : 'informational';
|
|
1716
|
-
// Avoid re-showing the same modal
|
|
1717
|
-
if (this.shownModal === targetModal) {
|
|
1718
|
-
return;
|
|
1719
|
-
}
|
|
1720
|
-
this.shownModal = targetModal;
|
|
1721
1715
|
if (!this.isRemoteSignedIn) {
|
|
1722
1716
|
var modalOptions = this.vizbeeHomeSSOUIManager.getInformationalSignInModalConfig();
|
|
1723
1717
|
this.snackbar.show(modalOptions);
|
|
@@ -1734,12 +1728,7 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1734
1728
|
* @internal
|
|
1735
1729
|
*/
|
|
1736
1730
|
VizbeeHomeSSOManager.prototype.updateSuccessUI = function () {
|
|
1737
|
-
// Enforce only the success duration; leave title/description to the
|
|
1738
|
-
// integrator's config (or the defaults) so the success toast can be
|
|
1739
|
-
// themed/localized like the informational and progress modals.
|
|
1740
|
-
this.vizbeeHomeSSOUIManager.setSuccessSignInModalConfig({ duration: 10000 });
|
|
1741
1731
|
var modalOptions = this.vizbeeHomeSSOUIManager.getSuccessSignInModalConfig();
|
|
1742
|
-
this.shownModal = 'success';
|
|
1743
1732
|
this.snackbar.show(modalOptions);
|
|
1744
1733
|
};
|
|
1745
1734
|
/**
|
|
@@ -1749,7 +1738,6 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1749
1738
|
* @internal
|
|
1750
1739
|
*/
|
|
1751
1740
|
VizbeeHomeSSOManager.prototype.updateFailureUI = function () {
|
|
1752
|
-
this.shownModal = 'none';
|
|
1753
1741
|
this.snackbar.hide();
|
|
1754
1742
|
};
|
|
1755
1743
|
/** @internal Singleton instance of the manager */
|
|
@@ -1835,7 +1823,7 @@ var setupHomeSSO = function () {
|
|
|
1835
1823
|
// Replaced at build time with package.json's version by
|
|
1836
1824
|
// @rollup/plugin-replace (same token the metrics manager uses), so
|
|
1837
1825
|
// integrators can read the loaded SDK version off the namespace.
|
|
1838
|
-
VERSION: '1.0.
|
|
1826
|
+
VERSION: '1.0.7',
|
|
1839
1827
|
};
|
|
1840
1828
|
window.dispatchEvent(new Event('VIZBEE_HOMESSO_READY'));
|
|
1841
1829
|
};
|
package/es6/index.cjs
CHANGED
|
@@ -482,7 +482,7 @@ class VizbeeMetricsManager {
|
|
|
482
482
|
var _a, _b, _c, _d;
|
|
483
483
|
const attributes = {};
|
|
484
484
|
attributes[VizbeeMetricsConstants.METRICS_ATTR_SCREEN_HOMESSO_SDK_VERSION] =
|
|
485
|
-
'1.0.
|
|
485
|
+
'1.0.7';
|
|
486
486
|
attributes['REMOTE_FRIENDLY_NAME'] = (_a = this.senderInfo) === null || _a === void 0 ? void 0 : _a.friendlyName;
|
|
487
487
|
attributes['REMOTE_DEVICE_ID'] = (_b = this.senderInfo) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
488
488
|
attributes['REMOTE_DEVICE_TYPE'] = (_c = this.senderInfo) === null || _c === void 0 ? void 0 : _c.deviceType;
|
|
@@ -1275,11 +1275,6 @@ class VizbeeHomeSSOManager {
|
|
|
1275
1275
|
this.isScreenSignedIn = false;
|
|
1276
1276
|
/** @internal Tracks if sign-in process is currently active */
|
|
1277
1277
|
this.isSignInInProgress = false;
|
|
1278
|
-
/**
|
|
1279
|
-
* @internal Tracks which modal is currently shown so the same progress modal
|
|
1280
|
-
* is not re-shown (snackbar.show() hides + re-mounts, which would flicker).
|
|
1281
|
-
*/
|
|
1282
|
-
this.shownModal = 'none';
|
|
1283
1278
|
/** @internal Information about the sender device */
|
|
1284
1279
|
this.senderInfo = null;
|
|
1285
1280
|
this.signInHandler = null;
|
|
@@ -1500,8 +1495,6 @@ class VizbeeHomeSSOManager {
|
|
|
1500
1495
|
if (yield this.shouldIgnoreSignInRequest()) {
|
|
1501
1496
|
return;
|
|
1502
1497
|
}
|
|
1503
|
-
this.isSignInInProgress = true;
|
|
1504
|
-
this.updateProgressUI();
|
|
1505
1498
|
const signInInfo = {
|
|
1506
1499
|
isSignedIn: this.isRemoteSignedIn,
|
|
1507
1500
|
signInType: signInType,
|
|
@@ -1564,8 +1557,15 @@ class VizbeeHomeSSOManager {
|
|
|
1564
1557
|
if (status instanceof ProgressStatus) {
|
|
1565
1558
|
const regcode = (_a = status.customData) === null || _a === void 0 ? void 0 : _a.regcode;
|
|
1566
1559
|
if (regcode) {
|
|
1560
|
+
// Reg code present: run the full progress flow (relay status to the
|
|
1561
|
+
// sender, log metrics, and render the modal).
|
|
1567
1562
|
this.onProgress(status);
|
|
1568
1563
|
}
|
|
1564
|
+
else {
|
|
1565
|
+
// No reg code: only render the progress modal. There is nothing to
|
|
1566
|
+
// relay to the sender, so skip sendStatusToSender and metrics.
|
|
1567
|
+
this.updateProgressUI();
|
|
1568
|
+
}
|
|
1569
1569
|
}
|
|
1570
1570
|
else if (status instanceof SuccessStatus) {
|
|
1571
1571
|
const userEmail = (_b = status.customData) === null || _b === void 0 ? void 0 : _b.email;
|
|
@@ -1610,12 +1610,6 @@ class VizbeeHomeSSOManager {
|
|
|
1610
1610
|
* @internal
|
|
1611
1611
|
*/
|
|
1612
1612
|
updateProgressUI() {
|
|
1613
|
-
const targetModal = this.isRemoteSignedIn ? 'progress' : 'informational';
|
|
1614
|
-
// Avoid re-showing the same modal
|
|
1615
|
-
if (this.shownModal === targetModal) {
|
|
1616
|
-
return;
|
|
1617
|
-
}
|
|
1618
|
-
this.shownModal = targetModal;
|
|
1619
1613
|
if (!this.isRemoteSignedIn) {
|
|
1620
1614
|
const modalOptions = this.vizbeeHomeSSOUIManager.getInformationalSignInModalConfig();
|
|
1621
1615
|
this.snackbar.show(modalOptions);
|
|
@@ -1632,12 +1626,7 @@ class VizbeeHomeSSOManager {
|
|
|
1632
1626
|
* @internal
|
|
1633
1627
|
*/
|
|
1634
1628
|
updateSuccessUI() {
|
|
1635
|
-
// Enforce only the success duration; leave title/description to the
|
|
1636
|
-
// integrator's config (or the defaults) so the success toast can be
|
|
1637
|
-
// themed/localized like the informational and progress modals.
|
|
1638
|
-
this.vizbeeHomeSSOUIManager.setSuccessSignInModalConfig({ duration: 10000 });
|
|
1639
1629
|
const modalOptions = this.vizbeeHomeSSOUIManager.getSuccessSignInModalConfig();
|
|
1640
|
-
this.shownModal = 'success';
|
|
1641
1630
|
this.snackbar.show(modalOptions);
|
|
1642
1631
|
}
|
|
1643
1632
|
/**
|
|
@@ -1647,7 +1636,6 @@ class VizbeeHomeSSOManager {
|
|
|
1647
1636
|
* @internal
|
|
1648
1637
|
*/
|
|
1649
1638
|
updateFailureUI() {
|
|
1650
|
-
this.shownModal = 'none';
|
|
1651
1639
|
this.snackbar.hide();
|
|
1652
1640
|
}
|
|
1653
1641
|
}
|
|
@@ -1731,7 +1719,7 @@ const setupHomeSSO = () => {
|
|
|
1731
1719
|
// Replaced at build time with package.json's version by
|
|
1732
1720
|
// @rollup/plugin-replace (same token the metrics manager uses), so
|
|
1733
1721
|
// integrators can read the loaded SDK version off the namespace.
|
|
1734
|
-
VERSION: '1.0.
|
|
1722
|
+
VERSION: '1.0.7',
|
|
1735
1723
|
};
|
|
1736
1724
|
window.dispatchEvent(new Event('VIZBEE_HOMESSO_READY'));
|
|
1737
1725
|
};
|
package/es6/index.mjs
CHANGED
|
@@ -478,7 +478,7 @@ class VizbeeMetricsManager {
|
|
|
478
478
|
var _a, _b, _c, _d;
|
|
479
479
|
const attributes = {};
|
|
480
480
|
attributes[VizbeeMetricsConstants.METRICS_ATTR_SCREEN_HOMESSO_SDK_VERSION] =
|
|
481
|
-
'1.0.
|
|
481
|
+
'1.0.7';
|
|
482
482
|
attributes['REMOTE_FRIENDLY_NAME'] = (_a = this.senderInfo) === null || _a === void 0 ? void 0 : _a.friendlyName;
|
|
483
483
|
attributes['REMOTE_DEVICE_ID'] = (_b = this.senderInfo) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
484
484
|
attributes['REMOTE_DEVICE_TYPE'] = (_c = this.senderInfo) === null || _c === void 0 ? void 0 : _c.deviceType;
|
|
@@ -1271,11 +1271,6 @@ class VizbeeHomeSSOManager {
|
|
|
1271
1271
|
this.isScreenSignedIn = false;
|
|
1272
1272
|
/** @internal Tracks if sign-in process is currently active */
|
|
1273
1273
|
this.isSignInInProgress = false;
|
|
1274
|
-
/**
|
|
1275
|
-
* @internal Tracks which modal is currently shown so the same progress modal
|
|
1276
|
-
* is not re-shown (snackbar.show() hides + re-mounts, which would flicker).
|
|
1277
|
-
*/
|
|
1278
|
-
this.shownModal = 'none';
|
|
1279
1274
|
/** @internal Information about the sender device */
|
|
1280
1275
|
this.senderInfo = null;
|
|
1281
1276
|
this.signInHandler = null;
|
|
@@ -1496,8 +1491,6 @@ class VizbeeHomeSSOManager {
|
|
|
1496
1491
|
if (yield this.shouldIgnoreSignInRequest()) {
|
|
1497
1492
|
return;
|
|
1498
1493
|
}
|
|
1499
|
-
this.isSignInInProgress = true;
|
|
1500
|
-
this.updateProgressUI();
|
|
1501
1494
|
const signInInfo = {
|
|
1502
1495
|
isSignedIn: this.isRemoteSignedIn,
|
|
1503
1496
|
signInType: signInType,
|
|
@@ -1560,8 +1553,15 @@ class VizbeeHomeSSOManager {
|
|
|
1560
1553
|
if (status instanceof ProgressStatus) {
|
|
1561
1554
|
const regcode = (_a = status.customData) === null || _a === void 0 ? void 0 : _a.regcode;
|
|
1562
1555
|
if (regcode) {
|
|
1556
|
+
// Reg code present: run the full progress flow (relay status to the
|
|
1557
|
+
// sender, log metrics, and render the modal).
|
|
1563
1558
|
this.onProgress(status);
|
|
1564
1559
|
}
|
|
1560
|
+
else {
|
|
1561
|
+
// No reg code: only render the progress modal. There is nothing to
|
|
1562
|
+
// relay to the sender, so skip sendStatusToSender and metrics.
|
|
1563
|
+
this.updateProgressUI();
|
|
1564
|
+
}
|
|
1565
1565
|
}
|
|
1566
1566
|
else if (status instanceof SuccessStatus) {
|
|
1567
1567
|
const userEmail = (_b = status.customData) === null || _b === void 0 ? void 0 : _b.email;
|
|
@@ -1606,12 +1606,6 @@ class VizbeeHomeSSOManager {
|
|
|
1606
1606
|
* @internal
|
|
1607
1607
|
*/
|
|
1608
1608
|
updateProgressUI() {
|
|
1609
|
-
const targetModal = this.isRemoteSignedIn ? 'progress' : 'informational';
|
|
1610
|
-
// Avoid re-showing the same modal
|
|
1611
|
-
if (this.shownModal === targetModal) {
|
|
1612
|
-
return;
|
|
1613
|
-
}
|
|
1614
|
-
this.shownModal = targetModal;
|
|
1615
1609
|
if (!this.isRemoteSignedIn) {
|
|
1616
1610
|
const modalOptions = this.vizbeeHomeSSOUIManager.getInformationalSignInModalConfig();
|
|
1617
1611
|
this.snackbar.show(modalOptions);
|
|
@@ -1628,12 +1622,7 @@ class VizbeeHomeSSOManager {
|
|
|
1628
1622
|
* @internal
|
|
1629
1623
|
*/
|
|
1630
1624
|
updateSuccessUI() {
|
|
1631
|
-
// Enforce only the success duration; leave title/description to the
|
|
1632
|
-
// integrator's config (or the defaults) so the success toast can be
|
|
1633
|
-
// themed/localized like the informational and progress modals.
|
|
1634
|
-
this.vizbeeHomeSSOUIManager.setSuccessSignInModalConfig({ duration: 10000 });
|
|
1635
1625
|
const modalOptions = this.vizbeeHomeSSOUIManager.getSuccessSignInModalConfig();
|
|
1636
|
-
this.shownModal = 'success';
|
|
1637
1626
|
this.snackbar.show(modalOptions);
|
|
1638
1627
|
}
|
|
1639
1628
|
/**
|
|
@@ -1643,7 +1632,6 @@ class VizbeeHomeSSOManager {
|
|
|
1643
1632
|
* @internal
|
|
1644
1633
|
*/
|
|
1645
1634
|
updateFailureUI() {
|
|
1646
|
-
this.shownModal = 'none';
|
|
1647
1635
|
this.snackbar.hide();
|
|
1648
1636
|
}
|
|
1649
1637
|
}
|
|
@@ -1727,7 +1715,7 @@ const setupHomeSSO = () => {
|
|
|
1727
1715
|
// Replaced at build time with package.json's version by
|
|
1728
1716
|
// @rollup/plugin-replace (same token the metrics manager uses), so
|
|
1729
1717
|
// integrators can read the loaded SDK version off the namespace.
|
|
1730
|
-
VERSION: '1.0.
|
|
1718
|
+
VERSION: '1.0.7',
|
|
1731
1719
|
};
|
|
1732
1720
|
window.dispatchEvent(new Event('VIZBEE_HOMESSO_READY'));
|
|
1733
1721
|
};
|
package/package.json
CHANGED
|
@@ -37,11 +37,6 @@ export declare class VizbeeHomeSSOManager implements VizbeeSignInStatusCallback
|
|
|
37
37
|
private isScreenSignedIn;
|
|
38
38
|
/** @internal Tracks if sign-in process is currently active */
|
|
39
39
|
private isSignInInProgress;
|
|
40
|
-
/**
|
|
41
|
-
* @internal Tracks which modal is currently shown so the same progress modal
|
|
42
|
-
* is not re-shown (snackbar.show() hides + re-mounts, which would flicker).
|
|
43
|
-
*/
|
|
44
|
-
private shownModal;
|
|
45
40
|
/** @internal UI manager instance for handling SSO-related displays */
|
|
46
41
|
private vizbeeHomeSSOUIManager;
|
|
47
42
|
/** @internal Snackbar instance for showing notifications */
|