@hyperlane-xyz/registry 13.0.0 → 13.1.0

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.
@@ -3182,7 +3182,7 @@ export const chainMetadata = {
3182
3182
  "protocol": "ethereum",
3183
3183
  "rpcUrls": [
3184
3184
  {
3185
- "http": "https://rpc.ankr.com/eth"
3185
+ "http": "https://eth.llamarpc.com"
3186
3186
  },
3187
3187
  {
3188
3188
  "http": "https://ethereum.publicnode.com"
@@ -36,7 +36,7 @@ export const metadata = {
36
36
  "protocol": "ethereum",
37
37
  "rpcUrls": [
38
38
  {
39
- "http": "https://rpc.ankr.com/eth"
39
+ "http": "https://eth.llamarpc.com"
40
40
  },
41
41
  {
42
42
  "http": "https://ethereum.publicnode.com"
@@ -36,7 +36,7 @@
36
36
  "protocol": "ethereum",
37
37
  "rpcUrls": [
38
38
  {
39
- "http": "https://rpc.ankr.com/eth"
39
+ "http": "https://eth.llamarpc.com"
40
40
  },
41
41
  {
42
42
  "http": "https://ethereum.publicnode.com"
@@ -27,7 +27,7 @@ nativeToken:
27
27
  symbol: ETH
28
28
  protocol: ethereum
29
29
  rpcUrls:
30
- - http: https://rpc.ankr.com/eth
30
+ - http: https://eth.llamarpc.com
31
31
  - http: https://ethereum.publicnode.com
32
32
  - http: https://cloudflare-eth.com
33
33
  - http: https://eth.drpc.org
@@ -185,10 +185,10 @@ export class GithubRegistry extends BaseRegistry {
185
185
  }
186
186
  async fetch(url) {
187
187
  this.logger.debug(`Fetching from github: ${url}`);
188
- const isProxiedRequest = this.proxyUrl && url.startsWith(this.proxyUrl);
189
- const headers = !isProxiedRequest && !!this.authToken
188
+ const isGithubApiRequest = url.startsWith(GITHUB_API_URL);
189
+ const headers = isGithubApiRequest && !!this.authToken
190
190
  ? { ...this.baseApiHeaders, Authorization: `Bearer ${this.authToken}` }
191
- : this.baseApiHeaders;
191
+ : undefined;
192
192
  const response = await fetch(url, {
193
193
  headers,
194
194
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hyperlane-xyz/registry",
3
3
  "description": "A collection of configs, artifacts, and schemas for Hyperlane",
4
- "version": "13.0.0",
4
+ "version": "13.1.0",
5
5
  "dependencies": {
6
6
  "yaml": "2.4.5",
7
7
  "zod": "^3.21.2"