@amplifyup/sdk 0.1.45 → 0.1.46
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/AmplifyRenderer.d.mts +1 -1
- package/dist/AmplifyRenderer.d.ts +1 -1
- package/dist/AmplifyRenderer.js +4 -0
- package/dist/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs +4 -0
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/dist/{query-2-zPPrMI.d.mts → query-CWFb7rSm.d.mts} +1 -1
- package/dist/{query-CFpvzSZT.d.ts → query-L7zSmLFX.d.ts} +1 -1
- package/dist/react.d.mts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +4 -0
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +4 -0
- package/dist/react.mjs.map +1 -1
- package/dist/server.d.mts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/{types-NdLzHxZo.d.mts → types-DpTzUg1C.d.mts} +1 -0
- package/dist/{types-NdLzHxZo.d.ts → types-DpTzUg1C.d.ts} +1 -0
- package/package.json +1 -1
package/dist/AmplifyRenderer.mjs
CHANGED
|
@@ -482,6 +482,10 @@ function applyPageContext(input, opts) {
|
|
|
482
482
|
log.warn(`AmplifyUp: unknown resource field "${k}" dropped`);
|
|
483
483
|
continue;
|
|
484
484
|
}
|
|
485
|
+
if (def.passThrough) {
|
|
486
|
+
if (v != null) fields[k] = v;
|
|
487
|
+
continue;
|
|
488
|
+
}
|
|
485
489
|
const coerced = coerceField(def, v, log);
|
|
486
490
|
if (coerced !== void 0) fields[k] = coerced;
|
|
487
491
|
}
|