@berachain/config 0.2.9 → 0.2.10-beta.0

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var t=[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"static.debank.com",port:"",pathname:"/image/*/logo_url/**"},{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:"icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},{protocol:"https",hostname:"imagedelivery.net",port:"",pathname:"/qNj7Q3MCke89zoKzav7eDQ/**"}];exports.a = t;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var t=[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"static.debank.com",port:"",pathname:"/image/*/logo_url/**"},{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:"icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},{protocol:"https",hostname:"imagedelivery.net",port:"",pathname:"/qNj7Q3MCke89zoKzav7eDQ/**"},{protocol:"https",hostname:"static.alchemypay.org",port:"",pathname:"/**"}];exports.a = t;
@@ -1 +1 @@
1
- var t=[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"static.debank.com",port:"",pathname:"/image/*/logo_url/**"},{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:"icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},{protocol:"https",hostname:"imagedelivery.net",port:"",pathname:"/qNj7Q3MCke89zoKzav7eDQ/**"}];export{t as a};
1
+ var t=[{protocol:"https",hostname:"cdn.morpho.org",port:"",pathname:"**"},{protocol:"https",hostname:"raw.githubusercontent.com",port:"",pathname:"/trustwallet/assets/**"},{protocol:"https",hostname:"static.debank.com",port:"",pathname:"/image/*/logo_url/**"},{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:"icons.llama.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"icons.llamao.fi",port:"",pathname:"/**"},{protocol:"https",hostname:"coin-images.coingecko.com",port:"",pathname:"/asset_platforms/images/**"},{protocol:"https",hostname:"imagedelivery.net",port:"",pathname:"/qNj7Q3MCke89zoKzav7eDQ/**"},{protocol:"https",hostname:"static.alchemypay.org",port:"",pathname:"/**"}];export{t as a};
@@ -1,4 +1,4 @@
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 _chunkHLFO7V5Icjs = require('../chunk-HLFO7V5I.cjs');var _chunkDUO7UEQDcjs = require('../chunk-DUO7UEQD.cjs');var _chunkYABSKSOZcjs = require('../chunk-YABSKSOZ.cjs');require('../chunk-UWM7YCFX.cjs');require('../chunk-4RPLXKBL.cjs');var _chunk6CZTBBJTcjs = require('../chunk-6CZTBBJT.cjs');require('../chunk-2OLL4MUY.cjs');function _(t){let e=t.indexOf("://");if(e===-1)return;let s=t.slice(0,e).toLowerCase(),o=t.slice(e+3),n=o.indexOf("/"),r=(n===-1?o:o.slice(0,n)).toLowerCase(),c=n===-1?"/":o.slice(n);if(r)return{raw:t,scheme:s,host:r,path:c}}function M(t,e){if(!t.startsWith("*."))return t===e;let s=t.slice(1);return e.endsWith(s)&&e.length>s.length}function C(t,e){return t.scheme!==e.scheme||!M(t.host,e.host)?!1:t.path.endsWith("/")?e.path.startsWith(t.path):e.path===t.path}function a(t){let e=t.map(s=>({raw:s,parsed:_(s)}));return e.filter(({parsed:s},o)=>s?!e.some(({parsed:n},r)=>o===r||!n||!C(n,s)?!1:C(s,n)?r<o:!0):!0).map(({raw:s})=>s)}function $({dsn:t=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!t)return;let e=/^(?:https:\/\/)([A-z0-9]{32})(?::{0,1})([A-z0-9]*)(?:@)(o[a-z0-9]+)(?:\.ingest\.us\.sentry\.io)\/([0-9]{16})/i,s=_optionalChain([t, 'optionalAccess', _2 => _2.match, 'call', _3 => _3(e)]);if(!s)return;let[,o,n,r,c]=s,p=new URL(`https://${r}.ingest.us.sentry.io/api/${c}/security/?sentry_key=${o}`);return p.searchParams.set("sentry_key",o),p.searchParams.set("sentry_env",_chunkHLFO7V5Icjs.a),p.searchParams.set("sentry_release",_chunkHLFO7V5Icjs.c),{dsn:s[0],projectId:c,deprecatedSecret:n||void 0,cspEndpoint:p,org:r,publicKey:s[1]}}var u=_chunkYABSKSOZcjs.a[_chunk6CZTBBJTcjs.a],z={berachain:{connect:["https://*.berachain.com/",_chunk6CZTBBJTcjs.b?null:"https://*.berachain-staging.com/","https://raw.githubusercontent.com/berachain/metadata/",`${_chunk6CZTBBJTcjs.g}/`,"https://*.quiknode.pro/",u.pol.bribeBoostApi,_chunkDUO7UEQDcjs.a.call(void 0, u.beep),_chunkDUO7UEQDcjs.a.call(void 0, u.api),_chunk6CZTBBJTcjs.k,_chunk6CZTBBJTcjs.j,_chunk6CZTBBJTcjs.l,"https://api.routescan.io/v2/network/"],img:[`${_chunk6CZTBBJTcjs.g}/`,"https://raw.githubusercontent.com/berachain/metadata/"]},beranames:{connect:["https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/"],img:["https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/"]},swapAggregators:{connect:[u.bex.aggregatorsProxyUrl?`${u.bex.aggregatorsProxyUrl}/`:null,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.fly.trade/","https://api.enso.finance/","https://api.enso.build/","https://api.relay.link/"]},walletConnect:{connect:["wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://verify.walletconnect.org/v3/public-key"],frame:["https://verify.walletconnect.com/","https://verify.walletconnect.org/"]},coinbaseWallet:{connect:["wss://www.walletlink.org/rpc","https://www.walletlink.org/events","https://chain-proxy.wallet.coinbase.com/"]},metamask:{connect:["wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://metamask-sdk.api.cx.metamask.io"]},thirdweb:{connect:["https://*.thirdweb.com/"],frame:["https://embedded-wallet.thirdweb.com/"]},dynamic:{connect:["https://app.dynamicauth.com/api"]},binance:{connect:["https://wallet.binance.com/tonbridge/"]},tron:{connect:["https://api.trongrid.io/"]},layerZero:{connect:["https://*.layerzero-scan.com/","https://scan.layerzero-api.com/"]},pelagus:{img:["https://pelaguswallet.io/docs/img"]},externalRpcs:{connect:["https://api.avax.network/ext/bc/C/rpc","https://polygon-rpc.com","https://mainnet.optimism.io/","https://arb1.arbitrum.io/rpc","https://mainnet.base.org/","https://eth.merkle.io"]},tokenIcons:{img:["https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://icons.llama.fi/","https://icons.llamao.fi/","https://static.debank.com/","https://raw.githubusercontent.com/trustwallet/assets/"]},bend:{img:["https://cdn.morpho.org/"]},pyth:{connect:["https://hermes.pyth.network/v2/"]},fonts:{font:["https://cdn.jsdelivr.net/npm/@fontsource/","https://fonts.gstatic.com","https://use.typekit.net/"]},sentry:{connect:["https://*.sentry.io/"]},posthog:{connect:["https://*.posthog.com"],img:["https://*.posthog.com"],frame:["https://*.posthog.com"],font:["https://*.posthog.com"],style:["https://*.posthog.com"],media:["https://*.posthog.com"]},vercel:{connect:["https://vercel.live","wss://ws-us3.pusher.com"],img:["https://vercel.live","https://vercel.com"],frame:["https://vercel.live/"],font:["https://vercel.live","https://assets.vercel.com"],style:["https://vercel.live"]}},D= exports.headerSourceModules =z;function H({isDevelopment:t,cspReporting:e,dynamicScriptCsp:s={},modules:o={},...n}){let r=[];function c(l){return Object.entries(D).filter(([i])=>o[i]!==!1).flatMap(([,i])=>_nullishCoalesce(i[l], () => ([]))).filter(i=>!!_optionalChain([i, 'optionalAccess', _4 => _4.trim, 'call', _5 => _5()]))}let p=a(c("connect").concat(_nullishCoalesce(n.connectionSources, () => ([]))).filter(l=>{let i=_chunkDUO7UEQDcjs.a.call(void 0, l);return!(!i||i.trim()===""||i.startsWith(_chunk6CZTBBJTcjs.h)&&i!==_chunk6CZTBBJTcjs.h)})),R=a(c("img").concat(_nullishCoalesce(n.pictureSources, () => ([])))),P=a(c("frame").concat(_nullishCoalesce(n.frameSources, () => ([])))),E=a(c("font").concat(_nullishCoalesce(n.fontSources, () => ([])))),N=a(c("style").concat(_nullishCoalesce(n.styleSources, () => ([])))),j=a(c("worker").concat(_nullishCoalesce(n.workerSources, () => ([])))),O=a(c("media").concat(_nullishCoalesce(n.mediaSources, () => ([])))),U=s==="disabled"?a(c("script").concat(_nullishCoalesce(n.scriptSources, () => ([])))):a([s.nonce?`'nonce-${s.nonce}'`:"","'strict-dynamic'","'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o='",..._nullishCoalesce(s.sha, () => ([]))].filter(l=>l!=="")),f=`
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 _chunkHLFO7V5Icjs = require('../chunk-HLFO7V5I.cjs');var _chunkDUO7UEQDcjs = require('../chunk-DUO7UEQD.cjs');var _chunkYABSKSOZcjs = require('../chunk-YABSKSOZ.cjs');require('../chunk-UWM7YCFX.cjs');require('../chunk-4RPLXKBL.cjs');var _chunk6CZTBBJTcjs = require('../chunk-6CZTBBJT.cjs');require('../chunk-2OLL4MUY.cjs');function _(t){let e=t.indexOf("://");if(e===-1)return;let s=t.slice(0,e).toLowerCase(),o=t.slice(e+3),n=o.indexOf("/"),r=(n===-1?o:o.slice(0,n)).toLowerCase(),c=n===-1?"/":o.slice(n);if(r)return{raw:t,scheme:s,host:r,path:c}}function M(t,e){if(!t.startsWith("*."))return t===e;let s=t.slice(1);return e.endsWith(s)&&e.length>s.length}function C(t,e){return t.scheme!==e.scheme||!M(t.host,e.host)?!1:t.path.endsWith("/")?e.path.startsWith(t.path):e.path===t.path}function a(t){let e=t.map(s=>({raw:s,parsed:_(s)}));return e.filter(({parsed:s},o)=>s?!e.some(({parsed:n},r)=>o===r||!n||!C(n,s)?!1:C(s,n)?r<o:!0):!0).map(({raw:s})=>s)}function $({dsn:t=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!t)return;let e=/^(?:https:\/\/)([A-z0-9]{32})(?::{0,1})([A-z0-9]*)(?:@)(o[a-z0-9]+)(?:\.ingest\.us\.sentry\.io)\/([0-9]{16})/i,s=_optionalChain([t, 'optionalAccess', _2 => _2.match, 'call', _3 => _3(e)]);if(!s)return;let[,o,n,r,c]=s,p=new URL(`https://${r}.ingest.us.sentry.io/api/${c}/security/?sentry_key=${o}`);return p.searchParams.set("sentry_key",o),p.searchParams.set("sentry_env",_chunkHLFO7V5Icjs.a),p.searchParams.set("sentry_release",_chunkHLFO7V5Icjs.c),{dsn:s[0],projectId:c,deprecatedSecret:n||void 0,cspEndpoint:p,org:r,publicKey:s[1]}}var u=_chunkYABSKSOZcjs.a[_chunk6CZTBBJTcjs.a],z={berachain:{connect:["https://*.berachain.com/",_chunk6CZTBBJTcjs.b?null:"https://*.berachain-staging.com/","https://raw.githubusercontent.com/berachain/metadata/",`${_chunk6CZTBBJTcjs.g}/`,"https://*.quiknode.pro/",u.pol.bribeBoostApi,_chunkDUO7UEQDcjs.a.call(void 0, u.beep),_chunkDUO7UEQDcjs.a.call(void 0, u.api),_chunk6CZTBBJTcjs.k,_chunk6CZTBBJTcjs.j,_chunk6CZTBBJTcjs.l,"https://api.routescan.io/v2/network/"],img:[`${_chunk6CZTBBJTcjs.g}/`,"https://raw.githubusercontent.com/berachain/metadata/"]},beranames:{connect:["https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/"],img:["https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/"]},swapAggregators:{connect:[u.bex.aggregatorsProxyUrl?`${u.bex.aggregatorsProxyUrl}/`:null,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.fly.trade/","https://api.enso.finance/","https://api.enso.build/","https://api.relay.link/"]},walletConnect:{connect:["wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://verify.walletconnect.org/v3/public-key"],frame:["https://verify.walletconnect.com/","https://verify.walletconnect.org/"]},coinbaseWallet:{connect:["wss://www.walletlink.org/rpc","https://www.walletlink.org/events","https://chain-proxy.wallet.coinbase.com/"]},metamask:{connect:["wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://metamask-sdk.api.cx.metamask.io"]},thirdweb:{connect:["https://*.thirdweb.com/"],frame:["https://embedded-wallet.thirdweb.com/"]},dynamic:{connect:["https://app.dynamicauth.com/api"]},binance:{connect:["https://wallet.binance.com/tonbridge/"]},tron:{connect:["https://api.trongrid.io/"]},layerZero:{connect:["https://*.layerzero-scan.com/","https://scan.layerzero-api.com/"]},pelagus:{img:["https://pelaguswallet.io/docs/img"]},externalRpcs:{connect:["https://api.avax.network/ext/bc/C/rpc","https://polygon-rpc.com","https://mainnet.optimism.io/","https://arb1.arbitrum.io/rpc","https://mainnet.base.org/","https://eth.merkle.io"]},tokenIcons:{img:["https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://icons.llama.fi/","https://icons.llamao.fi/","https://static.debank.com/","https://raw.githubusercontent.com/trustwallet/assets/"]},alchemypay:{img:["https://static.alchemypay.org/"]},bend:{img:["https://cdn.morpho.org/"]},pyth:{connect:["https://hermes.pyth.network/v2/"]},fonts:{font:["https://cdn.jsdelivr.net/npm/@fontsource/","https://fonts.gstatic.com","https://use.typekit.net/"]},sentry:{connect:["https://*.sentry.io/"]},posthog:{connect:["https://*.posthog.com"],img:["https://*.posthog.com"],frame:["https://*.posthog.com"],font:["https://*.posthog.com"],style:["https://*.posthog.com"],media:["https://*.posthog.com"]},vercel:{connect:["https://vercel.live","wss://ws-us3.pusher.com"],img:["https://vercel.live","https://vercel.com"],frame:["https://vercel.live/"],font:["https://vercel.live","https://assets.vercel.com"],style:["https://vercel.live"]}},D= exports.headerSourceModules =z;function H({isDevelopment:t,cspReporting:e,dynamicScriptCsp:s={},modules:o={},...n}){let r=[];function c(l){return Object.entries(D).filter(([i])=>o[i]!==!1).flatMap(([,i])=>_nullishCoalesce(i[l], () => ([]))).filter(i=>!!_optionalChain([i, 'optionalAccess', _4 => _4.trim, 'call', _5 => _5()]))}let p=a(c("connect").concat(_nullishCoalesce(n.connectionSources, () => ([]))).filter(l=>{let i=_chunkDUO7UEQDcjs.a.call(void 0, l);return!(!i||i.trim()===""||i.startsWith(_chunk6CZTBBJTcjs.h)&&i!==_chunk6CZTBBJTcjs.h)})),R=a(c("img").concat(_nullishCoalesce(n.pictureSources, () => ([])))),P=a(c("frame").concat(_nullishCoalesce(n.frameSources, () => ([])))),E=a(c("font").concat(_nullishCoalesce(n.fontSources, () => ([])))),N=a(c("style").concat(_nullishCoalesce(n.styleSources, () => ([])))),j=a(c("worker").concat(_nullishCoalesce(n.workerSources, () => ([])))),O=a(c("media").concat(_nullishCoalesce(n.mediaSources, () => ([])))),U=s==="disabled"?a(c("script").concat(_nullishCoalesce(n.scriptSources, () => ([])))):a([s.nonce?`'nonce-${s.nonce}'`:"","'strict-dynamic'","'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o='",..._nullishCoalesce(s.sha, () => ([]))].filter(l=>l!=="")),f=`
2
2
  default-src 'self' ${r.join(" ")};
3
3
  base-uri 'self';
4
4
  frame-src 'self' ${P.join(" ")};
@@ -69,6 +69,9 @@ declare const modules: {
69
69
  readonly tokenIcons: {
70
70
  readonly img: ["https://assets.coingecko.com/coins/images/", "https://coin-images.coingecko.com/coins/images/", "https://icons.llama.fi/", "https://icons.llamao.fi/", "https://static.debank.com/", "https://raw.githubusercontent.com/trustwallet/assets/"];
71
71
  };
72
+ readonly alchemypay: {
73
+ readonly img: ["https://static.alchemypay.org/"];
74
+ };
72
75
  readonly bend: {
73
76
  readonly img: ["https://cdn.morpho.org/"];
74
77
  };
@@ -1 +1 @@
1
- {"version":3,"file":"header-sources.d.ts","sourceRoot":"","sources":["../../src/internal/header-sources.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"header-sources.d.ts","sourceRoot":"","sources":["../../src/internal/header-sources.ts"],"names":[],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- import{a as v,c as x}from"../chunk-N45AQAIZ.mjs";import{a as m}from"../chunk-O243TIHY.mjs";import{a as w}from"../chunk-5B6QSBMF.mjs";import"../chunk-OT6VWENW.mjs";import"../chunk-4AQP2VHI.mjs";import{a as g,b as y,g as h,h as d,j as b,k as S,l as k}from"../chunk-2RLHVELA.mjs";import"../chunk-MS6UGFXI.mjs";function _(t){let e=t.indexOf("://");if(e===-1)return;let s=t.slice(0,e).toLowerCase(),o=t.slice(e+3),n=o.indexOf("/"),r=(n===-1?o:o.slice(0,n)).toLowerCase(),c=n===-1?"/":o.slice(n);if(r)return{raw:t,scheme:s,host:r,path:c}}function M(t,e){if(!t.startsWith("*."))return t===e;let s=t.slice(1);return e.endsWith(s)&&e.length>s.length}function C(t,e){return t.scheme!==e.scheme||!M(t.host,e.host)?!1:t.path.endsWith("/")?e.path.startsWith(t.path):e.path===t.path}function a(t){let e=t.map(s=>({raw:s,parsed:_(s)}));return e.filter(({parsed:s},o)=>s?!e.some(({parsed:n},r)=>o===r||!n||!C(n,s)?!1:C(s,n)?r<o:!0):!0).map(({raw:s})=>s)}function $({dsn:t=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!t)return;let e=/^(?:https:\/\/)([A-z0-9]{32})(?::{0,1})([A-z0-9]*)(?:@)(o[a-z0-9]+)(?:\.ingest\.us\.sentry\.io)\/([0-9]{16})/i,s=t?.match(e);if(!s)return;let[,o,n,r,c]=s,p=new URL(`https://${r}.ingest.us.sentry.io/api/${c}/security/?sentry_key=${o}`);return p.searchParams.set("sentry_key",o),p.searchParams.set("sentry_env",v),p.searchParams.set("sentry_release",x),{dsn:s[0],projectId:c,deprecatedSecret:n||void 0,cspEndpoint:p,org:r,publicKey:s[1]}}var u=w[g],z={berachain:{connect:["https://*.berachain.com/",y?null:"https://*.berachain-staging.com/","https://raw.githubusercontent.com/berachain/metadata/",`${h}/`,"https://*.quiknode.pro/",u.pol.bribeBoostApi,m(u.beep),m(u.api),S,b,k,"https://api.routescan.io/v2/network/"],img:[`${h}/`,"https://raw.githubusercontent.com/berachain/metadata/"]},beranames:{connect:["https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/"],img:["https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/"]},swapAggregators:{connect:[u.bex.aggregatorsProxyUrl?`${u.bex.aggregatorsProxyUrl}/`:null,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.fly.trade/","https://api.enso.finance/","https://api.enso.build/","https://api.relay.link/"]},walletConnect:{connect:["wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://verify.walletconnect.org/v3/public-key"],frame:["https://verify.walletconnect.com/","https://verify.walletconnect.org/"]},coinbaseWallet:{connect:["wss://www.walletlink.org/rpc","https://www.walletlink.org/events","https://chain-proxy.wallet.coinbase.com/"]},metamask:{connect:["wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://metamask-sdk.api.cx.metamask.io"]},thirdweb:{connect:["https://*.thirdweb.com/"],frame:["https://embedded-wallet.thirdweb.com/"]},dynamic:{connect:["https://app.dynamicauth.com/api"]},binance:{connect:["https://wallet.binance.com/tonbridge/"]},tron:{connect:["https://api.trongrid.io/"]},layerZero:{connect:["https://*.layerzero-scan.com/","https://scan.layerzero-api.com/"]},pelagus:{img:["https://pelaguswallet.io/docs/img"]},externalRpcs:{connect:["https://api.avax.network/ext/bc/C/rpc","https://polygon-rpc.com","https://mainnet.optimism.io/","https://arb1.arbitrum.io/rpc","https://mainnet.base.org/","https://eth.merkle.io"]},tokenIcons:{img:["https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://icons.llama.fi/","https://icons.llamao.fi/","https://static.debank.com/","https://raw.githubusercontent.com/trustwallet/assets/"]},bend:{img:["https://cdn.morpho.org/"]},pyth:{connect:["https://hermes.pyth.network/v2/"]},fonts:{font:["https://cdn.jsdelivr.net/npm/@fontsource/","https://fonts.gstatic.com","https://use.typekit.net/"]},sentry:{connect:["https://*.sentry.io/"]},posthog:{connect:["https://*.posthog.com"],img:["https://*.posthog.com"],frame:["https://*.posthog.com"],font:["https://*.posthog.com"],style:["https://*.posthog.com"],media:["https://*.posthog.com"]},vercel:{connect:["https://vercel.live","wss://ws-us3.pusher.com"],img:["https://vercel.live","https://vercel.com"],frame:["https://vercel.live/"],font:["https://vercel.live","https://assets.vercel.com"],style:["https://vercel.live"]}},D=z;function H({isDevelopment:t,cspReporting:e,dynamicScriptCsp:s={},modules:o={},...n}){let r=[];function c(l){return Object.entries(D).filter(([i])=>o[i]!==!1).flatMap(([,i])=>i[l]??[]).filter(i=>!!i?.trim())}let p=a(c("connect").concat(n.connectionSources??[]).filter(l=>{let i=m(l);return!(!i||i.trim()===""||i.startsWith(d)&&i!==d)})),R=a(c("img").concat(n.pictureSources??[])),P=a(c("frame").concat(n.frameSources??[])),E=a(c("font").concat(n.fontSources??[])),N=a(c("style").concat(n.styleSources??[])),j=a(c("worker").concat(n.workerSources??[])),O=a(c("media").concat(n.mediaSources??[])),U=s==="disabled"?a(c("script").concat(n.scriptSources??[])):a([s.nonce?`'nonce-${s.nonce}'`:"","'strict-dynamic'","'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o='",...s.sha??[]].filter(l=>l!=="")),f=`
1
+ import{a as v,c as x}from"../chunk-N45AQAIZ.mjs";import{a as m}from"../chunk-O243TIHY.mjs";import{a as w}from"../chunk-5B6QSBMF.mjs";import"../chunk-OT6VWENW.mjs";import"../chunk-4AQP2VHI.mjs";import{a as g,b as y,g as h,h as d,j as b,k as S,l as k}from"../chunk-2RLHVELA.mjs";import"../chunk-MS6UGFXI.mjs";function _(t){let e=t.indexOf("://");if(e===-1)return;let s=t.slice(0,e).toLowerCase(),o=t.slice(e+3),n=o.indexOf("/"),r=(n===-1?o:o.slice(0,n)).toLowerCase(),c=n===-1?"/":o.slice(n);if(r)return{raw:t,scheme:s,host:r,path:c}}function M(t,e){if(!t.startsWith("*."))return t===e;let s=t.slice(1);return e.endsWith(s)&&e.length>s.length}function C(t,e){return t.scheme!==e.scheme||!M(t.host,e.host)?!1:t.path.endsWith("/")?e.path.startsWith(t.path):e.path===t.path}function a(t){let e=t.map(s=>({raw:s,parsed:_(s)}));return e.filter(({parsed:s},o)=>s?!e.some(({parsed:n},r)=>o===r||!n||!C(n,s)?!1:C(s,n)?r<o:!0):!0).map(({raw:s})=>s)}function $({dsn:t=process.env.NEXT_PUBLIC_SENTRY_DSN}={}){if(!t)return;let e=/^(?:https:\/\/)([A-z0-9]{32})(?::{0,1})([A-z0-9]*)(?:@)(o[a-z0-9]+)(?:\.ingest\.us\.sentry\.io)\/([0-9]{16})/i,s=t?.match(e);if(!s)return;let[,o,n,r,c]=s,p=new URL(`https://${r}.ingest.us.sentry.io/api/${c}/security/?sentry_key=${o}`);return p.searchParams.set("sentry_key",o),p.searchParams.set("sentry_env",v),p.searchParams.set("sentry_release",x),{dsn:s[0],projectId:c,deprecatedSecret:n||void 0,cspEndpoint:p,org:r,publicKey:s[1]}}var u=w[g],z={berachain:{connect:["https://*.berachain.com/",y?null:"https://*.berachain-staging.com/","https://raw.githubusercontent.com/berachain/metadata/",`${h}/`,"https://*.quiknode.pro/",u.pol.bribeBoostApi,m(u.beep),m(u.api),S,b,k,"https://api.routescan.io/v2/network/"],img:[`${h}/`,"https://raw.githubusercontent.com/berachain/metadata/"]},beranames:{connect:["https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/"],img:["https://beranames-assets-berachain.s3.eu-central-003.backblazeb2.com/"]},swapAggregators:{connect:[u.bex.aggregatorsProxyUrl?`${u.bex.aggregatorsProxyUrl}/`:null,"https://open-api.openocean.finance/","https://api.haiku.trade/","https://api.fly.trade/","https://api.enso.finance/","https://api.enso.build/","https://api.relay.link/"]},walletConnect:{connect:["wss://relay.walletconnect.com/","wss://relay.walletconnect.org/","https://verify.walletconnect.org/v3/public-key"],frame:["https://verify.walletconnect.com/","https://verify.walletconnect.org/"]},coinbaseWallet:{connect:["wss://www.walletlink.org/rpc","https://www.walletlink.org/events","https://chain-proxy.wallet.coinbase.com/"]},metamask:{connect:["wss://metamask-sdk.api.cx.metamask.io/socket.io/","https://metamask-sdk.api.cx.metamask.io"]},thirdweb:{connect:["https://*.thirdweb.com/"],frame:["https://embedded-wallet.thirdweb.com/"]},dynamic:{connect:["https://app.dynamicauth.com/api"]},binance:{connect:["https://wallet.binance.com/tonbridge/"]},tron:{connect:["https://api.trongrid.io/"]},layerZero:{connect:["https://*.layerzero-scan.com/","https://scan.layerzero-api.com/"]},pelagus:{img:["https://pelaguswallet.io/docs/img"]},externalRpcs:{connect:["https://api.avax.network/ext/bc/C/rpc","https://polygon-rpc.com","https://mainnet.optimism.io/","https://arb1.arbitrum.io/rpc","https://mainnet.base.org/","https://eth.merkle.io"]},tokenIcons:{img:["https://assets.coingecko.com/coins/images/","https://coin-images.coingecko.com/coins/images/","https://icons.llama.fi/","https://icons.llamao.fi/","https://static.debank.com/","https://raw.githubusercontent.com/trustwallet/assets/"]},alchemypay:{img:["https://static.alchemypay.org/"]},bend:{img:["https://cdn.morpho.org/"]},pyth:{connect:["https://hermes.pyth.network/v2/"]},fonts:{font:["https://cdn.jsdelivr.net/npm/@fontsource/","https://fonts.gstatic.com","https://use.typekit.net/"]},sentry:{connect:["https://*.sentry.io/"]},posthog:{connect:["https://*.posthog.com"],img:["https://*.posthog.com"],frame:["https://*.posthog.com"],font:["https://*.posthog.com"],style:["https://*.posthog.com"],media:["https://*.posthog.com"]},vercel:{connect:["https://vercel.live","wss://ws-us3.pusher.com"],img:["https://vercel.live","https://vercel.com"],frame:["https://vercel.live/"],font:["https://vercel.live","https://assets.vercel.com"],style:["https://vercel.live"]}},D=z;function H({isDevelopment:t,cspReporting:e,dynamicScriptCsp:s={},modules:o={},...n}){let r=[];function c(l){return Object.entries(D).filter(([i])=>o[i]!==!1).flatMap(([,i])=>i[l]??[]).filter(i=>!!i?.trim())}let p=a(c("connect").concat(n.connectionSources??[]).filter(l=>{let i=m(l);return!(!i||i.trim()===""||i.startsWith(d)&&i!==d)})),R=a(c("img").concat(n.pictureSources??[])),P=a(c("frame").concat(n.frameSources??[])),E=a(c("font").concat(n.fontSources??[])),N=a(c("style").concat(n.styleSources??[])),j=a(c("worker").concat(n.workerSources??[])),O=a(c("media").concat(n.mediaSources??[])),U=s==="disabled"?a(c("script").concat(n.scriptSources??[])):a([s.nonce?`'nonce-${s.nonce}'`:"","'strict-dynamic'","'sha256-k2HGvaYkGyYZxOwKGxgE1mr06tZEDcEXNZ5mdcldK0o='",...s.sha??[]].filter(l=>l!=="")),f=`
2
2
  default-src 'self' ${r.join(" ")};
3
3
  base-uri 'self';
4
4
  frame-src 'self' ${P.join(" ")};
@@ -1 +1 @@
1
- {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../src/internal/nextjs/const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAC7C,WAAW,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAqEpD,CAAC"}
1
+ {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../src/internal/nextjs/const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAC7C,WAAW,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CA2EpD,CAAC"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkYLWSSHG6cjs = require('../../chunk-YLWSSHG6.cjs');var _chunkYABSKSOZcjs = require('../../chunk-YABSKSOZ.cjs');require('../../chunk-UWM7YCFX.cjs');require('../../chunk-4RPLXKBL.cjs');require('../../chunk-6CZTBBJT.cjs');require('../../chunk-2OLL4MUY.cjs');var _chunkITASDGG4cjs = require('../../chunk-ITASDGG4.cjs');var _dotenv = require('dotenv'); var _dotenv2 = _interopRequireDefault(_dotenv);_dotenv2.default.config({path:["../../.env.local","../../.env"]});function c(r,{withSentry:a=!0,withPostHogReverseProxy:o=!0,appName:s}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:s},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},typescript:{ignoreBuildErrors:!0},...r,images:{...r.images,remotePatterns:[..._chunkYLWSSHG6cjs.a]},async rewrites(){return o?[{source:"/ph/static/:path*",destination:`https://${_chunkYABSKSOZcjs.b.urls.postHog.region}-assets.i.posthog.com/static/:path*`},{source:"/ph/:path*",destination:`https://${_chunkYABSKSOZcjs.b.urls.postHog.region}.i.posthog.com/:path*`}]:[]}};return o&&(t.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH="/ph",t.skipTrailingSlashRedirect=!0),a?_chunkITASDGG4cjs.b.call(void 0, t):t}exports.withBeraConfig = c;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunk45WGWHOUcjs = require('../../chunk-45WGWHOU.cjs');var _chunkYABSKSOZcjs = require('../../chunk-YABSKSOZ.cjs');require('../../chunk-UWM7YCFX.cjs');require('../../chunk-4RPLXKBL.cjs');require('../../chunk-6CZTBBJT.cjs');require('../../chunk-2OLL4MUY.cjs');var _chunkITASDGG4cjs = require('../../chunk-ITASDGG4.cjs');var _dotenv = require('dotenv'); var _dotenv2 = _interopRequireDefault(_dotenv);_dotenv2.default.config({path:["../../.env.local","../../.env"]});function c(r,{withSentry:a=!0,withPostHogReverseProxy:o=!0,appName:s}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:s},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},typescript:{ignoreBuildErrors:!0},...r,images:{...r.images,remotePatterns:[..._chunk45WGWHOUcjs.a]},async rewrites(){return o?[{source:"/ph/static/:path*",destination:`https://${_chunkYABSKSOZcjs.b.urls.postHog.region}-assets.i.posthog.com/static/:path*`},{source:"/ph/:path*",destination:`https://${_chunkYABSKSOZcjs.b.urls.postHog.region}.i.posthog.com/:path*`}]:[]}};return o&&(t.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH="/ph",t.skipTrailingSlashRedirect=!0),a?_chunkITASDGG4cjs.b.call(void 0, t):t}exports.withBeraConfig = c;
@@ -1 +1 @@
1
- import{a as n}from"../../chunk-WMZLZQ6E.mjs";import{b as e}from"../../chunk-5B6QSBMF.mjs";import"../../chunk-OT6VWENW.mjs";import"../../chunk-4AQP2VHI.mjs";import"../../chunk-2RLHVELA.mjs";import"../../chunk-MS6UGFXI.mjs";import{b as i}from"../../chunk-5YLBFOPA.mjs";import p from"dotenv";p.config({path:["../../.env.local","../../.env"]});function c(r,{withSentry:a=!0,withPostHogReverseProxy:o=!0,appName:s}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:s},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},typescript:{ignoreBuildErrors:!0},...r,images:{...r.images,remotePatterns:[...n]},async rewrites(){return o?[{source:"/ph/static/:path*",destination:`https://${e.urls.postHog.region}-assets.i.posthog.com/static/:path*`},{source:"/ph/:path*",destination:`https://${e.urls.postHog.region}.i.posthog.com/:path*`}]:[]}};return o&&(t.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH="/ph",t.skipTrailingSlashRedirect=!0),a?i(t):t}export{c as withBeraConfig};
1
+ import{a as n}from"../../chunk-SJRTS5BP.mjs";import{b as e}from"../../chunk-5B6QSBMF.mjs";import"../../chunk-OT6VWENW.mjs";import"../../chunk-4AQP2VHI.mjs";import"../../chunk-2RLHVELA.mjs";import"../../chunk-MS6UGFXI.mjs";import{b as i}from"../../chunk-5YLBFOPA.mjs";import p from"dotenv";p.config({path:["../../.env.local","../../.env"]});function c(r,{withSentry:a=!0,withPostHogReverseProxy:o=!0,appName:s}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:s},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},typescript:{ignoreBuildErrors:!0},...r,images:{...r.images,remotePatterns:[...n]},async rewrites(){return o?[{source:"/ph/static/:path*",destination:`https://${e.urls.postHog.region}-assets.i.posthog.com/static/:path*`},{source:"/ph/:path*",destination:`https://${e.urls.postHog.region}.i.posthog.com/:path*`}]:[]}};return o&&(t.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH="/ph",t.skipTrailingSlashRedirect=!0),a?i(t):t}export{c as withBeraConfig};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYLWSSHG6cjs = require('../../../chunk-YLWSSHG6.cjs');function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}function o(t){return t.replace(/^https?:\/\//,"")}function c(t){try{if(!t)return!1;let e=new URL(t);for(let n of _chunkYLWSSHG6cjs.a){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch (e2){return!1}}exports.isAllowedImageUrl = c;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk45WGWHOUcjs = require('../../../chunk-45WGWHOU.cjs');function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}function o(t){return t.replace(/^https?:\/\//,"")}function c(t){try{if(!t)return!1;let e=new URL(t);for(let n of _chunk45WGWHOUcjs.a){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch (e2){return!1}}exports.isAllowedImageUrl = c;
@@ -1 +1 @@
1
- import{a as r}from"../../../chunk-WMZLZQ6E.mjs";function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}function o(t){return t.replace(/^https?:\/\//,"")}function c(t){try{if(!t)return!1;let e=new URL(t);for(let n of r){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch{return!1}}export{c as isAllowedImageUrl};
1
+ import{a as r}from"../../../chunk-SJRTS5BP.mjs";function a(t){let e=t.replace(/([.+?^=!:${}()|[\]/\\])/g,"\\$1");return e=e.replace(/\*\*/g,"___DOUBLE_STAR___"),e=e.replace(/\*/g,"[^/]+"),e=e.replace(/___DOUBLE_STAR___/g,".*"),e.startsWith("^")||(e=`^${e}`),e.endsWith("$")||(e=`${e}$`),new RegExp(e)}function o(t){return t.replace(/^https?:\/\//,"")}function c(t){try{if(!t)return!1;let e=new URL(t);for(let n of r){if(n.protocol&&e.protocol.replace(":","")!==n.protocol||o(e.hostname)!==o(n.hostname))continue;if(!n.pathname||a(n.pathname).test(e.pathname))return!0}return!1}catch{return!1}}export{c as isAllowedImageUrl};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/config",
3
- "version": "0.2.9",
3
+ "version": "0.2.10-beta.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",