zen-flow 16.0.0 → 16.0.2

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/zenflow.d.ts CHANGED
@@ -69,7 +69,7 @@ type RecipeGrinder = {
69
69
  input: string;
70
70
  output: Ingredient;
71
71
  bonus?: {
72
- primary: Bonus;
72
+ primary?: Bonus;
73
73
  secondary?: Bonus;
74
74
  };
75
75
  turns: number;
package/dist/zenflow.js CHANGED
@@ -1399,7 +1399,7 @@ const addResearch = (recipe$1) => {
1399
1399
  const out = recipe(
1400
1400
  literal(recipe$1.id),
1401
1401
  literal(recipe$1.tab),
1402
- maybe(aspects)(recipe$1.aspects),
1402
+ maybe(aspects)(recipe$1.aspects) ?? null,
1403
1403
  recipe$1.x,
1404
1404
  recipe$1.y,
1405
1405
  recipe$1.complexity,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-flow",
3
- "version": "16.0.0",
3
+ "version": "16.0.2",
4
4
  "description": "MineTweaker ZenScript made easy.",
5
5
  "type": "module",
6
6
  "exports": {