@berachain/config 0.0.3-beta.4 → 0.0.3-beta.6

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.
Files changed (37) hide show
  1. package/dist/chunk-4RKKGKNF.js +1 -0
  2. package/dist/{chunk-DHNVZCPX.js → chunk-BGHO3T7U.js} +1 -1
  3. package/dist/{chunk-FFISDQSR.cjs → chunk-BLIYP7AF.cjs} +1 -1
  4. package/dist/{chunk-TB4XRJLK.js → chunk-DC57JNAC.js} +1 -1
  5. package/dist/{chunk-KWQ2WHU4.js → chunk-EG5OHLHP.js} +1 -1
  6. package/dist/chunk-EMRVFGIN.cjs +1 -0
  7. package/dist/{chunk-WCV4WTHG.cjs → chunk-GTGNP2XV.cjs} +1 -1
  8. package/dist/{chunk-YYLX4CBV.cjs → chunk-HC2ORLQ3.cjs} +1 -1
  9. package/dist/chunk-HNEK54FE.cjs +2 -0
  10. package/dist/chunk-NDMUG2ND.js +2 -0
  11. package/dist/{chunk-L2DF5H5Q.js → chunk-WL6PVJKK.js} +1 -1
  12. package/dist/{chunk-RJW7M2BA.cjs → chunk-X73HWW5T.cjs} +1 -1
  13. package/dist/internal/edge-config/index.cjs +1 -1
  14. package/dist/internal/edge-config/index.js +1 -1
  15. package/dist/internal/flags/index.cjs +1 -1
  16. package/dist/internal/flags/index.js +1 -1
  17. package/dist/internal/header-sources.cjs +8 -8
  18. package/dist/internal/header-sources.js +8 -8
  19. package/dist/internal/index.cjs +1 -1
  20. package/dist/internal/index.d.cts +168 -0
  21. package/dist/internal/index.d.ts +168 -0
  22. package/dist/internal/index.js +1 -1
  23. package/dist/internal/nextjs/index.cjs +1 -1
  24. package/dist/internal/nextjs/index.js +1 -1
  25. package/dist/internal/sentry/index.cjs +1 -1
  26. package/dist/internal/sentry/index.js +1 -1
  27. package/dist/internal/sentry/sentry.client.config.cjs +1 -1
  28. package/dist/internal/sentry/sentry.client.config.js +1 -1
  29. package/dist/{sentry.edge.config-HYRGDPSL.cjs → sentry.edge.config-UQQHM7RP.cjs} +1 -1
  30. package/dist/{sentry.edge.config-MSL7GELX.js → sentry.edge.config-V6Q3YAS2.js} +1 -1
  31. package/dist/{sentry.server.config-MN4FIAPC.js → sentry.server.config-45GGQXOQ.js} +1 -1
  32. package/dist/{sentry.server.config-JQJQDRDO.cjs → sentry.server.config-7JEUQ6QA.cjs} +1 -1
  33. package/package.json +1 -1
  34. package/dist/chunk-7P77HD6A.js +0 -1
  35. package/dist/chunk-AEEJBUVN.cjs +0 -1
  36. package/dist/chunk-BKOMNW3L.js +0 -1
  37. package/dist/chunk-IBEBYW6W.cjs +0 -1
@@ -0,0 +1 @@
1
+ import{a as e}from"./chunk-4ZZXDAVS.js";import{a as s}from"./chunk-BJUR72F2.js";import{a}from"./chunk-NDMUG2ND.js";var o={80094:s,80069:e},t=o[a],r={apiKeys:{public:{dynamicWallet:process.env.NEXT_PUBLIC_DYNAMIC_API_KEY??"b8a5104d-47e0-4965-b56a-0bcc31cf56f4",postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},private:{luma:process.env.LUMA_API_KEY,clickup:process.env.CLICKUP_API_KEY,ghostContent:process.env.GHOST_CONTENT_API_KEY,ghostAdmin:process.env.GHOST_ADMIN_API_KEY,oogabooga:process.env.OOGABOOGA_API_KEY,haiku:process.env.HAIKU_API_KEY,kyberswap:process.env.KYBERSWAP_CLIENT_ID,enso:process.env.ENSO_API_KEY??process.env.NEXT_PUBLIC_ENSO_API_KEY??"3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f",etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"},urls:{postHogApiHost:"https://eu.i.posthog.com",ghost:"https://berachain.ghost.io",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",homepage:process.env.NEXT_PUBLIC_HOMEPAGE_URL??"https://www.berachain.com",ecosystem:"https://ecosystem.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6",blog:"https://blog.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain"},flags:{developmentAnalyticsEnabled:process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,disallowIndexing:a!==80094&&a!==80069,hideCurator:!1},bend:{...t.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}},h={...t,...r};export{o as a,h as b};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-7P77HD6A.js";function t(n,e){return typeof n=="boolean"?n:!(n.chain?.length&&(!n.chain.includes("mainnet")&&e===80094||!n.chain.includes("bepolia")&&e===80069))}function c(n,e){return typeof n=="boolean"?n:!(n.branch?.length&&(!n.branch.includes("production")&&e==="production"||!n.branch.includes("staging")&&e==="staging"||!n.branch.includes("preview")&&e==="preview"))}function s(n,{chain:e=r,environment:i=process.env.VERCEL_TARGET_ENV}={}){return n?typeof n=="boolean"?n:n.condition==="OR"?t(n,e)||c(n,i):t(n,e)&&c(n,i):!1}export{s as a};
1
+ import{a as r}from"./chunk-NDMUG2ND.js";function t(n,e){return typeof n=="boolean"?n:!(n.chain?.length&&(!n.chain.includes("mainnet")&&e===80094||!n.chain.includes("bepolia")&&e===80069))}function c(n,e){return typeof n=="boolean"?n:!(n.branch?.length&&(!n.branch.includes("production")&&e==="production"||!n.branch.includes("staging")&&e==="staging"||!n.branch.includes("preview")&&e==="preview"))}function s(n,{chain:e=r,environment:i=process.env.VERCEL_TARGET_ENV}={}){return n?typeof n=="boolean"?n:n.condition==="OR"?t(n,e)||c(n,i):t(n,e)&&c(n,i):!1}export{s as a};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _nextjs = require('@sentry/nextjs');async function i(){process.env.NEXT_RUNTIME==="edge"?await Promise.resolve().then(() => _interopRequireWildcard(require("./sentry.edge.config-HYRGDPSL.cjs"))):process.env.NEXT_RUNTIME==="nodejs"&&await Promise.resolve().then(() => _interopRequireWildcard(require("./sentry.server.config-JQJQDRDO.cjs")))}function c(e){let o={...e,env:{...e.env,VERCEL_TARGET_ENV:process.env.VERCEL_TARGET_ENV},webpack:(t,n)=>(n.isServer&&!n.dev&&process.env.UPLOAD_SOURCEMAPS==="true"&&(t.devtool="source-map"),_nullishCoalesce(_optionalChain([e, 'access', _ => _.webpack, 'optionalCall', _2 => _2(t,n)]), () => (t)))};return _nextjs.withSentryConfig.call(void 0, o,{org:process.env.SENTRY_ORG,project:process.env.SENTRY_PROJECT,telemetry:!1,reactComponentAnnotation:{enabled:process.env.UPLOAD_SOURCEMAPS==="true"},widenClientFileUpload:process.env.UPLOAD_SOURCEMAPS==="true",sourcemaps:{disable:process.env.UPLOAD_SOURCEMAPS!=="true"},debug:process.env.UPLOAD_SOURCEMAPS==="true",tunnelRoute:"/monitoring-tunnel",automaticVercelMonitors:!0})}exports.a = i; exports.b = c;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _nextjs = require('@sentry/nextjs');async function i(){process.env.NEXT_RUNTIME==="edge"?await Promise.resolve().then(() => _interopRequireWildcard(require("./sentry.edge.config-UQQHM7RP.cjs"))):process.env.NEXT_RUNTIME==="nodejs"&&await Promise.resolve().then(() => _interopRequireWildcard(require("./sentry.server.config-7JEUQ6QA.cjs")))}function c(e){let o={...e,env:{...e.env,VERCEL_TARGET_ENV:process.env.VERCEL_TARGET_ENV},webpack:(t,n)=>(n.isServer&&!n.dev&&process.env.UPLOAD_SOURCEMAPS==="true"&&(t.devtool="source-map"),_nullishCoalesce(_optionalChain([e, 'access', _ => _.webpack, 'optionalCall', _2 => _2(t,n)]), () => (t)))};return _nextjs.withSentryConfig.call(void 0, o,{org:process.env.SENTRY_ORG,project:process.env.SENTRY_PROJECT,telemetry:!1,reactComponentAnnotation:{enabled:process.env.UPLOAD_SOURCEMAPS==="true"},widenClientFileUpload:process.env.UPLOAD_SOURCEMAPS==="true",sourcemaps:{disable:process.env.UPLOAD_SOURCEMAPS!=="true"},debug:process.env.UPLOAD_SOURCEMAPS==="true",tunnelRoute:"/monitoring-tunnel",automaticVercelMonitors:!0})}exports.a = i; exports.b = c;
@@ -1 +1 @@
1
- import{a as e}from"./chunk-7P77HD6A.js";if(e!==80094&&e!==80069)throw new Error(`Invalid chainId: ${e}`);var s=e;function n(_=s){if(_===80069&&process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL||_===80094&&process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL){let r=_===80069?process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL:process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL;return process.env.VITEST_WORKER_ID?r=`${r}/${process.env.VITEST_WORKER_ID??1}`:console.log("Using anvil RPC for bepolia",r),{publicJsonRpcUrl:r,jsonRpcUrl:r,alchemyJsonRpcUrl:void 0,privateRcpUrl:void 0,isAnvil:!0}}return{publicJsonRpcUrl:_===80069?process.env.NEXT_PUBLIC_80069_PUBLIC_JSON_RPC_URL??"https://bepolia.rpc.berachain.com":process.env.NEXT_PUBLIC_80094_PUBLIC_JSON_RPC_URL??"https://rpc.berachain.com",jsonRpcUrl:_===80069?process.env.NEXT_PUBLIC_80069_JSON_RPC_URL??"https://bepolia.rpc.berachain.com":process.env.NEXT_PUBLIC_80094_JSON_RPC_URL??"https://rpc.berachain.com",alchemyJsonRpcUrl:_===80069?process.env.NEXT_PUBLIC_80069_ALCHEMY_JSON_RPC_URL:process.env.NEXT_PUBLIC_80094_ALCHEMY_JSON_RPC_URL,privateRcpUrl:_===80069?process.env.PRIVATE_80069_JSON_RPC_URL:process.env.PRIVATE_80094_JSON_RPC_URL,isAnvil:!1}}var{publicJsonRpcUrl:R,jsonRpcUrl:U,alchemyJsonRpcUrl:l,privateRcpUrl:i}=n(e);export{n as a,R as b,U as c,l as d,i as e};
1
+ import{a as e}from"./chunk-NDMUG2ND.js";if(e!==80094&&e!==80069)throw new Error(`Invalid chainId: ${e}`);var s=e;function n(_=s){if(_===80069&&process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL||_===80094&&process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL){let r=_===80069?process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL:process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL;return process.env.VITEST_WORKER_ID?r=`${r}/${process.env.VITEST_WORKER_ID??1}`:console.log("Using anvil RPC for bepolia",r),{publicJsonRpcUrl:r,jsonRpcUrl:r,alchemyJsonRpcUrl:void 0,privateRcpUrl:void 0,isAnvil:!0}}return{publicJsonRpcUrl:_===80069?process.env.NEXT_PUBLIC_80069_PUBLIC_JSON_RPC_URL??"https://bepolia.rpc.berachain.com":process.env.NEXT_PUBLIC_80094_PUBLIC_JSON_RPC_URL??"https://rpc.berachain.com",jsonRpcUrl:_===80069?process.env.NEXT_PUBLIC_80069_JSON_RPC_URL??"https://bepolia.rpc.berachain.com":process.env.NEXT_PUBLIC_80094_JSON_RPC_URL??"https://rpc.berachain.com",alchemyJsonRpcUrl:_===80069?process.env.NEXT_PUBLIC_80069_ALCHEMY_JSON_RPC_URL:process.env.NEXT_PUBLIC_80094_ALCHEMY_JSON_RPC_URL,privateRcpUrl:_===80069?process.env.PRIVATE_80069_JSON_RPC_URL:process.env.PRIVATE_80094_JSON_RPC_URL,isAnvil:!1}}var{publicJsonRpcUrl:R,jsonRpcUrl:U,alchemyJsonRpcUrl:l,privateRcpUrl:i}=n(e);export{n as a,R as b,U as c,l as d,i as e};
@@ -1 +1 @@
1
- import{a as e}from"./chunk-7P77HD6A.js";var o=e===80094?"mainnet-":"bepolia-";process.env.VERCEL_TARGET_ENV==="production"?o+="production":o+="preview";export{o as a};
1
+ import{a as e}from"./chunk-NDMUG2ND.js";var o=e===80094?"mainnet-":"bepolia-";process.env.VERCEL_TARGET_ENV==="production"?o+="production":o+="preview";export{o as a};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkK62SDMWXcjs = require('./chunk-K62SDMWX.cjs');var _chunk6RLCJYH2cjs = require('./chunk-6RLCJYH2.cjs');var _chunkHNEK54FEcjs = require('./chunk-HNEK54FE.cjs');var o={80094:_chunk6RLCJYH2cjs.a,80069:_chunkK62SDMWXcjs.a},t=o[_chunkHNEK54FEcjs.a],r={apiKeys:{public:{dynamicWallet:_nullishCoalesce(process.env.NEXT_PUBLIC_DYNAMIC_API_KEY, () => ("b8a5104d-47e0-4965-b56a-0bcc31cf56f4")),postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},private:{luma:process.env.LUMA_API_KEY,clickup:process.env.CLICKUP_API_KEY,ghostContent:process.env.GHOST_CONTENT_API_KEY,ghostAdmin:process.env.GHOST_ADMIN_API_KEY,oogabooga:process.env.OOGABOOGA_API_KEY,haiku:process.env.HAIKU_API_KEY,kyberswap:process.env.KYBERSWAP_CLIENT_ID,enso:_nullishCoalesce(_nullishCoalesce(process.env.ENSO_API_KEY, () => (process.env.NEXT_PUBLIC_ENSO_API_KEY)), () => ("3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f")),etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"},urls:{postHogApiHost:"https://eu.i.posthog.com",ghost:"https://berachain.ghost.io",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",homepage:_nullishCoalesce(process.env.NEXT_PUBLIC_HOMEPAGE_URL, () => ("https://www.berachain.com")),ecosystem:"https://ecosystem.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6",blog:"https://blog.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain"},flags:{developmentAnalyticsEnabled:process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,disallowIndexing:_chunkHNEK54FEcjs.a!==80094&&_chunkHNEK54FEcjs.a!==80069,hideCurator:!1},bend:{...t.bend,liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}},h= exports.b ={...t,...r};exports.a = o; exports.b = h;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAEEJBUVNcjs = require('./chunk-AEEJBUVN.cjs');var o=_chunkAEEJBUVNcjs.a===80094?"mainnet-":"bepolia-";process.env.VERCEL_TARGET_ENV==="production"?o = exports.a+="production":o = exports.a+="preview";exports.a = o;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHNEK54FEcjs = require('./chunk-HNEK54FE.cjs');var o=_chunkHNEK54FEcjs.a===80094?"mainnet-":"bepolia-";process.env.VERCEL_TARGET_ENV==="production"?o = exports.a+="production":o = exports.a+="preview";exports.a = o;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkAEEJBUVNcjs = require('./chunk-AEEJBUVN.cjs');function t(n,e){return typeof n=="boolean"?n:!(_optionalChain([n, 'access', _ => _.chain, 'optionalAccess', _2 => _2.length])&&(!n.chain.includes("mainnet")&&e===80094||!n.chain.includes("bepolia")&&e===80069))}function c(n,e){return typeof n=="boolean"?n:!(_optionalChain([n, 'access', _3 => _3.branch, 'optionalAccess', _4 => _4.length])&&(!n.branch.includes("production")&&e==="production"||!n.branch.includes("staging")&&e==="staging"||!n.branch.includes("preview")&&e==="preview"))}function s(n,{chain:e=_chunkAEEJBUVNcjs.a,environment:i=process.env.VERCEL_TARGET_ENV}={}){return n?typeof n=="boolean"?n:n.condition==="OR"?t(n,e)||c(n,i):t(n,e)&&c(n,i):!1}exports.a = s;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkHNEK54FEcjs = require('./chunk-HNEK54FE.cjs');function t(n,e){return typeof n=="boolean"?n:!(_optionalChain([n, 'access', _ => _.chain, 'optionalAccess', _2 => _2.length])&&(!n.chain.includes("mainnet")&&e===80094||!n.chain.includes("bepolia")&&e===80069))}function c(n,e){return typeof n=="boolean"?n:!(_optionalChain([n, 'access', _3 => _3.branch, 'optionalAccess', _4 => _4.length])&&(!n.branch.includes("production")&&e==="production"||!n.branch.includes("staging")&&e==="staging"||!n.branch.includes("preview")&&e==="preview"))}function s(n,{chain:e=_chunkHNEK54FEcjs.a,environment:i=process.env.VERCEL_TARGET_ENV}={}){return n?typeof n=="boolean"?n:n.condition==="OR"?t(n,e)||c(n,i):t(n,e)&&c(n,i):!1}exports.a = s;
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3IPYHDYKcjs = require('./chunk-3IPYHDYK.cjs');var n=process.env.NEXT_PUBLIC_CHAIN_ID?Number(process.env.NEXT_PUBLIC_CHAIN_ID):80094;if(!Object.values(_chunk3IPYHDYKcjs.a).includes(n))throw new Error(`process.env.NEXT_PUBLIC_CHAIN_ID is invalid: ${n}.
2
+ This value must be one of the following: ${Object.values(_chunk3IPYHDYKcjs.a).filter(Number).join(", ")} when using @berachain/config/internal.`);exports.a = n;
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk-E3O7UH5M.js";var n=process.env.NEXT_PUBLIC_CHAIN_ID?Number(process.env.NEXT_PUBLIC_CHAIN_ID):80094;if(!Object.values(e).includes(n))throw new Error(`process.env.NEXT_PUBLIC_CHAIN_ID is invalid: ${n}.
2
+ This value must be one of the following: ${Object.values(e).filter(Number).join(", ")} when using @berachain/config/internal.`);export{n as a};
@@ -1 +1 @@
1
- import{withSentryConfig as r}from"@sentry/nextjs";async function i(){process.env.NEXT_RUNTIME==="edge"?await import("./sentry.edge.config-MSL7GELX.js"):process.env.NEXT_RUNTIME==="nodejs"&&await import("./sentry.server.config-MN4FIAPC.js")}function c(e){let o={...e,env:{...e.env,VERCEL_TARGET_ENV:process.env.VERCEL_TARGET_ENV},webpack:(t,n)=>(n.isServer&&!n.dev&&process.env.UPLOAD_SOURCEMAPS==="true"&&(t.devtool="source-map"),e.webpack?.(t,n)??t)};return r(o,{org:process.env.SENTRY_ORG,project:process.env.SENTRY_PROJECT,telemetry:!1,reactComponentAnnotation:{enabled:process.env.UPLOAD_SOURCEMAPS==="true"},widenClientFileUpload:process.env.UPLOAD_SOURCEMAPS==="true",sourcemaps:{disable:process.env.UPLOAD_SOURCEMAPS!=="true"},debug:process.env.UPLOAD_SOURCEMAPS==="true",tunnelRoute:"/monitoring-tunnel",automaticVercelMonitors:!0})}export{i as a,c as b};
1
+ import{withSentryConfig as r}from"@sentry/nextjs";async function i(){process.env.NEXT_RUNTIME==="edge"?await import("./sentry.edge.config-V6Q3YAS2.js"):process.env.NEXT_RUNTIME==="nodejs"&&await import("./sentry.server.config-45GGQXOQ.js")}function c(e){let o={...e,env:{...e.env,VERCEL_TARGET_ENV:process.env.VERCEL_TARGET_ENV},webpack:(t,n)=>(n.isServer&&!n.dev&&process.env.UPLOAD_SOURCEMAPS==="true"&&(t.devtool="source-map"),e.webpack?.(t,n)??t)};return r(o,{org:process.env.SENTRY_ORG,project:process.env.SENTRY_PROJECT,telemetry:!1,reactComponentAnnotation:{enabled:process.env.UPLOAD_SOURCEMAPS==="true"},widenClientFileUpload:process.env.UPLOAD_SOURCEMAPS==="true",sourcemaps:{disable:process.env.UPLOAD_SOURCEMAPS!=="true"},debug:process.env.UPLOAD_SOURCEMAPS==="true",tunnelRoute:"/monitoring-tunnel",automaticVercelMonitors:!0})}export{i as a,c as b};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkAEEJBUVNcjs = require('./chunk-AEEJBUVN.cjs');if(_chunkAEEJBUVNcjs.a!==80094&&_chunkAEEJBUVNcjs.a!==80069)throw new Error(`Invalid chainId: ${_chunkAEEJBUVNcjs.a}`);var s=_chunkAEEJBUVNcjs.a;function n(_=s){if(_===80069&&process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL||_===80094&&process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL){let r=_===80069?process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL:process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL;return process.env.VITEST_WORKER_ID?r=`${r}/${_nullishCoalesce(process.env.VITEST_WORKER_ID, () => (1))}`:console.log("Using anvil RPC for bepolia",r),{publicJsonRpcUrl:r,jsonRpcUrl:r,alchemyJsonRpcUrl:void 0,privateRcpUrl:void 0,isAnvil:!0}}return{publicJsonRpcUrl:_===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_PUBLIC_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_PUBLIC_JSON_RPC_URL, () => ("https://rpc.berachain.com")),jsonRpcUrl:_===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_JSON_RPC_URL, () => ("https://rpc.berachain.com")),alchemyJsonRpcUrl:_===80069?process.env.NEXT_PUBLIC_80069_ALCHEMY_JSON_RPC_URL:process.env.NEXT_PUBLIC_80094_ALCHEMY_JSON_RPC_URL,privateRcpUrl:_===80069?process.env.PRIVATE_80069_JSON_RPC_URL:process.env.PRIVATE_80094_JSON_RPC_URL,isAnvil:!1}}var{publicJsonRpcUrl:R,jsonRpcUrl:U,alchemyJsonRpcUrl:l,privateRcpUrl:i}=n(_chunkAEEJBUVNcjs.a);exports.a = n; exports.b = R; exports.c = U; exports.d = l; exports.e = i;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkHNEK54FEcjs = require('./chunk-HNEK54FE.cjs');if(_chunkHNEK54FEcjs.a!==80094&&_chunkHNEK54FEcjs.a!==80069)throw new Error(`Invalid chainId: ${_chunkHNEK54FEcjs.a}`);var s=_chunkHNEK54FEcjs.a;function n(_=s){if(_===80069&&process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL||_===80094&&process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL){let r=_===80069?process.env.NEXT_PUBLIC_80069_ANVIL_RPC_URL:process.env.NEXT_PUBLIC_80094_ANVIL_RPC_URL;return process.env.VITEST_WORKER_ID?r=`${r}/${_nullishCoalesce(process.env.VITEST_WORKER_ID, () => (1))}`:console.log("Using anvil RPC for bepolia",r),{publicJsonRpcUrl:r,jsonRpcUrl:r,alchemyJsonRpcUrl:void 0,privateRcpUrl:void 0,isAnvil:!0}}return{publicJsonRpcUrl:_===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_PUBLIC_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_PUBLIC_JSON_RPC_URL, () => ("https://rpc.berachain.com")),jsonRpcUrl:_===80069?_nullishCoalesce(process.env.NEXT_PUBLIC_80069_JSON_RPC_URL, () => ("https://bepolia.rpc.berachain.com")):_nullishCoalesce(process.env.NEXT_PUBLIC_80094_JSON_RPC_URL, () => ("https://rpc.berachain.com")),alchemyJsonRpcUrl:_===80069?process.env.NEXT_PUBLIC_80069_ALCHEMY_JSON_RPC_URL:process.env.NEXT_PUBLIC_80094_ALCHEMY_JSON_RPC_URL,privateRcpUrl:_===80069?process.env.PRIVATE_80069_JSON_RPC_URL:process.env.PRIVATE_80094_JSON_RPC_URL,isAnvil:!1}}var{publicJsonRpcUrl:R,jsonRpcUrl:U,alchemyJsonRpcUrl:l,privateRcpUrl:i}=n(_chunkHNEK54FEcjs.a);exports.a = n; exports.b = R; exports.c = U; exports.d = l; exports.e = i;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkYYLX4CBVcjs = require('../../chunk-YYLX4CBV.cjs');require('../../chunk-AEEJBUVN.cjs');require('../../chunk-3IPYHDYK.cjs');require('../../chunk-4VDLQK6F.cjs');var _edgeconfig = require('@vercel/edge-config');async function m(e,{onError:r}={}){try{return await _edgeconfig.get.call(void 0, e)}catch(o){_optionalChain([r, 'optionalCall', _ => _(o)]);return}}async function g({onError:e}={}){try{return await _edgeconfig.getAll.call(void 0, )}catch(r){_optionalChain([e, 'optionalCall', _2 => _2(r)]);return}}exports.isFlagEnabled = _chunkYYLX4CBVcjs.a; exports.safeGetAll = g; exports.safeGetConfig = m;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkHC2ORLQ3cjs = require('../../chunk-HC2ORLQ3.cjs');require('../../chunk-HNEK54FE.cjs');require('../../chunk-3IPYHDYK.cjs');require('../../chunk-4VDLQK6F.cjs');var _edgeconfig = require('@vercel/edge-config');async function m(e,{onError:r}={}){try{return await _edgeconfig.get.call(void 0, e)}catch(o){_optionalChain([r, 'optionalCall', _ => _(o)]);return}}async function g({onError:e}={}){try{return await _edgeconfig.getAll.call(void 0, )}catch(r){_optionalChain([e, 'optionalCall', _2 => _2(r)]);return}}exports.isFlagEnabled = _chunkHC2ORLQ3cjs.a; exports.safeGetAll = g; exports.safeGetConfig = m;
@@ -1 +1 @@
1
- import{a as i}from"../../chunk-DHNVZCPX.js";import"../../chunk-7P77HD6A.js";import"../../chunk-E3O7UH5M.js";import"../../chunk-WOT6VMZA.js";import{get as n}from"@vercel/edge-config";async function m(e,{onError:r}={}){try{return await n(e)}catch(o){r?.(o);return}}import{getAll as t}from"@vercel/edge-config";async function g({onError:e}={}){try{return await t()}catch(r){e?.(r);return}}export{i as isFlagEnabled,g as safeGetAll,m as safeGetConfig};
1
+ import{a as i}from"../../chunk-BGHO3T7U.js";import"../../chunk-NDMUG2ND.js";import"../../chunk-E3O7UH5M.js";import"../../chunk-WOT6VMZA.js";import{get as n}from"@vercel/edge-config";async function m(e,{onError:r}={}){try{return await n(e)}catch(o){r?.(o);return}}import{getAll as t}from"@vercel/edge-config";async function g({onError:e}={}){try{return await t()}catch(r){e?.(r);return}}export{i as isFlagEnabled,g as safeGetAll,m as safeGetConfig};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYYLX4CBVcjs = require('../../chunk-YYLX4CBV.cjs');require('../../chunk-AEEJBUVN.cjs');require('../../chunk-3IPYHDYK.cjs');var _chunk4VDLQK6Fcjs = require('../../chunk-4VDLQK6F.cjs');var r={};_chunk4VDLQK6Fcjs.a.call(void 0, r,{enableEip5792:()=>c,hideStakeForSingleHolderVaults:()=>p,isBendLive:()=>b,isDefaultStakingPoolEnabled:()=>g,isGovernanceEnabled:()=>s,isRewardAllocatorRoleActive:()=>E,isVaultChartsEnabled:()=>f,proxyAggregatorsThroughVercel:()=>u});var _next = require('flags/next');var _edgeconfig = require('@flags-sdk/edge-config');function e(){let o=_edgeconfig.edgeConfigAdapter.call(void 0, );return{...o,async decide(l){let n=await o.decide(l);return _chunkYYLX4CBVcjs.a.call(void 0, n)}}}var s=_next.flag.call(void 0, {key:"isGovernanceEnabled",description:"Enable Governance proposals",defaultValue:!0,adapter:e()}),p=_next.flag.call(void 0, {key:"hideStakeForSingleHolderVaults",description:"Hide stake for single holder vaults",defaultValue:!0,adapter:e()}),c=_next.flag.call(void 0, {key:"enableEip5792",description:"Enable EIP-5792 to allow batch transactions if wallet supports it",defaultValue:!0,adapter:e()}),u=_next.flag.call(void 0, {key:"proxyAggregatorsThroughVercel",description:"Proxy aggregators quotes through Vercel instead of proxy gateway",defaultValue:!1,adapter:e()}),g=_next.flag.call(void 0, {key:"isDefaultStakingPoolEnabled",description:"Enable default staking pools",defaultValue:!0,adapter:e()}),f=_next.flag.call(void 0, {key:"isVaultChartsEnabled",description:"Enable vault historical tvl and apr charts",defaultValue:!0,adapter:e()}),b=_next.flag.call(void 0, {key:"isBendLive",description:"Enable Bend live",defaultValue:!0,adapter:e()}),E=_next.flag.call(void 0, {key:"isRewardAllocatorRoleActive",description:"Reward Allocator role is active on BeraChef contract or not",defaultValue:!0,adapter:e()});exports.flags = r;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHC2ORLQ3cjs = require('../../chunk-HC2ORLQ3.cjs');require('../../chunk-HNEK54FE.cjs');require('../../chunk-3IPYHDYK.cjs');var _chunk4VDLQK6Fcjs = require('../../chunk-4VDLQK6F.cjs');var r={};_chunk4VDLQK6Fcjs.a.call(void 0, r,{enableEip5792:()=>c,hideStakeForSingleHolderVaults:()=>p,isBendLive:()=>b,isDefaultStakingPoolEnabled:()=>g,isGovernanceEnabled:()=>s,isRewardAllocatorRoleActive:()=>E,isVaultChartsEnabled:()=>f,proxyAggregatorsThroughVercel:()=>u});var _next = require('flags/next');var _edgeconfig = require('@flags-sdk/edge-config');function e(){let o=_edgeconfig.edgeConfigAdapter.call(void 0, );return{...o,async decide(l){let n=await o.decide(l);return _chunkHC2ORLQ3cjs.a.call(void 0, n)}}}var s=_next.flag.call(void 0, {key:"isGovernanceEnabled",description:"Enable Governance proposals",defaultValue:!0,adapter:e()}),p=_next.flag.call(void 0, {key:"hideStakeForSingleHolderVaults",description:"Hide stake for single holder vaults",defaultValue:!0,adapter:e()}),c=_next.flag.call(void 0, {key:"enableEip5792",description:"Enable EIP-5792 to allow batch transactions if wallet supports it",defaultValue:!0,adapter:e()}),u=_next.flag.call(void 0, {key:"proxyAggregatorsThroughVercel",description:"Proxy aggregators quotes through Vercel instead of proxy gateway",defaultValue:!1,adapter:e()}),g=_next.flag.call(void 0, {key:"isDefaultStakingPoolEnabled",description:"Enable default staking pools",defaultValue:!0,adapter:e()}),f=_next.flag.call(void 0, {key:"isVaultChartsEnabled",description:"Enable vault historical tvl and apr charts",defaultValue:!0,adapter:e()}),b=_next.flag.call(void 0, {key:"isBendLive",description:"Enable Bend live",defaultValue:!0,adapter:e()}),E=_next.flag.call(void 0, {key:"isRewardAllocatorRoleActive",description:"Reward Allocator role is active on BeraChef contract or not",defaultValue:!0,adapter:e()});exports.flags = r;
@@ -1 +1 @@
1
- import{a as t}from"../../chunk-DHNVZCPX.js";import"../../chunk-7P77HD6A.js";import"../../chunk-E3O7UH5M.js";import{a as i}from"../../chunk-WOT6VMZA.js";var r={};i(r,{enableEip5792:()=>c,hideStakeForSingleHolderVaults:()=>p,isBendLive:()=>b,isDefaultStakingPoolEnabled:()=>g,isGovernanceEnabled:()=>s,isRewardAllocatorRoleActive:()=>E,isVaultChartsEnabled:()=>f,proxyAggregatorsThroughVercel:()=>u});import{flag as a}from"flags/next";import{edgeConfigAdapter as d}from"@flags-sdk/edge-config";function e(){let o=d();return{...o,async decide(l){let n=await o.decide(l);return t(n)}}}var s=a({key:"isGovernanceEnabled",description:"Enable Governance proposals",defaultValue:!0,adapter:e()}),p=a({key:"hideStakeForSingleHolderVaults",description:"Hide stake for single holder vaults",defaultValue:!0,adapter:e()}),c=a({key:"enableEip5792",description:"Enable EIP-5792 to allow batch transactions if wallet supports it",defaultValue:!0,adapter:e()}),u=a({key:"proxyAggregatorsThroughVercel",description:"Proxy aggregators quotes through Vercel instead of proxy gateway",defaultValue:!1,adapter:e()}),g=a({key:"isDefaultStakingPoolEnabled",description:"Enable default staking pools",defaultValue:!0,adapter:e()}),f=a({key:"isVaultChartsEnabled",description:"Enable vault historical tvl and apr charts",defaultValue:!0,adapter:e()}),b=a({key:"isBendLive",description:"Enable Bend live",defaultValue:!0,adapter:e()}),E=a({key:"isRewardAllocatorRoleActive",description:"Reward Allocator role is active on BeraChef contract or not",defaultValue:!0,adapter:e()});export{r as flags};
1
+ import{a as t}from"../../chunk-BGHO3T7U.js";import"../../chunk-NDMUG2ND.js";import"../../chunk-E3O7UH5M.js";import{a as i}from"../../chunk-WOT6VMZA.js";var r={};i(r,{enableEip5792:()=>c,hideStakeForSingleHolderVaults:()=>p,isBendLive:()=>b,isDefaultStakingPoolEnabled:()=>g,isGovernanceEnabled:()=>s,isRewardAllocatorRoleActive:()=>E,isVaultChartsEnabled:()=>f,proxyAggregatorsThroughVercel:()=>u});import{flag as a}from"flags/next";import{edgeConfigAdapter as d}from"@flags-sdk/edge-config";function e(){let o=d();return{...o,async decide(l){let n=await o.decide(l);return t(n)}}}var s=a({key:"isGovernanceEnabled",description:"Enable Governance proposals",defaultValue:!0,adapter:e()}),p=a({key:"hideStakeForSingleHolderVaults",description:"Hide stake for single holder vaults",defaultValue:!0,adapter:e()}),c=a({key:"enableEip5792",description:"Enable EIP-5792 to allow batch transactions if wallet supports it",defaultValue:!0,adapter:e()}),u=a({key:"proxyAggregatorsThroughVercel",description:"Proxy aggregators quotes through Vercel instead of proxy gateway",defaultValue:!1,adapter:e()}),g=a({key:"isDefaultStakingPoolEnabled",description:"Enable default staking pools",defaultValue:!0,adapter:e()}),f=a({key:"isVaultChartsEnabled",description:"Enable vault historical tvl and apr charts",defaultValue:!0,adapter:e()}),b=a({key:"isBendLive",description:"Enable Bend live",defaultValue:!0,adapter:e()}),E=a({key:"isRewardAllocatorRoleActive",description:"Reward Allocator role is active on BeraChef contract or not",defaultValue:!0,adapter:e()});export{r as flags};
@@ -1,13 +1,13 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkIBEBYW6Wcjs = require('../chunk-IBEBYW6W.cjs');var _chunkRJW7M2BAcjs = require('../chunk-RJW7M2BA.cjs');require('../chunk-K62SDMWX.cjs');require('../chunk-6RLCJYH2.cjs');require('../chunk-AEEJBUVN.cjs');require('../chunk-3IPYHDYK.cjs');require('../chunk-4VDLQK6F.cjs');function w({isDevelopment:o,nonce:i,...s}){let p=["https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${_chunkIBEBYW6Wcjs.c.apiKeys.public.dynamicWallet}/`,`https://logs.dynamicauth.com/api/v1/${_chunkIBEBYW6Wcjs.c.apiKeys.public.dynamicWallet}`,"https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json","https://raw.githubusercontent.com/berachain/metadata/","https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro",_chunkIBEBYW6Wcjs.c.governance.subgraph,_chunkIBEBYW6Wcjs.c.honey.subgraph,_chunkIBEBYW6Wcjs.c.pol.subgraph,_chunkIBEBYW6Wcjs.c.pol.bribeBoostApi,_chunkIBEBYW6Wcjs.c.bex.subgraph,_chunkIBEBYW6Wcjs.c.api,_chunkIBEBYW6Wcjs.c.blocksSubgraph,_chunkRJW7M2BAcjs.c,_chunkRJW7M2BAcjs.b,_chunkRJW7M2BAcjs.d,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${_chunkIBEBYW6Wcjs.c.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/"].concat(_nullishCoalesce(s.connectionSources, () => ([]))).filter((e,f)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",f),!1):!0),l=["https://res.cloudinary.com/duv0g402y/","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(_nullishCoalesce(s.pictureSources, () => ([]))).filter(e=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of pictureSources is empty or undefined"),!1):!0),h=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://*.posthog.com","https://vercel.live/"].concat(_nullishCoalesce(s.frameSources, () => ([]))),m=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com"].concat(_nullishCoalesce(s.fontSources, () => ([]))),u=["https://*.posthog.com","https://vercel.live"].concat(_nullishCoalesce(s.styleSources, () => ([])));return`
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkEMRVFGINcjs = require('../chunk-EMRVFGIN.cjs');var _chunkX73HWW5Tcjs = require('../chunk-X73HWW5T.cjs');require('../chunk-K62SDMWX.cjs');require('../chunk-6RLCJYH2.cjs');require('../chunk-HNEK54FE.cjs');require('../chunk-3IPYHDYK.cjs');require('../chunk-4VDLQK6F.cjs');function b({isDevelopment:o,nonce:a,...s}){let i=["https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${_chunkEMRVFGINcjs.b.apiKeys.public.dynamicWallet}/`,`https://logs.dynamicauth.com/api/v1/${_chunkEMRVFGINcjs.b.apiKeys.public.dynamicWallet}`,"https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json","https://raw.githubusercontent.com/berachain/metadata/","https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro",_chunkEMRVFGINcjs.b.governance.subgraph,_chunkEMRVFGINcjs.b.honey.subgraph,_chunkEMRVFGINcjs.b.pol.subgraph,_chunkEMRVFGINcjs.b.pol.bribeBoostApi,_chunkEMRVFGINcjs.b.bex.subgraph,_chunkEMRVFGINcjs.b.api,_chunkEMRVFGINcjs.b.blocksSubgraph,_chunkX73HWW5Tcjs.c,_chunkX73HWW5Tcjs.b,_chunkX73HWW5Tcjs.d,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${_chunkEMRVFGINcjs.b.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/"].concat(_nullishCoalesce(s.connectionSources, () => ([]))).filter((e,u)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",u),!1):!0),p=["https://res.cloudinary.com/duv0g402y/","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(_nullishCoalesce(s.pictureSources, () => ([]))).filter(e=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of pictureSources is empty or undefined"),!1):!0),l=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://*.posthog.com","https://vercel.live/"].concat(_nullishCoalesce(s.frameSources, () => ([]))),h=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com"].concat(_nullishCoalesce(s.fontSources, () => ([]))),m=["https://*.posthog.com","https://vercel.live"].concat(_nullishCoalesce(s.styleSources, () => ([])));return`
2
2
  default-src 'self';
3
3
  base-uri 'self';
4
- frame-src 'self' ${h.join(" ")};
4
+ frame-src 'self' ${l.join(" ")};
5
5
  frame-ancestors 'self' https://*.posthog.com;
6
- script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${i}' https://*.posthog.com 'strict-dynamic' ${o?"'unsafe-eval'":""};
6
+ script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${a}' https://*.posthog.com 'strict-dynamic' ${o?"'unsafe-eval'":""};
7
7
  worker-src 'self' blob: data:;
8
- font-src 'self' ${m.join(" ")};
9
- style-src 'self' ${u.join(" ")} 'unsafe-inline';
10
- img-src 'self' data: ${l.join(" ")};
11
- connect-src 'self' ${p.join(" ")};
8
+ font-src 'self' ${h.join(" ")};
9
+ style-src 'self' ${m.join(" ")} 'unsafe-inline';
10
+ img-src 'self' data: ${p.join(" ")};
11
+ connect-src 'self' ${i.join(" ")};
12
12
  media-src https://*.posthog.com;
13
- `.replace(/\s{2,}/g," ").trim()}var v=[_nullishCoalesce((_optionalChain([_chunkIBEBYW6Wcjs.a, 'access', _ => _.urls, 'access', _2 => _2.cloudinary, 'optionalAccess', _3 => _3.split, 'call', _4 => _4("image"), 'access', _5 => _5[0]])||_optionalChain([_chunkIBEBYW6Wcjs.a, 'access', _6 => _6.urls, 'access', _7 => _7.cloudinary, 'optionalAccess', _8 => _8.split, 'call', _9 => _9("raw"), 'access', _10 => _10[0]])), () => ("")),"https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://berachain.ghost.io/content/images/"].filter(o=>!o||o.trim()===""?(console.warn("One of pictureSources is empty or undefined"),!1):!0);exports.getContentSecurityPolicy = w; exports.staticPictureSources = v;
13
+ `.replace(/\s{2,}/g," ").trim()}var y=[_nullishCoalesce((_optionalChain([_chunkEMRVFGINcjs.b, 'access', _ => _.urls, 'access', _2 => _2.cloudinary, 'optionalAccess', _3 => _3.split, 'call', _4 => _4("image"), 'access', _5 => _5[0]])||_optionalChain([_chunkEMRVFGINcjs.b, 'access', _6 => _6.urls, 'access', _7 => _7.cloudinary, 'optionalAccess', _8 => _8.split, 'call', _9 => _9("raw"), 'access', _10 => _10[0]])), () => ("")),"https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://berachain.ghost.io/content/images/"].filter(o=>!o||o.trim()===""?(console.warn("One of pictureSources is empty or undefined"),!1):!0);exports.getContentSecurityPolicy = b; exports.staticPictureSources = y;
@@ -1,13 +1,13 @@
1
- import{a as c,c as t}from"../chunk-BKOMNW3L.js";import{b as n,c as r,d as a}from"../chunk-TB4XRJLK.js";import"../chunk-4ZZXDAVS.js";import"../chunk-BJUR72F2.js";import"../chunk-7P77HD6A.js";import"../chunk-E3O7UH5M.js";import"../chunk-WOT6VMZA.js";function w({isDevelopment:o,nonce:i,...s}){let p=["https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${t.apiKeys.public.dynamicWallet}/`,`https://logs.dynamicauth.com/api/v1/${t.apiKeys.public.dynamicWallet}`,"https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json","https://raw.githubusercontent.com/berachain/metadata/","https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro",t.governance.subgraph,t.honey.subgraph,t.pol.subgraph,t.pol.bribeBoostApi,t.bex.subgraph,t.api,t.blocksSubgraph,r,n,a,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${t.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/"].concat(s.connectionSources??[]).filter((e,f)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",f),!1):!0),l=["https://res.cloudinary.com/duv0g402y/","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(s.pictureSources??[]).filter(e=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of pictureSources is empty or undefined"),!1):!0),h=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://*.posthog.com","https://vercel.live/"].concat(s.frameSources??[]),m=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com"].concat(s.fontSources??[]),u=["https://*.posthog.com","https://vercel.live"].concat(s.styleSources??[]);return`
1
+ import{b as t}from"../chunk-4RKKGKNF.js";import{b as c,c as n,d as r}from"../chunk-DC57JNAC.js";import"../chunk-4ZZXDAVS.js";import"../chunk-BJUR72F2.js";import"../chunk-NDMUG2ND.js";import"../chunk-E3O7UH5M.js";import"../chunk-WOT6VMZA.js";function b({isDevelopment:o,nonce:a,...s}){let i=["https://*.berachain.com/","https://*.berachain-staging.com/","wss://www.walletlink.org/rpc",`https://*.dynamicauth.com/api/v0/sdk/${t.apiKeys.public.dynamicWallet}/`,`https://logs.dynamicauth.com/api/v1/${t.apiKeys.public.dynamicWallet}`,"https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json","https://raw.githubusercontent.com/berachain/metadata/","https://*.bera-network.quiknode.pro","https://*.bepolia-network.quiknode.pro",t.governance.subgraph,t.honey.subgraph,t.pol.subgraph,t.pol.bribeBoostApi,t.bex.subgraph,t.api,t.blocksSubgraph,n,c,r,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.magpiefi.xyz/",`${t.bex.aggregatorsProxyUrl}/`,"wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://api.routescan.io/v2/network/","wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://*.posthog.com","https://vercel.live","wss://ws-us3.pusher.com","https://cdn.markfi.xyz/scripts/analytics/","https://a.markfi.xyz/"].concat(s.connectionSources??[]).filter((e,u)=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of connectionSources is empty or undefined. Idx:",u),!1):!0),p=["https://res.cloudinary.com/duv0g402y/","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/","https://icons.llama.fi/","https://icons.llamao.fi/","https://cdn.whisk.so/","https://cdn.morpho.org/","https://raw.githubusercontent.com/trustwallet/assets/","https://*.posthog.com","https://vercel.live","https://vercel.com"].concat(s.pictureSources??[]).filter(e=>!e||e.trim()===""?(process.env.NODE_ENV==="production"&&console.warn("One of pictureSources is empty or undefined"),!1):!0),l=["https://verify.walletconnect.com/","https://verify.walletconnect.org/","https://*.posthog.com","https://vercel.live/"].concat(s.frameSources??[]),h=["https://cdn.jsdelivr.net/npm/@fontsource/","https://*.posthog.com","https://vercel.live","https://assets.vercel.com"].concat(s.fontSources??[]),m=["https://*.posthog.com","https://vercel.live"].concat(s.styleSources??[]);return`
2
2
  default-src 'self';
3
3
  base-uri 'self';
4
- frame-src 'self' ${h.join(" ")};
4
+ frame-src 'self' ${l.join(" ")};
5
5
  frame-ancestors 'self' https://*.posthog.com;
6
- script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${i}' https://*.posthog.com 'strict-dynamic' ${o?"'unsafe-eval'":""};
6
+ script-src 'self' 'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o=' 'nonce-${a}' https://*.posthog.com 'strict-dynamic' ${o?"'unsafe-eval'":""};
7
7
  worker-src 'self' blob: data:;
8
- font-src 'self' ${m.join(" ")};
9
- style-src 'self' ${u.join(" ")} 'unsafe-inline';
10
- img-src 'self' data: ${l.join(" ")};
11
- connect-src 'self' ${p.join(" ")};
8
+ font-src 'self' ${h.join(" ")};
9
+ style-src 'self' ${m.join(" ")} 'unsafe-inline';
10
+ img-src 'self' data: ${p.join(" ")};
11
+ connect-src 'self' ${i.join(" ")};
12
12
  media-src https://*.posthog.com;
13
- `.replace(/\s{2,}/g," ").trim()}var v=[(c.urls.cloudinary?.split("image")[0]||c.urls.cloudinary?.split("raw")[0])??"","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://berachain.ghost.io/content/images/"].filter(o=>!o||o.trim()===""?(console.warn("One of pictureSources is empty or undefined"),!1):!0);export{w as getContentSecurityPolicy,v as staticPictureSources};
13
+ `.replace(/\s{2,}/g," ").trim()}var y=[(t.urls.cloudinary?.split("image")[0]||t.urls.cloudinary?.split("raw")[0])??"","https://raw.githubusercontent.com/berachain/default-lists/","https://raw.githubusercontent.com/berachain/metadata/","https://assets.coingecko.com/coins/images/","https://iconic.dynamic-static-assets.com/","https://berachain.ghost.io/content/images/"].filter(o=>!o||o.trim()===""?(console.warn("One of pictureSources is empty or undefined"),!1):!0);export{b as getContentSecurityPolicy,y as staticPictureSources};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIBEBYW6Wcjs = require('../chunk-IBEBYW6W.cjs');var _chunkRJW7M2BAcjs = require('../chunk-RJW7M2BA.cjs');require('../chunk-K62SDMWX.cjs');require('../chunk-6RLCJYH2.cjs');var _chunkAEEJBUVNcjs = require('../chunk-AEEJBUVN.cjs');var _chunk3IPYHDYKcjs = require('../chunk-3IPYHDYK.cjs');require('../chunk-4VDLQK6F.cjs');exports.ChainId = _chunk3IPYHDYKcjs.a; exports.alchemyJsonRpcUrl = _chunkRJW7M2BAcjs.d; exports.chainConfigs = _chunkIBEBYW6Wcjs.b; exports.chainId = _chunkAEEJBUVNcjs.a; exports.config = _chunkIBEBYW6Wcjs.c; exports.defaultChainId = _chunkAEEJBUVNcjs.a; exports.getRpcUrls = _chunkRJW7M2BAcjs.a; exports.jsonRpcUrl = _chunkRJW7M2BAcjs.c; exports.privateRcpUrl = _chunkRJW7M2BAcjs.e; exports.publicJsonRpcUrl = _chunkRJW7M2BAcjs.b;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkEMRVFGINcjs = require('../chunk-EMRVFGIN.cjs');var _chunkX73HWW5Tcjs = require('../chunk-X73HWW5T.cjs');require('../chunk-K62SDMWX.cjs');require('../chunk-6RLCJYH2.cjs');var _chunkHNEK54FEcjs = require('../chunk-HNEK54FE.cjs');var _chunk3IPYHDYKcjs = require('../chunk-3IPYHDYK.cjs');require('../chunk-4VDLQK6F.cjs');exports.ChainId = _chunk3IPYHDYKcjs.a; exports.alchemyJsonRpcUrl = _chunkX73HWW5Tcjs.d; exports.chainConfigs = _chunkEMRVFGINcjs.a; exports.chainId = _chunkHNEK54FEcjs.a; exports.config = _chunkEMRVFGINcjs.b; exports.defaultChainId = _chunkHNEK54FEcjs.a; exports.getRpcUrls = _chunkX73HWW5Tcjs.a; exports.jsonRpcUrl = _chunkX73HWW5Tcjs.c; exports.privateRcpUrl = _chunkX73HWW5Tcjs.e; exports.publicJsonRpcUrl = _chunkX73HWW5Tcjs.b;
@@ -241,11 +241,34 @@ declare const chainConfigs: {
241
241
  declare const config: {
242
242
  readonly apiKeys: {
243
243
  readonly public: {
244
+ /**
245
+ * This is only going to work on whitelisted domains.
246
+ * Please create your own API key and add it to your .env.local file
247
+ */
244
248
  readonly dynamicWallet: string;
245
249
  readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
246
250
  readonly cookie3SiteId: string;
247
251
  };
248
252
  readonly private: {
253
+ /**
254
+ * API key for events on Luma.
255
+ *
256
+ * Used by ecosystem.berachain.com/events page
257
+ */
258
+ readonly luma: string;
259
+ readonly clickup: string;
260
+ /**
261
+ * API key for Ghost content.
262
+ *
263
+ * Used by blog.berachain.com
264
+ */
265
+ readonly ghostContent: string;
266
+ /**
267
+ * API key for Ghost admin.
268
+ *
269
+ * Used by blog.berachain.com
270
+ */
271
+ readonly ghostAdmin: string;
249
272
  readonly oogabooga: string;
250
273
  readonly haiku: string;
251
274
  readonly kyberswap: string;
@@ -254,19 +277,43 @@ declare const config: {
254
277
  };
255
278
  };
256
279
  readonly addresses: {
280
+ /**
281
+ * This is an hardcoded value in contracts to detected wheter governance can
282
+ * change pool fees and amplification parameter.
283
+ *
284
+ * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
285
+ */
257
286
  readonly balancerDelegatedOwnership: `0x${string}`;
287
+ /**
288
+ * This is on genesis for Berachain
289
+ */
258
290
  readonly multicall: `0x${string}`;
259
291
  };
292
+ /**
293
+ * Public faucet configuration.
294
+ *
295
+ * Mainly used in static-monobera.
296
+ */
260
297
  readonly faucet: {
261
298
  readonly name: "Faucet";
262
299
  readonly url: "https://bepolia.faucet.berachain.com";
300
+ /**
301
+ * Amount of BERA the user will receive when using the faucet
302
+ */
263
303
  readonly dripAmount: 1;
304
+ /**
305
+ * Time in hours between each drip
306
+ */
264
307
  readonly timeGap: 8;
265
308
  readonly cloudflareKey: string;
309
+ /**
310
+ * API endpoint to send the request to the faucet
311
+ */
266
312
  readonly endpoint: "https://faucet-api.testnet.berachain.com";
267
313
  };
268
314
  readonly urls: {
269
315
  readonly postHogApiHost: "https://eu.i.posthog.com";
316
+ readonly ghost: "https://berachain.ghost.io";
270
317
  readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
271
318
  readonly homepage: string;
272
319
  readonly ecosystem: "https://ecosystem.berachain.com/";
@@ -281,13 +328,50 @@ declare const config: {
281
328
  };
282
329
  readonly flags: {
283
330
  readonly developmentAnalyticsEnabled: boolean;
331
+ /**
332
+ * Disallow SEO indexing for non-mainnet deployments
333
+ */
284
334
  readonly disallowIndexing: boolean;
285
335
  readonly hideCurator: false;
286
336
  };
287
337
  readonly bend: {
338
+ /**
339
+ * Margin from max LTV where warning will be shown about liquidation risk.
340
+ * e.g. if max LTV is 0.8, warning will show at 0.75
341
+ */
342
+ readonly liquidationWarningLtvMargin: 0.05;
343
+ /**
344
+ * Safety margin subtracted from max LTV to determine borrow limit.
345
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
346
+ */
347
+ readonly maxBorrowLtvMargin: 0.0001;
348
+ /**
349
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
350
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
351
+ */
352
+ readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
353
+ readonly name: "Bend";
354
+ readonly url: "https://bend.berachain.com";
355
+ readonly supportedVaults: `0x${string}`[];
356
+ } | {
357
+ /**
358
+ * Margin from max LTV where warning will be shown about liquidation risk.
359
+ * e.g. if max LTV is 0.8, warning will show at 0.75
360
+ */
288
361
  readonly liquidationWarningLtvMargin: 0.05;
362
+ /**
363
+ * Safety margin subtracted from max LTV to determine borrow limit.
364
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
365
+ */
289
366
  readonly maxBorrowLtvMargin: 0.0001;
367
+ /**
368
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
369
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
370
+ */
290
371
  readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
372
+ readonly name: "Bend";
373
+ readonly url: "https://bepolia.bend.berachain.com";
374
+ readonly supportedVaults: Address[];
291
375
  };
292
376
  readonly tokens: {
293
377
  readonly wbera: "0x6969696969696969696969696969696969696969";
@@ -388,11 +472,34 @@ declare const config: {
388
472
  } | {
389
473
  readonly apiKeys: {
390
474
  readonly public: {
475
+ /**
476
+ * This is only going to work on whitelisted domains.
477
+ * Please create your own API key and add it to your .env.local file
478
+ */
391
479
  readonly dynamicWallet: string;
392
480
  readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
393
481
  readonly cookie3SiteId: string;
394
482
  };
395
483
  readonly private: {
484
+ /**
485
+ * API key for events on Luma.
486
+ *
487
+ * Used by ecosystem.berachain.com/events page
488
+ */
489
+ readonly luma: string;
490
+ readonly clickup: string;
491
+ /**
492
+ * API key for Ghost content.
493
+ *
494
+ * Used by blog.berachain.com
495
+ */
496
+ readonly ghostContent: string;
497
+ /**
498
+ * API key for Ghost admin.
499
+ *
500
+ * Used by blog.berachain.com
501
+ */
502
+ readonly ghostAdmin: string;
396
503
  readonly oogabooga: string;
397
504
  readonly haiku: string;
398
505
  readonly kyberswap: string;
@@ -401,19 +508,43 @@ declare const config: {
401
508
  };
402
509
  };
403
510
  readonly addresses: {
511
+ /**
512
+ * This is an hardcoded value in contracts to detected wheter governance can
513
+ * change pool fees and amplification parameter.
514
+ *
515
+ * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
516
+ */
404
517
  readonly balancerDelegatedOwnership: `0x${string}`;
518
+ /**
519
+ * This is on genesis for Berachain
520
+ */
405
521
  readonly multicall: `0x${string}`;
406
522
  };
523
+ /**
524
+ * Public faucet configuration.
525
+ *
526
+ * Mainly used in static-monobera.
527
+ */
407
528
  readonly faucet: {
408
529
  readonly name: "Faucet";
409
530
  readonly url: "https://bepolia.faucet.berachain.com";
531
+ /**
532
+ * Amount of BERA the user will receive when using the faucet
533
+ */
410
534
  readonly dripAmount: 1;
535
+ /**
536
+ * Time in hours between each drip
537
+ */
411
538
  readonly timeGap: 8;
412
539
  readonly cloudflareKey: string;
540
+ /**
541
+ * API endpoint to send the request to the faucet
542
+ */
413
543
  readonly endpoint: "https://faucet-api.testnet.berachain.com";
414
544
  };
415
545
  readonly urls: {
416
546
  readonly postHogApiHost: "https://eu.i.posthog.com";
547
+ readonly ghost: "https://berachain.ghost.io";
417
548
  readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
418
549
  readonly homepage: string;
419
550
  readonly ecosystem: "https://ecosystem.berachain.com/";
@@ -428,13 +559,50 @@ declare const config: {
428
559
  };
429
560
  readonly flags: {
430
561
  readonly developmentAnalyticsEnabled: boolean;
562
+ /**
563
+ * Disallow SEO indexing for non-mainnet deployments
564
+ */
431
565
  readonly disallowIndexing: boolean;
432
566
  readonly hideCurator: false;
433
567
  };
434
568
  readonly bend: {
569
+ /**
570
+ * Margin from max LTV where warning will be shown about liquidation risk.
571
+ * e.g. if max LTV is 0.8, warning will show at 0.75
572
+ */
573
+ readonly liquidationWarningLtvMargin: 0.05;
574
+ /**
575
+ * Safety margin subtracted from max LTV to determine borrow limit.
576
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
577
+ */
578
+ readonly maxBorrowLtvMargin: 0.0001;
579
+ /**
580
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
581
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
582
+ */
583
+ readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
584
+ readonly name: "Bend";
585
+ readonly url: "https://bend.berachain.com";
586
+ readonly supportedVaults: `0x${string}`[];
587
+ } | {
588
+ /**
589
+ * Margin from max LTV where warning will be shown about liquidation risk.
590
+ * e.g. if max LTV is 0.8, warning will show at 0.75
591
+ */
435
592
  readonly liquidationWarningLtvMargin: 0.05;
593
+ /**
594
+ * Safety margin subtracted from max LTV to determine borrow limit.
595
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
596
+ */
436
597
  readonly maxBorrowLtvMargin: 0.0001;
598
+ /**
599
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
600
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
601
+ */
437
602
  readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
603
+ readonly name: "Bend";
604
+ readonly url: "https://bepolia.bend.berachain.com";
605
+ readonly supportedVaults: Address[];
438
606
  };
439
607
  readonly tokens: {
440
608
  readonly wbera: "0x6969696969696969696969696969696969696969";
@@ -241,11 +241,34 @@ declare const chainConfigs: {
241
241
  declare const config: {
242
242
  readonly apiKeys: {
243
243
  readonly public: {
244
+ /**
245
+ * This is only going to work on whitelisted domains.
246
+ * Please create your own API key and add it to your .env.local file
247
+ */
244
248
  readonly dynamicWallet: string;
245
249
  readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
246
250
  readonly cookie3SiteId: string;
247
251
  };
248
252
  readonly private: {
253
+ /**
254
+ * API key for events on Luma.
255
+ *
256
+ * Used by ecosystem.berachain.com/events page
257
+ */
258
+ readonly luma: string;
259
+ readonly clickup: string;
260
+ /**
261
+ * API key for Ghost content.
262
+ *
263
+ * Used by blog.berachain.com
264
+ */
265
+ readonly ghostContent: string;
266
+ /**
267
+ * API key for Ghost admin.
268
+ *
269
+ * Used by blog.berachain.com
270
+ */
271
+ readonly ghostAdmin: string;
249
272
  readonly oogabooga: string;
250
273
  readonly haiku: string;
251
274
  readonly kyberswap: string;
@@ -254,19 +277,43 @@ declare const config: {
254
277
  };
255
278
  };
256
279
  readonly addresses: {
280
+ /**
281
+ * This is an hardcoded value in contracts to detected wheter governance can
282
+ * change pool fees and amplification parameter.
283
+ *
284
+ * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
285
+ */
257
286
  readonly balancerDelegatedOwnership: `0x${string}`;
287
+ /**
288
+ * This is on genesis for Berachain
289
+ */
258
290
  readonly multicall: `0x${string}`;
259
291
  };
292
+ /**
293
+ * Public faucet configuration.
294
+ *
295
+ * Mainly used in static-monobera.
296
+ */
260
297
  readonly faucet: {
261
298
  readonly name: "Faucet";
262
299
  readonly url: "https://bepolia.faucet.berachain.com";
300
+ /**
301
+ * Amount of BERA the user will receive when using the faucet
302
+ */
263
303
  readonly dripAmount: 1;
304
+ /**
305
+ * Time in hours between each drip
306
+ */
264
307
  readonly timeGap: 8;
265
308
  readonly cloudflareKey: string;
309
+ /**
310
+ * API endpoint to send the request to the faucet
311
+ */
266
312
  readonly endpoint: "https://faucet-api.testnet.berachain.com";
267
313
  };
268
314
  readonly urls: {
269
315
  readonly postHogApiHost: "https://eu.i.posthog.com";
316
+ readonly ghost: "https://berachain.ghost.io";
270
317
  readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
271
318
  readonly homepage: string;
272
319
  readonly ecosystem: "https://ecosystem.berachain.com/";
@@ -281,13 +328,50 @@ declare const config: {
281
328
  };
282
329
  readonly flags: {
283
330
  readonly developmentAnalyticsEnabled: boolean;
331
+ /**
332
+ * Disallow SEO indexing for non-mainnet deployments
333
+ */
284
334
  readonly disallowIndexing: boolean;
285
335
  readonly hideCurator: false;
286
336
  };
287
337
  readonly bend: {
338
+ /**
339
+ * Margin from max LTV where warning will be shown about liquidation risk.
340
+ * e.g. if max LTV is 0.8, warning will show at 0.75
341
+ */
342
+ readonly liquidationWarningLtvMargin: 0.05;
343
+ /**
344
+ * Safety margin subtracted from max LTV to determine borrow limit.
345
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
346
+ */
347
+ readonly maxBorrowLtvMargin: 0.0001;
348
+ /**
349
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
350
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
351
+ */
352
+ readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
353
+ readonly name: "Bend";
354
+ readonly url: "https://bend.berachain.com";
355
+ readonly supportedVaults: `0x${string}`[];
356
+ } | {
357
+ /**
358
+ * Margin from max LTV where warning will be shown about liquidation risk.
359
+ * e.g. if max LTV is 0.8, warning will show at 0.75
360
+ */
288
361
  readonly liquidationWarningLtvMargin: 0.05;
362
+ /**
363
+ * Safety margin subtracted from max LTV to determine borrow limit.
364
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
365
+ */
289
366
  readonly maxBorrowLtvMargin: 0.0001;
367
+ /**
368
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
369
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
370
+ */
290
371
  readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
372
+ readonly name: "Bend";
373
+ readonly url: "https://bepolia.bend.berachain.com";
374
+ readonly supportedVaults: Address[];
291
375
  };
292
376
  readonly tokens: {
293
377
  readonly wbera: "0x6969696969696969696969696969696969696969";
@@ -388,11 +472,34 @@ declare const config: {
388
472
  } | {
389
473
  readonly apiKeys: {
390
474
  readonly public: {
475
+ /**
476
+ * This is only going to work on whitelisted domains.
477
+ * Please create your own API key and add it to your .env.local file
478
+ */
391
479
  readonly dynamicWallet: string;
392
480
  readonly postHogProjectKey: "phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax";
393
481
  readonly cookie3SiteId: string;
394
482
  };
395
483
  readonly private: {
484
+ /**
485
+ * API key for events on Luma.
486
+ *
487
+ * Used by ecosystem.berachain.com/events page
488
+ */
489
+ readonly luma: string;
490
+ readonly clickup: string;
491
+ /**
492
+ * API key for Ghost content.
493
+ *
494
+ * Used by blog.berachain.com
495
+ */
496
+ readonly ghostContent: string;
497
+ /**
498
+ * API key for Ghost admin.
499
+ *
500
+ * Used by blog.berachain.com
501
+ */
502
+ readonly ghostAdmin: string;
396
503
  readonly oogabooga: string;
397
504
  readonly haiku: string;
398
505
  readonly kyberswap: string;
@@ -401,19 +508,43 @@ declare const config: {
401
508
  };
402
509
  };
403
510
  readonly addresses: {
511
+ /**
512
+ * This is an hardcoded value in contracts to detected wheter governance can
513
+ * change pool fees and amplification parameter.
514
+ *
515
+ * @see https://docs.balancer.fi/concepts/pools/more/configuration.html#fees
516
+ */
404
517
  readonly balancerDelegatedOwnership: `0x${string}`;
518
+ /**
519
+ * This is on genesis for Berachain
520
+ */
405
521
  readonly multicall: `0x${string}`;
406
522
  };
523
+ /**
524
+ * Public faucet configuration.
525
+ *
526
+ * Mainly used in static-monobera.
527
+ */
407
528
  readonly faucet: {
408
529
  readonly name: "Faucet";
409
530
  readonly url: "https://bepolia.faucet.berachain.com";
531
+ /**
532
+ * Amount of BERA the user will receive when using the faucet
533
+ */
410
534
  readonly dripAmount: 1;
535
+ /**
536
+ * Time in hours between each drip
537
+ */
411
538
  readonly timeGap: 8;
412
539
  readonly cloudflareKey: string;
540
+ /**
541
+ * API endpoint to send the request to the faucet
542
+ */
413
543
  readonly endpoint: "https://faucet-api.testnet.berachain.com";
414
544
  };
415
545
  readonly urls: {
416
546
  readonly postHogApiHost: "https://eu.i.posthog.com";
547
+ readonly ghost: "https://berachain.ghost.io";
417
548
  readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
418
549
  readonly homepage: string;
419
550
  readonly ecosystem: "https://ecosystem.berachain.com/";
@@ -428,13 +559,50 @@ declare const config: {
428
559
  };
429
560
  readonly flags: {
430
561
  readonly developmentAnalyticsEnabled: boolean;
562
+ /**
563
+ * Disallow SEO indexing for non-mainnet deployments
564
+ */
431
565
  readonly disallowIndexing: boolean;
432
566
  readonly hideCurator: false;
433
567
  };
434
568
  readonly bend: {
569
+ /**
570
+ * Margin from max LTV where warning will be shown about liquidation risk.
571
+ * e.g. if max LTV is 0.8, warning will show at 0.75
572
+ */
573
+ readonly liquidationWarningLtvMargin: 0.05;
574
+ /**
575
+ * Safety margin subtracted from max LTV to determine borrow limit.
576
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
577
+ */
578
+ readonly maxBorrowLtvMargin: 0.0001;
579
+ /**
580
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
581
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
582
+ */
583
+ readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
584
+ readonly name: "Bend";
585
+ readonly url: "https://bend.berachain.com";
586
+ readonly supportedVaults: `0x${string}`[];
587
+ } | {
588
+ /**
589
+ * Margin from max LTV where warning will be shown about liquidation risk.
590
+ * e.g. if max LTV is 0.8, warning will show at 0.75
591
+ */
435
592
  readonly liquidationWarningLtvMargin: 0.05;
593
+ /**
594
+ * Safety margin subtracted from max LTV to determine borrow limit.
595
+ * e.g. if max LTV is 0.945, borrow limit will be 0.9449
596
+ */
436
597
  readonly maxBorrowLtvMargin: 0.0001;
598
+ /**
599
+ * Target utilization rate for public allocator supply in WAD format (18 decimals).
600
+ * Set to 90% (0.9 * 1e18) to maintain healthy liquidity buffer.
601
+ */
437
602
  readonly publicAllocatorSupplyTargetUtilizationWad: bigint;
603
+ readonly name: "Bend";
604
+ readonly url: "https://bepolia.bend.berachain.com";
605
+ readonly supportedVaults: Address[];
438
606
  };
439
607
  readonly tokens: {
440
608
  readonly wbera: "0x6969696969696969696969696969696969696969";
@@ -1 +1 @@
1
- import{b as h,c as i}from"../chunk-BKOMNW3L.js";import{a as c,b as d,c as e,d as f,e as g}from"../chunk-TB4XRJLK.js";import"../chunk-4ZZXDAVS.js";import"../chunk-BJUR72F2.js";import{a as b}from"../chunk-7P77HD6A.js";import{a}from"../chunk-E3O7UH5M.js";import"../chunk-WOT6VMZA.js";export{a as ChainId,f as alchemyJsonRpcUrl,h as chainConfigs,b as chainId,i as config,b as defaultChainId,c as getRpcUrls,e as jsonRpcUrl,g as privateRcpUrl,d as publicJsonRpcUrl};
1
+ import{a as h,b as i}from"../chunk-4RKKGKNF.js";import{a as c,b as d,c as e,d as f,e as g}from"../chunk-DC57JNAC.js";import"../chunk-4ZZXDAVS.js";import"../chunk-BJUR72F2.js";import{a as b}from"../chunk-NDMUG2ND.js";import{a}from"../chunk-E3O7UH5M.js";import"../chunk-WOT6VMZA.js";export{a as ChainId,f as alchemyJsonRpcUrl,h as chainConfigs,b as chainId,i as config,b as defaultChainId,c as getRpcUrls,e as jsonRpcUrl,g as privateRcpUrl,d as publicJsonRpcUrl};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkFFISDQSRcjs = require('../../chunk-FFISDQSR.cjs');require('../../chunk-4VDLQK6F.cjs');var _dotenv = require('dotenv'); var _dotenv2 = _interopRequireDefault(_dotenv);_dotenv2.default.config({path:["../../.env.local","../../.env"]});function p(t,{withSentry:a=!0}={}){let o={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true"},experimental:{webpackBuildWorker:!0},eslint:{ignoreDuringBuilds:!0},typescript:{ignoreBuildErrors:!0},...t,images:{...t.images,remotePatterns:[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"cdn.whisk.so",port:"",pathname:"**"},{protocol:"https",hostname:"res.cloudinary.com",port:"",pathname:"/duv0g402y/**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/berachain/**"},{protocol:"https",hostname:"assets.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"beranames-assets-berachain.s3.eu-central-003.backblazeb2.com",port:"",pathname:"/**"},{protocol:"https",hostname:"https://icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"https://icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},..._nullishCoalesce(_optionalChain([t, 'access', _ => _.images, 'optionalAccess', _2 => _2.remotePatterns]), () => ([]))]}};return a?_chunkFFISDQSRcjs.b.call(void 0, o):o}exports.withBeraConfig = p;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkBLIYP7AFcjs = require('../../chunk-BLIYP7AF.cjs');require('../../chunk-4VDLQK6F.cjs');var _dotenv = require('dotenv'); var _dotenv2 = _interopRequireDefault(_dotenv);_dotenv2.default.config({path:["../../.env.local","../../.env"]});function p(t,{withSentry:a=!0}={}){let o={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true"},experimental:{webpackBuildWorker:!0},eslint:{ignoreDuringBuilds:!0},typescript:{ignoreBuildErrors:!0},...t,images:{...t.images,remotePatterns:[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"cdn.whisk.so",port:"",pathname:"**"},{protocol:"https",hostname:"res.cloudinary.com",port:"",pathname:"/duv0g402y/**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/berachain/**"},{protocol:"https",hostname:"assets.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"beranames-assets-berachain.s3.eu-central-003.backblazeb2.com",port:"",pathname:"/**"},{protocol:"https",hostname:"https://icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"https://icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},..._nullishCoalesce(_optionalChain([t, 'access', _ => _.images, 'optionalAccess', _2 => _2.remotePatterns]), () => ([]))]}};return a?_chunkBLIYP7AFcjs.b.call(void 0, o):o}exports.withBeraConfig = p;
@@ -1 +1 @@
1
- import{b as e}from"../../chunk-L2DF5H5Q.js";import"../../chunk-WOT6VMZA.js";import r from"dotenv";r.config({path:["../../.env.local","../../.env"]});function p(t,{withSentry:a=!0}={}){let o={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true"},experimental:{webpackBuildWorker:!0},eslint:{ignoreDuringBuilds:!0},typescript:{ignoreBuildErrors:!0},...t,images:{...t.images,remotePatterns:[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"cdn.whisk.so",port:"",pathname:"**"},{protocol:"https",hostname:"res.cloudinary.com",port:"",pathname:"/duv0g402y/**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/berachain/**"},{protocol:"https",hostname:"assets.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"beranames-assets-berachain.s3.eu-central-003.backblazeb2.com",port:"",pathname:"/**"},{protocol:"https",hostname:"https://icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"https://icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},...t.images?.remotePatterns??[]]}};return a?e(o):o}export{p as withBeraConfig};
1
+ import{b as e}from"../../chunk-WL6PVJKK.js";import"../../chunk-WOT6VMZA.js";import r from"dotenv";r.config({path:["../../.env.local","../../.env"]});function p(t,{withSentry:a=!0}={}){let o={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true"},experimental:{webpackBuildWorker:!0},eslint:{ignoreDuringBuilds:!0},typescript:{ignoreBuildErrors:!0},...t,images:{...t.images,remotePatterns:[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"cdn.whisk.so",port:"",pathname:"**"},{protocol:"https",hostname:"res.cloudinary.com",port:"",pathname:"/duv0g402y/**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/berachain/**"},{protocol:"https",hostname:"assets.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/coins/images/**"},{protocol:"https",hostname:"beranames-assets-berachain.s3.eu-central-003.backblazeb2.com",port:"",pathname:"/**"},{protocol:"https",hostname:"https://icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"https://icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},...t.images?.remotePatterns??[]]}};return a?e(o):o}export{p as withBeraConfig};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkFFISDQSRcjs = require('../../chunk-FFISDQSR.cjs');require('../../chunk-4VDLQK6F.cjs');exports.registerSentry = _chunkFFISDQSRcjs.a; exports.withSentryConfig = _chunkFFISDQSRcjs.b;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBLIYP7AFcjs = require('../../chunk-BLIYP7AF.cjs');require('../../chunk-4VDLQK6F.cjs');exports.registerSentry = _chunkBLIYP7AFcjs.a; exports.withSentryConfig = _chunkBLIYP7AFcjs.b;
@@ -1 +1 @@
1
- import{a,b}from"../../chunk-L2DF5H5Q.js";import"../../chunk-WOT6VMZA.js";export{a as registerSentry,b as withSentryConfig};
1
+ import{a,b}from"../../chunk-WL6PVJKK.js";import"../../chunk-WOT6VMZA.js";export{a as registerSentry,b as withSentryConfig};
@@ -1 +1 @@
1
- "use strict"; function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkWCV4WTHGcjs = require('../../chunk-WCV4WTHG.cjs');require('../../chunk-RJW7M2BA.cjs');require('../../chunk-AEEJBUVN.cjs');require('../../chunk-3IPYHDYK.cjs');require('../../chunk-4VDLQK6F.cjs');var _nextjs = require('@sentry/nextjs'); var n = _interopRequireWildcard(_nextjs);n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,debug:!1,environment:_chunkWCV4WTHGcjs.a,integrations:[],ignoreErrors:["Cannot set property ethereum of #<Window> which has only a getter","Cannot destructure property 'register' of 'undefined' as it is undefined.","Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing."]});
1
+ "use strict"; function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkGTGNP2XVcjs = require('../../chunk-GTGNP2XV.cjs');require('../../chunk-X73HWW5T.cjs');require('../../chunk-HNEK54FE.cjs');require('../../chunk-3IPYHDYK.cjs');require('../../chunk-4VDLQK6F.cjs');var _nextjs = require('@sentry/nextjs'); var n = _interopRequireWildcard(_nextjs);n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,debug:!1,environment:_chunkGTGNP2XVcjs.a,integrations:[],ignoreErrors:["Cannot set property ethereum of #<Window> which has only a getter","Cannot destructure property 'register' of 'undefined' as it is undefined.","Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing."]});
@@ -1 +1 @@
1
- import{a as e}from"../../chunk-KWQ2WHU4.js";import"../../chunk-TB4XRJLK.js";import"../../chunk-7P77HD6A.js";import"../../chunk-E3O7UH5M.js";import"../../chunk-WOT6VMZA.js";import*as n from"@sentry/nextjs";n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,debug:!1,environment:e,integrations:[],ignoreErrors:["Cannot set property ethereum of #<Window> which has only a getter","Cannot destructure property 'register' of 'undefined' as it is undefined.","Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing."]});
1
+ import{a as e}from"../../chunk-EG5OHLHP.js";import"../../chunk-DC57JNAC.js";import"../../chunk-NDMUG2ND.js";import"../../chunk-E3O7UH5M.js";import"../../chunk-WOT6VMZA.js";import*as n from"@sentry/nextjs";n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,debug:!1,environment:e,integrations:[],ignoreErrors:["Cannot set property ethereum of #<Window> which has only a getter","Cannot destructure property 'register' of 'undefined' as it is undefined.","Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing."]});
@@ -1 +1 @@
1
- "use strict"; function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkWCV4WTHGcjs = require('./chunk-WCV4WTHG.cjs');require('./chunk-RJW7M2BA.cjs');require('./chunk-AEEJBUVN.cjs');require('./chunk-3IPYHDYK.cjs');require('./chunk-4VDLQK6F.cjs');var _nextjs = require('@sentry/nextjs'); var n = _interopRequireWildcard(_nextjs);n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,environment:_chunkWCV4WTHGcjs.a,debug:!1});
1
+ "use strict"; function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkGTGNP2XVcjs = require('./chunk-GTGNP2XV.cjs');require('./chunk-X73HWW5T.cjs');require('./chunk-HNEK54FE.cjs');require('./chunk-3IPYHDYK.cjs');require('./chunk-4VDLQK6F.cjs');var _nextjs = require('@sentry/nextjs'); var n = _interopRequireWildcard(_nextjs);n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,environment:_chunkGTGNP2XVcjs.a,debug:!1});
@@ -1 +1 @@
1
- import{a as e}from"./chunk-KWQ2WHU4.js";import"./chunk-TB4XRJLK.js";import"./chunk-7P77HD6A.js";import"./chunk-E3O7UH5M.js";import"./chunk-WOT6VMZA.js";import*as n from"@sentry/nextjs";n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,environment:e,debug:!1});
1
+ import{a as e}from"./chunk-EG5OHLHP.js";import"./chunk-DC57JNAC.js";import"./chunk-NDMUG2ND.js";import"./chunk-E3O7UH5M.js";import"./chunk-WOT6VMZA.js";import*as n from"@sentry/nextjs";n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,environment:e,debug:!1});
@@ -1 +1 @@
1
- import{a as e}from"./chunk-KWQ2WHU4.js";import"./chunk-TB4XRJLK.js";import"./chunk-7P77HD6A.js";import"./chunk-E3O7UH5M.js";import"./chunk-WOT6VMZA.js";import*as n from"@sentry/nextjs";n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,environment:e,debug:!1});
1
+ import{a as e}from"./chunk-EG5OHLHP.js";import"./chunk-DC57JNAC.js";import"./chunk-NDMUG2ND.js";import"./chunk-E3O7UH5M.js";import"./chunk-WOT6VMZA.js";import*as n from"@sentry/nextjs";n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,environment:e,debug:!1});
@@ -1 +1 @@
1
- "use strict"; function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkWCV4WTHGcjs = require('./chunk-WCV4WTHG.cjs');require('./chunk-RJW7M2BA.cjs');require('./chunk-AEEJBUVN.cjs');require('./chunk-3IPYHDYK.cjs');require('./chunk-4VDLQK6F.cjs');var _nextjs = require('@sentry/nextjs'); var n = _interopRequireWildcard(_nextjs);n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,environment:_chunkWCV4WTHGcjs.a,debug:!1});
1
+ "use strict"; function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _chunkGTGNP2XVcjs = require('./chunk-GTGNP2XV.cjs');require('./chunk-X73HWW5T.cjs');require('./chunk-HNEK54FE.cjs');require('./chunk-3IPYHDYK.cjs');require('./chunk-4VDLQK6F.cjs');var _nextjs = require('@sentry/nextjs'); var n = _interopRequireWildcard(_nextjs);n.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:.1,environment:_chunkGTGNP2XVcjs.a,debug:!1});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/config",
3
- "version": "0.0.3-beta.4",
3
+ "version": "0.0.3-beta.6",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1 +0,0 @@
1
- var r=process.env.NEXT_PUBLIC_CHAIN_ID?Number(process.env.NEXT_PUBLIC_CHAIN_ID):80094;export{r as a};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var r=process.env.NEXT_PUBLIC_CHAIN_ID?Number(process.env.NEXT_PUBLIC_CHAIN_ID):80094;exports.a = r;
@@ -1 +0,0 @@
1
- import{a as e}from"./chunk-4ZZXDAVS.js";import{a as o}from"./chunk-BJUR72F2.js";import{a}from"./chunk-7P77HD6A.js";var t={apiKeys:{public:{dynamicWallet:process.env.NEXT_PUBLIC_DYNAMIC_API_KEY??"b8a5104d-47e0-4965-b56a-0bcc31cf56f4",postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},private:{oogabooga:process.env.OOGABOOGA_API_KEY,haiku:process.env.HAIKU_API_KEY,kyberswap:process.env.KYBERSWAP_CLIENT_ID,enso:process.env.ENSO_API_KEY??process.env.NEXT_PUBLIC_ENSO_API_KEY??"3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f",etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"},urls:{postHogApiHost:"https://eu.i.posthog.com",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",homepage:process.env.NEXT_PUBLIC_HOMEPAGE_URL??"https://www.berachain.com",ecosystem:"https://ecosystem.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6",blog:"https://blog.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain"},flags:{developmentAnalyticsEnabled:process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,disallowIndexing:a!==80094&&a!==80069,hideCurator:!1},bend:{liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}};var r={80094:o,80069:e},i=r[a],g={...i,...t};export{t as a,r as b,g as c};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkK62SDMWXcjs = require('./chunk-K62SDMWX.cjs');var _chunk6RLCJYH2cjs = require('./chunk-6RLCJYH2.cjs');var _chunkAEEJBUVNcjs = require('./chunk-AEEJBUVN.cjs');var t={apiKeys:{public:{dynamicWallet:_nullishCoalesce(process.env.NEXT_PUBLIC_DYNAMIC_API_KEY, () => ("b8a5104d-47e0-4965-b56a-0bcc31cf56f4")),postHogProjectKey:"phc_waPF31wbuiBwbfIeiV0z3GPfg3KAHE1WPMk6UMn8Kax",cookie3SiteId:process.env.NEXT_PUBLIC_COOKIE3_SITE_ID},private:{oogabooga:process.env.OOGABOOGA_API_KEY,haiku:process.env.HAIKU_API_KEY,kyberswap:process.env.KYBERSWAP_CLIENT_ID,enso:_nullishCoalesce(_nullishCoalesce(process.env.ENSO_API_KEY, () => (process.env.NEXT_PUBLIC_ENSO_API_KEY)), () => ("3c1f3c7a-7ff7-4c5a-9a2b-79f50b5bfb4f")),etherscan:process.env.ETHERSCAN_API_KEY}},addresses:{balancerDelegatedOwnership:"0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b",multicall:"0xcA11bde05977b3631167028862bE2a173976CA11"},faucet:{name:"Faucet",url:"https://bepolia.faucet.berachain.com",dripAmount:1,timeGap:8,cloudflareKey:process.env.CLOUDFLARE_KEY||"0x4AAAAAAARdAuciFArKhVwt",endpoint:"https://faucet-api.testnet.berachain.com"},urls:{postHogApiHost:"https://eu.i.posthog.com",cloudinary:"https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1",homepage:_nullishCoalesce(process.env.NEXT_PUBLIC_HOMEPAGE_URL, () => ("https://www.berachain.com")),ecosystem:"https://ecosystem.berachain.com/",docs:"https://docs.berachain.com",careers:"https://careers.berachain.com/",mediaKit:"https://drive.google.com/drive/folders/1r658Px_VhjiUEC4AQAhHRCBeVKjcRWU6",blog:"https://blog.berachain.com/",twitter:"https://x.com/berachain",telegram:"https://t.me/BerachainPortal",discord:"https://discord.com/invite/berachain",github:"https://github.com/berachain"},flags:{developmentAnalyticsEnabled:process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS!=="0"&&!!process.env.NEXT_PUBLIC_DEVELOPMENT_ANALYTICS,disallowIndexing:_chunkAEEJBUVNcjs.a!==80094&&_chunkAEEJBUVNcjs.a!==80069,hideCurator:!1},bend:{liquidationWarningLtvMargin:.05,maxBorrowLtvMargin:1e-4,publicAllocatorSupplyTargetUtilizationWad:BigInt(9e17)}};var r={80094:_chunk6RLCJYH2cjs.a,80069:_chunkK62SDMWXcjs.a},i=r[_chunkAEEJBUVNcjs.a],g= exports.c ={...i,...t};exports.a = t; exports.b = r; exports.c = g;