@gearbox-protocol/deploy-tools 5.11.15 → 5.11.16

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 +8 -5
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -407676,7 +407676,6 @@ var NetworkMismatchError = class extends Error {
407676
407676
  };
407677
407677
  var ProviderBase = class {
407678
407678
  logger = log_default;
407679
- // #service?: SafeApiKit;
407680
407679
  #service;
407681
407680
  #initialized = false;
407682
407681
  #client;
@@ -407699,9 +407698,13 @@ var ProviderBase = class {
407699
407698
  });
407700
407699
  this.#network = await detectNetwork(this.#client);
407701
407700
  this.#chainId = chains[this.#network].id;
407702
- this.#service = new import_api_kit.default.default({
407703
- chainId: BigInt(this.#chainId)
407704
- });
407701
+ try {
407702
+ this.#service = new import_api_kit.default.default({
407703
+ chainId: BigInt(this.#chainId)
407704
+ });
407705
+ } catch (e) {
407706
+ this.logger.error(`failed to instantiate SafeApiKit: ${e}`);
407707
+ }
407705
407708
  if (this.#options.addressProviderJson) {
407706
407709
  try {
407707
407710
  this.logger.debug(`reading address provider json ${this.#options.addressProviderJson}`);
@@ -414217,7 +414220,7 @@ function getRenderer(opts) {
414217
414220
  var package_default = {
414218
414221
  name: "@gearbox-protocol/deploy-tools",
414219
414222
  description: "Gearbox deploy tools",
414220
- version: "5.11.15",
414223
+ version: "5.11.16",
414221
414224
  homepage: "https://gearbox.fi",
414222
414225
  keywords: [
414223
414226
  "gearbox"
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.11.15",
4
+ "version": "5.11.16",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"