mnfst 0.5.279 → 0.5.281

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.279';
5
+ const MANIFEST_BUILD_VERSION = '0.5.281';
6
6
 
7
7
  /* Manifest Data Sources - Appwrite Integration */
8
8
 
@@ -1749,124 +1749,4 @@ window.ManifestDataPagination = {
1749
1749
  };
1750
1750
 
1751
1751
 
1752
- /* Manifest Data Sources - Contract checks */
1753
-
1754
- // Rows of Appwrite sources whose table the contract declares throw when app code
1755
- // reads a column that is undeclared and never seen on a row. Dev hosts by default.
1756
- (function () {
1757
- const proxies = new WeakMap();
1758
- const targets = new WeakMap();
1759
- const warned = new Set();
1760
- // Read by the framework on every row; storage columns are added per source
1761
- const ALLOWED = new Set(['then', 'catch', 'finally', 'toJSON', 'length', 'contentType', 'fileIds']);
1762
- let enabled;
1763
- let tables = null;
1764
- const tableBySource = new Map();
1765
- const seenBySource = new Map();
1766
- let appwriteSources = null;
1767
-
1768
- function devHost(h) {
1769
- return h === 'localhost' || h === '127.0.0.1' || h === '[::1]' || h === '::1' || h === '0.0.0.0' ||
1770
- h.endsWith('.localhost') || h.endsWith('.local') || h.endsWith('.test');
1771
- }
1772
-
1773
- function hostMatches(pattern, host) {
1774
- const re = new RegExp('^' + String(pattern).toLowerCase().replace(/[.+?^${}()|[\]\\]/g, '\\$&').replace(/\*/g, '[^.]*') + '$');
1775
- return re.test(host);
1776
- }
1777
-
1778
- function config(manifest) {
1779
- const c = manifest && manifest.contract;
1780
- if (typeof c === 'string') return { module: c, checks: 'dev' };
1781
- if (c && typeof c === 'object' && typeof c.module === 'string') return { module: c.module, checks: c.checks === undefined ? 'dev' : c.checks };
1782
- return null;
1783
- }
1784
-
1785
- function decide(manifest) {
1786
- const cfg = config(manifest);
1787
- if (!cfg || cfg.checks === false) return false;
1788
- const host = String(location.hostname || '').toLowerCase();
1789
- if (cfg.checks === true) return cfg;
1790
- if (devHost(host)) return cfg;
1791
- return Array.isArray(cfg.checks) && cfg.checks.some(p => hostMatches(p, host)) ? cfg : false;
1792
- }
1793
-
1794
- function load(manifest, cfg) {
1795
- import(new URL(cfg.module, location.origin + '/').href).then(mod => {
1796
- tables = mod && mod.tables && typeof mod.tables === 'object' ? mod.tables : {};
1797
- const defaultDb = manifest.appwrite && (manifest.appwrite.databaseId || manifest.appwrite.database);
1798
- for (const [source, src] of Object.entries(manifest.data || {})) {
1799
- if (!src || typeof src.appwriteTableId !== 'string') continue;
1800
- const db = src.appwriteDatabaseId || defaultDb;
1801
- const hit = Object.entries(tables).find(([key, t]) => t && (t.id || key) === src.appwriteTableId && (!t.database || !db || t.database === db));
1802
- if (!hit || !Array.isArray(hit[1].columns)) continue;
1803
- const columns = new Set(hit[1].columns);
1804
- for (const c of Object.values(src.storage || {})) columns.add(typeof c === 'string' ? c : (c && c.column) || 'fileIds');
1805
- tableBySource.set(source, { key: hit[0], columns });
1806
- }
1807
- }).catch(e => {
1808
- console.warn(`[Manifest] contract ${cfg.module} failed to load; column checks are off`, e);
1809
- tables = {};
1810
- });
1811
- }
1812
-
1813
- function isEnabled() {
1814
- if (enabled !== undefined) return enabled;
1815
- const manifest = window.__manifestLoaded;
1816
- if (!manifest) return false;
1817
- const cfg = decide(manifest);
1818
- enabled = !!cfg;
1819
- if (cfg) {
1820
- appwriteSources = new Set(Object.entries(manifest.data || {}).filter(([, s]) => s && typeof s.appwriteTableId === 'string').map(([k]) => k));
1821
- load(manifest, cfg);
1822
- }
1823
- return enabled;
1824
- }
1825
-
1826
- const known = (key, table) => key[0] === '$' || key[0] === '_' || ALLOWED.has(key) || table.columns.has(key);
1827
-
1828
- function drift(source, table, row) {
1829
- for (const key of Object.keys(row)) {
1830
- if (known(key, table) || warned.has(source + '\0' + key)) continue;
1831
- warned.add(source + '\0' + key);
1832
- console.warn(`[Manifest] data source "${source}" has column "${key}", which the contract does not declare for "${table.key}"`);
1833
- }
1834
- }
1835
-
1836
- function guard(source, row) {
1837
- if (!row || typeof row !== 'object' || Array.isArray(row) || !isEnabled() || !appwriteSources.has(source)) return row;
1838
- const existing = proxies.get(row);
1839
- if (existing) return existing;
1840
- let seen = seenBySource.get(source);
1841
- if (!seen) seenBySource.set(source, seen = new Set());
1842
- for (const key of Object.keys(row)) seen.add(key);
1843
- let checked = false;
1844
- const proxy = new Proxy(row, {
1845
- // App reads arrive through Alpine's reactive proxy; its own old-value reads use this one
1846
- get(target, key, receiver) {
1847
- if (typeof key === 'string' && tables && receiver !== proxy) {
1848
- const table = tableBySource.get(source);
1849
- if (table) {
1850
- if (!checked) { checked = true; drift(source, table, target); }
1851
- if (!known(key, table) && !(key in target) && !seen.has(key)) {
1852
- throw new Error(`[Manifest] "${key}" is not a column of "${table.key}" in the contract (data source "${source}")`);
1853
- }
1854
- }
1855
- }
1856
- return Reflect.get(target, key, receiver);
1857
- }
1858
- });
1859
- proxies.set(row, proxy);
1860
- proxies.set(proxy, proxy);
1861
- targets.set(proxy, row);
1862
- return proxy;
1863
- }
1864
-
1865
- // Framework reads go through the unchecked row
1866
- const raw = (obj) => (obj && targets.get(obj)) || obj;
1867
-
1868
- window.ManifestDataContract = { guard, raw };
1869
- })();
1870
-
1871
-
1872
1752
  })();
package/lib/manifest.d.ts CHANGED
@@ -226,8 +226,8 @@ export type ManifestObjectSource<T> = T & ManifestSourceState;
226
226
  export type ManifestBucketSource = ReadonlyArray<ManifestFile> & ManifestSourceState & ManifestAppwriteBucketOps;
227
227
 
228
228
  /**
229
- * Precise row types, keyed by data source name. Declare them to override the
230
- * column names `npx mnfst-types` reads from the contract:
229
+ * Precise row types, keyed by data source name. Appwrite rows accept any
230
+ * field until declared here:
231
231
  *
232
232
  * declare module 'mnfst' { interface ManifestRows { tasks: Task } }
233
233
  */
@@ -2,7 +2,7 @@
2
2
 
3
3
  (function () {
4
4
 
5
- const MANIFEST_BUILD_VERSION = '0.5.279';
5
+ const MANIFEST_BUILD_VERSION = '0.5.281';
6
6
 
7
7
  /* Manifest Data Sources - Configuration */
8
8
 
@@ -397,7 +397,7 @@ function mergeRowFields(target, fields, dataSourceName) {
397
397
  if (key === '$files') continue;
398
398
  const value = fields[key];
399
399
  if (sameScalarOrList(raw[key], value)) continue;
400
- target[key] = createReactiveReferences(value, dataSourceName, true);
400
+ target[key] = createReactiveReferences(value, dataSourceName);
401
401
  }
402
402
  }
403
403
 
@@ -955,25 +955,24 @@ function getRawData(dataSourceName) {
955
955
  }
956
956
 
957
957
  // New object/array references (incl. nested arrays like fileIds) so Alpine tracks changes
958
- function createReactiveReferences(data, dataSourceName = null, nested = false) {
958
+ function createReactiveReferences(data, dataSourceName = null) {
959
959
  if (data === null || data === undefined) {
960
960
  return data;
961
961
  }
962
962
 
963
963
  if (Array.isArray(data)) {
964
964
  // Create new array with new references for each item
965
- return data.map(item => createReactiveReferences(item, dataSourceName, nested));
965
+ return data.map(item => createReactiveReferences(item, dataSourceName));
966
966
  }
967
967
 
968
968
  if (typeof data === 'object') {
969
969
  // Object.keys, not for…in + .hasOwnProperty (see deepSeal). Hot path for
970
970
  // every Appwrite mutation result and realtime event.
971
971
  const newObj = {};
972
- let self = newObj;
973
972
  for (const key of Object.keys(data)) {
974
973
  const value = data[key];
975
974
  // Recursively create new references for nested objects/arrays
976
- newObj[key] = createReactiveReferences(value, dataSourceName, true);
975
+ newObj[key] = createReactiveReferences(value, dataSourceName);
977
976
  }
978
977
 
979
978
  // Detect file objects (have mimeType or sizeOriginal)
@@ -1012,7 +1011,7 @@ function createReactiveReferences(data, dataSourceName = null, nested = false) {
1012
1011
  data.$id,
1013
1012
  bucketName,
1014
1013
  columnName,
1015
- { owner: self }
1014
+ { owner: newObj }
1016
1015
  );
1017
1016
 
1018
1017
  // Assign computed array to entry
@@ -1199,11 +1198,7 @@ function createReactiveReferences(data, dataSourceName = null, nested = false) {
1199
1198
  });
1200
1199
  }
1201
1200
 
1202
- // Contract checks wrap top-level Appwrite rows (dev and opted-in hosts)
1203
- if (!nested && isDatabaseEntry && dataSourceName && window.ManifestDataContract) {
1204
- self = window.ManifestDataContract.guard(dataSourceName, newObj);
1205
- }
1206
- return self;
1201
+ return newObj;
1207
1202
  }
1208
1203
 
1209
1204
  // Primitives can be returned as-is
@@ -7970,7 +7965,9 @@ function createAppwriteMethodsHandler(dataSourceName, reloadDataSource) {
7970
7965
  if (!sourceUnloaded) clearErrorState();
7971
7966
  // Reads are ordered by call, not by network start: the last-issued one lands
7972
7967
  let readToken = method === '$query' ? window.ManifestDataStore?.beginRead?.(dataSourceName) : undefined;
7973
- let queryIntentRef = null;
7968
+ // Recorded at call time: a lazy first load started after this defers to it
7969
+ const queryIntentRef = method === '$query' ? { queries: args[0] ?? [] } : null;
7970
+ if (queryIntentRef) window.ManifestDataMain?.noteQueryIntent?.(dataSourceName, queryIntentRef);
7974
7971
 
7975
7972
  try {
7976
7973
  const manifest = await window.ManifestDataConfig?.ensureManifest?.();
@@ -8344,8 +8341,6 @@ function createAppwriteMethodsHandler(dataSourceName, reloadDataSource) {
8344
8341
  queries = named;
8345
8342
  }
8346
8343
  window.ManifestDataStore?.setSourceState?.(dataSourceName, { loading: true });
8347
- queryIntentRef = [...(queries || [])]; // own copy: a named query's array is shared
8348
- window.ManifestDataMain?.noteQueryIntent?.(dataSourceName, queryIntentRef);
8349
8344
  // A $auth. value or scope not resolved yet: wait for auth once, then run
8350
8345
  const build = () => window.ManifestDataQueries.buildAppwriteQueries(queries || [], scope, scopeColumns);
8351
8346
  let appwriteQueries = await build();
@@ -9161,13 +9156,13 @@ function createAppwriteMethodsHandler(dataSourceName, reloadDataSource) {
9161
9156
 
9162
9157
  throw new Error(`[Manifest Data] Method "${method}" not supported for this data source`);
9163
9158
  } catch (error) {
9164
- // A $query that failed is not what the source shows: a sign-in doesn't re-run it
9165
- if (method === '$query') window.ManifestDataMain?.dropQueryIntent?.(dataSourceName, queryIntentRef);
9166
9159
  // Automatically set error state - no need for inline .catch() in HTML
9167
9160
  setErrorState(error);
9168
9161
  // Re-throw so promise chain still works if caller wants to handle it
9169
9162
  throw error;
9170
9163
  } finally {
9164
+ // In flight no longer: landed, it shows as the active query; failed, it never shows
9165
+ if (queryIntentRef) window.ManifestDataMain?.dropQueryIntent?.(dataSourceName, queryIntentRef);
9171
9166
  if (readToken !== undefined) {
9172
9167
  const ds = window.ManifestDataStore;
9173
9168
  ds?.endRead?.(dataSourceName, readToken);
@@ -12022,7 +12017,7 @@ function setupAuthResetListener() {
12022
12017
  if (!isIdentityBound(config) || raw[`_${name}_state`] === undefined) continue;
12023
12018
  if (!clear && keepQuery && awaitingQueries.has(name)) continue; // a $query waiting on this sign-in runs it
12024
12019
  if (!clear && readAtEvent !== undefined && (ds.currentRead?.(name) ?? 0) > readAtEvent) continue;
12025
- const active = keepQuery ? (queryIntents.get(name) || activeQueries.get(name)) : null;
12020
+ const active = keepQuery ? (queryIntents.get(name)?.queries || activeQueries.get(name)) : null;
12026
12021
  if (clear) {
12027
12022
  window.ManifestDataRealtime?.unsubscribeFromDataSource?.(name);
12028
12023
  ds.resetSource(name);
@@ -12300,7 +12295,8 @@ function configureRealtimeMeta(dataSourceName, config, initialCount, limitQuery)
12300
12295
  // server-filters by it until the next default load replaces the rows
12301
12296
  const activeQueries = new Map();
12302
12297
  const awaitingQueries = new Set(); // sources with a $query waiting for auth to settle
12303
- const queryIntents = new Map(); // the latest $query asked of a source (cleared by a default load)
12298
+ const queryIntents = new Map(); // a $query in flight for a source, { queries }
12299
+ const deferredLoads = new Set(); // source:locale keys of in-flight loads that deferred to a $query
12304
12300
  const realtimeBinds = new Map(); // Map<name, { config, mode, rebind }>
12305
12301
 
12306
12302
  function realtimeQueriesFor(dataSourceName, defaults) {
@@ -12931,8 +12927,12 @@ async function loadDataSource(dataSourceName, locale = 'en', options = {}) {
12931
12927
  // Memory cache (this page-load's fetches). Serving cached data is fine, but
12932
12928
  // writing an old locale to the live store would clobber a concurrent locale
12933
12929
  // switch — so guard the store write via the `_locale` stamp.
12930
+ // A $query in flight, or its rows showing: lazy reads defer to it (see below)
12931
+ const queryHolds = () => queryIntents.has(dataSourceName) || (activeQueries.has(dataSourceName) && hasLiveRows(dataSourceName));
12932
+
12934
12933
  if (!options.reload && dataSourceCache.has(cacheKey)) {
12935
12934
  const cachedData = dataSourceCache.get(cacheKey);
12935
+ if (queryHolds()) return cachedData;
12936
12936
  const live = (window.Alpine && Alpine.store('locale')?.current)
12937
12937
  || document.documentElement.lang || locale;
12938
12938
  const staleLocaleHit = locale !== live && !!(cachedData && cachedData._locale);
@@ -12943,6 +12943,15 @@ async function loadDataSource(dataSourceName, locale = 'en', options = {}) {
12943
12943
  return cachedData;
12944
12944
  }
12945
12945
 
12946
+ // An explicit reload never joins a load that deferred to a $query: it runs after it
12947
+ // It counts as issued now: a $query called after it still wins
12948
+ if (options.reload && deferredLoads.has(cacheKey) && loadingPromises.has(cacheKey)) {
12949
+ const issued = options.issuedRead ?? window.ManifestDataStore.beginRead?.(dataSourceName);
12950
+ if (options.issuedRead === undefined) queryIntents.delete(dataSourceName);
12951
+ return loadingPromises.get(cacheKey).catch(() => null)
12952
+ .then(() => loadDataSource(dataSourceName, locale, { ...options, issuedRead: issued }));
12953
+ }
12954
+
12946
12955
  // In flight for this source+locale: share it (every entry path lands here);
12947
12956
  // joining makes it the latest read again
12948
12957
  if (loadingPromises.has(cacheKey)) {
@@ -12951,8 +12960,14 @@ async function loadDataSource(dataSourceName, locale = 'en', options = {}) {
12951
12960
  }
12952
12961
 
12953
12962
  // Reads are ordered by call: a $query issued after this load wins over it
12954
- const readToken = window.ManifestDataStore.beginRead?.(dataSourceName);
12955
- queryIntents.delete(dataSourceName);
12963
+ // A lazy read while a $query is in flight, or while a $query's rows are showing, only binds
12964
+ // realtime: it neither outranks that $query nor lands default rows. An explicit reload does both.
12965
+ // (A listener that clears the rows first — locale, team — gets the defaults as before.)
12966
+ const deferred = !options.reload && queryHolds();
12967
+ const deferToQuery = () => deferred && queryHolds();
12968
+ const readToken = deferred ? undefined : (options.issuedRead ?? window.ManifestDataStore.beginRead?.(dataSourceName));
12969
+ if (deferred) deferredLoads.add(cacheKey);
12970
+ if (options.reload && options.issuedRead === undefined) queryIntents.delete(dataSourceName);
12956
12971
  let pagedResult = null;
12957
12972
  window.ManifestDataStore.loadReadTokens?.set(cacheKey, readToken);
12958
12973
 
@@ -13297,8 +13312,8 @@ async function loadDataSource(dataSourceName, locale = 'en', options = {}) {
13297
13312
 
13298
13313
  if (superseded()) { landed = true; return null; }
13299
13314
 
13300
- // A $query issued since this load began: its rows stand, this result never lands
13301
- if (window.ManifestDataStore.isLatestRead && !window.ManifestDataStore.isLatestRead(dataSourceName, readToken)) {
13315
+ // A $query issued since this load began (or one it deferred to): its rows stand, this result never lands
13316
+ if (deferToQuery() || (window.ManifestDataStore.isLatestRead && !window.ManifestDataStore.isLatestRead(dataSourceName, readToken))) {
13302
13317
  landed = true;
13303
13318
  if (!isInitializing) setSourceState(dataSourceName, { loading: false });
13304
13319
  return enhancedData;
@@ -13363,7 +13378,8 @@ async function loadDataSource(dataSourceName, locale = 'en', options = {}) {
13363
13378
  if (!landed && keepRows && !isInitializing && !superseded()) setSourceState(dataSourceName, { loading: false });
13364
13379
  }
13365
13380
  });
13366
- run.then(settled, settled);
13381
+ const done = () => { settled(); deferredLoads.delete(cacheKey); };
13382
+ run.then(done, done);
13367
13383
  return run;
13368
13384
  }
13369
13385
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "manifest.appwrite.auth.js": "sha384-gWLSeVPqCLMiUZB8MU7GqMg3x2yULFUsp8nTTZrPp/9Dlkix42rBn9yIimvwrHqZ",
3
- "manifest.appwrite.data.js": "sha384-HGDENGMqr2x0MJ0hdMJKu8u76g8P8ilZF7m0lewPVyzPb3z8Hn2hAQBIps7HnNgI",
3
+ "manifest.appwrite.data.js": "sha384-LsGwD7Yy7glQTK/Eeuq27XjudyzG+k6BnsgpnemLqrLAe7UmWoLEp8hebdXt5dkl",
4
4
  "manifest.appwrite.presences.js": "sha384-LINPhIPTCK+rA8zd+HPUzMSEgH6Sl2vQMEyItT97bnEE2FYGYKqjXX+CWdt6nl9z",
5
5
  "manifest.bindings.js": "sha384-lPtMf8Ykaic9gNVZKq8Scia1881ZeMAyxer3WCIkUNwwrgzGBWto1OXADUwjvORF",
6
6
  "manifest.charts.js": "sha384-AFbP7mQnigy7DU1s+YE30yKTeQAKfgNazhbfSNbfd9ZpLgeulZKaPi/fAq3gJHDO",
@@ -11,7 +11,7 @@
11
11
  "manifest.combobox.js": "sha384-/lJo6vaxKjgnBSRs/dzkhK1dzGk3GBw8FISoNJZB70mwAVwu1k5veZyBXjOb4keS",
12
12
  "manifest.components.js": "sha384-1el5WMdgmzu/2ocaYN21OjLi/lfjllvA8aju1J3knYuOizw+XFfJU1+rvGqYW7qk",
13
13
  "manifest.computed.js": "sha384-GYML/e81gQfN+iDbqhPUgny8bINCyL+SrbTofoGk4hlCnLLjv51mCv42JMqq+ku5",
14
- "manifest.data.js": "sha384-/80Rkio+kmm/A+lH4jjD5uK0WJ1uSXda7K2JXEc93AK8x1o40OJizq7NFBKpfnN+",
14
+ "manifest.data.js": "sha384-dvusYZHLe3Ps58VFVux7DySjjZ37wuu7k134fGdFVWZlDvD9tbH/Jeush/ExGsAB",
15
15
  "manifest.datepicker.js": "sha384-EzlMwvIxlla/0BuyhAEqxN0M8TGcWIWgEIg840V0akKQQK1uY648wPWMkobvtq/o",
16
16
  "manifest.defer.js": "sha384-PRp7+dCZHnnl55rX2xrHutLrQnszHo7o5o9Tq28M/yjLZPuXDzcwQNxCdvbtCYSz",
17
17
  "manifest.device.js": "sha384-YeQaS56L8IILqrQNBSeAOLwIh5DuAOrE60cYLK1+46qJtUrXlAvqGe2j5mbV4Vq7",
@@ -29,7 +29,7 @@
29
29
  "manifest.status.js": "sha384-ofu7nBnVIGZ1U1o2R9d2H3V8aEMPUCVbl5FO3gIToXqi0oa36fTviEdh5UU7Kitw",
30
30
  "manifest.submissions.js": "sha384-v9eS47ytAfTGIKAyVnbd0QWegucVS7yduvigqfsxxoqXmbaEoy0M2y+BiI4xeZBd",
31
31
  "manifest.svg.js": "sha384-qr/8H9+2cIhSXNbRWRtIdrDlTOxKlNJqwEefHvCYoiBNW/kKhPTFa109Orv/EBnb",
32
- "manifest.sw.js": "sha384-tfQWEMCzu3Bzs87VuM+LrBLqf8ZbuW0D14siQaUO5V4LPQmMETzc3eKs4PuLRPGC",
32
+ "manifest.sw.js": "sha384-+gso/pGmhxgSqzuOoHmEbm9KgCAbaNMRfI+4VqcGAFLyvOllMdZcX5d6+kgT840Z",
33
33
  "manifest.tabs.js": "sha384-otU09H7jnawVKQdLAYpMCd3jx00tgyPVr42D2hLIBzN5dG4se505YesavdnMqEi1",
34
34
  "manifest.tailwind.js": "sha384-yuP3LEvWU+QVjxjkZ0YhErtC9RrGmhOmHjjFjhS9obqZbp5/KTIEnSR0CXDvHE0B",
35
35
  "manifest.toasts.js": "sha384-UpOz9fAdGeGUhL0NamBg5iPepEfIy73p9HYdcxfOQC5b7CVsl7Our0skdZzaLNcC",
@@ -137,28 +137,6 @@
137
137
  "type": "string"
138
138
  }
139
139
  },
140
- "contract": {
141
- "description": "Shared contract module, a path from the project root (e.g. /shared/contract.js), whose `tables` export declares Appwrite tables and columns. mnfst-test checks data sources against it; on dev hosts (or hosts listed in `checks`) app code reading a column of an Appwrite row that is undeclared and absent from every row of the source throws.",
142
- "oneOf": [
143
- { "type": "string" },
144
- {
145
- "type": "object",
146
- "properties": {
147
- "module": { "type": "string" },
148
- "checks": {
149
- "description": "Where column checks run: 'dev' (default, local hosts), true (everywhere), false (nowhere), or host patterns such as '*-staging.example.com' (dev hosts included).",
150
- "oneOf": [
151
- { "type": "boolean" },
152
- { "type": "string", "enum": ["dev"] },
153
- { "type": "array", "items": { "type": "string" } }
154
- ]
155
- }
156
- },
157
- "required": ["module"],
158
- "additionalProperties": false
159
- }
160
- ]
161
- },
162
140
  "data": {
163
141
  "type": "object",
164
142
  "description": "Named data sources made available via $x.<sourceName>. Each value is either a string path/URL or a config object.",
@@ -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.279';
19
+ const BUILD_VERSION = '0.5.281';
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.279",
3
+ "version": "0.5.281",
4
4
  "private": false,
5
5
  "workspaces": [
6
6
  "templates/starter",
@@ -54,7 +54,6 @@
54
54
  "test:e2e:submissions": "node tests/e2e/submissions.e2e.mjs",
55
55
  "test:e2e:data-paging": "node tests/e2e/data-paging.e2e.mjs",
56
56
  "test:e2e:modules": "node tests/e2e/modules.e2e.mjs",
57
- "test:e2e:contract": "node tests/e2e/contract.e2e.mjs && node tests/e2e/contract-checks.e2e.mjs",
58
57
  "lint": "echo 'No linting configured'",
59
58
  "release:docs": "node scripts/release-bump.mjs packages/docs && cd packages/docs && npm publish --auth-type=web",
60
59
  "release:check": "node scripts/release-check.mjs"