mnfst 0.5.246 → 0.5.247

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  (function () {
4
4
 
5
- const MANIFEST_BUILD_VERSION = '0.5.246';
5
+ const MANIFEST_BUILD_VERSION = '0.5.247';
6
6
 
7
7
  /* Manifest Data Sources - Appwrite Integration */
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  (function () {
4
4
 
5
- const MANIFEST_BUILD_VERSION = '0.5.246';
5
+ const MANIFEST_BUILD_VERSION = '0.5.247';
6
6
 
7
7
  /* Manifest Data Sources - Configuration */
8
8
 
@@ -11502,6 +11502,11 @@ function dropSubscription(dataSourceName, unsubscribe) {
11502
11502
  if (subs?.get?.(dataSourceName) === unsubscribe) subs.delete(dataSourceName);
11503
11503
  }
11504
11504
 
11505
+ // Init couldn't reach Appwrite: signed out locally until the recheck confirms or clears the session
11506
+ function sessionUnverified(auth) {
11507
+ return auth?._sessionUnverified === true && auth.isAuthenticated !== true;
11508
+ }
11509
+
11505
11510
  // Auth settled with no identity (or no auth plugin): a scoped read can't resolve until sign-in
11506
11511
  function authSettledSignedOut() {
11507
11512
  const auth = currentAuth();
@@ -12117,6 +12122,11 @@ async function loadDataSource(dataSourceName, locale = 'en', options = {}) {
12117
12122
  return false;
12118
12123
  }
12119
12124
  if (!authSettledUnresolvable(manifest)) return false;
12125
+ // Offline/unverified: restored rows of the last-known identity stay (logout and identity changes still reset)
12126
+ if (sessionUnverified(currentAuth()) && hasLiveRows(dataSourceName)) {
12127
+ setSourceState(dataSourceName, { loading: false, error: null, ready: true });
12128
+ return true;
12129
+ }
12120
12130
  updateStore(dataSourceName, [], { loading: false, error: null, ready: true });
12121
12131
  return true;
12122
12132
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest.appwrite.auth.js": "sha384-dsIWnH0qCAGSzAXMGrd8fvOrVl4tOIE6j5tC35JPTrQXZ56qLD36ARyvhR7vi3Id",
3
- "manifest.appwrite.data.js": "sha384-jeOzobMZv42WhbZ48jzse5PHLexYXx7VhHR59IyT5E7e+On+O5zLHBje0D0mMRS3",
3
+ "manifest.appwrite.data.js": "sha384-sNtP9DeNzeKENXQRFUh1HC5t3SZNFJPbzc9bTuosCf181JbY4v8i3hjKenuP2ICr",
4
4
  "manifest.appwrite.presences.js": "sha384-JyVDWFT69b7Svq8J8p9tNWe2v9PZNQBY5UyhtOl1vnuHFAX0CRQ3MA9SiKq5wzNh",
5
5
  "manifest.bindings.js": "sha384-lPtMf8Ykaic9gNVZKq8Scia1881ZeMAyxer3WCIkUNwwrgzGBWto1OXADUwjvORF",
6
6
  "manifest.charts.js": "sha384-G+huD7UvjF9zDovdVVlh4I5X1Mq4oNnJfoFg4NnGdP3R/4Skq9hy5cGuHNYLxDYm",
@@ -11,7 +11,7 @@
11
11
  "manifest.combobox.js": "sha384-MILTkrgsTzsYUjGo4ZuADqV85Xs4GmfB4xexfe9vbJMIoQTZ42W4zs+DTaVSPEsx",
12
12
  "manifest.components.js": "sha384-BUFA8h+G5Plr82sV7bKzO42pPoiRZwRQcKj1lt2ROFiKjjlkayU/vmkAFqEsdBA+",
13
13
  "manifest.computed.js": "sha384-GYML/e81gQfN+iDbqhPUgny8bINCyL+SrbTofoGk4hlCnLLjv51mCv42JMqq+ku5",
14
- "manifest.data.js": "sha384-j9OVEFvsLbMITqA9Fu8f3KcvcGjNO2HE5FgW1tjxMwwUikRoubaEj8XhFH01aR4s",
14
+ "manifest.data.js": "sha384-iaM1hIuvlArTLhJ2+79JpXpiRPusnKhldmHU00hFijo8kR8Ai1iKR3g5vuujCOBJ",
15
15
  "manifest.datepicker.js": "sha384-2XwFFnS4Bg5FDvG/v8x6KUvrjcBQEOYyTxynX2K/D/Qb3PI6+Y04lEwCnVDJLzwL",
16
16
  "manifest.defer.js": "sha384-pMRGqQKiEoJhpUcD40QeM4jEHau7sz9Xn/YCpiUamT1T4xJBZDSiYX+xnVrSWoq+",
17
17
  "manifest.device.js": "sha384-g+txmrEszYtuOvRelTp/c1wSNR2AtllVI9rx5NPPD7DzhVUnMNughonZykv2xlBW",
@@ -28,7 +28,7 @@
28
28
  "manifest.slides.js": "sha384-3uRTkyK9XPLmnxI2+igZlpi4EyPlU/7IHj5j3BZJJ2KN455vXyk99fiXV3feO/XY",
29
29
  "manifest.status.js": "sha384-MBO345ab7H6Uq1X2dZLt4Ge1Gcra+Z2qYApvlAeIV8CJhDDJrz2FPXpp+Kcp8zcM",
30
30
  "manifest.svg.js": "sha384-qr/8H9+2cIhSXNbRWRtIdrDlTOxKlNJqwEefHvCYoiBNW/kKhPTFa109Orv/EBnb",
31
- "manifest.sw.js": "sha384-4xhlg8+MN2W32Yh+pz7Ns5wYZ6qo6Tq6yWCneEFpiUepjwpMOA4AOI5yTsxQqQ7X",
31
+ "manifest.sw.js": "sha384-61zm8U61fdgOmq50j9aAplOPmDAhK7OhIydJW4OdxEKjnSkMT5WNzWTqcrk3+UGc",
32
32
  "manifest.tabs.js": "sha384-OIIcyaQnGS0eNYk4zgAFEDboNYect7THvUd9D0V6nqCeDOxQcoiqLrBEmmWVTTet",
33
33
  "manifest.tailwind.js": "sha384-r/Jvqb+Piz21jUts10BbVAJoKkShOdJRVFpywyi4HPIi/OfOJq5CtPyWAPbdkMgt",
34
34
  "manifest.toasts.js": "sha384-3zkWxzw693pxg3QDFsoYCA3CqYaLKmBaMArULXODD66Utolpewl0OAeTB92aWUVv",
@@ -16,7 +16,7 @@
16
16
 
17
17
  // Build stamps the published version here; unstamped (dev) falls back to the
18
18
  // registration URL's `v`, then 'dev'.
19
- const BUILD_VERSION = '0.5.246';
19
+ const BUILD_VERSION = '0.5.247';
20
20
  const CACHE_PREFIX = 'mnfst-sw:';
21
21
  const META_CACHE = CACHE_PREFIX + 'meta';
22
22
  // Sized to hold a full precache.json warm-up (PRECACHE_MAX_ENTRIES server-side)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mnfst",
3
- "version": "0.5.246",
3
+ "version": "0.5.247",
4
4
  "private": false,
5
5
  "workspaces": [
6
6
  "templates/starter",