@gearbox-protocol/deploy-tools 4.16.0 → 4.16.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.
Files changed (2) hide show
  1. package/dist/index.mjs +14 -14
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -352488,19 +352488,7 @@ function launchForks() {
352488
352488
  if (!Array.isArray(requests)) {
352489
352489
  throw new Error("template must contain array of requets");
352490
352490
  }
352491
- if (opts.noWait) {
352492
- requests.forEach((r) => {
352493
- fetch(endpoint, {
352494
- method: "POST",
352495
- headers: {
352496
- "Content-Type": "application/json",
352497
- Authorization: `Bearer ${apiKey}`
352498
- },
352499
- body: JSON.stringify(r)
352500
- });
352501
- });
352502
- process.exit(0);
352503
- } else {
352491
+ if (opts.wait) {
352504
352492
  await Promise.all(
352505
352493
  requests.map(
352506
352494
  (r) => fetch(endpoint, {
@@ -352513,6 +352501,18 @@ function launchForks() {
352513
352501
  })
352514
352502
  )
352515
352503
  );
352504
+ } else {
352505
+ requests.forEach((r) => {
352506
+ fetch(endpoint, {
352507
+ method: "POST",
352508
+ headers: {
352509
+ "Content-Type": "application/json",
352510
+ Authorization: `Bearer ${apiKey}`
352511
+ },
352512
+ body: JSON.stringify(r)
352513
+ });
352514
+ });
352515
+ process.exit(0);
352516
352516
  }
352517
352517
  });
352518
352518
  }
@@ -353554,7 +353554,7 @@ function getRenderer(opts) {
353554
353554
  }
353555
353555
 
353556
353556
  // package.json
353557
- var version3 = "4.16.0";
353557
+ var version3 = "4.16.1";
353558
353558
 
353559
353559
  // src/version.ts
353560
353560
  var version_default = 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.16.0",
4
+ "version": "4.16.1",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"