@gearbox-protocol/deploy-tools 4.2.0-next.5 → 4.2.0-next.6

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.
Files changed (2) hide show
  1. package/dist/index.mjs +8 -5
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -326859,12 +326859,15 @@ function parserForContractType(contract, version4, contractName) {
326859
326859
  var UpdateParser = class extends ProviderBase {
326860
326860
  #sandboxDir;
326861
326861
  #output = {
326862
+ status: "success",
326863
+ version: "dev",
326862
326864
  addresses: {},
326863
326865
  batches: []
326864
326866
  };
326865
326867
  #metaRepo;
326866
- constructor(options) {
326868
+ constructor(options, version4) {
326867
326869
  super(options);
326870
+ this.#output.version = version4 ?? "dev";
326868
326871
  this.logger = this.logger.getSubLogger({ name: "parser" });
326869
326872
  this.#sandboxDir = path6.resolve(options.sandboxDir, "parser");
326870
326873
  mkdirSync5(this.#sandboxDir, { recursive: true });
@@ -327134,6 +327137,9 @@ function launchForks() {
327134
327137
  // src/commands/parse.ts
327135
327138
  import { writeFile as writeFile4 } from "node:fs/promises";
327136
327139
 
327140
+ // package.json
327141
+ var version3 = "0.0.0";
327142
+
327137
327143
  // src/renderer/cli/CliRenderer.ts
327138
327144
  import readline from "node:readline";
327139
327145
 
@@ -328186,7 +328192,7 @@ function parse() {
328186
328192
  await container.auditor.setup();
328187
328193
  container.addressTree = new GearboxAddressTree(opts);
328188
328194
  await container.addressTree.build();
328189
- const parser = new UpdateParser(opts);
328195
+ const parser = new UpdateParser(opts, version3);
328190
328196
  const result = await parser.parse(opts);
328191
328197
  if (opts.outFile) {
328192
328198
  await writeFile4(opts.outFile, json_stringify(result), "utf-8");
@@ -328321,9 +328327,6 @@ function zeroLT() {
328321
328327
  });
328322
328328
  }
328323
328329
 
328324
- // package.json
328325
- var version3 = "0.0.0";
328326
-
328327
328330
  // src/index.ts
328328
328331
  var program2 = new Command();
328329
328332
  program2.name("deploy-tools").description("gearbox deploy tools").version(version3);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/deploy-tools",
3
3
  "description": "Gearbox deploy tools",
4
- "version": "4.2.0-next.5",
4
+ "version": "4.2.0-next.6",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"