zen-flow 2.2.0 → 2.2.1
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/README.md +1 -1
- package/dist/zenflow.cjs +1 -1
- package/dist/zenflow.d.ts +2 -2
- package/dist/zenflow.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ $ npm i zen-flow -D
|
|
|
23
23
|
|
|
24
24
|
- Easy to use API, written in <b>TypeScript</b>.
|
|
25
25
|
- <b>Polymorphic</b> and <b>variadic</b>; do more with less code.
|
|
26
|
-
- Supports both [MineTweaker3](http://minetweaker3.powerofbytes.com/) and [ModTweaker](http://minetweaker3.powerofbytes.com/wiki/ModTweaker).
|
|
26
|
+
- Supports both [MineTweaker3](http://minetweaker3.powerofbytes.com/) and [ModTweaker](https://web.archive.org/web/20200219174745/http://minetweaker3.powerofbytes.com/wiki/ModTweaker#Currently_Supported_Mods_1.7.10).
|
|
27
27
|
- <b>Formatted output</b>; makes debugging easier.
|
|
28
28
|
|
|
29
29
|
## Getting started
|
package/dist/zenflow.cjs
CHANGED
|
@@ -268,7 +268,7 @@ const removeSmelter = (left, right) => {
|
|
|
268
268
|
return `mods.thermalexpansion.Smelter.removeRecipe(${out});`;
|
|
269
269
|
};
|
|
270
270
|
const addTransposerFill = (recipe) => {
|
|
271
|
-
const out = formatArgs(recipe.rf, recipe.in, recipe.out, formatStack(recipe.liquid));
|
|
271
|
+
const out = formatArgs(recipe.rf, formatIngredient(recipe.in), formatIngredient(recipe.out), formatStack(recipe.liquid));
|
|
272
272
|
return `mods.thermalexpansion.Transposer.addFillRecipe(${out});`;
|
|
273
273
|
};
|
|
274
274
|
const removeTransposerFill = (id, liquid) => `mods.thermalexpansion.Transposer.removeFillRecipe(${formatArgs(id, liquid)});`;
|
package/dist/zenflow.d.ts
CHANGED
package/dist/zenflow.mjs
CHANGED
|
@@ -264,7 +264,7 @@ const removeSmelter = (left, right) => {
|
|
|
264
264
|
return `mods.thermalexpansion.Smelter.removeRecipe(${out});`;
|
|
265
265
|
};
|
|
266
266
|
const addTransposerFill = (recipe) => {
|
|
267
|
-
const out = formatArgs(recipe.rf, recipe.in, recipe.out, formatStack(recipe.liquid));
|
|
267
|
+
const out = formatArgs(recipe.rf, formatIngredient(recipe.in), formatIngredient(recipe.out), formatStack(recipe.liquid));
|
|
268
268
|
return `mods.thermalexpansion.Transposer.addFillRecipe(${out});`;
|
|
269
269
|
};
|
|
270
270
|
const removeTransposerFill = (id, liquid) => `mods.thermalexpansion.Transposer.removeFillRecipe(${formatArgs(id, liquid)});`;
|