@gearbox-protocol/deploy-tools 5.3.17 → 5.3.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/index.mjs +7 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -134776,7 +134776,7 @@ var require_sonic_boom = __commonJS({
|
|
|
134776
134776
|
if (!(this instanceof SonicBoom)) {
|
|
134777
134777
|
return new SonicBoom(opts);
|
|
134778
134778
|
}
|
|
134779
|
-
let { fd, dest, minLength, maxLength, maxWrite, periodicFlush, sync, append = true, mkdir, retryEAGAIN, fsync, contentMode, mode } = opts || {};
|
|
134779
|
+
let { fd, dest, minLength, maxLength, maxWrite, periodicFlush, sync, append = true, mkdir: mkdir3, retryEAGAIN, fsync, contentMode, mode } = opts || {};
|
|
134780
134780
|
fd = fd || dest;
|
|
134781
134781
|
this._len = 0;
|
|
134782
134782
|
this.fd = -1;
|
|
@@ -134801,7 +134801,7 @@ var require_sonic_boom = __commonJS({
|
|
|
134801
134801
|
this.append = append || false;
|
|
134802
134802
|
this.mode = mode;
|
|
134803
134803
|
this.retryEAGAIN = retryEAGAIN || (() => true);
|
|
134804
|
-
this.mkdir =
|
|
134804
|
+
this.mkdir = mkdir3 || false;
|
|
134805
134805
|
let fsWriteSync;
|
|
134806
134806
|
let fsWrite;
|
|
134807
134807
|
if (contentMode === kContentModeBuffer) {
|
|
@@ -417849,7 +417849,7 @@ function audit() {
|
|
|
417849
417849
|
}
|
|
417850
417850
|
|
|
417851
417851
|
// src/commands/open-accounts.ts
|
|
417852
|
-
import { writeFile as writeFile5 } from "node:fs/promises";
|
|
417852
|
+
import { mkdir, writeFile as writeFile5 } from "node:fs/promises";
|
|
417853
417853
|
import path8 from "node:path";
|
|
417854
417854
|
function openAccounts() {
|
|
417855
417855
|
return newCommand().name("open-accounts").description("Script to open accounts in v3.1").addOption(
|
|
@@ -417871,6 +417871,7 @@ function openAccounts() {
|
|
|
417871
417871
|
anvilUrl = "http://127.0.0.1:8545",
|
|
417872
417872
|
sharedDir = "."
|
|
417873
417873
|
} = opts;
|
|
417874
|
+
await mkdir(path8.resolve(sharedDir, "deploy-state"), { recursive: true });
|
|
417874
417875
|
const sdkExample2 = new SDKExample(log_default);
|
|
417875
417876
|
await sdkExample2.run({
|
|
417876
417877
|
addressProvider,
|
|
@@ -418003,7 +418004,7 @@ function getRenderer(opts) {
|
|
|
418003
418004
|
var package_default = {
|
|
418004
418005
|
name: "@gearbox-protocol/deploy-tools",
|
|
418005
418006
|
description: "Gearbox deploy tools",
|
|
418006
|
-
version: "5.3.
|
|
418007
|
+
version: "5.3.18",
|
|
418007
418008
|
homepage: "https://gearbox.fi",
|
|
418008
418009
|
keywords: [
|
|
418009
418010
|
"gearbox"
|
|
@@ -418147,7 +418148,7 @@ function printSafeTx() {
|
|
|
418147
418148
|
}
|
|
418148
418149
|
|
|
418149
418150
|
// src/commands/sdk-example.ts
|
|
418150
|
-
import { writeFile as writeFile7 } from "node:fs/promises";
|
|
418151
|
+
import { mkdir as mkdir2, writeFile as writeFile7 } from "node:fs/promises";
|
|
418151
418152
|
import path10 from "node:path";
|
|
418152
418153
|
function sdkExample() {
|
|
418153
418154
|
return newCommand().name("sdk-example").description("SDK example for v3.1").addOption(
|
|
@@ -418169,6 +418170,7 @@ function sdkExample() {
|
|
|
418169
418170
|
anvilUrl = "http://127.0.0.1:8545",
|
|
418170
418171
|
sharedDir = "."
|
|
418171
418172
|
} = opts;
|
|
418173
|
+
await mkdir2(path10.resolve(sharedDir, "deploy-state"), { recursive: true });
|
|
418172
418174
|
const sdkExample2 = new SDKExample(log_default);
|
|
418173
418175
|
await sdkExample2.run({
|
|
418174
418176
|
addressProvider,
|