@berachain/config 0.0.6 → 0.1.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.
- package/dist/bepolia.cjs +1 -1
- package/dist/bepolia.d.cts +3 -2
- package/dist/bepolia.d.ts +3 -2
- package/dist/bepolia.mjs +1 -1
- package/dist/chunk-3PKORKPM.mjs +1 -0
- package/dist/chunk-E6JOUU2U.mjs +1 -0
- package/dist/chunk-H6BDBYQ5.cjs +1 -0
- package/dist/chunk-HLI3RPDQ.cjs +1 -0
- package/dist/chunk-U2GGNVRS.cjs +1 -0
- package/dist/chunk-WDALG65T.mjs +1 -0
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/internal/edge-config/index.d.cts +19 -2
- package/dist/internal/edge-config/index.d.ts +19 -2
- package/dist/internal/flags/index.cjs +1 -1
- package/dist/internal/flags/index.d.cts +7 -1
- package/dist/internal/flags/index.d.ts +7 -1
- package/dist/internal/flags/index.mjs +1 -1
- package/dist/internal/header-sources.cjs +4 -4
- package/dist/internal/header-sources.mjs +4 -4
- package/dist/internal/index.cjs +1 -1
- package/dist/internal/index.d.cts +13 -5
- package/dist/internal/index.d.ts +13 -5
- package/dist/internal/index.mjs +1 -1
- package/dist/internal/nextjs/index.cjs +1 -1
- package/dist/internal/nextjs/index.d.cts +9 -2
- package/dist/internal/nextjs/index.d.ts +9 -2
- package/dist/internal/nextjs/index.mjs +1 -1
- package/dist/internal/sentry/index.cjs +1 -1
- package/dist/internal/sentry/index.mjs +1 -1
- package/dist/internal/sentry/sentry.client.config.cjs +1 -1
- package/dist/internal/sentry/sentry.client.config.mjs +1 -1
- package/dist/internal/tailwind/index.cjs +1 -1
- package/dist/internal/tailwind/index.d.cts +21 -11
- package/dist/internal/tailwind/index.d.ts +21 -11
- package/dist/internal/tailwind/index.mjs +1 -1
- package/dist/internal/tsup/index.cjs +1 -1
- package/dist/internal/tsup/index.d.cts +1 -1
- package/dist/internal/tsup/index.d.ts +1 -1
- package/dist/internal/tsup/index.mjs +1 -1
- package/dist/internal/wagmi/index.cjs +1 -0
- package/dist/internal/wagmi/index.d.cts +29 -0
- package/dist/internal/wagmi/index.d.ts +29 -0
- package/dist/internal/wagmi/index.mjs +1 -0
- package/dist/mainnet.cjs +1 -1
- package/dist/mainnet.d.cts +3 -2
- package/dist/mainnet.d.ts +3 -2
- package/dist/mainnet.mjs +1 -1
- package/dist/{types-ChwOSOu9.d.cts → types-BU1W-0Vo.d.cts} +8 -1
- package/dist/{types-ChwOSOu9.d.ts → types-BU1W-0Vo.d.ts} +8 -1
- package/package.json +13 -4
- package/dist/chunk-DTPRW4VP.mjs +0 -1
- package/dist/chunk-GAUBQIRH.cjs +0 -1
- package/dist/chunk-KB66GOT2.cjs +0 -1
- package/dist/chunk-PGBQCBTM.mjs +0 -1
- package/dist/chunk-V2GJ33GF.mjs +0 -1
- package/dist/chunk-ZJDKWYPH.cjs +0 -1
- /package/dist/{chunk-TLFLY32O.mjs → chunk-UNNCJ44D.mjs} +0 -0
- /package/dist/{chunk-EJBC2CPD.cjs → chunk-WU7DCIYT.cjs} +0 -0
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ChainId, a as AppName, A as Address } from '../types-
|
|
2
|
-
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-
|
|
1
|
+
import { C as ChainId, a as AppName, A as Address } from '../types-BU1W-0Vo.js';
|
|
2
|
+
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-BU1W-0Vo.js';
|
|
3
3
|
|
|
4
4
|
declare const defaultChainId: ChainId;
|
|
5
5
|
|
|
@@ -64,6 +64,7 @@ declare const chainConfigs: {
|
|
|
64
64
|
"x-api-key": string;
|
|
65
65
|
} | undefined;
|
|
66
66
|
};
|
|
67
|
+
readonly bonder: "https://bonder-lsts.marble.live";
|
|
67
68
|
readonly blocksSubgraph: string;
|
|
68
69
|
readonly bex: {
|
|
69
70
|
readonly chainName: "BERACHAIN";
|
|
@@ -195,6 +196,7 @@ declare const chainConfigs: {
|
|
|
195
196
|
"x-api-key": string;
|
|
196
197
|
} | undefined;
|
|
197
198
|
};
|
|
199
|
+
readonly bonder: "https://bonder-lsts.marble.live";
|
|
198
200
|
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
199
201
|
readonly bex: {
|
|
200
202
|
readonly chainName: "BEPOLIA";
|
|
@@ -223,7 +225,7 @@ declare const chainConfigs: {
|
|
|
223
225
|
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
|
|
224
226
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
225
227
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
226
|
-
readonly pythWrapper: "
|
|
228
|
+
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
227
229
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
228
230
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
229
231
|
};
|
|
@@ -357,7 +359,11 @@ declare const appConfig: {
|
|
|
357
359
|
};
|
|
358
360
|
};
|
|
359
361
|
readonly urls: {
|
|
360
|
-
readonly
|
|
362
|
+
readonly postHog: {
|
|
363
|
+
readonly region: "eu" | "us";
|
|
364
|
+
readonly apiHost: string;
|
|
365
|
+
readonly uiHost: "https://eu.posthog.com" | "https://us.posthog.com";
|
|
366
|
+
};
|
|
361
367
|
readonly ghost: "https://berachain.ghost.io";
|
|
362
368
|
readonly cloudinary: "https://res.cloudinary.com/duv0g402y/image/upload/f_auto,q_auto/v1";
|
|
363
369
|
readonly homepage: string;
|
|
@@ -430,6 +436,7 @@ declare const config: {
|
|
|
430
436
|
"x-api-key": string;
|
|
431
437
|
} | undefined;
|
|
432
438
|
};
|
|
439
|
+
readonly bonder: "https://bonder-lsts.marble.live";
|
|
433
440
|
readonly blocksSubgraph: string;
|
|
434
441
|
readonly bex: {
|
|
435
442
|
readonly chainName: "BERACHAIN";
|
|
@@ -560,6 +567,7 @@ declare const config: {
|
|
|
560
567
|
"x-api-key": string;
|
|
561
568
|
} | undefined;
|
|
562
569
|
};
|
|
570
|
+
readonly bonder: "https://bonder-lsts.marble.live";
|
|
563
571
|
readonly blocksSubgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/blocks-subgraph/bepolia-v1.1.0/gn";
|
|
564
572
|
readonly bex: {
|
|
565
573
|
readonly chainName: "BEPOLIA";
|
|
@@ -588,7 +596,7 @@ declare const config: {
|
|
|
588
596
|
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/honey-subgraph/bepolia-v1.2.1/gn";
|
|
589
597
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
590
598
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
591
|
-
readonly pythWrapper: "
|
|
599
|
+
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
592
600
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
593
601
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
594
602
|
};
|
package/dist/internal/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k,b as l,c as m}from"../chunk-
|
|
1
|
+
import{a as k,b as l,c as m}from"../chunk-WDALG65T.mjs";import"../chunk-3PKORKPM.mjs";import"../chunk-E6JOUU2U.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-O5LUKC6Z.mjs";import{a as b,f as c}from"../chunk-S2A3Z34I.mjs";import{a}from"../chunk-MS6UGFXI.mjs";import"../chunk-JZXLCA2E.mjs";export{a as ChainId,i as alchemyJsonRpcUrl,l as appConfig,k as chainConfigs,b as chainId,d as cloudinaryBaseUrl,m 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}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkWU7DCIYTcjs = require('../../chunk-WU7DCIYT.cjs');var _chunkOQFLFE3Xcjs = require('../../chunk-OQFLFE3X.cjs');var _chunkU2GGNVRScjs = require('../../chunk-U2GGNVRS.cjs');require('../../chunk-H6BDBYQ5.cjs');require('../../chunk-HLI3RPDQ.cjs');require('../../chunk-DFPDQR4M.cjs');require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.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:[..._chunkOQFLFE3Xcjs.a]},async rewrites(){return o?[{source:"/ph/static/:path*",destination:`https://${_chunkU2GGNVRScjs.b.urls.postHog.region}-assets.i.posthog.com/static/:path*`},{source:"/ph/:path*",destination:`https://${_chunkU2GGNVRScjs.b.urls.postHog.region}.i.posthog.com/:path*`}]:[]}};return o&&(t.env.NEXT_PUBLIC_PH_REVERSE_PROXY_PATH="/ph",t.skipTrailingSlashRedirect=!0),a?_chunkWU7DCIYTcjs.b.call(void 0, t):t}exports.withBeraConfig = c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NextConfig } from 'next';
|
|
2
|
-
import { a as AppName } from '../../types-
|
|
2
|
+
import { a as AppName } from '../../types-BU1W-0Vo.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The images config for Bera.
|
|
@@ -13,7 +13,7 @@ type BeraImagesConfig = Omit<NextConfig["images"], "remotePatterns">;
|
|
|
13
13
|
type BeraNextConfig = Omit<NextConfig, "images"> & {
|
|
14
14
|
images?: BeraImagesConfig;
|
|
15
15
|
};
|
|
16
|
-
declare function withBeraConfig(config: BeraNextConfig, { withSentry, appName, }: {
|
|
16
|
+
declare function withBeraConfig(config: BeraNextConfig, { withSentry, withPostHogReverseProxy, appName, }: {
|
|
17
17
|
withSentry?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* The name of the app, it'll be set as NEXT_PUBLIC_BERA_APP_NAME in the environment variables.
|
|
@@ -22,6 +22,13 @@ declare function withBeraConfig(config: BeraNextConfig, { withSentry, appName, }
|
|
|
22
22
|
* Also, it's used to check if a flag is enabled for the app.
|
|
23
23
|
*/
|
|
24
24
|
appName: AppName;
|
|
25
|
+
/**
|
|
26
|
+
* Whether to use the PostHog reverse proxy.
|
|
27
|
+
*
|
|
28
|
+
* It's used to bypass the CORS policy of the PostHog API.
|
|
29
|
+
* @see {@link https://posthog.com/docs/advanced/proxy/nextjs}
|
|
30
|
+
*/
|
|
31
|
+
withPostHogReverseProxy?: boolean;
|
|
25
32
|
}): NextConfig;
|
|
26
33
|
|
|
27
34
|
export { withBeraConfig };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NextConfig } from 'next';
|
|
2
|
-
import { a as AppName } from '../../types-
|
|
2
|
+
import { a as AppName } from '../../types-BU1W-0Vo.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The images config for Bera.
|
|
@@ -13,7 +13,7 @@ type BeraImagesConfig = Omit<NextConfig["images"], "remotePatterns">;
|
|
|
13
13
|
type BeraNextConfig = Omit<NextConfig, "images"> & {
|
|
14
14
|
images?: BeraImagesConfig;
|
|
15
15
|
};
|
|
16
|
-
declare function withBeraConfig(config: BeraNextConfig, { withSentry, appName, }: {
|
|
16
|
+
declare function withBeraConfig(config: BeraNextConfig, { withSentry, withPostHogReverseProxy, appName, }: {
|
|
17
17
|
withSentry?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* The name of the app, it'll be set as NEXT_PUBLIC_BERA_APP_NAME in the environment variables.
|
|
@@ -22,6 +22,13 @@ declare function withBeraConfig(config: BeraNextConfig, { withSentry, appName, }
|
|
|
22
22
|
* Also, it's used to check if a flag is enabled for the app.
|
|
23
23
|
*/
|
|
24
24
|
appName: AppName;
|
|
25
|
+
/**
|
|
26
|
+
* Whether to use the PostHog reverse proxy.
|
|
27
|
+
*
|
|
28
|
+
* It's used to bypass the CORS policy of the PostHog API.
|
|
29
|
+
* @see {@link https://posthog.com/docs/advanced/proxy/nextjs}
|
|
30
|
+
*/
|
|
31
|
+
withPostHogReverseProxy?: boolean;
|
|
25
32
|
}): NextConfig;
|
|
26
33
|
|
|
27
34
|
export { withBeraConfig };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as
|
|
1
|
+
import{b as i}from"../../chunk-UNNCJ44D.mjs";import{a as n}from"../../chunk-JVJKB7V7.mjs";import{b as e}from"../../chunk-WDALG65T.mjs";import"../../chunk-3PKORKPM.mjs";import"../../chunk-E6JOUU2U.mjs";import"../../chunk-O5LUKC6Z.mjs";import"../../chunk-S2A3Z34I.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.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
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWU7DCIYTcjs = require('../../chunk-WU7DCIYT.cjs');require('../../chunk-4VDLQK6F.cjs');exports.onRequestError = _chunkWU7DCIYTcjs.c; exports.registerSentry = _chunkWU7DCIYTcjs.a; exports.withSentryConfig = _chunkWU7DCIYTcjs.b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c}from"../../chunk-
|
|
1
|
+
import{a,b,c}from"../../chunk-UNNCJ44D.mjs";import"../../chunk-JZXLCA2E.mjs";export{c as onRequestError,a as registerSentry,b as withSentryConfig};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkJYSZ2GU3cjs = require('../../chunk-JYSZ2GU3.cjs');require('../../chunk-DFPDQR4M.cjs');require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');_chunkJYSZ2GU3cjs.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:_chunkJYSZ2GU3cjs.b,debug:_chunkJYSZ2GU3cjs.d,environment:_chunkJYSZ2GU3cjs.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
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkJYSZ2GU3cjs = require('../../chunk-JYSZ2GU3.cjs');require('../../chunk-DFPDQR4M.cjs');require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');_chunkJYSZ2GU3cjs.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:_chunkJYSZ2GU3cjs.b,debug:_chunkJYSZ2GU3cjs.d,environment:_chunkJYSZ2GU3cjs.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.","The provider is disconnected from all chains."]})}exports.initSentryClient = s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t,b as r,d as e}from"../../chunk-DL645PXT.mjs";import"../../chunk-O5LUKC6Z.mjs";import"../../chunk-S2A3Z34I.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
|
+
import{a as t,b as r,d as e}from"../../chunk-DL645PXT.mjs";import"../../chunk-O5LUKC6Z.mjs";import"../../chunk-S2A3Z34I.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.","The provider is disconnected from all chains."]})}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 _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"}],
|
|
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"}],md:["1rem",{lineHeight:"1.5rem",fontWeight:"600"}],sm:["0.875rem",{lineHeight:"1.5rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],lg:["1.125rem",{lineHeight:"2rem"}],"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"}],h1:["3rem",{lineHeight:"3.5rem",fontWeight:"700",letterSpacing:"-0.125rem"}],h2:["1.875rem",{lineHeight:"2.5rem",fontWeight:"600",letterSpacing:"-0.01406rem"}],h3:["1.5rem",{lineHeight:"2rem",fontWeight:"600"}],h4:["1.25rem",{lineHeight:"1.5rem",fontWeight:"600",letterSpacing:"-0.0625rem"}],base:["0.875rem",{lineHeight:"1.25rem",fontWeight:"600"}],small:["0.75rem",{lineHeight:"1rem",fontWeight:"500"}]},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;
|
|
@@ -16,18 +16,19 @@ declare const config: {
|
|
|
16
16
|
readonly xs: ["0.75rem", {
|
|
17
17
|
readonly lineHeight: "1rem";
|
|
18
18
|
}];
|
|
19
|
-
readonly
|
|
19
|
+
readonly md: ["1rem", {
|
|
20
20
|
readonly lineHeight: "1.5rem";
|
|
21
|
+
readonly fontWeight: "600";
|
|
21
22
|
}];
|
|
22
|
-
readonly
|
|
23
|
+
readonly sm: ["0.875rem", {
|
|
23
24
|
readonly lineHeight: "1.5rem";
|
|
24
25
|
}];
|
|
25
|
-
readonly lg: ["1.125rem", {
|
|
26
|
-
readonly lineHeight: "2rem";
|
|
27
|
-
}];
|
|
28
26
|
readonly xl: ["1.25rem", {
|
|
29
27
|
readonly lineHeight: "1.75rem";
|
|
30
28
|
}];
|
|
29
|
+
readonly lg: ["1.125rem", {
|
|
30
|
+
readonly lineHeight: "2rem";
|
|
31
|
+
}];
|
|
31
32
|
readonly "2xl": ["1.5rem", {
|
|
32
33
|
readonly lineHeight: "2rem";
|
|
33
34
|
}];
|
|
@@ -52,23 +53,32 @@ declare const config: {
|
|
|
52
53
|
readonly "9xl": ["8rem", {
|
|
53
54
|
readonly lineHeight: "1";
|
|
54
55
|
}];
|
|
55
|
-
readonly
|
|
56
|
+
readonly h1: ["3rem", {
|
|
56
57
|
readonly lineHeight: "3.5rem";
|
|
58
|
+
readonly fontWeight: "700";
|
|
59
|
+
readonly letterSpacing: "-0.125rem";
|
|
57
60
|
}];
|
|
58
|
-
readonly
|
|
61
|
+
readonly h2: ["1.875rem", {
|
|
59
62
|
readonly lineHeight: "2.5rem";
|
|
63
|
+
readonly fontWeight: "600";
|
|
64
|
+
readonly letterSpacing: "-0.01406rem";
|
|
60
65
|
}];
|
|
61
|
-
readonly
|
|
66
|
+
readonly h3: ["1.5rem", {
|
|
62
67
|
readonly lineHeight: "2rem";
|
|
68
|
+
readonly fontWeight: "600";
|
|
63
69
|
}];
|
|
64
|
-
readonly
|
|
70
|
+
readonly h4: ["1.25rem", {
|
|
65
71
|
readonly lineHeight: "1.5rem";
|
|
72
|
+
readonly fontWeight: "600";
|
|
73
|
+
readonly letterSpacing: "-0.0625rem";
|
|
66
74
|
}];
|
|
67
|
-
readonly
|
|
75
|
+
readonly base: ["0.875rem", {
|
|
68
76
|
readonly lineHeight: "1.25rem";
|
|
77
|
+
readonly fontWeight: "600";
|
|
69
78
|
}];
|
|
70
|
-
readonly
|
|
79
|
+
readonly small: ["0.75rem", {
|
|
71
80
|
readonly lineHeight: "1rem";
|
|
81
|
+
readonly fontWeight: "500";
|
|
72
82
|
}];
|
|
73
83
|
};
|
|
74
84
|
readonly spacing: {
|
|
@@ -16,18 +16,19 @@ declare const config: {
|
|
|
16
16
|
readonly xs: ["0.75rem", {
|
|
17
17
|
readonly lineHeight: "1rem";
|
|
18
18
|
}];
|
|
19
|
-
readonly
|
|
19
|
+
readonly md: ["1rem", {
|
|
20
20
|
readonly lineHeight: "1.5rem";
|
|
21
|
+
readonly fontWeight: "600";
|
|
21
22
|
}];
|
|
22
|
-
readonly
|
|
23
|
+
readonly sm: ["0.875rem", {
|
|
23
24
|
readonly lineHeight: "1.5rem";
|
|
24
25
|
}];
|
|
25
|
-
readonly lg: ["1.125rem", {
|
|
26
|
-
readonly lineHeight: "2rem";
|
|
27
|
-
}];
|
|
28
26
|
readonly xl: ["1.25rem", {
|
|
29
27
|
readonly lineHeight: "1.75rem";
|
|
30
28
|
}];
|
|
29
|
+
readonly lg: ["1.125rem", {
|
|
30
|
+
readonly lineHeight: "2rem";
|
|
31
|
+
}];
|
|
31
32
|
readonly "2xl": ["1.5rem", {
|
|
32
33
|
readonly lineHeight: "2rem";
|
|
33
34
|
}];
|
|
@@ -52,23 +53,32 @@ declare const config: {
|
|
|
52
53
|
readonly "9xl": ["8rem", {
|
|
53
54
|
readonly lineHeight: "1";
|
|
54
55
|
}];
|
|
55
|
-
readonly
|
|
56
|
+
readonly h1: ["3rem", {
|
|
56
57
|
readonly lineHeight: "3.5rem";
|
|
58
|
+
readonly fontWeight: "700";
|
|
59
|
+
readonly letterSpacing: "-0.125rem";
|
|
57
60
|
}];
|
|
58
|
-
readonly
|
|
61
|
+
readonly h2: ["1.875rem", {
|
|
59
62
|
readonly lineHeight: "2.5rem";
|
|
63
|
+
readonly fontWeight: "600";
|
|
64
|
+
readonly letterSpacing: "-0.01406rem";
|
|
60
65
|
}];
|
|
61
|
-
readonly
|
|
66
|
+
readonly h3: ["1.5rem", {
|
|
62
67
|
readonly lineHeight: "2rem";
|
|
68
|
+
readonly fontWeight: "600";
|
|
63
69
|
}];
|
|
64
|
-
readonly
|
|
70
|
+
readonly h4: ["1.25rem", {
|
|
65
71
|
readonly lineHeight: "1.5rem";
|
|
72
|
+
readonly fontWeight: "600";
|
|
73
|
+
readonly letterSpacing: "-0.0625rem";
|
|
66
74
|
}];
|
|
67
|
-
readonly
|
|
75
|
+
readonly base: ["0.875rem", {
|
|
68
76
|
readonly lineHeight: "1.25rem";
|
|
77
|
+
readonly fontWeight: "600";
|
|
69
78
|
}];
|
|
70
|
-
readonly
|
|
79
|
+
readonly small: ["0.75rem", {
|
|
71
80
|
readonly lineHeight: "1rem";
|
|
81
|
+
readonly fontWeight: "500";
|
|
72
82
|
}];
|
|
73
83
|
};
|
|
74
84
|
readonly spacing: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-JZXLCA2E.mjs";import i from"@tailwindcss/container-queries";import
|
|
1
|
+
import"../../chunk-JZXLCA2E.mjs";import i from"@tailwindcss/container-queries";import t 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"}],md:["1rem",{lineHeight:"1.5rem",fontWeight:"600"}],sm:["0.875rem",{lineHeight:"1.5rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],lg:["1.125rem",{lineHeight:"2rem"}],"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"}],h1:["3rem",{lineHeight:"3.5rem",fontWeight:"700",letterSpacing:"-0.125rem"}],h2:["1.875rem",{lineHeight:"2.5rem",fontWeight:"600",letterSpacing:"-0.01406rem"}],h3:["1.5rem",{lineHeight:"2rem",fontWeight:"600"}],h4:["1.25rem",{lineHeight:"1.5rem",fontWeight:"600",letterSpacing:"-0.0625rem"}],base:["0.875rem",{lineHeight:"1.25rem",fontWeight:"600"}],small:["0.75rem",{lineHeight:"1rem",fontWeight:"500"}]},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,t]},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 r(t
|
|
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(e,t){if(Array.isArray(e))return e.map(o=>r(o,t));let s=process.argv.includes("--prepublish"),i=process.argv.includes("--sourcemap"),p=s||process.argv.includes("--cjs"),a=s||!p||process.argv.includes("--esm"),n=[];a&&n.push("esm"),p&&n.push("cjs");let c=s||process.argv.includes("--minify"),u=typeof t.dts=="object"&&t.dts.only;return{...{format:n,clean:!t.watch&&!u,splitting:!0,outExtension({format:o}){return{js:o==="esm"?".mjs":".cjs"}},outDir:"dist",skipNodeModulesBundle:!0,minify:c,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true"||i,dts:process.env.VERCEL!=="1",esbuildOptions:(o,m)=>{o.jsx="automatic",o.sourceRoot="",_optionalChain([e, 'access', _ => _.esbuildOptions, 'optionalCall', _2 => _2(o,m)])}},...e}}var d=e=>_tsup.defineConfig.call(void 0, async t=>{let s;return typeof e=="function"?s=await e(t):s=e,Array.isArray(s)?s.map(i=>r(i,t)):r(s,t)});exports.beraTsupConfig = d;
|
|
@@ -3,4 +3,4 @@ import { Options } from 'tsup';
|
|
|
3
3
|
type MaybePromise<T> = T | Promise<T>;
|
|
4
4
|
declare const beraTsupConfig: (config: Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>)) => Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>);
|
|
5
5
|
|
|
6
|
-
export { beraTsupConfig
|
|
6
|
+
export { beraTsupConfig };
|
|
@@ -3,4 +3,4 @@ import { Options } from 'tsup';
|
|
|
3
3
|
type MaybePromise<T> = T | Promise<T>;
|
|
4
4
|
declare const beraTsupConfig: (config: Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>)) => Options | Options[] | ((overrideOptions: Options) => MaybePromise<Options | Options[]>);
|
|
5
5
|
|
|
6
|
-
export { beraTsupConfig
|
|
6
|
+
export { beraTsupConfig };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunk-JZXLCA2E.mjs";import{defineConfig as
|
|
1
|
+
import"../../chunk-JZXLCA2E.mjs";import{defineConfig as O}from"tsup";function r(e,t){if(Array.isArray(e))return e.map(o=>r(o,t));let s=process.argv.includes("--prepublish"),i=process.argv.includes("--sourcemap"),p=s||process.argv.includes("--cjs"),a=s||!p||process.argv.includes("--esm"),n=[];a&&n.push("esm"),p&&n.push("cjs");let c=s||process.argv.includes("--minify"),u=typeof t.dts=="object"&&t.dts.only;return{...{format:n,clean:!t.watch&&!u,splitting:!0,outExtension({format:o}){return{js:o==="esm"?".mjs":".cjs"}},outDir:"dist",skipNodeModulesBundle:!0,minify:c,sourcemap:process.env.UPLOAD_SOURCEMAPS==="true"||i,dts:process.env.VERCEL!=="1",esbuildOptions:(o,m)=>{o.jsx="automatic",o.sourceRoot="",e.esbuildOptions?.(o,m)}},...e}}var d=e=>O(async t=>{let s;return typeof e=="function"?s=await e(t):s=e,Array.isArray(s)?s.map(i=>r(i,t)):r(s,t)});export{d as beraTsupConfig};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-U2GGNVRS.cjs');require('../../chunk-H6BDBYQ5.cjs');require('../../chunk-HLI3RPDQ.cjs');var _chunkDFPDQR4Mcjs = require('../../chunk-DFPDQR4M.cjs');var _chunk3KQLFIHTcjs = require('../../chunk-3KQLFIHT.cjs');require('../../chunk-2OLL4MUY.cjs');require('../../chunk-4VDLQK6F.cjs');var _viem = require('viem');var _chains = require('viem/chains');var C=_chunk3KQLFIHTcjs.a===_chains.berachain.id?_chains.berachain:_chains.berachainBepolia,q= exports.urls =[_chunkDFPDQR4Mcjs.g,_chunkDFPDQR4Mcjs.e,_chunkDFPDQR4Mcjs.f,_chunkDFPDQR4Mcjs.d].filter(Boolean),x= exports.externalChains =[_chains.mainnet,_chains.polygon,_chains.optimism,_chains.base,_chains.bsc,_chains.avalanche,_chains.arbitrum],U= exports.chainIdToName =[...x,_chains.berachain,_chains.berachainBepolia].reduce((i,r)=>(i[r.id]=r.name,i),{}),R={batch:{wait:35}},e={batch:{wait:15}},B= exports.transports ={[C.id]:_viem.fallback.call(void 0, q.map(i=>_viem.http.call(void 0, i,R))),[_chains.mainnet.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://1.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://ultra-sleek-pond.quiknode.pro/08ab7832de196248b7ba7dcffad268c9b3747f48/",e),_viem.http.call(void 0, )]),[_chains.polygon.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://137.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://sleek-thrilling-orb.matic.quiknode.pro/592d9950044bf173c232f5ecf79a2725c43f517b/",e),_viem.http.call(void 0, )]),[_chains.optimism.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://10.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://blue-neat-liquid.optimism.quiknode.pro/26ca3fe255f687652124050450faada988023979/",e),_viem.http.call(void 0, )]),[_chains.base.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://8453.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://soft-empty-sailboat.base-mainnet.quiknode.pro/bb9300074b062c5e0a1e93e0a8ebd53501c32fe7/",e),_viem.http.call(void 0, )]),[_chains.bsc.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://56.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://chaotic-floral-brook.bsc.quiknode.pro/6f0e5a9791285c6b59f2a6a907a62ec9d581d7bd/",e),_viem.http.call(void 0, )]),[_chains.avalanche.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://43114.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://shy-special-mansion.avalanche-mainnet.quiknode.pro/efa880845032c2ef4049637d779d2ae58acf0f65/ext/bc/C/rpc/",e),_viem.http.call(void 0, )]),[_chains.arbitrum.id]:_viem.fallback.call(void 0, [_viem.http.call(void 0, "https://42161.rpc.thirdweb.com/",e),_viem.http.call(void 0, "https://fluent-broken-violet.arbitrum-mainnet.quiknode.pro/445b20e9ed10e22fffee6498a40c4f83f83f4ec7/",e),_viem.http.call(void 0, )])};exports.chainIdToName = U; exports.defaultChain = C; exports.externalChains = x; exports.transports = B; exports.urls = q;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as viem from 'viem';
|
|
2
|
+
import { Chain } from 'viem/chains';
|
|
3
|
+
|
|
4
|
+
declare const defaultChain: Chain;
|
|
5
|
+
declare const urls: string[];
|
|
6
|
+
/**
|
|
7
|
+
* This are the chains that have been approved by the Bera team to be used in the BeraHub,
|
|
8
|
+
* for multi chain zapping.
|
|
9
|
+
*/
|
|
10
|
+
declare const externalChains: Chain[];
|
|
11
|
+
declare const chainIdToName: Record<Chain["id"], string>;
|
|
12
|
+
/**
|
|
13
|
+
* Thirdweb RPC URLs have a rate limit of 3 RPS.
|
|
14
|
+
* http() uses default viem transport which varies based on the chain definition.
|
|
15
|
+
*
|
|
16
|
+
* Quicknode RPC URLs are CORS restricted to *.berachain.com, *.berachain-staging.com. They have a 100rpm rate limit.
|
|
17
|
+
*/
|
|
18
|
+
declare const transports: {
|
|
19
|
+
[x: number]: viem.FallbackTransport<viem.HttpTransport<undefined, false>[]> | viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
20
|
+
1: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
21
|
+
137: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
22
|
+
10: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
23
|
+
8453: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
24
|
+
56: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
25
|
+
43114: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
26
|
+
42161: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { chainIdToName, defaultChain, externalChains, transports, urls };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as viem from 'viem';
|
|
2
|
+
import { Chain } from 'viem/chains';
|
|
3
|
+
|
|
4
|
+
declare const defaultChain: Chain;
|
|
5
|
+
declare const urls: string[];
|
|
6
|
+
/**
|
|
7
|
+
* This are the chains that have been approved by the Bera team to be used in the BeraHub,
|
|
8
|
+
* for multi chain zapping.
|
|
9
|
+
*/
|
|
10
|
+
declare const externalChains: Chain[];
|
|
11
|
+
declare const chainIdToName: Record<Chain["id"], string>;
|
|
12
|
+
/**
|
|
13
|
+
* Thirdweb RPC URLs have a rate limit of 3 RPS.
|
|
14
|
+
* http() uses default viem transport which varies based on the chain definition.
|
|
15
|
+
*
|
|
16
|
+
* Quicknode RPC URLs are CORS restricted to *.berachain.com, *.berachain-staging.com. They have a 100rpm rate limit.
|
|
17
|
+
*/
|
|
18
|
+
declare const transports: {
|
|
19
|
+
[x: number]: viem.FallbackTransport<viem.HttpTransport<undefined, false>[]> | viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
20
|
+
1: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
21
|
+
137: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
22
|
+
10: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
23
|
+
8453: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
24
|
+
56: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
25
|
+
43114: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
26
|
+
42161: viem.FallbackTransport<readonly [viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>, viem.HttpTransport<undefined, false>]>;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export { chainIdToName, defaultChain, externalChains, transports, urls };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../chunk-WDALG65T.mjs";import"../../chunk-3PKORKPM.mjs";import"../../chunk-E6JOUU2U.mjs";import{d as p,e as c,f as s,g as d}from"../../chunk-O5LUKC6Z.mjs";import{a as n}from"../../chunk-S2A3Z34I.mjs";import"../../chunk-MS6UGFXI.mjs";import"../../chunk-JZXLCA2E.mjs";import{fallback as a,http as t}from"viem";import{arbitrum as h,avalanche as b,base as f,berachain as o,berachainBepolia as l,bsc as m,mainnet as u,optimism as k,polygon as w}from"viem/chains";var C=n===o.id?o:l,q=[d,c,s,p].filter(Boolean),x=[u,w,k,f,m,b,h],U=[...x,o,l].reduce((i,r)=>(i[r.id]=r.name,i),{}),R={batch:{wait:35}},e={batch:{wait:15}},B={[C.id]:a(q.map(i=>t(i,R))),[u.id]:a([t("https://1.rpc.thirdweb.com/",e),t("https://ultra-sleek-pond.quiknode.pro/08ab7832de196248b7ba7dcffad268c9b3747f48/",e),t()]),[w.id]:a([t("https://137.rpc.thirdweb.com/",e),t("https://sleek-thrilling-orb.matic.quiknode.pro/592d9950044bf173c232f5ecf79a2725c43f517b/",e),t()]),[k.id]:a([t("https://10.rpc.thirdweb.com/",e),t("https://blue-neat-liquid.optimism.quiknode.pro/26ca3fe255f687652124050450faada988023979/",e),t()]),[f.id]:a([t("https://8453.rpc.thirdweb.com/",e),t("https://soft-empty-sailboat.base-mainnet.quiknode.pro/bb9300074b062c5e0a1e93e0a8ebd53501c32fe7/",e),t()]),[m.id]:a([t("https://56.rpc.thirdweb.com/",e),t("https://chaotic-floral-brook.bsc.quiknode.pro/6f0e5a9791285c6b59f2a6a907a62ec9d581d7bd/",e),t()]),[b.id]:a([t("https://43114.rpc.thirdweb.com/",e),t("https://shy-special-mansion.avalanche-mainnet.quiknode.pro/efa880845032c2ef4049637d779d2ae58acf0f65/ext/bc/C/rpc/",e),t()]),[h.id]:a([t("https://42161.rpc.thirdweb.com/",e),t("https://fluent-broken-violet.arbitrum-mainnet.quiknode.pro/445b20e9ed10e22fffee6498a40c4f83f83f4ec7/",e),t()])};export{U as chainIdToName,C as defaultChain,x as externalChains,B as transports,q as urls};
|
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 _chunkHLI3RPDQcjs = require('./chunk-HLI3RPDQ.cjs');require('./chunk-DFPDQR4M.cjs');require('./chunk-3KQLFIHT.cjs');require('./chunk-2OLL4MUY.cjs');require('./chunk-4VDLQK6F.cjs');exports.mainnet = _chunkHLI3RPDQcjs.a;
|
package/dist/mainnet.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId } from './types-
|
|
1
|
+
import { C as ChainId } from './types-BU1W-0Vo.cjs';
|
|
2
2
|
|
|
3
3
|
declare const mainnet: {
|
|
4
4
|
readonly chainId: ChainId.MAINNET;
|
|
@@ -26,6 +26,7 @@ declare const mainnet: {
|
|
|
26
26
|
"x-api-key": string;
|
|
27
27
|
} | undefined;
|
|
28
28
|
};
|
|
29
|
+
readonly bonder: "https://bonder-lsts.marble.live";
|
|
29
30
|
readonly blocksSubgraph: string;
|
|
30
31
|
readonly bex: {
|
|
31
32
|
readonly chainName: "BERACHAIN";
|
|
@@ -132,4 +133,4 @@ declare const mainnet: {
|
|
|
132
133
|
readonly faucet: null;
|
|
133
134
|
};
|
|
134
135
|
|
|
135
|
-
export { mainnet
|
|
136
|
+
export { mainnet };
|
package/dist/mainnet.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId } from './types-
|
|
1
|
+
import { C as ChainId } from './types-BU1W-0Vo.js';
|
|
2
2
|
|
|
3
3
|
declare const mainnet: {
|
|
4
4
|
readonly chainId: ChainId.MAINNET;
|
|
@@ -26,6 +26,7 @@ declare const mainnet: {
|
|
|
26
26
|
"x-api-key": string;
|
|
27
27
|
} | undefined;
|
|
28
28
|
};
|
|
29
|
+
readonly bonder: "https://bonder-lsts.marble.live";
|
|
29
30
|
readonly blocksSubgraph: string;
|
|
30
31
|
readonly bex: {
|
|
31
32
|
readonly chainName: "BERACHAIN";
|
|
@@ -132,4 +133,4 @@ declare const mainnet: {
|
|
|
132
133
|
readonly faucet: null;
|
|
133
134
|
};
|
|
134
135
|
|
|
135
|
-
export { mainnet
|
|
136
|
+
export { mainnet };
|
package/dist/mainnet.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a}from"./chunk-E6JOUU2U.mjs";import"./chunk-O5LUKC6Z.mjs";import"./chunk-S2A3Z34I.mjs";import"./chunk-MS6UGFXI.mjs";import"./chunk-JZXLCA2E.mjs";export{a as mainnet};
|
|
@@ -45,7 +45,10 @@ interface BeraConfig {
|
|
|
45
45
|
* The address of the wbera token. Only this 0x6969... address is supported.
|
|
46
46
|
*/
|
|
47
47
|
wbera: "0x6969696969696969696969696969696969696969";
|
|
48
|
-
|
|
48
|
+
/**
|
|
49
|
+
* The address of the swbera token. Only this 0x118D... address is supported.
|
|
50
|
+
*/
|
|
51
|
+
swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
49
52
|
bgt: Address;
|
|
50
53
|
wbtc: Address;
|
|
51
54
|
weth: Address;
|
|
@@ -54,6 +57,10 @@ interface BeraConfig {
|
|
|
54
57
|
* The API endpoint for the chain. Used to fetch prices, bex, pol and validators' data.
|
|
55
58
|
*/
|
|
56
59
|
api: HttpLink;
|
|
60
|
+
/**
|
|
61
|
+
* The Bonder endpoint for the chain. Used to fetch staked data.
|
|
62
|
+
*/
|
|
63
|
+
bonder: HttpLink;
|
|
57
64
|
/**
|
|
58
65
|
* The subgraph endpoint for the chain. Mainly used to fetch last 24h average block time.
|
|
59
66
|
*/
|
|
@@ -45,7 +45,10 @@ interface BeraConfig {
|
|
|
45
45
|
* The address of the wbera token. Only this 0x6969... address is supported.
|
|
46
46
|
*/
|
|
47
47
|
wbera: "0x6969696969696969696969696969696969696969";
|
|
48
|
-
|
|
48
|
+
/**
|
|
49
|
+
* The address of the swbera token. Only this 0x118D... address is supported.
|
|
50
|
+
*/
|
|
51
|
+
swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
49
52
|
bgt: Address;
|
|
50
53
|
wbtc: Address;
|
|
51
54
|
weth: Address;
|
|
@@ -54,6 +57,10 @@ interface BeraConfig {
|
|
|
54
57
|
* The API endpoint for the chain. Used to fetch prices, bex, pol and validators' data.
|
|
55
58
|
*/
|
|
56
59
|
api: HttpLink;
|
|
60
|
+
/**
|
|
61
|
+
* The Bonder endpoint for the chain. Used to fetch staked data.
|
|
62
|
+
*/
|
|
63
|
+
bonder: HttpLink;
|
|
57
64
|
/**
|
|
58
65
|
* The subgraph endpoint for the chain. Mainly used to fetch last 24h average block time.
|
|
59
66
|
*/
|