@mcurros2/microm 1.1.145-0 → 1.1.146-0
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.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1653,12 +1653,12 @@ class $a1f6b3ef69eb7cc7$export$6118e57c65bf19ee {
|
|
|
1653
1653
|
console.warn("Error remembering user", error);
|
|
1654
1654
|
}
|
|
1655
1655
|
try {
|
|
1656
|
-
yield $a1f6b3ef69eb7cc7$var$__classPrivateFieldGet(this, $a1f6b3ef69eb7cc7$var$_MicroMClient_instances, "m", $a1f6b3ef69eb7cc7$var$_MicroMClient_getAPIEnabledMenus).call(this, username);
|
|
1656
|
+
yield $a1f6b3ef69eb7cc7$var$__classPrivateFieldGet(this, $a1f6b3ef69eb7cc7$var$_MicroMClient_instances, "m", $a1f6b3ef69eb7cc7$var$_MicroMClient_getAPIEnabledMenus).call(this, username, loginTimeout.signal);
|
|
1657
1657
|
} catch (error) {
|
|
1658
1658
|
console.warn("Error getting enabled menus", error);
|
|
1659
1659
|
}
|
|
1660
1660
|
try {
|
|
1661
|
-
yield $a1f6b3ef69eb7cc7$var$__classPrivateFieldGet(this, $a1f6b3ef69eb7cc7$var$_MicroMClient_instances, "m", $a1f6b3ef69eb7cc7$var$_MicroMClient_getTimeZoneOffset).call(this);
|
|
1661
|
+
yield $a1f6b3ef69eb7cc7$var$__classPrivateFieldGet(this, $a1f6b3ef69eb7cc7$var$_MicroMClient_instances, "m", $a1f6b3ef69eb7cc7$var$_MicroMClient_getTimeZoneOffset).call(this, loginTimeout.signal);
|
|
1662
1662
|
} catch (error) {
|
|
1663
1663
|
console.warn("Error getting server timezone offset", error);
|
|
1664
1664
|
}
|
|
@@ -1668,7 +1668,9 @@ class $a1f6b3ef69eb7cc7$export$6118e57c65bf19ee {
|
|
|
1668
1668
|
url: response.url
|
|
1669
1669
|
};
|
|
1670
1670
|
} catch (error) {
|
|
1671
|
-
|
|
1671
|
+
try {
|
|
1672
|
+
yield this.logoff();
|
|
1673
|
+
} catch (_a) {}
|
|
1672
1674
|
if (!(error instanceof Error && error.name === "AbortError")) //console.log(error);
|
|
1673
1675
|
throw error;
|
|
1674
1676
|
} finally{
|