@berachain/config 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bepolia.cjs +1 -1
- package/dist/bepolia.d.cts +30 -11
- package/dist/bepolia.d.ts +30 -11
- package/dist/bepolia.mjs +1 -0
- package/dist/chunk-2OLL4MUY.cjs +1 -0
- package/dist/chunk-2X5W4YR4.mjs +1 -0
- package/dist/chunk-32CWUFQY.cjs +1 -0
- package/dist/chunk-3LFM4QG6.cjs +1 -0
- package/dist/chunk-5Q5FZIMO.cjs +2 -0
- package/dist/chunk-CENF5RZA.mjs +1 -0
- package/dist/chunk-CM7FGHYU.mjs +2 -0
- package/dist/chunk-D2FG64PF.mjs +1 -0
- package/dist/chunk-DMFHUBNY.cjs +1 -0
- package/dist/chunk-JVJKB7V7.mjs +1 -0
- package/dist/chunk-LJCOMNTL.cjs +1 -0
- package/dist/chunk-MHNEK2A2.cjs +1 -0
- package/dist/chunk-MS6UGFXI.mjs +1 -0
- package/dist/chunk-OQFLFE3X.cjs +1 -0
- package/dist/chunk-TSH4FNVH.mjs +1 -0
- package/dist/chunk-WKOAF2ML.mjs +1 -0
- package/dist/chunk-WNGB3G3V.cjs +1 -0
- package/dist/chunk-XTBMK2TL.mjs +1 -0
- package/dist/chunk-YUUHPTW6.mjs +1 -0
- package/dist/chunk-ZYHYMHGN.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +35 -7
- package/dist/index.d.ts +35 -7
- package/dist/index.mjs +1 -0
- package/dist/internal/edge-config/index.cjs +1 -1
- package/dist/internal/edge-config/index.d.cts +93 -32
- package/dist/internal/edge-config/index.d.ts +93 -32
- package/dist/internal/edge-config/index.mjs +1 -0
- package/dist/internal/flags/index.cjs +1 -1
- package/dist/internal/flags/index.d.cts +19 -7
- package/dist/internal/flags/index.d.ts +19 -7
- package/dist/internal/flags/index.mjs +1 -0
- package/dist/internal/header-sources.cjs +11 -8
- package/dist/internal/header-sources.d.cts +9 -2
- package/dist/internal/header-sources.d.ts +9 -2
- package/dist/internal/header-sources.mjs +16 -0
- package/dist/internal/index.cjs +1 -1
- package/dist/internal/index.d.cts +278 -131
- package/dist/internal/index.d.ts +278 -131
- package/dist/internal/index.mjs +1 -0
- package/dist/internal/maintenance.cjs +1 -1
- package/dist/internal/maintenance.mjs +1 -0
- package/dist/internal/nextjs/index.cjs +1 -1
- package/dist/internal/nextjs/index.d.cts +21 -1
- package/dist/internal/nextjs/index.d.ts +21 -1
- package/dist/internal/nextjs/index.mjs +1 -0
- package/dist/internal/nextjs/utils/index.cjs +1 -0
- package/dist/internal/nextjs/utils/index.d.cts +9 -0
- package/dist/internal/nextjs/utils/index.d.ts +9 -0
- package/dist/internal/nextjs/utils/index.mjs +1 -0
- package/dist/internal/sentry/index.cjs +1 -1
- package/dist/internal/sentry/index.d.cts +4 -2
- package/dist/internal/sentry/index.d.ts +4 -2
- package/dist/internal/sentry/index.mjs +1 -0
- package/dist/internal/sentry/sentry.client.config.cjs +1 -1
- package/dist/internal/sentry/sentry.client.config.d.cts +5 -1
- package/dist/internal/sentry/sentry.client.config.d.ts +5 -1
- package/dist/internal/sentry/sentry.client.config.mjs +1 -0
- package/dist/internal/tailwind/index.cjs +1 -1
- package/dist/internal/tailwind/index.d.cts +3 -3
- package/dist/internal/tailwind/index.d.ts +3 -3
- package/dist/internal/tailwind/index.mjs +1 -0
- package/dist/internal/tsup/index.cjs +1 -1
- package/dist/internal/tsup/index.mjs +1 -0
- package/dist/mainnet.cjs +1 -1
- package/dist/mainnet.d.cts +30 -11
- package/dist/mainnet.d.ts +30 -11
- package/dist/mainnet.mjs +1 -0
- package/dist/sentry.edge.config-M3L3XSD6.cjs +1 -0
- package/dist/sentry.edge.config-XKXCGZO7.mjs +1 -0
- package/dist/sentry.server.config-535N36OR.cjs +1 -0
- package/dist/sentry.server.config-HGGCJWT2.mjs +1 -0
- package/package.json +29 -26
- package/dist/bepolia.js +0 -1
- package/dist/chunk-3IPYHDYK.cjs +0 -1
- package/dist/chunk-4XX7D27F.cjs +0 -1
- package/dist/chunk-4ZZXDAVS.js +0 -1
- package/dist/chunk-6RLCJYH2.cjs +0 -1
- package/dist/chunk-BGHO3T7U.js +0 -1
- package/dist/chunk-BJUR72F2.js +0 -1
- package/dist/chunk-BLIYP7AF.cjs +0 -1
- package/dist/chunk-DC57JNAC.js +0 -1
- package/dist/chunk-E3O7UH5M.js +0 -1
- package/dist/chunk-EG5OHLHP.js +0 -1
- package/dist/chunk-GTGNP2XV.cjs +0 -1
- package/dist/chunk-HC2ORLQ3.cjs +0 -1
- package/dist/chunk-HNEK54FE.cjs +0 -2
- package/dist/chunk-K62SDMWX.cjs +0 -1
- package/dist/chunk-NDMUG2ND.js +0 -2
- package/dist/chunk-RS6KOT3C.js +0 -1
- package/dist/chunk-WL6PVJKK.js +0 -1
- package/dist/chunk-X73HWW5T.cjs +0 -1
- package/dist/index.js +0 -1
- package/dist/internal/edge-config/index.js +0 -1
- package/dist/internal/flags/index.js +0 -1
- package/dist/internal/header-sources.js +0 -13
- package/dist/internal/index.js +0 -1
- package/dist/internal/maintenance.js +0 -1
- package/dist/internal/nextjs/index.js +0 -1
- package/dist/internal/sentry/esbuild.plugin.cjs +0 -1
- package/dist/internal/sentry/esbuild.plugin.d.cts +0 -3
- package/dist/internal/sentry/esbuild.plugin.d.ts +0 -3
- package/dist/internal/sentry/esbuild.plugin.js +0 -1
- package/dist/internal/sentry/index.js +0 -1
- package/dist/internal/sentry/sentry.client.config.js +0 -1
- package/dist/internal/tailwind/index.js +0 -1
- package/dist/internal/tsup/index.js +0 -1
- package/dist/mainnet.js +0 -1
- package/dist/sentry.edge.config-UQQHM7RP.cjs +0 -1
- package/dist/sentry.edge.config-V6Q3YAS2.js +0 -1
- package/dist/sentry.server.config-45GGQXOQ.js +0 -1
- package/dist/sentry.server.config-7JEUQ6QA.cjs +0 -1
- /package/dist/{chunk-WOT6VMZA.js → chunk-JZXLCA2E.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as k,b as l}from"../chunk-WKOAF2ML.mjs";import"../chunk-2X5W4YR4.mjs";import"../chunk-TSH4FNVH.mjs";import{a as d,b as e,c as f,d as g,e as h,f as i,g as j}from"../chunk-YUUHPTW6.mjs";import{a as b,b as c}from"../chunk-CM7FGHYU.mjs";import{a}from"../chunk-MS6UGFXI.mjs";import"../chunk-JZXLCA2E.mjs";export{a as ChainId,i as alchemyJsonRpcUrl,k as chainConfigs,b as chainId,d as cloudinaryBaseUrl,l as config,c as currentDapp,b as defaultChainId,f as getRpcUrls,e as goldskyBaseUrl,h as jsonRpcUrl,j as privateRcpUrl,g as publicJsonRpcUrl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-4VDLQK6F.cjs');var _server = require('next/server');var o=["/maintenance","/_next","/api"];function
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-4VDLQK6F.cjs');var _server = require('next/server');var o=["/maintenance","/_next","/api"];function p(e,n){let{isMaintenance:t,exemptPaths:a=o,maintenancePath:i="/maintenance"}=n;return t&&!a.some(s=>e.nextUrl.pathname.startsWith(s))?_server.NextResponse.redirect(new URL(i,e.url),{status:307}):null}exports.DEFAULT_MAINTENANCE_EXEMPT_PATHS = o; exports.checkMaintenanceMode = p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunk-JZXLCA2E.mjs";import{NextResponse as c}from"next/server";var o=["/maintenance","/_next","/api"];function p(e,n){let{isMaintenance:t,exemptPaths:a=o,maintenancePath:i="/maintenance"}=n;return t&&!a.some(s=>e.nextUrl.pathname.startsWith(s))?c.redirect(new URL(i,e.url),{status:307}):null}export{o as DEFAULT_MAINTENANCE_EXEMPT_PATHS,p as checkMaintenanceMode};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkLJCOMNTLcjs = require('../../chunk-LJCOMNTL.cjs');var _chunkOQFLFE3Xcjs = require('../../chunk-OQFLFE3X.cjs');require('../../chunk-4VDLQK6F.cjs');var _dotenv = require('dotenv'); var _dotenv2 = _interopRequireDefault(_dotenv);_dotenv2.default.config({path:["../../.env.local","../../.env"]});function p(e,{withSentry:o=!0,appName:n}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:n},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},eslint:{ignoreDuringBuilds:!0},typescript:{ignoreBuildErrors:!0},...e,images:{...e.images,remotePatterns:[..._chunkOQFLFE3Xcjs.a]}};return o?_chunkLJCOMNTLcjs.b.call(void 0, t):t}exports.withBeraConfig = p;
|
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
import { NextConfig } from 'next';
|
|
2
|
+
import { AppName } from '../../index.cjs';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
/**
|
|
5
|
+
* The images config for Bera.
|
|
6
|
+
* It's a subset of the Next.js images config.
|
|
7
|
+
*/
|
|
8
|
+
type BeraImagesConfig = Omit<NextConfig["images"], "remotePatterns">;
|
|
9
|
+
/**
|
|
10
|
+
* The Next.js config for Bera.
|
|
11
|
+
* It's a subset of the Next.js config.
|
|
12
|
+
*/
|
|
13
|
+
type BeraNextConfig = Omit<NextConfig, "images"> & {
|
|
14
|
+
images?: BeraImagesConfig;
|
|
15
|
+
};
|
|
16
|
+
declare function withBeraConfig(config: BeraNextConfig, { withSentry, appName, }: {
|
|
4
17
|
withSentry?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The name of the app, it'll be set as NEXT_PUBLIC_BERA_APP_NAME in the environment variables.
|
|
20
|
+
*
|
|
21
|
+
* It's used to check if the component is running in nextjs inside the package folder.
|
|
22
|
+
* Also, it's used to check if a flag is enabled for the app.
|
|
23
|
+
*/
|
|
24
|
+
appName: AppName;
|
|
5
25
|
}): NextConfig;
|
|
6
26
|
|
|
7
27
|
export { withBeraConfig };
|
|
@@ -1,7 +1,27 @@
|
|
|
1
1
|
import { NextConfig } from 'next';
|
|
2
|
+
import { AppName } from '../../index.js';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
/**
|
|
5
|
+
* The images config for Bera.
|
|
6
|
+
* It's a subset of the Next.js images config.
|
|
7
|
+
*/
|
|
8
|
+
type BeraImagesConfig = Omit<NextConfig["images"], "remotePatterns">;
|
|
9
|
+
/**
|
|
10
|
+
* The Next.js config for Bera.
|
|
11
|
+
* It's a subset of the Next.js config.
|
|
12
|
+
*/
|
|
13
|
+
type BeraNextConfig = Omit<NextConfig, "images"> & {
|
|
14
|
+
images?: BeraImagesConfig;
|
|
15
|
+
};
|
|
16
|
+
declare function withBeraConfig(config: BeraNextConfig, { withSentry, appName, }: {
|
|
4
17
|
withSentry?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The name of the app, it'll be set as NEXT_PUBLIC_BERA_APP_NAME in the environment variables.
|
|
20
|
+
*
|
|
21
|
+
* It's used to check if the component is running in nextjs inside the package folder.
|
|
22
|
+
* Also, it's used to check if a flag is enabled for the app.
|
|
23
|
+
*/
|
|
24
|
+
appName: AppName;
|
|
5
25
|
}): NextConfig;
|
|
6
26
|
|
|
7
27
|
export { withBeraConfig };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as r}from"../../chunk-CENF5RZA.mjs";import{a as i}from"../../chunk-JVJKB7V7.mjs";import"../../chunk-JZXLCA2E.mjs";import a from"dotenv";a.config({path:["../../.env.local","../../.env"]});function p(e,{withSentry:o=!0,appName:n}){let t={reactStrictMode:!0,trailingSlash:!0,pageExtensions:["ts","tsx"],env:{NEXT_PUBLIC_IS_NEXTJS:"true",NEXT_PUBLIC_BERA_APP_NAME:n},turbopack:{rules:{"*.svg":{as:"*.js",loaders:["@svgr/webpack"]}}},experimental:{webpackBuildWorker:!0},eslint:{ignoreDuringBuilds:!0},typescript:{ignoreBuildErrors:!0},...e,images:{...e.images,remotePatterns:[...i]}};return o?r(t):t}export{p as withBeraConfig};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkOQFLFE3Xcjs = require('../../../chunk-OQFLFE3X.cjs');require('../../../chunk-4VDLQK6F.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)}var o=t=>t.replace(/^https?:\/\//,"");function i(t){try{if(!t)return!1;let e=new URL(t);for(let n of _chunkOQFLFE3Xcjs.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 = i;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if a given URL is allowed according to the IMAGE_REMOTE_PATTERNS.
|
|
3
|
+
*
|
|
4
|
+
* @param urlString - The URL to check.
|
|
5
|
+
* @returns boolean indicating if the url matches one of the allowed remote patterns.
|
|
6
|
+
*/
|
|
7
|
+
declare function isAllowedImageUrl(urlString: string | undefined): boolean;
|
|
8
|
+
|
|
9
|
+
export { isAllowedImageUrl };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if a given URL is allowed according to the IMAGE_REMOTE_PATTERNS.
|
|
3
|
+
*
|
|
4
|
+
* @param urlString - The URL to check.
|
|
5
|
+
* @returns boolean indicating if the url matches one of the allowed remote patterns.
|
|
6
|
+
*/
|
|
7
|
+
declare function isAllowedImageUrl(urlString: string | undefined): boolean;
|
|
8
|
+
|
|
9
|
+
export { isAllowedImageUrl };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"../../../chunk-JVJKB7V7.mjs";import"../../../chunk-JZXLCA2E.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)}var o=t=>t.replace(/^https?:\/\//,"");function i(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{i as isAllowedImageUrl};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLJCOMNTLcjs = require('../../chunk-LJCOMNTL.cjs');require('../../chunk-4VDLQK6F.cjs');exports.onRequestError = _chunkLJCOMNTLcjs.c; exports.registerSentry = _chunkLJCOMNTLcjs.a; exports.withSentryConfig = _chunkLJCOMNTLcjs.b;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as Sentry from '@sentry/nextjs';
|
|
1
2
|
import { NextConfig } from 'next';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -5,7 +6,8 @@ import { NextConfig } from 'next';
|
|
|
5
6
|
*
|
|
6
7
|
* @link https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#create-initialization-config-files
|
|
7
8
|
*/
|
|
8
|
-
declare function registerSentry(): Promise<void>;
|
|
9
|
+
declare function registerSentry(opt?: Parameters<typeof Sentry.init>[0]): Promise<void>;
|
|
9
10
|
declare function withSentryConfig(config: NextConfig): NextConfig;
|
|
11
|
+
declare const onRequestError: typeof Sentry.captureRequestError;
|
|
10
12
|
|
|
11
|
-
export { registerSentry, withSentryConfig };
|
|
13
|
+
export { onRequestError, registerSentry, withSentryConfig };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as Sentry from '@sentry/nextjs';
|
|
1
2
|
import { NextConfig } from 'next';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -5,7 +6,8 @@ import { NextConfig } from 'next';
|
|
|
5
6
|
*
|
|
6
7
|
* @link https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#create-initialization-config-files
|
|
7
8
|
*/
|
|
8
|
-
declare function registerSentry(): Promise<void>;
|
|
9
|
+
declare function registerSentry(opt?: Parameters<typeof Sentry.init>[0]): Promise<void>;
|
|
9
10
|
declare function withSentryConfig(config: NextConfig): NextConfig;
|
|
11
|
+
declare const onRequestError: typeof Sentry.captureRequestError;
|
|
10
12
|
|
|
11
|
-
export { registerSentry, withSentryConfig };
|
|
13
|
+
export { onRequestError, registerSentry, withSentryConfig };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c}from"../../chunk-CENF5RZA.mjs";import"../../chunk-JZXLCA2E.mjs";export{c as onRequestError,a as registerSentry,b as withSentryConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunk3LFM4QG6cjs = require('../../chunk-3LFM4QG6.cjs');require('../../chunk-ZYHYMHGN.cjs');require('../../chunk-5Q5FZIMO.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');_chunk3LFM4QG6cjs.d&&console.log("[@berachain/config] sentryDebug init",process.env.NEXT_PUBLIC_SENTRY_DSN);function s(o,n={}){return o.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tunnel:"/monitoring-tunnel",tracesSampleRate:_chunk3LFM4QG6cjs.b,debug:_chunk3LFM4QG6cjs.d,environment:_chunk3LFM4QG6cjs.a,...n,ignoreErrors:[..._nullishCoalesce(n.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."]})}exports.initSentryClient = s;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import * as _sentry_core from '@sentry/core';
|
|
2
|
+
import * as Sentry from '@sentry/nextjs';
|
|
1
3
|
|
|
2
|
-
|
|
4
|
+
declare function initSentryClient(Sentry: typeof Sentry, opt?: Sentry.BrowserOptions): _sentry_core.Client<_sentry_core.ClientOptions<_sentry_core.BaseTransportOptions>> | undefined;
|
|
5
|
+
|
|
6
|
+
export { initSentryClient };
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
import * as _sentry_core from '@sentry/core';
|
|
2
|
+
import * as Sentry from '@sentry/nextjs';
|
|
1
3
|
|
|
2
|
-
|
|
4
|
+
declare function initSentryClient(Sentry: typeof Sentry, opt?: Sentry.BrowserOptions): _sentry_core.Client<_sentry_core.ClientOptions<_sentry_core.BaseTransportOptions>> | undefined;
|
|
5
|
+
|
|
6
|
+
export { initSentryClient };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t,b as r,d as e}from"../../chunk-XTBMK2TL.mjs";import"../../chunk-YUUHPTW6.mjs";import"../../chunk-CM7FGHYU.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.mjs";e&&console.log("[@berachain/config] sentryDebug init",process.env.NEXT_PUBLIC_SENTRY_DSN);function s(o,n={}){return o.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tunnel:"/monitoring-tunnel",tracesSampleRate:r,debug:e,environment:t,...n,ignoreErrors:[...n.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."]})}export{s as initSentryClient};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../../chunk-4VDLQK6F.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('../../chunk-4VDLQK6F.cjs');var _containerqueries = require('@tailwindcss/container-queries'); var _containerqueries2 = _interopRequireDefault(_containerqueries);var _typography = require('@tailwindcss/typography'); var _typography2 = _interopRequireDefault(_typography);var _tailwindcssanimate = require('tailwindcss-animate'); var _tailwindcssanimate2 = _interopRequireDefault(_tailwindcssanimate);var _colors = require('tailwindcss/colors'); var _colors2 = _interopRequireDefault(_colors);var _defaultTheme = require('tailwindcss/defaultTheme');var a={darkMode:["class"],safelist:["dark","light"],content:["src/**/*.{js,ts,jsx,tsx,mdx}","../../packages/ui/src/*.{ts,tsx}","../../packages/ui/src/**/*.{ts,tsx}","../../packages/shared-ui/src/*.{ts,tsx}","../../packages/shared-ui/src/**/*.{ts,tsx}"],theme:{fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.5rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"2rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["2rem",{lineHeight:"3rem"}],"4xl":["2.5rem",{lineHeight:"3rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}],"v2-h1":["3rem",{lineHeight:"3.5rem"}],"v2-h2":["2rem",{lineHeight:"2.5rem"}],"v2-h3":["1.5rem",{lineHeight:"2rem"}],"v2-h4":["1.25rem",{lineHeight:"1.5rem"}],"v2-base":["0.875rem",{lineHeight:"1.25rem"}],"v2-small":["0.75rem",{lineHeight:"1rem"}]},spacing:{0:"0px","2xs":"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",base:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"6rem","6xl":"8rem"},borderRadius:{none:"0px","2xs":"0.125rem",xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem","2xl":"2rem",full:"9999px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},container:{center:!0,padding:{DEFAULT:"1rem",md:"2rem",lg:"4rem"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},colors:{hover:"hsl(var(--hover) / <alpha-value>)",background:{DEFAULT:"hsl(var(--background) / <alpha-value>)",secondary:"hsl(var(--background-secondary) / <alpha-value>)"},foreground:"hsl(var(--foreground) / <alpha-value>)",muted:{DEFAULT:"hsl(var(--muted) / <alpha-value>)",foreground:"hsl(var(--muted-foreground) / <alpha-value>)"},primary:{DEFAULT:"hsl(var(--primary) / <alpha-value>)",foreground:"hsl(var(--primary-foreground) / <alpha-value>)"},accent:{DEFAULT:"hsl(var(--accent) / <alpha-value>)",foreground:"hsl(var(--accent-foreground) / <alpha-value>)",faucet:"#326FE5",beratrail:"#96532C",berps:"#41D6E0",bend:"#8C7FEB",honey:"#EC8A19",hub:"#FEDB71"},border:{DEFAULT:"hsl(var(--border) / <alpha-value>)",hover:"hsl(var(--border-hover) / <alpha-value>)"},input:"hsl(var(--input) / <alpha-value>)",destructive:{DEFAULT:"hsl(var(--destructive) / <alpha-value>)",foreground:"hsl(var(--destructive-foreground) / <alpha-value>)"},warning:{DEFAULT:"hsl(var(--warning) / <alpha-value>)",foreground:"hsl(var(--warning-foreground) / <alpha-value>)"},info:{DEFAULT:"hsl(var(--info) / <alpha-value>)",foreground:"hsl(var(--info-foreground) / <alpha-value>)"},success:{DEFAULT:"hsl(var(--success) / <alpha-value>)",foreground:"hsl(var(--success-foreground) / <alpha-value>)"},ring:"hsl(var(--ring) / <alpha-value>)",white:_colors2.default.white,black:_colors2.default.black,inherit:_colors2.default.inherit,transparent:_colors2.default.transparent,current:_colors2.default.current},extend:{letterSpacing:{tight1:"-0.03125rem",tight2:"-0.0625rem"},minHeight:{minimum:"calc(100vh - 191px)","screen-250":"calc(100vh - 214px)"},maxWidth:{1280:"1280px"},borderColor:{DEFAULT:"hsl(var(--border) / <alpha-value>)"},padding:{start:"106px","start-lg":"154px"},fontFamily:{sans:["var(--font-sans)",..._defaultTheme.fontFamily.sans],honey:["var(--font-honey)",..._defaultTheme.fontFamily.sans]},keyframes:{"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},animation:{"fade-in":"fade-in 0.5s linear forwards","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"}}}};var n={...a,plugins:[_tailwindcssanimate2.default,_containerqueries2.default,_typography2.default]},p= exports.default =n;exports.config = n; exports.default = p;
|
|
@@ -3,11 +3,11 @@ import typography from '@tailwindcss/typography';
|
|
|
3
3
|
|
|
4
4
|
declare const config: {
|
|
5
5
|
plugins: ({
|
|
6
|
-
handler: () => void;
|
|
7
|
-
} | {
|
|
8
6
|
handler: tailwindcss_types_config.PluginCreator;
|
|
9
7
|
config?: Partial<tailwindcss_types_config.Config> | undefined;
|
|
10
|
-
} | typeof typography
|
|
8
|
+
} | typeof typography | {
|
|
9
|
+
handler: () => void;
|
|
10
|
+
})[];
|
|
11
11
|
darkMode: ["class"];
|
|
12
12
|
safelist: ["dark", "light"];
|
|
13
13
|
content: ["src/**/*.{js,ts,jsx,tsx,mdx}", "../../packages/ui/src/*.{ts,tsx}", "../../packages/ui/src/**/*.{ts,tsx}", "../../packages/shared-ui/src/*.{ts,tsx}", "../../packages/shared-ui/src/**/*.{ts,tsx}"];
|
|
@@ -3,11 +3,11 @@ import typography from '@tailwindcss/typography';
|
|
|
3
3
|
|
|
4
4
|
declare const config: {
|
|
5
5
|
plugins: ({
|
|
6
|
-
handler: () => void;
|
|
7
|
-
} | {
|
|
8
6
|
handler: tailwindcss_types_config.PluginCreator;
|
|
9
7
|
config?: Partial<tailwindcss_types_config.Config> | undefined;
|
|
10
|
-
} | typeof typography
|
|
8
|
+
} | typeof typography | {
|
|
9
|
+
handler: () => void;
|
|
10
|
+
})[];
|
|
11
11
|
darkMode: ["class"];
|
|
12
12
|
safelist: ["dark", "light"];
|
|
13
13
|
content: ["src/**/*.{js,ts,jsx,tsx,mdx}", "../../packages/ui/src/*.{ts,tsx}", "../../packages/ui/src/**/*.{ts,tsx}", "../../packages/shared-ui/src/*.{ts,tsx}", "../../packages/shared-ui/src/**/*.{ts,tsx}"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../chunk-JZXLCA2E.mjs";import i from"@tailwindcss/container-queries";import l from"@tailwindcss/typography";import o from"tailwindcss-animate";import e from"tailwindcss/colors";import{fontFamily as r}from"tailwindcss/defaultTheme";var a={darkMode:["class"],safelist:["dark","light"],content:["src/**/*.{js,ts,jsx,tsx,mdx}","../../packages/ui/src/*.{ts,tsx}","../../packages/ui/src/**/*.{ts,tsx}","../../packages/shared-ui/src/*.{ts,tsx}","../../packages/shared-ui/src/**/*.{ts,tsx}"],theme:{fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.5rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"2rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["2rem",{lineHeight:"3rem"}],"4xl":["2.5rem",{lineHeight:"3rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}],"v2-h1":["3rem",{lineHeight:"3.5rem"}],"v2-h2":["2rem",{lineHeight:"2.5rem"}],"v2-h3":["1.5rem",{lineHeight:"2rem"}],"v2-h4":["1.25rem",{lineHeight:"1.5rem"}],"v2-base":["0.875rem",{lineHeight:"1.25rem"}],"v2-small":["0.75rem",{lineHeight:"1rem"}]},spacing:{0:"0px","2xs":"0.25rem",xs:"0.5rem",sm:"0.75rem",md:"1rem",base:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"6rem","6xl":"8rem"},borderRadius:{none:"0px","2xs":"0.125rem",xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem","2xl":"2rem",full:"9999px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},container:{center:!0,padding:{DEFAULT:"1rem",md:"2rem",lg:"4rem"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},colors:{hover:"hsl(var(--hover) / <alpha-value>)",background:{DEFAULT:"hsl(var(--background) / <alpha-value>)",secondary:"hsl(var(--background-secondary) / <alpha-value>)"},foreground:"hsl(var(--foreground) / <alpha-value>)",muted:{DEFAULT:"hsl(var(--muted) / <alpha-value>)",foreground:"hsl(var(--muted-foreground) / <alpha-value>)"},primary:{DEFAULT:"hsl(var(--primary) / <alpha-value>)",foreground:"hsl(var(--primary-foreground) / <alpha-value>)"},accent:{DEFAULT:"hsl(var(--accent) / <alpha-value>)",foreground:"hsl(var(--accent-foreground) / <alpha-value>)",faucet:"#326FE5",beratrail:"#96532C",berps:"#41D6E0",bend:"#8C7FEB",honey:"#EC8A19",hub:"#FEDB71"},border:{DEFAULT:"hsl(var(--border) / <alpha-value>)",hover:"hsl(var(--border-hover) / <alpha-value>)"},input:"hsl(var(--input) / <alpha-value>)",destructive:{DEFAULT:"hsl(var(--destructive) / <alpha-value>)",foreground:"hsl(var(--destructive-foreground) / <alpha-value>)"},warning:{DEFAULT:"hsl(var(--warning) / <alpha-value>)",foreground:"hsl(var(--warning-foreground) / <alpha-value>)"},info:{DEFAULT:"hsl(var(--info) / <alpha-value>)",foreground:"hsl(var(--info-foreground) / <alpha-value>)"},success:{DEFAULT:"hsl(var(--success) / <alpha-value>)",foreground:"hsl(var(--success-foreground) / <alpha-value>)"},ring:"hsl(var(--ring) / <alpha-value>)",white:e.white,black:e.black,inherit:e.inherit,transparent:e.transparent,current:e.current},extend:{letterSpacing:{tight1:"-0.03125rem",tight2:"-0.0625rem"},minHeight:{minimum:"calc(100vh - 191px)","screen-250":"calc(100vh - 214px)"},maxWidth:{1280:"1280px"},borderColor:{DEFAULT:"hsl(var(--border) / <alpha-value>)"},padding:{start:"106px","start-lg":"154px"},fontFamily:{sans:["var(--font-sans)",...r.sans],honey:["var(--font-honey)",...r.sans]},keyframes:{"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},animation:{"fade-in":"fade-in 0.5s linear forwards","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out"}}}};var n={...a,plugins:[o,i,l]},p=n;export{n as config,p as default};
|
|
@@ -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; }require('../../chunk-4VDLQK6F.cjs');var _tsup = require('tsup');function
|
|
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; }require('../../chunk-4VDLQK6F.cjs');var _tsup = require('tsup');function r(t,s){if(Array.isArray(t))return t.map(i=>r(i,s));let e=process.argv.includes("--cjs"),n=!e||process.argv.includes("--esm"),o=[];n&&o.push("esm"),e&&o.push("cjs");let p=typeof s.dts=="object"&&s.dts.only;return{...{format:o,clean:!s.watch&&!p,splitting:!0,outExtension({format:i}){return{js:i==="esm"?".mjs":".cjs"}},outDir:"dist",skipNodeModulesBundle:!0,minify:!s.watch,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true",dts:process.env.VERCEL!=="1",plugins:[],esbuildOptions:(i,a)=>{i.jsx="automatic",_optionalChain([t, 'access', _ => _.esbuildOptions, 'optionalCall', _2 => _2(i,a)])}},...t}}var c=t=>_tsup.defineConfig.call(void 0, async s=>{let e;return typeof t=="function"?e=await t(s):e=t,Array.isArray(e)?e.map(n=>r(n,s)):r(e,s)}),m= exports.default =c;exports.beraTsupConfig = c; exports.default = m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../chunk-JZXLCA2E.mjs";import{defineConfig as u}from"tsup";function r(t,s){if(Array.isArray(t))return t.map(i=>r(i,s));let e=process.argv.includes("--cjs"),n=!e||process.argv.includes("--esm"),o=[];n&&o.push("esm"),e&&o.push("cjs");let p=typeof s.dts=="object"&&s.dts.only;return{...{format:o,clean:!s.watch&&!p,splitting:!0,outExtension({format:i}){return{js:i==="esm"?".mjs":".cjs"}},outDir:"dist",skipNodeModulesBundle:!0,minify:!s.watch,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true",dts:process.env.VERCEL!=="1",plugins:[],esbuildOptions:(i,a)=>{i.jsx="automatic",t.esbuildOptions?.(i,a)}},...t}}var c=t=>u(async s=>{let e;return typeof t=="function"?e=await t(s):e=t,Array.isArray(e)?e.map(n=>r(n,s)):r(e,s)}),m=c;export{c as beraTsupConfig,m as default};
|
package/dist/mainnet.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk32CWUFQYcjs = require('./chunk-32CWUFQY.cjs');require('./chunk-ZYHYMHGN.cjs');require('./chunk-5Q5FZIMO.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.default = _chunk32CWUFQYcjs.b; exports.mainnet = _chunk32CWUFQYcjs.a;
|
package/dist/mainnet.d.cts
CHANGED
|
@@ -8,6 +8,7 @@ declare const mainnet: {
|
|
|
8
8
|
};
|
|
9
9
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
10
10
|
readonly pol: {
|
|
11
|
+
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
11
12
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
12
13
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
13
14
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
@@ -29,22 +30,22 @@ declare const mainnet: {
|
|
|
29
30
|
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
30
31
|
};
|
|
31
32
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
32
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-
|
|
33
|
-
readonly aggregatorsRouter: "
|
|
34
|
-
readonly aggregatorsRouterExecutor: "
|
|
33
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
34
|
+
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
35
|
+
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
35
36
|
readonly aggregatorsProxyUrl: string;
|
|
37
|
+
readonly recoverFundsApi: string;
|
|
38
|
+
readonly recoverFundsContract: `0x${string}`;
|
|
36
39
|
};
|
|
37
40
|
readonly honey: {
|
|
38
41
|
readonly name: "Honey";
|
|
39
42
|
readonly url: "https://honey.berachain.com";
|
|
40
43
|
readonly subgraph: string;
|
|
41
44
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
45
|
+
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
42
46
|
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
43
|
-
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
44
47
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
45
48
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
46
|
-
readonly isPythWrapperEnabled: boolean;
|
|
47
|
-
readonly isCustodyEnabled: boolean;
|
|
48
49
|
};
|
|
49
50
|
readonly hub: {
|
|
50
51
|
readonly name: "BeraHub";
|
|
@@ -64,6 +65,9 @@ declare const mainnet: {
|
|
|
64
65
|
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
65
66
|
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
66
67
|
};
|
|
68
|
+
readonly external: {
|
|
69
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
70
|
+
};
|
|
67
71
|
readonly averageBlockTime: 2;
|
|
68
72
|
readonly beApiKey: string;
|
|
69
73
|
readonly bridge: {
|
|
@@ -83,11 +87,26 @@ declare const mainnet: {
|
|
|
83
87
|
readonly bend: {
|
|
84
88
|
readonly name: "Bend";
|
|
85
89
|
readonly url: "https://bend.berachain.com";
|
|
86
|
-
readonly
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
readonly whiskApiUrl: string;
|
|
91
|
+
readonly whiskApiKey: string;
|
|
92
|
+
readonly production: {
|
|
93
|
+
readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
|
|
94
|
+
readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
|
|
95
|
+
readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
|
|
96
|
+
readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
|
|
97
|
+
readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
|
|
98
|
+
readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
|
|
99
|
+
readonly supportedVaults: `0x${string}`[];
|
|
100
|
+
};
|
|
101
|
+
readonly staging: {
|
|
102
|
+
readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
|
|
103
|
+
readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
|
|
104
|
+
readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
|
|
105
|
+
readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
|
|
106
|
+
readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
|
|
107
|
+
readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
|
|
108
|
+
readonly supportedVaults: `0x${string}`[];
|
|
109
|
+
};
|
|
91
110
|
};
|
|
92
111
|
readonly explore: {
|
|
93
112
|
readonly name: "Explore";
|
package/dist/mainnet.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ declare const mainnet: {
|
|
|
8
8
|
};
|
|
9
9
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
10
10
|
readonly pol: {
|
|
11
|
+
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
11
12
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
12
13
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
13
14
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
@@ -29,22 +30,22 @@ declare const mainnet: {
|
|
|
29
30
|
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
30
31
|
};
|
|
31
32
|
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
32
|
-
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-
|
|
33
|
-
readonly aggregatorsRouter: "
|
|
34
|
-
readonly aggregatorsRouterExecutor: "
|
|
33
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/bex-subgraph/mainnet-1.0.3/gn";
|
|
34
|
+
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
35
|
+
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
35
36
|
readonly aggregatorsProxyUrl: string;
|
|
37
|
+
readonly recoverFundsApi: string;
|
|
38
|
+
readonly recoverFundsContract: `0x${string}`;
|
|
36
39
|
};
|
|
37
40
|
readonly honey: {
|
|
38
41
|
readonly name: "Honey";
|
|
39
42
|
readonly url: "https://honey.berachain.com";
|
|
40
43
|
readonly subgraph: string;
|
|
41
44
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
45
|
+
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
42
46
|
readonly pythWrapper: "0x4b7cb1c197f8EE4d309866B16C2c12E3B4E7E606";
|
|
43
|
-
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
44
47
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
45
48
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
46
|
-
readonly isPythWrapperEnabled: boolean;
|
|
47
|
-
readonly isCustodyEnabled: boolean;
|
|
48
49
|
};
|
|
49
50
|
readonly hub: {
|
|
50
51
|
readonly name: "BeraHub";
|
|
@@ -64,6 +65,9 @@ declare const mainnet: {
|
|
|
64
65
|
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
65
66
|
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
66
67
|
};
|
|
68
|
+
readonly external: {
|
|
69
|
+
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
70
|
+
};
|
|
67
71
|
readonly averageBlockTime: 2;
|
|
68
72
|
readonly beApiKey: string;
|
|
69
73
|
readonly bridge: {
|
|
@@ -83,11 +87,26 @@ declare const mainnet: {
|
|
|
83
87
|
readonly bend: {
|
|
84
88
|
readonly name: "Bend";
|
|
85
89
|
readonly url: "https://bend.berachain.com";
|
|
86
|
-
readonly
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
readonly whiskApiUrl: string;
|
|
91
|
+
readonly whiskApiKey: string;
|
|
92
|
+
readonly production: {
|
|
93
|
+
readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
|
|
94
|
+
readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
|
|
95
|
+
readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
|
|
96
|
+
readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
|
|
97
|
+
readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
|
|
98
|
+
readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
|
|
99
|
+
readonly supportedVaults: `0x${string}`[];
|
|
100
|
+
};
|
|
101
|
+
readonly staging: {
|
|
102
|
+
readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
|
|
103
|
+
readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
|
|
104
|
+
readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
|
|
105
|
+
readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
|
|
106
|
+
readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
|
|
107
|
+
readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
|
|
108
|
+
readonly supportedVaults: `0x${string}`[];
|
|
109
|
+
};
|
|
91
110
|
};
|
|
92
111
|
readonly explore: {
|
|
93
112
|
readonly name: "Explore";
|
package/dist/mainnet.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"./chunk-TSH4FNVH.mjs";import"./chunk-YUUHPTW6.mjs";import"./chunk-CM7FGHYU.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{b as default,a as mainnet};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3LFM4QG6cjs = require('./chunk-3LFM4QG6.cjs');require('./chunk-ZYHYMHGN.cjs');require('./chunk-5Q5FZIMO.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');function p(t,r={}){return t.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:_chunk3LFM4QG6cjs.b,environment:_chunk3LFM4QG6cjs.a,debug:!1,...r})}exports.initSentryEdge = p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,b as n}from"./chunk-XTBMK2TL.mjs";import"./chunk-YUUHPTW6.mjs";import"./chunk-CM7FGHYU.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";function p(t,r={}){return t.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:n,environment:e,debug:!1,...r})}export{p as initSentryEdge};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3LFM4QG6cjs = require('./chunk-3LFM4QG6.cjs');require('./chunk-ZYHYMHGN.cjs');require('./chunk-5Q5FZIMO.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');function p(t,r={}){return t.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:_chunk3LFM4QG6cjs.b,environment:_chunk3LFM4QG6cjs.a,debug:!1,...r})}exports.initSentryServer = p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e,b as n}from"./chunk-XTBMK2TL.mjs";import"./chunk-YUUHPTW6.mjs";import"./chunk-CM7FGHYU.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";function p(t,r={}){return t.init({dsn:process.env.NEXT_PUBLIC_SENTRY_DSN,tracesSampleRate:n,environment:e,debug:!1,...r})}export{p as initSentryServer};
|