@coinlist-co/react 0.11.1-rc.578d93b → 0.11.1-rc.6103d67

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.
@@ -228,7 +228,9 @@ async function fetchAllPages(fetchPage, baseParams) {
228
228
  // src/shared/types/blockchain/core.ts
229
229
  var ETHEREUM_CHAINS = {
230
230
  ethereum_mainnet: true,
231
- ethereum_sepolia: true
231
+ ethereum_sepolia: true,
232
+ base_mainnet: true,
233
+ base_sepolia: true
232
234
  };
233
235
  var EthereumChain = (value) => {
234
236
  if (!Object.keys(ETHEREUM_CHAINS).includes(value)) {
@@ -330,7 +332,9 @@ var AssetIconUrl = (value) => value;
330
332
  // src/shared/core/blockchain/chain.ts
331
333
  var CHAIN_IDS = {
332
334
  ethereum_mainnet: 1,
333
- ethereum_sepolia: 11155111
335
+ ethereum_sepolia: 11155111,
336
+ base_mainnet: 8453,
337
+ base_sepolia: 84532
334
338
  };
335
339
  function getChainId(chain) {
336
340
  return CHAIN_IDS[chain];
@@ -349,6 +353,10 @@ function getNetworkName(chain) {
349
353
  return "Ethereum";
350
354
  case "ethereum_sepolia":
351
355
  return "Ethereum Sepolia";
356
+ case "base_mainnet":
357
+ return "Base";
358
+ case "base_sepolia":
359
+ return "Base Sepolia";
352
360
  default: {
353
361
  const _exhaustive = chain;
354
362
  return _exhaustive;
@@ -364,6 +372,10 @@ function explorerBaseUrl(chain) {
364
372
  return "https://etherscan.io";
365
373
  case "ethereum_sepolia":
366
374
  return "https://sepolia.etherscan.io";
375
+ case "base_mainnet":
376
+ return "https://basescan.org";
377
+ case "base_sepolia":
378
+ return "https://sepolia-explorer.base.org";
367
379
  default: {
368
380
  const _exhaustive = chain;
369
381
  return _exhaustive;
@@ -2384,4 +2396,4 @@ export {
2384
2396
  OAuthRefreshToken,
2385
2397
  OAuthSession
2386
2398
  };
2387
- //# sourceMappingURL=chunk-HYC4JARU.js.map
2399
+ //# sourceMappingURL=chunk-7CTH4KPU.js.map