@toddledev/ssr
Advanced tools
Comparing version 0.0.3-alpha.11 to 0.0.3-alpha.12
@@ -292,3 +292,9 @@ "use strict"; | ||
Variables: (0, collections_1.mapValues)(component.variables, ({ initialValue }) => { | ||
return (0, formula_1.applyFormula)(initialValue, formulaContext); | ||
return (0, formula_1.applyFormula)(initialValue, { | ||
...formulaContext, | ||
data: { | ||
...formulaContext.data, | ||
Contexts: contexts, | ||
}, | ||
}); | ||
}), | ||
@@ -295,0 +301,0 @@ Apis: apis, |
@@ -15,7 +15,7 @@ { | ||
"dependencies": { | ||
"@toddledev/core": "0.0.3-alpha.11", | ||
"@toddledev/core": "0.0.3-alpha.12", | ||
"cookie": "1.0.2", | ||
"xss": "1.0.15" | ||
}, | ||
"version": "0.0.3-alpha.11" | ||
"version": "0.0.3-alpha.12" | ||
} |
@@ -451,3 +451,9 @@ import { ApiStatus, LegacyApiStatus } from '@toddledev/core/dist/api/apiTypes' | ||
Variables: mapValues(component.variables, ({ initialValue }) => { | ||
return applyFormula(initialValue, formulaContext) | ||
return applyFormula(initialValue, { | ||
...formulaContext, | ||
data: { | ||
...formulaContext.data, | ||
Contexts: contexts, | ||
}, | ||
}) | ||
}), | ||
@@ -454,0 +460,0 @@ Apis: apis, |
Sorry, the diff of this file is not supported yet
184191
3805
+ Added@toddledev/core@0.0.3-alpha.12(transitive)
- Removed@toddledev/core@0.0.3-alpha.11(transitive)