@gearbox-protocol/deploy-tools 5.13.1 → 5.13.2
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 +8 -8
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -404904,7 +404904,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
404904
404904
|
// ../../packages/shared/dist/fork-schema.js
|
|
404905
404905
|
var ScriptTemplate = z.object({
|
|
404906
404906
|
id: z.string().regex(/^[0-9a-zA-Z\-_]+$/, "invalid script id"),
|
|
404907
|
-
description: z.string().
|
|
404907
|
+
description: z.string().nullish().transform((s) => s || void 0),
|
|
404908
404908
|
npx: z.string().optional(),
|
|
404909
404909
|
forge: z.string().optional(),
|
|
404910
404910
|
docker: z.string().optional(),
|
|
@@ -404920,7 +404920,7 @@ var ForkTemplate = z.object({
|
|
|
404920
404920
|
alias: z.string().regex(/^[0-9a-zA-Z\-_]{3,}$/, {
|
|
404921
404921
|
message: "alias must contain letters, numbers, dashes and underscores, and must contain minimum 3 symbols"
|
|
404922
404922
|
}).or(z.literal("")).nullish(),
|
|
404923
|
-
description: z.string(),
|
|
404923
|
+
description: z.string().nullish().transform((s) => s || void 0),
|
|
404924
404924
|
/**
|
|
404925
404925
|
* GIP id
|
|
404926
404926
|
*/
|
|
@@ -404930,7 +404930,7 @@ var ForkTemplate = z.object({
|
|
|
404930
404930
|
/**
|
|
404931
404931
|
* Anvil chain id override, if not set, defaults to 7878... etc.
|
|
404932
404932
|
*/
|
|
404933
|
-
chainId: z.number().int().nonnegative().nullish(),
|
|
404933
|
+
chainId: z.number().int().nonnegative().nullish().transform((v) => v || void 0),
|
|
404934
404934
|
/**
|
|
404935
404935
|
* Will set appropriate RPC urls
|
|
404936
404936
|
*/
|
|
@@ -404950,18 +404950,18 @@ var ForkTemplate = z.object({
|
|
|
404950
404950
|
* @2h = previous Monday 12:00 UTC + 2 hours
|
|
404951
404951
|
* @-7200 = previous Monday 12:00 UTC -7200 blocks
|
|
404952
404952
|
*/
|
|
404953
|
-
blockNumber: z.string().nullish(),
|
|
404953
|
+
blockNumber: z.string().nullish().transform((v) => v || void 0),
|
|
404954
404954
|
scripts: z.array(ScriptTemplate).nullish(),
|
|
404955
404955
|
/**
|
|
404956
404956
|
* Will append deploy-report generation to scripts
|
|
404957
404957
|
*/
|
|
404958
|
-
deployReport: z.boolean().
|
|
404959
|
-
attachTests: z.boolean().
|
|
404958
|
+
deployReport: z.boolean().optional().transform((v) => v || void 0),
|
|
404959
|
+
attachTests: z.boolean().optional().transform((v) => v || void 0),
|
|
404960
404960
|
timeout: z.string().default("3h"),
|
|
404961
404961
|
/**
|
|
404962
404962
|
* Migration 3.0 -> 3.1 helper: Market configurators
|
|
404963
404963
|
*/
|
|
404964
|
-
riskCuratorNames: z.array(z.string()).nullish()
|
|
404964
|
+
riskCuratorNames: z.array(z.string()).nullish().transform((v) => v?.length ? v : void 0)
|
|
404965
404965
|
});
|
|
404966
404966
|
|
|
404967
404967
|
// ../../packages/shared/dist/hex.js
|
|
@@ -415807,7 +415807,7 @@ function getRenderer(opts) {
|
|
|
415807
415807
|
var package_default = {
|
|
415808
415808
|
name: "@gearbox-protocol/deploy-tools",
|
|
415809
415809
|
description: "Gearbox deploy tools",
|
|
415810
|
-
version: "5.13.
|
|
415810
|
+
version: "5.13.2",
|
|
415811
415811
|
homepage: "https://gearbox.fi",
|
|
415812
415812
|
keywords: [
|
|
415813
415813
|
"gearbox"
|