@berachain/config 0.1.18-beta.1 → 0.1.18-beta.2

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.
@@ -3,7 +3,7 @@
3
3
  var _chunkFNTZIXS7cjs = require('./chunk-FNTZIXS7.cjs');
4
4
 
5
5
 
6
- var _chunk2BJ55Y5Ucjs = require('./chunk-2BJ55Y5U.cjs');
6
+ var _chunkNC5YZP6Pcjs = require('./chunk-NC5YZP6P.cjs');
7
7
 
8
8
 
9
9
 
@@ -14,7 +14,7 @@ var _chunkADH7F47Tcjs = require('./chunk-ADH7F47T.cjs');
14
14
 
15
15
  // src/internal/index.ts
16
16
  var chainConfigs = {
17
- [80094 /* MAINNET */]: _chunk2BJ55Y5Ucjs.mainnet,
17
+ [80094 /* MAINNET */]: _chunkNC5YZP6Pcjs.mainnet,
18
18
  [80069 /* BEPOLIA */]: _chunkFNTZIXS7cjs.bepolia
19
19
  };
20
20
  var chainConfig = chainConfigs[_chunkADH7F47Tcjs.defaultChainId];
@@ -45,7 +45,10 @@ var mainnet = {
45
45
  uri: _nullishCoalesce(process.env.NEXT_PUBLIC_80094_BACKEND_API_URL, () => ( "https://api-prod-ff16.up.railway.app"))
46
46
  },
47
47
  // No beep deployment on mainnet yet; falls back to the Railway `backend`.
48
- beep: null,
48
+ beep: process.env.NEXT_PUBLIC_80094_BEEP_API_URL ? {
49
+ uri: process.env.NEXT_PUBLIC_80094_BEEP_API_URL || "https://beep.berachain.com",
50
+ name: "Berachain Beep"
51
+ } : null,
49
52
  bex: {
50
53
  chainName: "BERACHAIN",
51
54
  vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B",
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-4H4HDUCC.mjs";
4
4
  import {
5
5
  mainnet
6
- } from "./chunk-HJXRHQST.mjs";
6
+ } from "./chunk-WARW3DCH.mjs";
7
7
  import {
8
8
  defaultChainId,
9
9
  isLocalHost,
@@ -45,7 +45,10 @@ var mainnet = {
45
45
  uri: process.env.NEXT_PUBLIC_80094_BACKEND_API_URL ?? "https://api-prod-ff16.up.railway.app"
46
46
  },
47
47
  // No beep deployment on mainnet yet; falls back to the Railway `backend`.
48
- beep: null,
48
+ beep: process.env.NEXT_PUBLIC_80094_BEEP_API_URL ? {
49
+ uri: process.env.NEXT_PUBLIC_80094_BEEP_API_URL || "https://beep.berachain.com",
50
+ name: "Berachain Beep"
51
+ } : null,
49
52
  bex: {
50
53
  chainName: "BERACHAIN",
51
54
  vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B",
@@ -114,36 +114,6 @@ interface EdgeConfigSchema {
114
114
  redeemBGT?: BgtMigrationStep;
115
115
  stakeBERA?: BgtMigrationStep;
116
116
  };
117
- /**
118
- * Copy for the site-wide nudge banner shown when a user has un-migrated BGT positions.
119
- */
120
- banner?: {
121
- /**
122
- * Banner text; the whole strip links to the portfolio migration widget.
123
- */
124
- text?: string;
125
- };
126
- /**
127
- * Copy for the persistent 'migration completed' alert shown at the top of the portfolio page after migration.
128
- */
129
- successAlert?: {
130
- /**
131
- * Alert title.
132
- */
133
- title?: string;
134
- /**
135
- * Alert body describing the successful migration.
136
- */
137
- description?: string;
138
- /**
139
- * Secondary line shown when the user still has unclaimed incentives after migrating.
140
- */
141
- incentivesPending?: string;
142
- /**
143
- * Label for the button that resumes the incentive-claim step.
144
- */
145
- resumeCta?: string;
146
- };
147
117
  };
148
118
  };
149
119
  honey: {
@@ -114,36 +114,6 @@ interface EdgeConfigSchema {
114
114
  redeemBGT?: BgtMigrationStep;
115
115
  stakeBERA?: BgtMigrationStep;
116
116
  };
117
- /**
118
- * Copy for the site-wide nudge banner shown when a user has un-migrated BGT positions.
119
- */
120
- banner?: {
121
- /**
122
- * Banner text; the whole strip links to the portfolio migration widget.
123
- */
124
- text?: string;
125
- };
126
- /**
127
- * Copy for the persistent 'migration completed' alert shown at the top of the portfolio page after migration.
128
- */
129
- successAlert?: {
130
- /**
131
- * Alert title.
132
- */
133
- title?: string;
134
- /**
135
- * Alert body describing the successful migration.
136
- */
137
- description?: string;
138
- /**
139
- * Secondary line shown when the user still has unclaimed incentives after migrating.
140
- */
141
- incentivesPending?: string;
142
- /**
143
- * Label for the button that resumes the incentive-claim step.
144
- */
145
- resumeCta?: string;
146
- };
147
117
  };
148
118
  };
149
119
  honey: {
@@ -7,9 +7,9 @@ var _chunkONKAV4AGcjs = require('../chunk-ONKAV4AG.cjs');
7
7
  var _chunkYT7WZDGIcjs = require('../chunk-YT7WZDGI.cjs');
8
8
 
9
9
 
10
- var _chunkREBIMTSJcjs = require('../chunk-REBIMTSJ.cjs');
10
+ var _chunkCD24O7M2cjs = require('../chunk-CD24O7M2.cjs');
11
11
  require('../chunk-FNTZIXS7.cjs');
12
- require('../chunk-2BJ55Y5U.cjs');
12
+ require('../chunk-NC5YZP6P.cjs');
13
13
 
14
14
 
15
15
 
@@ -67,7 +67,7 @@ function getContentSecurityPolicy({
67
67
  ...args
68
68
  }) {
69
69
  const defaultSrc = [];
70
- const config = _chunkREBIMTSJcjs.chainConfigs[_chunkADH7F47Tcjs.defaultChainId];
70
+ const config = _chunkCD24O7M2cjs.chainConfigs[_chunkADH7F47Tcjs.defaultChainId];
71
71
  const connectionSources = [
72
72
  // csp reporting
73
73
  "https://*.sentry.io/",
@@ -7,9 +7,9 @@ import {
7
7
  } from "../chunk-LALEUPWL.mjs";
8
8
  import {
9
9
  chainConfigs
10
- } from "../chunk-FOUI63VD.mjs";
10
+ } from "../chunk-POXE63WP.mjs";
11
11
  import "../chunk-4H4HDUCC.mjs";
12
- import "../chunk-HJXRHQST.mjs";
12
+ import "../chunk-WARW3DCH.mjs";
13
13
  import {
14
14
  alchemyJsonRpcUrl,
15
15
  goldskyBaseUrl,
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkREBIMTSJcjs = require('../chunk-REBIMTSJ.cjs');
5
+ var _chunkCD24O7M2cjs = require('../chunk-CD24O7M2.cjs');
6
6
  require('../chunk-FNTZIXS7.cjs');
7
- require('../chunk-2BJ55Y5U.cjs');
7
+ require('../chunk-NC5YZP6P.cjs');
8
8
 
9
9
 
10
10
 
@@ -37,4 +37,4 @@ require('../chunk-75ZPJI57.cjs');
37
37
 
38
38
 
39
39
 
40
- exports.ChainId = _chunkEYYJ2UZTcjs.ChainId; exports.alchemyJsonRpcUrl = _chunkWRTYGXJMcjs.alchemyJsonRpcUrl; exports.appConfig = _chunkREBIMTSJcjs.appConfig; exports.chainConfigs = _chunkREBIMTSJcjs.chainConfigs; exports.chainId = _chunkADH7F47Tcjs.defaultChainId; exports.config = _chunkREBIMTSJcjs.config; exports.currentDapp = _chunkADH7F47Tcjs.currentDapp; exports.defaultChainId = _chunkADH7F47Tcjs.defaultChainId; exports.getRpcUrls = _chunkWRTYGXJMcjs.getRpcUrls; exports.goldskyBaseUrl = _chunkWRTYGXJMcjs.goldskyBaseUrl; exports.imageBaseUrl = _chunkWRTYGXJMcjs.imageBaseUrl; exports.jsonRpcUrl = _chunkWRTYGXJMcjs.jsonRpcUrl; exports.privateRcpUrl = _chunkWRTYGXJMcjs.privateRcpUrl; exports.publicJsonRpcUrl = _chunkWRTYGXJMcjs.publicJsonRpcUrl;
40
+ exports.ChainId = _chunkEYYJ2UZTcjs.ChainId; exports.alchemyJsonRpcUrl = _chunkWRTYGXJMcjs.alchemyJsonRpcUrl; exports.appConfig = _chunkCD24O7M2cjs.appConfig; exports.chainConfigs = _chunkCD24O7M2cjs.chainConfigs; exports.chainId = _chunkADH7F47Tcjs.defaultChainId; exports.config = _chunkCD24O7M2cjs.config; exports.currentDapp = _chunkADH7F47Tcjs.currentDapp; exports.defaultChainId = _chunkADH7F47Tcjs.defaultChainId; exports.getRpcUrls = _chunkWRTYGXJMcjs.getRpcUrls; exports.goldskyBaseUrl = _chunkWRTYGXJMcjs.goldskyBaseUrl; exports.imageBaseUrl = _chunkWRTYGXJMcjs.imageBaseUrl; exports.jsonRpcUrl = _chunkWRTYGXJMcjs.jsonRpcUrl; exports.privateRcpUrl = _chunkWRTYGXJMcjs.privateRcpUrl; exports.publicJsonRpcUrl = _chunkWRTYGXJMcjs.publicJsonRpcUrl;
@@ -80,7 +80,10 @@ declare const chainConfigs: {
80
80
  readonly name: "Berachain Backend";
81
81
  readonly uri: string;
82
82
  };
83
- readonly beep: null;
83
+ readonly beep: {
84
+ uri: string;
85
+ name: string;
86
+ } | null;
84
87
  readonly bex: {
85
88
  readonly chainName: "BERACHAIN";
86
89
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -506,7 +509,10 @@ declare const config: {
506
509
  readonly name: "Berachain Backend";
507
510
  readonly uri: string;
508
511
  };
509
- readonly beep: null;
512
+ readonly beep: {
513
+ uri: string;
514
+ name: string;
515
+ } | null;
510
516
  readonly bex: {
511
517
  readonly chainName: "BERACHAIN";
512
518
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -80,7 +80,10 @@ declare const chainConfigs: {
80
80
  readonly name: "Berachain Backend";
81
81
  readonly uri: string;
82
82
  };
83
- readonly beep: null;
83
+ readonly beep: {
84
+ uri: string;
85
+ name: string;
86
+ } | null;
84
87
  readonly bex: {
85
88
  readonly chainName: "BERACHAIN";
86
89
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -506,7 +509,10 @@ declare const config: {
506
509
  readonly name: "Berachain Backend";
507
510
  readonly uri: string;
508
511
  };
509
- readonly beep: null;
512
+ readonly beep: {
513
+ uri: string;
514
+ name: string;
515
+ } | null;
510
516
  readonly bex: {
511
517
  readonly chainName: "BERACHAIN";
512
518
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -2,9 +2,9 @@ import {
2
2
  appConfig,
3
3
  chainConfigs,
4
4
  config
5
- } from "../chunk-FOUI63VD.mjs";
5
+ } from "../chunk-POXE63WP.mjs";
6
6
  import "../chunk-4H4HDUCC.mjs";
7
- import "../chunk-HJXRHQST.mjs";
7
+ import "../chunk-WARW3DCH.mjs";
8
8
  import {
9
9
  alchemyJsonRpcUrl,
10
10
  getRpcUrls,
@@ -6,9 +6,9 @@ var _chunk6TL5ZQOMcjs = require('../../chunk-6TL5ZQOM.cjs');
6
6
  var _chunk2JZ7QJEWcjs = require('../../chunk-2JZ7QJEW.cjs');
7
7
 
8
8
 
9
- var _chunkREBIMTSJcjs = require('../../chunk-REBIMTSJ.cjs');
9
+ var _chunkCD24O7M2cjs = require('../../chunk-CD24O7M2.cjs');
10
10
  require('../../chunk-FNTZIXS7.cjs');
11
- require('../../chunk-2BJ55Y5U.cjs');
11
+ require('../../chunk-NC5YZP6P.cjs');
12
12
  require('../../chunk-WRTYGXJM.cjs');
13
13
  require('../../chunk-ADH7F47T.cjs');
14
14
  require('../../chunk-EYYJ2UZT.cjs');
@@ -64,11 +64,11 @@ function withBeraConfig(config, {
64
64
  return [
65
65
  {
66
66
  source: "/ph/static/:path*",
67
- destination: `https://${_chunkREBIMTSJcjs.appConfig.urls.postHog.region}-assets.i.posthog.com/static/:path*`
67
+ destination: `https://${_chunkCD24O7M2cjs.appConfig.urls.postHog.region}-assets.i.posthog.com/static/:path*`
68
68
  },
69
69
  {
70
70
  source: "/ph/:path*",
71
- destination: `https://${_chunkREBIMTSJcjs.appConfig.urls.postHog.region}.i.posthog.com/:path*`
71
+ destination: `https://${_chunkCD24O7M2cjs.appConfig.urls.postHog.region}.i.posthog.com/:path*`
72
72
  }
73
73
  ];
74
74
  }
@@ -6,9 +6,9 @@ import {
6
6
  } from "../../chunk-AP2XG6GJ.mjs";
7
7
  import {
8
8
  appConfig
9
- } from "../../chunk-FOUI63VD.mjs";
9
+ } from "../../chunk-POXE63WP.mjs";
10
10
  import "../../chunk-4H4HDUCC.mjs";
11
- import "../../chunk-HJXRHQST.mjs";
11
+ import "../../chunk-WARW3DCH.mjs";
12
12
  import "../../chunk-BM46XQJA.mjs";
13
13
  import "../../chunk-CAOMAWN5.mjs";
14
14
  import "../../chunk-KJXYSGNH.mjs";
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-REBIMTSJ.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-CD24O7M2.cjs');
2
2
  require('../../chunk-FNTZIXS7.cjs');
3
- require('../../chunk-2BJ55Y5U.cjs');
3
+ require('../../chunk-NC5YZP6P.cjs');
4
4
 
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
- import "../../chunk-FOUI63VD.mjs";
1
+ import "../../chunk-POXE63WP.mjs";
2
2
  import "../../chunk-4H4HDUCC.mjs";
3
- import "../../chunk-HJXRHQST.mjs";
3
+ import "../../chunk-WARW3DCH.mjs";
4
4
  import {
5
5
  alchemyJsonRpcUrl,
6
6
  jsonRpcUrl,
package/dist/mainnet.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2BJ55Y5Ucjs = require('./chunk-2BJ55Y5U.cjs');
3
+ var _chunkNC5YZP6Pcjs = require('./chunk-NC5YZP6P.cjs');
4
4
  require('./chunk-WRTYGXJM.cjs');
5
5
  require('./chunk-ADH7F47T.cjs');
6
6
  require('./chunk-EYYJ2UZT.cjs');
7
7
  require('./chunk-75ZPJI57.cjs');
8
8
 
9
9
 
10
- exports.mainnet = _chunk2BJ55Y5Ucjs.mainnet;
10
+ exports.mainnet = _chunkNC5YZP6Pcjs.mainnet;
@@ -42,7 +42,10 @@ declare const mainnet: {
42
42
  readonly name: "Berachain Backend";
43
43
  readonly uri: string;
44
44
  };
45
- readonly beep: null;
45
+ readonly beep: {
46
+ uri: string;
47
+ name: string;
48
+ } | null;
46
49
  readonly bex: {
47
50
  readonly chainName: "BERACHAIN";
48
51
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
package/dist/mainnet.d.ts CHANGED
@@ -42,7 +42,10 @@ declare const mainnet: {
42
42
  readonly name: "Berachain Backend";
43
43
  readonly uri: string;
44
44
  };
45
- readonly beep: null;
45
+ readonly beep: {
46
+ uri: string;
47
+ name: string;
48
+ } | null;
46
49
  readonly bex: {
47
50
  readonly chainName: "BERACHAIN";
48
51
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
package/dist/mainnet.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mainnet
3
- } from "./chunk-HJXRHQST.mjs";
3
+ } from "./chunk-WARW3DCH.mjs";
4
4
  import "./chunk-BM46XQJA.mjs";
5
5
  import "./chunk-CAOMAWN5.mjs";
6
6
  import "./chunk-KJXYSGNH.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/config",
3
- "version": "0.1.18-beta.1",
3
+ "version": "0.1.18-beta.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",