idmission-web-sdk 2.6.3-changeset-release-develop-52641d0 → 2.6.3-changeset-release-develop-8a04e04
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/index.d.ts +1 -1
- package/dist/props.json +1 -1
- package/dist/sdk2.cjs.development.js +135 -42
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +135 -42
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +135 -42
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/package.json +1 -1
|
@@ -1450,6 +1450,15 @@
|
|
|
1450
1450
|
function _createForOfIteratorHelperLoose$y(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray$z(r)) || e) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: true } : { done: false, value: r[o++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
1451
1451
|
function _unsupportedIterableToArray$z(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$z(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$z(r, a) : void 0; } }
|
|
1452
1452
|
function _arrayLikeToArray$z(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
1453
|
+
/** Visible time without progress in a capture phase that arms a stream. */
|
|
1454
|
+
var stallMs = 20000;
|
|
1455
|
+
var capturePhases = new Set(["id-front", "id-back", "passport", "selfie", "signature"]);
|
|
1456
|
+
/**
|
|
1457
|
+
* Milestones that show the person is getting somewhere. Detection,
|
|
1458
|
+
* camera/model readiness, guidance, upload and validation deliberately don't
|
|
1459
|
+
* count: the document detector fires readily, and uploads aren't captures.
|
|
1460
|
+
*/
|
|
1461
|
+
var progressMilestones = new Set(["document-captured", "selfie-captured", "challenge-completed", "capture-completed", "capture-skipped", "recording-started", "first-recording-chunk", "drawing-started"]);
|
|
1453
1462
|
var taskOpeners = new WeakMap();
|
|
1454
1463
|
var inertObserver = {
|
|
1455
1464
|
observe: function observe() {},
|
|
@@ -1518,6 +1527,7 @@
|
|
|
1518
1527
|
if (delay === void 0) {
|
|
1519
1528
|
delay = 0;
|
|
1520
1529
|
}
|
|
1530
|
+
if (!stream.armed) return;
|
|
1521
1531
|
var report = snapshotAt(stream.state, deps.now(), ++sequence, reason);
|
|
1522
1532
|
if (report.attemptStatus !== "active") {
|
|
1523
1533
|
var existing = terminal.findIndex(function (item) {
|
|
@@ -1649,10 +1659,16 @@
|
|
|
1649
1659
|
}
|
|
1650
1660
|
return result.batch;
|
|
1651
1661
|
}
|
|
1652
|
-
function authorizedReports(queued, deadline) {
|
|
1662
|
+
function authorizedReports(queued, deadline, admits) {
|
|
1663
|
+
if (admits === void 0) {
|
|
1664
|
+
admits = function admits(context) {
|
|
1665
|
+
var _contexts$get;
|
|
1666
|
+
return ((_contexts$get = contexts.get(context)) == null ? void 0 : _contexts$get.kind) === "enabled";
|
|
1667
|
+
};
|
|
1668
|
+
}
|
|
1653
1669
|
var ready = queued.filter(function (report) {
|
|
1654
|
-
var
|
|
1655
|
-
return (
|
|
1670
|
+
var _due$get2;
|
|
1671
|
+
return admits(report.context) && ((_due$get2 = due.get(report.sequence)) != null ? _due$get2 : 0) <= deadline;
|
|
1656
1672
|
});
|
|
1657
1673
|
return ready.filter(function (report) {
|
|
1658
1674
|
var _ready$;
|
|
@@ -1709,7 +1725,7 @@
|
|
|
1709
1725
|
}
|
|
1710
1726
|
function _pump() {
|
|
1711
1727
|
_pump = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
1712
|
-
var queued, authorizing, sending, unresolved, _result, outgoing, result, _iterator11, _step11, report, _iterator12, _step12, _report, _iterator13, _step13, _report2;
|
|
1728
|
+
var queued, authorizing, sending, unresolved, _contexts$get8, _result, outgoing, result, _iterator11, _step11, report, _iterator12, _step12, _report, _contexts$get9, _iterator13, _step13, _report2;
|
|
1713
1729
|
return _regeneratorRuntime.wrap(function (_context2) {
|
|
1714
1730
|
while (1) switch (_context2.prev = _context2.next) {
|
|
1715
1731
|
case 0:
|
|
@@ -1735,15 +1751,15 @@
|
|
|
1735
1751
|
sending = null;
|
|
1736
1752
|
_context2.prev = 3;
|
|
1737
1753
|
if (frozen) {
|
|
1738
|
-
_context2.next =
|
|
1754
|
+
_context2.next = 11;
|
|
1739
1755
|
break;
|
|
1740
1756
|
}
|
|
1741
1757
|
unresolved = queued.find(function (report) {
|
|
1742
|
-
var _contexts$
|
|
1743
|
-
return !contexts.has(report.context) || ((_contexts$
|
|
1758
|
+
var _contexts$get7;
|
|
1759
|
+
return !contexts.has(report.context) || ((_contexts$get7 = contexts.get(report.context)) == null ? void 0 : _contexts$get7.kind) === "temporary";
|
|
1744
1760
|
});
|
|
1745
1761
|
if (!unresolved) {
|
|
1746
|
-
_context2.next =
|
|
1762
|
+
_context2.next = 9;
|
|
1747
1763
|
break;
|
|
1748
1764
|
}
|
|
1749
1765
|
authorizing = unresolved.context;
|
|
@@ -1766,44 +1782,50 @@
|
|
|
1766
1782
|
stop();
|
|
1767
1783
|
return _context2.abrupt("return");
|
|
1768
1784
|
case 6:
|
|
1769
|
-
if (!(
|
|
1785
|
+
if (!(((_contexts$get8 = contexts.get(unresolved.context)) == null ? void 0 : _contexts$get8.kind) === "disabled")) {
|
|
1770
1786
|
_context2.next = 7;
|
|
1771
1787
|
break;
|
|
1772
1788
|
}
|
|
1789
|
+
return _context2.abrupt("return");
|
|
1790
|
+
case 7:
|
|
1791
|
+
if (!(_result.kind === "temporary")) {
|
|
1792
|
+
_context2.next = 8;
|
|
1793
|
+
break;
|
|
1794
|
+
}
|
|
1773
1795
|
backoff(_result);
|
|
1774
1796
|
failedEligibility(unresolved.context);
|
|
1775
1797
|
return _context2.abrupt("return");
|
|
1776
|
-
case
|
|
1798
|
+
case 8:
|
|
1777
1799
|
eligibilityRetries["delete"](unresolved.context);
|
|
1778
1800
|
contexts.set(unresolved.context, _result);
|
|
1779
1801
|
if (_result.kind === "disabled") disable(unresolved.context);
|
|
1780
1802
|
failureStreak = 0;
|
|
1781
1803
|
return _context2.abrupt("return");
|
|
1782
|
-
case
|
|
1804
|
+
case 9:
|
|
1783
1805
|
frozen = batch(authorizedReports(queued, deps.now()));
|
|
1784
1806
|
retries = 0;
|
|
1785
1807
|
if (frozen) {
|
|
1786
|
-
_context2.next =
|
|
1808
|
+
_context2.next = 10;
|
|
1787
1809
|
break;
|
|
1788
1810
|
}
|
|
1789
1811
|
return _context2.abrupt("return");
|
|
1790
|
-
case 9:
|
|
1791
|
-
removeReports(frozen.reports);
|
|
1792
1812
|
case 10:
|
|
1813
|
+
removeReports(frozen.reports);
|
|
1814
|
+
case 11:
|
|
1793
1815
|
outgoing = frozen;
|
|
1794
1816
|
sending = outgoing;
|
|
1795
|
-
_context2.next =
|
|
1817
|
+
_context2.next = 12;
|
|
1796
1818
|
return request(function (signal) {
|
|
1797
1819
|
return deps.transport.send(outgoing, signal);
|
|
1798
1820
|
});
|
|
1799
|
-
case
|
|
1821
|
+
case 12:
|
|
1800
1822
|
result = _context2.sent;
|
|
1801
1823
|
if (!(disposed || frozen !== sending)) {
|
|
1802
|
-
_context2.next =
|
|
1824
|
+
_context2.next = 13;
|
|
1803
1825
|
break;
|
|
1804
1826
|
}
|
|
1805
1827
|
return _context2.abrupt("return");
|
|
1806
|
-
case
|
|
1828
|
+
case 13:
|
|
1807
1829
|
if (result.kind === "unsupported") {
|
|
1808
1830
|
stop();
|
|
1809
1831
|
} else if (result.kind === "committed") {
|
|
@@ -1827,17 +1849,23 @@
|
|
|
1827
1849
|
frozen = null;
|
|
1828
1850
|
}
|
|
1829
1851
|
}
|
|
1830
|
-
_context2.next =
|
|
1852
|
+
_context2.next = 17;
|
|
1831
1853
|
break;
|
|
1832
|
-
case
|
|
1833
|
-
_context2.prev =
|
|
1854
|
+
case 14:
|
|
1855
|
+
_context2.prev = 14;
|
|
1834
1856
|
_context2["catch"](3);
|
|
1835
1857
|
if (!(disposed || sending && frozen !== sending)) {
|
|
1836
|
-
_context2.next =
|
|
1858
|
+
_context2.next = 15;
|
|
1837
1859
|
break;
|
|
1838
1860
|
}
|
|
1839
1861
|
return _context2.abrupt("return");
|
|
1840
|
-
case
|
|
1862
|
+
case 15:
|
|
1863
|
+
if (!(authorizing && ((_contexts$get9 = contexts.get(authorizing)) == null ? void 0 : _contexts$get9.kind) === "disabled")) {
|
|
1864
|
+
_context2.next = 16;
|
|
1865
|
+
break;
|
|
1866
|
+
}
|
|
1867
|
+
return _context2.abrupt("return");
|
|
1868
|
+
case 16:
|
|
1841
1869
|
backoff({});
|
|
1842
1870
|
if (authorizing) failedEligibility(authorizing);
|
|
1843
1871
|
if (frozen && ++retries > 3) {
|
|
@@ -1848,23 +1876,30 @@
|
|
|
1848
1876
|
if (emergency === frozen) emergency = null;
|
|
1849
1877
|
frozen = null;
|
|
1850
1878
|
}
|
|
1851
|
-
case
|
|
1852
|
-
_context2.prev =
|
|
1879
|
+
case 17:
|
|
1880
|
+
_context2.prev = 17;
|
|
1853
1881
|
busy = false;
|
|
1854
1882
|
refreshReadyAt();
|
|
1855
1883
|
schedule();
|
|
1856
|
-
return _context2.finish(
|
|
1857
|
-
case
|
|
1884
|
+
return _context2.finish(17);
|
|
1885
|
+
case 18:
|
|
1858
1886
|
case "end":
|
|
1859
1887
|
return _context2.stop();
|
|
1860
1888
|
}
|
|
1861
|
-
}, _callee2, null, [[3,
|
|
1889
|
+
}, _callee2, null, [[3, 14, 17, 18]]);
|
|
1862
1890
|
}));
|
|
1863
1891
|
return _pump.apply(this, arguments);
|
|
1864
1892
|
}
|
|
1865
1893
|
function emergencyFlush() {
|
|
1866
1894
|
if (emergency || disposed || deps.now() < backoffUntil) return;
|
|
1867
|
-
|
|
1895
|
+
// A stream can arm for the first time as the page hides or the session
|
|
1896
|
+
// ends, before any eligibility round trip. Portal authorizes and binds
|
|
1897
|
+
// each report inline, so the last-chance batch includes unresolved
|
|
1898
|
+
// contexts too; only disabled ones stay out.
|
|
1899
|
+
var reports = authorizedReports([].concat(terminal, _toConsumableArray(pending.values())), Infinity, function (context) {
|
|
1900
|
+
var _contexts$get2;
|
|
1901
|
+
return ((_contexts$get2 = contexts.get(context)) == null ? void 0 : _contexts$get2.kind) !== "disabled";
|
|
1902
|
+
});
|
|
1868
1903
|
if (!reports.length) return;
|
|
1869
1904
|
var sending = batch(reports);
|
|
1870
1905
|
if (!sending) return;
|
|
@@ -1875,13 +1910,18 @@
|
|
|
1875
1910
|
removeReports(sending.reports);
|
|
1876
1911
|
if (result.confirmation) void result.confirmation.then(function (outcome) {
|
|
1877
1912
|
guard$2(function () {
|
|
1878
|
-
if (disposed
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
})) return;
|
|
1913
|
+
if (disposed) return;
|
|
1914
|
+
// Missing routes stop the root even if a context was denied
|
|
1915
|
+
// while this beacon was unconfirmed.
|
|
1882
1916
|
if (outcome.kind === "unsupported") {
|
|
1883
1917
|
stop();
|
|
1884
|
-
|
|
1918
|
+
return;
|
|
1919
|
+
}
|
|
1920
|
+
if (sending.reports.some(function (report) {
|
|
1921
|
+
var _contexts$get3;
|
|
1922
|
+
return ((_contexts$get3 = contexts.get(report.context)) == null ? void 0 : _contexts$get3.kind) === "disabled";
|
|
1923
|
+
})) return;
|
|
1924
|
+
if (outcome.kind === "committed") {
|
|
1885
1925
|
if (emergency === sending) emergency = null;
|
|
1886
1926
|
} else if (outcome.kind === "permanent") {
|
|
1887
1927
|
for (var _iterator8 = _createForOfIteratorHelperLoose$y(sending.reports), _step8; !(_step8 = _iterator8()).done;) {
|
|
@@ -1894,8 +1934,8 @@
|
|
|
1894
1934
|
}, function () {
|
|
1895
1935
|
return guard$2(function () {
|
|
1896
1936
|
if (disposed || sending.reports.some(function (report) {
|
|
1897
|
-
var _contexts$
|
|
1898
|
-
return ((_contexts$
|
|
1937
|
+
var _contexts$get4;
|
|
1938
|
+
return ((_contexts$get4 = contexts.get(report.context)) == null ? void 0 : _contexts$get4.kind) === "disabled";
|
|
1899
1939
|
})) return;
|
|
1900
1940
|
backoff({});
|
|
1901
1941
|
schedule();
|
|
@@ -1914,6 +1954,43 @@
|
|
|
1914
1954
|
}
|
|
1915
1955
|
return report;
|
|
1916
1956
|
}
|
|
1957
|
+
/** Visible milliseconds until an unarmed stream stalls, or null outside capture. */
|
|
1958
|
+
function untilStall(stream, report) {
|
|
1959
|
+
if (report.lane !== "sdk" || !report.current) return null;
|
|
1960
|
+
if (!capturePhases.has(report.current.phase)) return null;
|
|
1961
|
+
var stalled = Math.min(report.current.phaseRunVisibleMs, report.visibleMs - stream.progressVisibleMs);
|
|
1962
|
+
return stallMs - stalled;
|
|
1963
|
+
}
|
|
1964
|
+
function arm(stream, report) {
|
|
1965
|
+
var _report$current$phase, _report$current, _report$current$phase2, _report$current2;
|
|
1966
|
+
stream.armed = true;
|
|
1967
|
+
var run = (_report$current$phase = (_report$current = report.current) == null ? void 0 : _report$current.phaseRunVisibleMs) != null ? _report$current$phase : 0;
|
|
1968
|
+
stream.checkpointPhase = (_report$current$phase2 = (_report$current2 = report.current) == null ? void 0 : _report$current2.phaseEntryOrdinal) != null ? _report$current$phase2 : -1;
|
|
1969
|
+
stream.checkpoint = nextCheckpointAfter(run);
|
|
1970
|
+
stream.lastValuableVisibleMs = report.visibleMs;
|
|
1971
|
+
enqueue(stream, "checkpoint");
|
|
1972
|
+
}
|
|
1973
|
+
/**
|
|
1974
|
+
* Arms a stream whose stall already elapsed. Runs before anything that could
|
|
1975
|
+
* erase it (progress, leaving the phase, retry, close, hiding), because a
|
|
1976
|
+
* busy main thread can delay the tick that would otherwise arm it.
|
|
1977
|
+
*/
|
|
1978
|
+
function armIfStalled(stream) {
|
|
1979
|
+
if (stream.armed || stream.disposed) return;
|
|
1980
|
+
var report = snapshotAt(stream.state, deps.now(), sequence, "checkpoint");
|
|
1981
|
+
if (!report.current || report.current.ended) return;
|
|
1982
|
+
var remaining = untilStall(stream, report);
|
|
1983
|
+
if (remaining !== null && remaining <= 0) arm(stream, report);
|
|
1984
|
+
}
|
|
1985
|
+
/** Whether a progress milestone count rose, including recorder-derived ones. */
|
|
1986
|
+
function madeProgress(previous, next) {
|
|
1987
|
+
var before = previous.report.milestones;
|
|
1988
|
+
var after = next.report.milestones;
|
|
1989
|
+
return _toConsumableArray(progressMilestones).some(function (code) {
|
|
1990
|
+
var _after$code, _before$code;
|
|
1991
|
+
return ((_after$code = after[code]) != null ? _after$code : 0) > ((_before$code = before[code]) != null ? _before$code : 0);
|
|
1992
|
+
});
|
|
1993
|
+
}
|
|
1917
1994
|
function tick() {
|
|
1918
1995
|
if (disposed || visibility === "hidden") return;
|
|
1919
1996
|
for (var _iterator9 = _createForOfIteratorHelperLoose$y(streams), _step9; !(_step9 = _iterator9()).done;) {
|
|
@@ -1924,6 +2001,10 @@
|
|
|
1924
2001
|
close(stream, "disposed");
|
|
1925
2002
|
continue;
|
|
1926
2003
|
}
|
|
2004
|
+
if (!stream.armed) {
|
|
2005
|
+
armIfStalled(stream);
|
|
2006
|
+
continue;
|
|
2007
|
+
}
|
|
1927
2008
|
if (report.current.phaseRunVisibleMs >= stream.checkpoint) {
|
|
1928
2009
|
enqueue(stream, "checkpoint");
|
|
1929
2010
|
var next = nextCheckpointAfter(report.current.phaseRunVisibleMs);
|
|
@@ -1947,6 +2028,11 @@
|
|
|
1947
2028
|
var stream = _step0.value;
|
|
1948
2029
|
var report = prepareDeadline(stream);
|
|
1949
2030
|
if (!(report != null && report.current)) continue;
|
|
2031
|
+
if (!stream.armed) {
|
|
2032
|
+
var remaining = untilStall(stream, report);
|
|
2033
|
+
if (remaining !== null) delay = Math.min(delay, Math.max(1, remaining));
|
|
2034
|
+
continue;
|
|
2035
|
+
}
|
|
1950
2036
|
delay = Math.min(delay, Math.max(1, stream.checkpoint - report.current.phaseRunVisibleMs));
|
|
1951
2037
|
if (report.lane === "sdk" && report.current.exposure.kind === "displayed") delay = Math.min(delay, Math.max(1, 15000 - report.current.guidanceRunVisibleMs, 20000 - (report.visibleMs - stream.lastValuableVisibleMs)));
|
|
1952
2038
|
}
|
|
@@ -1955,8 +2041,8 @@
|
|
|
1955
2041
|
}, delay);
|
|
1956
2042
|
}
|
|
1957
2043
|
function open(lane, context) {
|
|
1958
|
-
var _contexts$
|
|
1959
|
-
if (disposed || ((_contexts$
|
|
2044
|
+
var _contexts$get5;
|
|
2045
|
+
if (disposed || ((_contexts$get5 = contexts.get(context)) == null ? void 0 : _contexts$get5.kind) === "disabled" || streams.size >= 8) return null;
|
|
1960
2046
|
var stream = {
|
|
1961
2047
|
state: createRecorder({
|
|
1962
2048
|
lane: lane,
|
|
@@ -1971,6 +2057,8 @@
|
|
|
1971
2057
|
checkpoint: 20000,
|
|
1972
2058
|
checkpointPhase: -1,
|
|
1973
2059
|
lastValuableVisibleMs: -2e4,
|
|
2060
|
+
progressVisibleMs: 0,
|
|
2061
|
+
armed: deps.reporting === "always",
|
|
1974
2062
|
disposed: false
|
|
1975
2063
|
};
|
|
1976
2064
|
streams.add(stream);
|
|
@@ -1978,6 +2066,7 @@
|
|
|
1978
2066
|
}
|
|
1979
2067
|
function close(stream, status) {
|
|
1980
2068
|
if (stream.disposed) return;
|
|
2069
|
+
armIfStalled(stream);
|
|
1981
2070
|
if (stream.state.report.attemptStatus === "active") {
|
|
1982
2071
|
stream.state = endAttempt(stream.state, status, deps.now());
|
|
1983
2072
|
enqueue(stream, status === "disposed" ? "dispose" : "completion");
|
|
@@ -2010,16 +2099,19 @@
|
|
|
2010
2099
|
});
|
|
2011
2100
|
stream.checkpointPhase = -1;
|
|
2012
2101
|
stream.lastValuableVisibleMs = -2e4;
|
|
2102
|
+
stream.progressVisibleMs = 0;
|
|
2013
2103
|
}
|
|
2014
2104
|
function _observe(stream, observation) {
|
|
2015
2105
|
if (disposed || stream.disposed) return;
|
|
2106
|
+
armIfStalled(stream);
|
|
2016
2107
|
var previous = stream.state;
|
|
2017
2108
|
stream.state = reduceObservation(previous, observation, deps.now());
|
|
2109
|
+
if (madeProgress(previous, stream.state)) stream.progressVisibleMs = snapshotAt(stream.state, deps.now(), sequence, "milestone").visibleMs;
|
|
2018
2110
|
if (observation.kind === "phase") {
|
|
2019
2111
|
if (stream.state.phaseIndex !== previous.phaseIndex) enqueue(stream, "phase-change");
|
|
2020
2112
|
} else if (observation.kind === "milestone") enqueue(stream, observation.code === "operation-entered" ? "entry" : "milestone", observation.code === "operation-entered" ? 0 : 250);else if (observation.kind === "failure") enqueue(stream, "failure", 250);else if (["phase-completed", "flow-completed", "completed"].includes(observation.kind)) enqueue(stream, "completion");
|
|
2021
2113
|
var valuable = snapshotAt(stream.state, deps.now(), sequence, "valuable-state");
|
|
2022
|
-
if (valuable.lane === "sdk" && valuableStateDue(valuable, stream.lastValuableVisibleMs, stream.state.guidanceChanges)) {
|
|
2114
|
+
if (stream.armed && valuable.lane === "sdk" && valuableStateDue(valuable, stream.lastValuableVisibleMs, stream.state.guidanceChanges)) {
|
|
2023
2115
|
stream.lastValuableVisibleMs = valuable.visibleMs;
|
|
2024
2116
|
enqueue(stream, "valuable-state");
|
|
2025
2117
|
}
|
|
@@ -2032,6 +2124,7 @@
|
|
|
2032
2124
|
for (var _iterator1 = _createForOfIteratorHelperLoose$y(streams), _step1; !(_step1 = _iterator1()).done;) {
|
|
2033
2125
|
var stream = _step1.value;
|
|
2034
2126
|
if (stream.state.report.attemptStatus !== "active") continue;
|
|
2127
|
+
armIfStalled(stream);
|
|
2035
2128
|
stream.state = reduceObservation(stream.state, {
|
|
2036
2129
|
kind: "visibility",
|
|
2037
2130
|
visibility: next
|
|
@@ -2045,8 +2138,8 @@
|
|
|
2045
2138
|
return {
|
|
2046
2139
|
task: function task(context) {
|
|
2047
2140
|
try {
|
|
2048
|
-
var _contexts$
|
|
2049
|
-
if (disposed || !context || new TextEncoder().encode(context).length > 2048 || ((_contexts$
|
|
2141
|
+
var _contexts$get6;
|
|
2142
|
+
if (disposed || !context || new TextEncoder().encode(context).length > 2048 || ((_contexts$get6 = contexts.get(context)) == null ? void 0 : _contexts$get6.kind) === "disabled") return inertTask;
|
|
2050
2143
|
if (!contexts.has(context)) {
|
|
2051
2144
|
if (contexts.size >= 16) return inertTask;
|
|
2052
2145
|
contexts.set(context, {
|
|
@@ -54900,7 +54993,7 @@
|
|
|
54900
54993
|
});
|
|
54901
54994
|
}
|
|
54902
54995
|
|
|
54903
|
-
var webSdkVersion = '2.6.3-changeset-release-develop-
|
|
54996
|
+
var webSdkVersion = '2.6.3-changeset-release-develop-8a04e04';
|
|
54904
54997
|
|
|
54905
54998
|
// GENERATED by scripts/styleBagTypes.mjs from
|
|
54906
54999
|
// src/__fixtures__/sdk2StyleBags.json and the mapper sweep — do not
|