From 222c0616cbd13306f41d4d250d1b21babc19405c Mon Sep 17 00:00:00 2001 From: Paul <108695806+pxrl@users.noreply.github.com> Date: Thu, 10 Oct 2024 00:45:27 +0200 Subject: [PATCH] fix(providers): Override Alchemy World Chain hostname --- package.json | 2 +- src/providers/alchemy.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d022b4ad..86c652c1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@across-protocol/sdk", "author": "UMA Team", - "version": "3.2.5", + "version": "3.2.6", "license": "AGPL-3.0", "homepage": "https://docs.across.to/reference/sdk", "files": [ diff --git a/src/providers/alchemy.ts b/src/providers/alchemy.ts index e3cff955..a99d3d9c 100644 --- a/src/providers/alchemy.ts +++ b/src/providers/alchemy.ts @@ -11,6 +11,7 @@ const endpoints: { [chainId: string]: string } = { [CHAIN_IDs.SEPOLIA]: "eth-sepolia", [CHAIN_IDs.OPTIMISM]: "opt", [CHAIN_IDs.OPTIMISM_SEPOLIA]: "opt-sepolia", + [CHAIN_IDs.WORLD_CHAIN]: "worldchain", }; export function getURL(chainId: number, apiKey: string, transport: RPCTransport): string {