@gearbox-protocol/deploy-tools 4.52.2 → 4.52.4

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 +11 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -229230,6 +229230,12 @@ var ScriptTemplate = z.object({
229230
229230
  });
229231
229231
  var ForkTemplate = z.object({
229232
229232
  description: z.string(),
229233
+ /**
229234
+ * GIP id
229235
+ */
229236
+ gip: z.string().regex(/^[a-z][a-z0-9\-_]{3,}$/, {
229237
+ message: "gip id must contain lowercase letters, numbers, dashes and underscores, and must be minimum 4 symbols"
229238
+ }).nullish(),
229233
229239
  /**
229234
229240
  * Will set appropriate RPC urls
229235
229241
  */
@@ -307753,9 +307759,12 @@ async function loadTemplate(file, interpolations) {
307753
307759
  }
307754
307760
  function expandTemplate(template, { release }) {
307755
307761
  const { scripts: scriptz, ...rest } = template;
307756
- const scripts = scriptz.map(
307762
+ const scripts = (scriptz ?? []).map(
307757
307763
  (s) => ({
307758
307764
  ...s,
307765
+ args: s.args ?? [],
307766
+ env: s.env ?? {},
307767
+ flags: s.flags ?? [],
307759
307768
  npx: s.npx || release,
307760
307769
  description: `${s.description || s.id} (${release})`
307761
307770
  })
@@ -307866,7 +307875,7 @@ function getRenderer(opts) {
307866
307875
  }
307867
307876
 
307868
307877
  // package.json
307869
- var version2 = "4.52.2";
307878
+ var version2 = "4.52.4";
307870
307879
 
307871
307880
  // src/version.ts
307872
307881
  var version_default = version2;
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.52.2",
4
+ "version": "4.52.4",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"