@coinlist-co/react 0.11.1-rc.5a8ec06 → 0.11.1-rc.9582f22
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.
- package/dist/{chunk-HYC4JARU.js → chunk-7CTH4KPU.js} +15 -3
- package/dist/chunk-7CTH4KPU.js.map +1 -0
- package/dist/{chunk-IXJSMMYY.js → chunk-ODKF2VL3.js} +25 -14
- package/dist/chunk-ODKF2VL3.js.map +1 -0
- package/dist/{chunk-ZGFJCI5R.js → chunk-UZUQALFY.js} +2 -2
- package/dist/client/index.cjs +749 -626
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +142 -40
- package/dist/client/index.d.ts +142 -40
- package/dist/client/index.js +715 -615
- package/dist/client/index.js.map +1 -1
- package/dist/{collections-DWWkc19p.d.cts → collections-BBI_XydI.d.cts} +1 -1
- package/dist/{collections-Dr3EAoIf.d.ts → collections-BrX9rRWc.d.ts} +1 -1
- package/dist/{config-BgUHbgT4.d.cts → config-CMl1bR3F.d.cts} +1 -1
- package/dist/{config-BgUHbgT4.d.ts → config-CMl1bR3F.d.ts} +1 -1
- package/dist/server/index.cjs +6 -2
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +2 -2
- package/dist/shared/index.cjs +37 -14
- package/dist/shared/index.cjs.map +1 -1
- package/dist/shared/index.d.cts +15 -5
- package/dist/shared/index.d.ts +15 -5
- package/dist/shared/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-HYC4JARU.js.map +0 -1
- package/dist/chunk-IXJSMMYY.js.map +0 -1
- /package/dist/{chunk-ZGFJCI5R.js.map → chunk-UZUQALFY.js.map} +0 -0
|
@@ -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-
|
|
2399
|
+
//# sourceMappingURL=chunk-7CTH4KPU.js.map
|