From 89e95ac1d1f0980c6ba81f6046220d2210f85c86 Mon Sep 17 00:00:00 2001 From: tree Date: Tue, 12 Apr 2022 13:29:41 +0200 Subject: [PATCH] update --- utils/engine.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/engine.js b/utils/engine.js index 5be6159..8e9410b 100644 --- a/utils/engine.js +++ b/utils/engine.js @@ -162,12 +162,15 @@ export class UTXOEngine { await emptyDir(outputSchemaDir); console.log(`UTXO: writing schema (v${schemaVersion}) ..`); + const schemaBundle = [] for (const schema of schemas) { await this._jsonWrite( [outputSchemaDir, schema.name + ".json"], schema.schema, ); + schemaBundle.push(schema.schema); } + await this._jsonWrite([ outputSchemaDir, 'bundle.json' ]) // write global index await this._jsonWrite([outputDir, "index.json"], entriesIndex);