@expofp/schema 3.19.0 → 3.20.1

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.
@@ -1483,6 +1483,9 @@ export declare const ManifestSchema: z.ZodObject<{
1483
1483
  }, z.core.$strip>>;
1484
1484
  allowConsent: z.ZodOptional<z.ZodBoolean>;
1485
1485
  legacyDataUrlBase: z.ZodOptional<z.ZodString>;
1486
+ legacyDataVersion: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodObject<{
1487
+ $ref: z.ZodString;
1488
+ }, z.core.$strip>]>>;
1486
1489
  }, z.core.$loose>;
1487
1490
  /**
1488
1491
  * Caller-supplied overrides — the config fields a host may set when embedding
@@ -250,6 +250,19 @@ export const ManifestSchema = z.looseObject({
250
250
  * sees it.
251
251
  */
252
252
  legacyDataUrlBase: z.string().optional(),
253
+ /**
254
+ * Pin of the legacy data revision — the `version.json` value at manifest
255
+ * generation time. `loadConfig` cache-busts the legacy file refs with it
256
+ * (`?v=<pin>`) and skips its own `version.json` probe, so the manifest and
257
+ * the data it points at stay consistent by construction. `null` states
258
+ * "probed: no version.json exists" — the runtime cache-busts per load with
259
+ * a timestamp, still without probing. Only an ABSENT field (legacy
260
+ * manifests, which predate the pin) leaves the runtime to probe; the
261
+ * retired `$ref`-pointer shape still parses but is treated as absent. An
262
+ * input consumed by `loadConfig` like `legacyDataUrlBase`, never carried on
263
+ * the effective config.
264
+ */
265
+ legacyDataVersion: z.union([z.string(), z.null(), z.object({ $ref: z.string() })]).optional(),
253
266
  });
254
267
  /**
255
268
  * Caller-supplied overrides — the config fields a host may set when embedding
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/schema",
3
- "version": "3.19.0",
3
+ "version": "3.20.1",
4
4
  "type": "module",
5
5
  "description": "ExpoFP SDK internal: expo data schemas and types",
6
6
  "homepage": "https://developer.expofp.com/",
@@ -25,7 +25,7 @@
25
25
  "zod": "4.4.3"
26
26
  },
27
27
  "devDependencies": {
28
- "@expofp/utils": "3.19.0"
28
+ "@expofp/utils": "3.20.1"
29
29
  },
30
30
  "files": [
31
31
  "dist",