@bobfrankston/mailx 1.0.183 → 1.0.184
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/client/.msger-window.json +1 -1
- package/client/android.html +25 -4
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"height":1344,"width":
|
|
1
|
+
{"height":1344,"width":1946,"x":172,"y":85}
|
package/client/android.html
CHANGED
|
@@ -19,12 +19,33 @@
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
</script>
|
|
22
|
+
<!-- Early error handlers — runs before modules, catches everything -->
|
|
23
|
+
<script>
|
|
24
|
+
window.addEventListener("unhandledrejection", function(e) {
|
|
25
|
+
var msg = "UNHANDLED: " + (e.reason?.message || e.reason || "unknown");
|
|
26
|
+
var el = document.getElementById("startup-status");
|
|
27
|
+
if (el) el.textContent = msg;
|
|
28
|
+
fetch("https://rmf39.aaz.lt/logit/" + encodeURIComponent("JS/REJECT: " + msg) + "?log=mailx-android").catch(function(){});
|
|
29
|
+
});
|
|
30
|
+
window.onerror = function(msg, src, line) {
|
|
31
|
+
var el = document.getElementById("startup-status");
|
|
32
|
+
if (el) el.textContent = "ERROR: " + msg;
|
|
33
|
+
fetch("https://rmf39.aaz.lt/logit/" + encodeURIComponent("JS/ERR: " + msg + " " + src + ":" + line) + "?log=mailx-android").catch(function(){});
|
|
34
|
+
};
|
|
35
|
+
</script>
|
|
22
36
|
<!-- Android: load bootstrap first (installs window.mailxapi), then app -->
|
|
23
37
|
<script type="module">
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
38
|
+
try {
|
|
39
|
+
const { initAndroid } = await import("@bobfrankston/mailx-store-web/android-bootstrap.js");
|
|
40
|
+
await initAndroid();
|
|
41
|
+
await import("./app.js");
|
|
42
|
+
} catch (e) {
|
|
43
|
+
const msg = "BOOTSTRAP FAILED: " + (e.message || e) + "\n" + (e.stack || "");
|
|
44
|
+
const el = document.getElementById("startup-status");
|
|
45
|
+
if (el) el.textContent = msg;
|
|
46
|
+
console.error(msg);
|
|
47
|
+
fetch("https://rmf39.aaz.lt/logit/" + encodeURIComponent("JS/FATAL: " + msg.substring(0, 500)) + "?log=mailx-android").catch(() => {});
|
|
48
|
+
}
|
|
28
49
|
</script>
|
|
29
50
|
</head>
|
|
30
51
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobfrankston/mailx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.184",
|
|
4
4
|
"description": "Local-first email client with IMAP sync and standalone native app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "bin/mailx.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@bobfrankston/iflow-node": "^0.1.2",
|
|
25
25
|
"@bobfrankston/miscinfo": "^1.0.8",
|
|
26
26
|
"@bobfrankston/oauthsupport": "^1.0.21",
|
|
27
|
-
"@bobfrankston/msger": "^0.1.
|
|
27
|
+
"@bobfrankston/msger": "^0.1.234",
|
|
28
28
|
"@capacitor/android": "^8.3.0",
|
|
29
29
|
"@capacitor/cli": "^8.3.0",
|
|
30
30
|
"@capacitor/core": "^8.3.0",
|