@snapshot-labs/snapshot.js 0.11.11 → 0.11.13

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.
@@ -394,7 +394,7 @@ var Client = /** @class */ (function () {
394
394
  return resolve(res.json());
395
395
  throw res;
396
396
  })
397
- .catch(function (e) { return e.json().then(function (json) { return reject(json); }); });
397
+ .catch(function (e) { return reject(e); });
398
398
  })];
399
399
  });
400
400
  });
@@ -1635,6 +1635,7 @@ var networks = {
1635
1635
  "0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41"
1636
1636
  ],
1637
1637
  ensNameWrapper: "0xD4416b13d2b3a9aBae7AcD5D6C2BbDBE25686401",
1638
+ ensSubgraph: "https://api.thegraph.com/subgraphs/name/ensdomains/ens",
1638
1639
  rpc: [
1639
1640
  "https://rpc.ankr.com/eth",
1640
1641
  {
@@ -1673,6 +1674,7 @@ var networks = {
1673
1674
  "0x4B1488B7a6B320d2D721406204aBc3eeAa9AD329"
1674
1675
  ],
1675
1676
  ensNameWrapper: "0x114D4603199df73e7D157787f8778E21fCd13066",
1677
+ ensSubgraph: "https://api.thegraph.com/subgraphs/name/ensdomains/ensgoerli",
1676
1678
  rpc: [
1677
1679
  "https://eth-goerli.alchemyapi.io/v2/v4nqH_J-J3STit45Mm07TxuYexMHQsYZ"
1678
1680
  ],
@@ -3018,6 +3020,11 @@ var networks = {
3018
3020
  rpc: [
3019
3021
  "https://sepolia.infura.io/v3/d26b4fd748814fe994b05899fd89e667"
3020
3022
  ],
3023
+ ensResolvers: [
3024
+ "0x8FADE66B79cC9f707aB26799354482EB93a5B7dD"
3025
+ ],
3026
+ ensNameWrapper: "0x0635513f179D50A207757E05759CbD106d7dFcE8",
3027
+ ensSubgraph: "https://api.studio.thegraph.com/proxy/49574/enssepolia/version/latest",
3021
3028
  explorer: {
3022
3029
  url: "https://sepolia.etherscan.io",
3023
3030
  apiUrl: "https://api-sepolia.etherscan.io"
@@ -384,7 +384,7 @@ var Client = /** @class */ (function () {
384
384
  return resolve(res.json());
385
385
  throw res;
386
386
  })
387
- .catch(function (e) { return e.json().then(function (json) { return reject(json); }); });
387
+ .catch(function (e) { return reject(e); });
388
388
  })];
389
389
  });
390
390
  });
@@ -1625,6 +1625,7 @@ var networks = {
1625
1625
  "0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41"
1626
1626
  ],
1627
1627
  ensNameWrapper: "0xD4416b13d2b3a9aBae7AcD5D6C2BbDBE25686401",
1628
+ ensSubgraph: "https://api.thegraph.com/subgraphs/name/ensdomains/ens",
1628
1629
  rpc: [
1629
1630
  "https://rpc.ankr.com/eth",
1630
1631
  {
@@ -1663,6 +1664,7 @@ var networks = {
1663
1664
  "0x4B1488B7a6B320d2D721406204aBc3eeAa9AD329"
1664
1665
  ],
1665
1666
  ensNameWrapper: "0x114D4603199df73e7D157787f8778E21fCd13066",
1667
+ ensSubgraph: "https://api.thegraph.com/subgraphs/name/ensdomains/ensgoerli",
1666
1668
  rpc: [
1667
1669
  "https://eth-goerli.alchemyapi.io/v2/v4nqH_J-J3STit45Mm07TxuYexMHQsYZ"
1668
1670
  ],
@@ -3008,6 +3010,11 @@ var networks = {
3008
3010
  rpc: [
3009
3011
  "https://sepolia.infura.io/v3/d26b4fd748814fe994b05899fd89e667"
3010
3012
  ],
3013
+ ensResolvers: [
3014
+ "0x8FADE66B79cC9f707aB26799354482EB93a5B7dD"
3015
+ ],
3016
+ ensNameWrapper: "0x0635513f179D50A207757E05759CbD106d7dFcE8",
3017
+ ensSubgraph: "https://api.studio.thegraph.com/proxy/49574/enssepolia/version/latest",
3011
3018
  explorer: {
3012
3019
  url: "https://sepolia.etherscan.io",
3013
3020
  apiUrl: "https://api-sepolia.etherscan.io"