@expofp/config 0.0.0-experimental.2d6c681 → 0.0.0-experimental.3b0db16
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/load-config.js +0 -12
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export { loadConfig } from './lib/load-config.js';
|
|
|
7
7
|
export { type StorageLike } from './lib/local-storage-codec.js';
|
|
8
8
|
export { type ConfigResourceStore, serializationFormat, serializeConfigResources, SERIALIZER_VERSION, } from './lib/serialize-config-resources.js';
|
|
9
9
|
export { compactUrl, resolveUrl } from './lib/store-ref.js';
|
|
10
|
-
export { parseFromUrlTolerant
|
|
10
|
+
export { parseFromUrlTolerant } from './lib/url-codec.js';
|
|
11
11
|
export { parseIntentsFromUrl, serializeIntentToUrl } from './lib/url-intents.js';
|
|
12
12
|
export { type Config, type Consent, type Manifest, type Options } from '@expofp/schema';
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -8,5 +8,5 @@ export { parseLegacyQuery, serializeSelection, splitPlatformParams, } from './li
|
|
|
8
8
|
export { loadConfig } from './lib/load-config.js';
|
|
9
9
|
export { serializationFormat, serializeConfigResources, SERIALIZER_VERSION, } from './lib/serialize-config-resources.js';
|
|
10
10
|
export { compactUrl, resolveUrl } from './lib/store-ref.js';
|
|
11
|
-
export { parseFromUrlTolerant
|
|
11
|
+
export { parseFromUrlTolerant } from './lib/url-codec.js';
|
|
12
12
|
export { parseIntentsFromUrl, serializeIntentToUrl } from './lib/url-intents.js';
|
package/dist/lib/load-config.js
CHANGED
|
@@ -146,18 +146,6 @@ export async function loadConfig(manifest, options, url, storage) {
|
|
|
146
146
|
// a pending-poll may have landed on a fresh ?v= URL — the config must
|
|
147
147
|
// point at the ref that actually resolved
|
|
148
148
|
config.fpSvgJsRef = fpSvg.ref;
|
|
149
|
-
// The venue document is plan-derived, so the drawing — not the expo
|
|
150
|
-
// database's data.js projection — is its home: it rides beside the
|
|
151
|
-
// `__fpLayers` its layer names join to, written by the same converter run.
|
|
152
|
-
// A converter that emits the key is authoritative, including when it says
|
|
153
|
-
// the plan has no venues (`assignDefined` skips only `undefined`, so an
|
|
154
|
-
// empty array does overwrite a data.js that has not caught up). An absent
|
|
155
|
-
// key means the drawing predates the change and the data.js value stands.
|
|
156
|
-
// The payload is unvalidated in production (see `validateOrClone`), so a
|
|
157
|
-
// non-object value is dropped rather than spread character-by-character.
|
|
158
|
-
const drawingVenues = fpSvg.payload.__fpVenues;
|
|
159
|
-
if (drawingVenues && typeof drawingVenues === 'object')
|
|
160
|
-
assignDefined(config, drawingVenues);
|
|
161
149
|
if (!Object.keys(config.fpSvgLayerJsRefs).length && legacyDataUrlBase) {
|
|
162
150
|
config.fpSvgLayerJsRefs = buildFpSvgLayerJsRefs(fpSvg.payload, legacyDataUrlBase, legacyDataVersion);
|
|
163
151
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expofp/config",
|
|
3
|
-
"version": "0.0.0-experimental.
|
|
3
|
+
"version": "0.0.0-experimental.3b0db16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "ExpoFP SDK internal: config layer and schemas",
|
|
6
6
|
"homepage": "https://developer.expofp.com/",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"debug": "^4.4.3",
|
|
30
30
|
"tslib": "^2.3.0",
|
|
31
31
|
"zod": "4.4.3",
|
|
32
|
-
"@expofp/resolve": "0.0.0-experimental.
|
|
33
|
-
"@expofp/schema": "0.0.0-experimental.
|
|
34
|
-
"@expofp/utils": "0.0.0-experimental.
|
|
32
|
+
"@expofp/resolve": "0.0.0-experimental.3b0db16",
|
|
33
|
+
"@expofp/schema": "0.0.0-experimental.3b0db16",
|
|
34
|
+
"@expofp/utils": "0.0.0-experimental.3b0db16"
|
|
35
35
|
}
|
|
36
36
|
}
|