@talismn/on-chain-id 0.0.0-pr2075-20250714095813 → 0.0.0-pr2075-20250714100401

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.
@@ -1444,7 +1444,7 @@ const lookupEnsAddresses = async (config, addresses) => {
1444
1444
  });
1445
1445
  domain !== null && onChainIds.set(address, domain);
1446
1446
  } catch (cause) {
1447
- const errorMessage = cause.shortMessage ?? String(cause);
1447
+ const errorMessage = cause?.shortMessage ?? String(cause);
1448
1448
  throw new Error(`Failed to resolve ENS domain for address '${address}': ${errorMessage}`);
1449
1449
  }
1450
1450
  }));
@@ -1444,7 +1444,7 @@ const lookupEnsAddresses = async (config, addresses) => {
1444
1444
  });
1445
1445
  domain !== null && onChainIds.set(address, domain);
1446
1446
  } catch (cause) {
1447
- const errorMessage = cause.shortMessage ?? String(cause);
1447
+ const errorMessage = cause?.shortMessage ?? String(cause);
1448
1448
  throw new Error(`Failed to resolve ENS domain for address '${address}': ${errorMessage}`);
1449
1449
  }
1450
1450
  }));
@@ -1438,7 +1438,7 @@ const lookupEnsAddresses = async (config, addresses) => {
1438
1438
  });
1439
1439
  domain !== null && onChainIds.set(address, domain);
1440
1440
  } catch (cause) {
1441
- const errorMessage = cause.shortMessage ?? String(cause);
1441
+ const errorMessage = cause?.shortMessage ?? String(cause);
1442
1442
  throw new Error(`Failed to resolve ENS domain for address '${address}': ${errorMessage}`);
1443
1443
  }
1444
1444
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talismn/on-chain-id",
3
- "version": "0.0.0-pr2075-20250714095813",
3
+ "version": "0.0.0-pr2075-20250714100401",
4
4
  "author": "Talisman",
5
5
  "homepage": "https://talisman.xyz",
6
6
  "license": "GPL-3.0-or-later",
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "dependencies": {
24
24
  "anylogger": "^1.0.11",
25
- "@talismn/balances": "0.0.0-pr2075-20250714095813",
26
- "@talismn/util": "0.0.0-pr2075-20250714095813"
25
+ "@talismn/balances": "0.0.0-pr2075-20250714100401",
26
+ "@talismn/util": "0.0.0-pr2075-20250714100401"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@polkadot/api-contract": "16.1.2",