From 997de8ea250d75cc4857b18d9a8702795c87d1a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Blanchemain?= Date: Tue, 10 Dec 2024 11:07:13 -0800 Subject: [PATCH 1/2] fix: register custom network link fix --- docs/1-introduction.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/1-introduction.mdx b/docs/1-introduction.mdx index 7b53656af..ea4ba4443 100644 --- a/docs/1-introduction.mdx +++ b/docs/1-introduction.mdx @@ -100,7 +100,7 @@ Arbitrum SDK comes pre-configured for Mainnet and Sepolia, and their Arbitrum co #### Configuring Network -To interact with a custom [`ArbitrumNetwork`](./reference/dataEntities/networks), you can register it using the [`registerCustomArbitrumNetwork`](./reference/dataEntities/networks.md#registerCustomArbitrumNetwork) function. +To interact with a custom [`ArbitrumNetwork`](./reference/dataEntities/networks), you can register it using the [`registerCustomArbitrumNetwork`](./reference/dataEntities/networks.md#registercustomarbitrumnetwork) function. ```ts import { registerCustomArbitrumNetwork } from '@arbitrum/sdk' From 8d3fa37d84e4a6a16ac2af8719e8e2902b8de5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Blanchemain?= Date: Tue, 10 Dec 2024 12:38:50 -0800 Subject: [PATCH 2/2] docs: casing link fixes --- docs/2-migrate.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/2-migrate.mdx b/docs/2-migrate.mdx index 6c65870c3..bb3eaae14 100644 --- a/docs/2-migrate.mdx +++ b/docs/2-migrate.mdx @@ -25,15 +25,15 @@ Most instances of "L1" and "L2" have been replaced with "parent" and "child" res - The `L1Network` is no longer required to be registered before bridging. - Only Arbitrum networks need to be registered. - Arbitrum networks are defined as Arbitrum One, Arbitrum testnets, and any Orbit chain. -- If you need a full list of Arbitrum networks, you can use the new [`getArbitrumNetworks`](./reference/dataEntities/networks#getArbitrumNetworks) function. -- To list all of the children of a network, use the new [`getChildrenForNetwork`](./reference/dataEntities/networks#getChildrenForNetwork) function. +- If you need a full list of Arbitrum networks, you can use the new [`getArbitrumNetworks`](./reference/dataEntities/networks#getarbitrumnetworks) function. +- To list all of the children of a network, use the new [`getChildrenForNetwork`](./reference/dataEntities/networks#getchildrenfornetwork) function. | v3 Name | v4 Name | | --------------------- | -------------------------------------------------------------------------------------------------- | | `L2Network` | [`ArbitrumNetwork`](./reference/dataEntities/networks#arbitrumnetwork) | -| `getL2Network` | [`getArbitrumNetwork`](./reference/dataEntities/networks#getArbitrumNetwork) | -| `l2Networks` | [`getArbitrumNetworks`](./reference/dataEntities/networks#getArbitrumNetworks) | -| `addCustomNetwork` | [`registerCustomArbitrumNetwork`](./reference/dataEntities/networks#registerCustomArbitrumNetwork) | +| `getL2Network` | [`getArbitrumNetwork`](./reference/dataEntities/networks#getarbitrumnetwork) | +| `l2Networks` | [`getArbitrumNetworks`](./reference/dataEntities/networks#getarbitrumnetworks) | +| `addCustomNetwork` | [`registerCustomArbitrumNetwork`](./reference/dataEntities/networks#registercustomarbitrumnetwork) | | `Network` | *removed* | | `L1Network` | *removed* | | `getL1Network` | *removed* |