@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.
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { P as PageConfig } from './types-NdLzHxZo.mjs';
3
+ import { P as PageConfig } from './types-DpTzUg1C.mjs';
4
4
 
5
5
  interface AmplifyRendererProps {
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { P as PageConfig } from './types-NdLzHxZo.js';
3
+ import { P as PageConfig } from './types-DpTzUg1C.js';
4
4
 
5
5
  interface AmplifyRendererProps {
6
6
  /**
@@ -484,6 +484,10 @@ function applyPageContext(input, opts) {
484
484
  log.warn(`AmplifyUp: unknown resource field "${k}" dropped`);
485
485
  continue;
486
486
  }
487
+ if (def.passThrough) {
488
+ if (v != null) fields[k] = v;
489
+ continue;
490
+ }
487
491
  const coerced = coerceField(def, v, log);
488
492
  if (coerced !== void 0) fields[k] = coerced;
489
493
  }