@vizbeetv/homesso-sdk-qa 1.0.4 → 1.0.6
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 -2
- package/es5/index.mjs +9 -2
- package/es6/index.cjs +9 -2
- package/es6/index.mjs +9 -2
- package/package.json +1 -1
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.6';
|
|
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;
|
|
@@ -1653,8 +1653,15 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1653
1653
|
if (status instanceof ProgressStatus) {
|
|
1654
1654
|
var regcode = (_a = status.customData) === null || _a === void 0 ? void 0 : _a.regcode;
|
|
1655
1655
|
if (regcode) {
|
|
1656
|
+
// Reg code present: run the full progress flow (relay status to the
|
|
1657
|
+
// sender, log metrics, and render the modal).
|
|
1656
1658
|
this.onProgress(status);
|
|
1657
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
|
+
}
|
|
1658
1665
|
}
|
|
1659
1666
|
else if (status instanceof SuccessStatus) {
|
|
1660
1667
|
var userEmail = (_b = status.customData) === null || _b === void 0 ? void 0 : _b.email;
|
|
@@ -1824,7 +1831,7 @@ var setupHomeSSO = function () {
|
|
|
1824
1831
|
// Replaced at build time with package.json's version by
|
|
1825
1832
|
// @rollup/plugin-replace (same token the metrics manager uses), so
|
|
1826
1833
|
// integrators can read the loaded SDK version off the namespace.
|
|
1827
|
-
VERSION: '1.0.
|
|
1834
|
+
VERSION: '1.0.6',
|
|
1828
1835
|
};
|
|
1829
1836
|
window.dispatchEvent(new Event('VIZBEE_HOMESSO_READY'));
|
|
1830
1837
|
};
|
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.6';
|
|
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;
|
|
@@ -1649,8 +1649,15 @@ var VizbeeHomeSSOManager = /** @class */ (function () {
|
|
|
1649
1649
|
if (status instanceof ProgressStatus) {
|
|
1650
1650
|
var regcode = (_a = status.customData) === null || _a === void 0 ? void 0 : _a.regcode;
|
|
1651
1651
|
if (regcode) {
|
|
1652
|
+
// Reg code present: run the full progress flow (relay status to the
|
|
1653
|
+
// sender, log metrics, and render the modal).
|
|
1652
1654
|
this.onProgress(status);
|
|
1653
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
|
+
}
|
|
1654
1661
|
}
|
|
1655
1662
|
else if (status instanceof SuccessStatus) {
|
|
1656
1663
|
var userEmail = (_b = status.customData) === null || _b === void 0 ? void 0 : _b.email;
|
|
@@ -1820,7 +1827,7 @@ var setupHomeSSO = function () {
|
|
|
1820
1827
|
// Replaced at build time with package.json's version by
|
|
1821
1828
|
// @rollup/plugin-replace (same token the metrics manager uses), so
|
|
1822
1829
|
// integrators can read the loaded SDK version off the namespace.
|
|
1823
|
-
VERSION: '1.0.
|
|
1830
|
+
VERSION: '1.0.6',
|
|
1824
1831
|
};
|
|
1825
1832
|
window.dispatchEvent(new Event('VIZBEE_HOMESSO_READY'));
|
|
1826
1833
|
};
|
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.6';
|
|
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;
|
|
@@ -1557,8 +1557,15 @@ class VizbeeHomeSSOManager {
|
|
|
1557
1557
|
if (status instanceof ProgressStatus) {
|
|
1558
1558
|
const regcode = (_a = status.customData) === null || _a === void 0 ? void 0 : _a.regcode;
|
|
1559
1559
|
if (regcode) {
|
|
1560
|
+
// Reg code present: run the full progress flow (relay status to the
|
|
1561
|
+
// sender, log metrics, and render the modal).
|
|
1560
1562
|
this.onProgress(status);
|
|
1561
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
|
+
}
|
|
1562
1569
|
}
|
|
1563
1570
|
else if (status instanceof SuccessStatus) {
|
|
1564
1571
|
const userEmail = (_b = status.customData) === null || _b === void 0 ? void 0 : _b.email;
|
|
@@ -1716,7 +1723,7 @@ const setupHomeSSO = () => {
|
|
|
1716
1723
|
// Replaced at build time with package.json's version by
|
|
1717
1724
|
// @rollup/plugin-replace (same token the metrics manager uses), so
|
|
1718
1725
|
// integrators can read the loaded SDK version off the namespace.
|
|
1719
|
-
VERSION: '1.0.
|
|
1726
|
+
VERSION: '1.0.6',
|
|
1720
1727
|
};
|
|
1721
1728
|
window.dispatchEvent(new Event('VIZBEE_HOMESSO_READY'));
|
|
1722
1729
|
};
|
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.6';
|
|
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;
|
|
@@ -1553,8 +1553,15 @@ class VizbeeHomeSSOManager {
|
|
|
1553
1553
|
if (status instanceof ProgressStatus) {
|
|
1554
1554
|
const regcode = (_a = status.customData) === null || _a === void 0 ? void 0 : _a.regcode;
|
|
1555
1555
|
if (regcode) {
|
|
1556
|
+
// Reg code present: run the full progress flow (relay status to the
|
|
1557
|
+
// sender, log metrics, and render the modal).
|
|
1556
1558
|
this.onProgress(status);
|
|
1557
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
|
+
}
|
|
1558
1565
|
}
|
|
1559
1566
|
else if (status instanceof SuccessStatus) {
|
|
1560
1567
|
const userEmail = (_b = status.customData) === null || _b === void 0 ? void 0 : _b.email;
|
|
@@ -1712,7 +1719,7 @@ const setupHomeSSO = () => {
|
|
|
1712
1719
|
// Replaced at build time with package.json's version by
|
|
1713
1720
|
// @rollup/plugin-replace (same token the metrics manager uses), so
|
|
1714
1721
|
// integrators can read the loaded SDK version off the namespace.
|
|
1715
|
-
VERSION: '1.0.
|
|
1722
|
+
VERSION: '1.0.6',
|
|
1716
1723
|
};
|
|
1717
1724
|
window.dispatchEvent(new Event('VIZBEE_HOMESSO_READY'));
|
|
1718
1725
|
};
|