@namiml/expo-sdk 3.4.12-dev.202609302156 → 3.4.12-dev.202609302217

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.cjs CHANGED
@@ -2809,6 +2809,13 @@ function resolveComponentSmartText(component, ctx) {
2809
2809
  return resolvedComponent;
2810
2810
  }
2811
2811
  function testObjectMatches(ctx, { value: rawValue, expected, operator }, block, sku) {
2812
+ // NAM-4638: `${system.time.*}` is evaluated by core against this presentation's snapshot
2813
+ // (`state.systemTimeSnapshot`, taken in core's PaywallState.setPaywall), on the raw token and
2814
+ // before smart text. Condition components, conditionAttributes, loopSourceConditions, slot
2815
+ // conditions and itemConditions all reach this one switch.
2816
+ const systemTime = sdkCore.evaluateSystemTimeCondition({ value: rawValue, operator, expected }, ctx?.state);
2817
+ if (systemTime !== null)
2818
+ return systemTime;
2812
2819
  let value = valueFromSmartText(ctx, rawValue, sku, block);
2813
2820
  expected = valueFromSmartText(ctx, expected, sku, block);
2814
2821
  if (operator === 'equals')