@bgd-labs/toolbox 0.0.17 → 0.0.18
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/node.d.mts +2 -1
- package/dist/node.d.ts +2 -1
- package/dist/node.js +5 -0
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +4 -0
- package/dist/node.mjs.map +1 -1
- package/package.json +5 -3
package/dist/node.mjs
CHANGED
|
@@ -26356,6 +26356,9 @@ function foundry_getStorageLayout(input) {
|
|
|
26356
26356
|
);
|
|
26357
26357
|
return output;
|
|
26358
26358
|
}
|
|
26359
|
+
function foundry_format(input) {
|
|
26360
|
+
return execSync(`forge fmt - ${input}`).toString();
|
|
26361
|
+
}
|
|
26359
26362
|
function cleanupFoundryStorageForDiffing(layout) {
|
|
26360
26363
|
const cleanTypes = { ...layout.types };
|
|
26361
26364
|
for (const key of Object.keys(cleanTypes)) {
|
|
@@ -26451,6 +26454,7 @@ export {
|
|
|
26451
26454
|
fetchPoolAddresses,
|
|
26452
26455
|
flashbotsClientExtension,
|
|
26453
26456
|
flashbotsOnFetchRequest,
|
|
26457
|
+
foundry_format,
|
|
26454
26458
|
foundry_getStandardJsonInput,
|
|
26455
26459
|
foundry_getStorageLayout,
|
|
26456
26460
|
genericIndexer,
|