@tenancy.nz/chat-ui 0.1.9 → 0.1.11
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/esm/index.js +16 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -26994,8 +26994,22 @@ function RC() {
|
|
|
26994
26994
|
}
|
|
26995
26995
|
function IC() {
|
|
26996
26996
|
return Cu || (Cu = (async () => {
|
|
26997
|
-
const r = RC()
|
|
26998
|
-
|
|
26997
|
+
const r = RC(), e = `
|
|
26998
|
+
if (typeof Promise.allSettled !== 'function') {
|
|
26999
|
+
Promise.allSettled = function(iterable) {
|
|
27000
|
+
const tasks = [];
|
|
27001
|
+
for (const item of iterable) {
|
|
27002
|
+
tasks.push(Promise.resolve(item)
|
|
27003
|
+
.then(value => ({ status: 'fulfilled', value }))
|
|
27004
|
+
.catch(reason => ({ status: 'rejected', reason }))
|
|
27005
|
+
);
|
|
27006
|
+
}
|
|
27007
|
+
return Promise.all(tasks);
|
|
27008
|
+
};
|
|
27009
|
+
}
|
|
27010
|
+
import '${r}';
|
|
27011
|
+
`, t = new Blob([e], { type: "application/javascript" }), n = URL.createObjectURL(t);
|
|
27012
|
+
kC.workerSrc = n;
|
|
26999
27013
|
try {
|
|
27000
27014
|
await fetch(r, { method: "GET" });
|
|
27001
27015
|
} catch {
|