@gearbox-protocol/deploy-tools 5.28.6 → 5.28.8

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 +7 -5
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -399024,7 +399024,7 @@ var AbstractAddressProviderContract = class extends BaseContract {
399024
399024
  this.#addresses[k] = {};
399025
399025
  }
399026
399026
  this.#addresses[k][version4] = address;
399027
- if (!this.#latest[k] || version4 > this.#latest[key]) {
399027
+ if (!this.#latest[k] || version4 > this.#latest[k]) {
399028
399028
  this.#latest[k] = version4;
399029
399029
  }
399030
399030
  this.logger?.debug(`Set address for ${k}@${version4} to ${address}`);
@@ -399053,7 +399053,8 @@ var AbstractAddressProviderContract = class extends BaseContract {
399053
399053
  }
399054
399054
  let version4 = 0;
399055
399055
  let address;
399056
- for (const [v, a] of TypedObjectUtils.entries(allVersions)) {
399056
+ for (const [vStr, a] of TypedObjectUtils.entries(allVersions)) {
399057
+ const v = Number(vStr);
399057
399058
  if (v >= range2[0] && v <= range2[1] && v >= version4) {
399058
399059
  version4 = v;
399059
399060
  address = a;
@@ -426231,7 +426232,8 @@ var ForkTemplate = z.object({
426231
426232
  /**
426232
426233
  * Migration 3.0 -> 3.1 helper: Market configurators
426233
426234
  */
426234
- riskCuratorNames: z.array(z.string()).nullish().transform((v) => v?.length ? v : void 0)
426235
+ riskCuratorNames: z.array(z.string()).nullish().transform((v) => v?.length ? v : void 0),
426236
+ disableRPCProtection: z.boolean().optional()
426235
426237
  });
426236
426238
 
426237
426239
  // ../../packages/shared/dist/governor.js
@@ -436778,7 +436780,7 @@ function getRenderer(opts) {
436778
436780
  var package_default = {
436779
436781
  name: "@gearbox-protocol/deploy-tools",
436780
436782
  description: "Gearbox deploy tools",
436781
- version: "5.28.6",
436783
+ version: "5.28.8",
436782
436784
  homepage: "https://gearbox.fi",
436783
436785
  keywords: [
436784
436786
  "gearbox"
@@ -436821,7 +436823,7 @@ var package_default = {
436821
436823
  "@gearbox-protocol/deploy-tools-node": "0.0.0",
436822
436824
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
436823
436825
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
436824
- "@gearbox-protocol/sdk": "^4.1.2",
436826
+ "@gearbox-protocol/sdk": "^4.1.3",
436825
436827
  "@gearbox-protocol/sdk-gov": "^2.37.0",
436826
436828
  "@types/lodash-es": "^4.17.12",
436827
436829
  "@types/node": "^22.14.1",
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": "5.28.6",
4
+ "version": "5.28.8",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"
@@ -44,7 +44,7 @@
44
44
  "@gearbox-protocol/deploy-tools-node": "0.0.0",
45
45
  "@gearbox-protocol/deploy-tools-shared": "0.0.0",
46
46
  "@gearbox-protocol/deploy-tools-types": "0.0.0",
47
- "@gearbox-protocol/sdk": "^4.1.2",
47
+ "@gearbox-protocol/sdk": "^4.1.3",
48
48
  "@gearbox-protocol/sdk-gov": "^2.37.0",
49
49
  "@types/lodash-es": "^4.17.12",
50
50
  "@types/node": "^22.14.1",