@berachain/config 0.1.20 → 0.1.21-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/bepolia.cjs +2 -2
  2. package/dist/bepolia.d.cts +1 -12
  3. package/dist/bepolia.d.ts +1 -12
  4. package/dist/bepolia.mjs +1 -1
  5. package/dist/{chunk-6YB3DKEA.mjs → chunk-4RBW7LA7.mjs} +2 -13
  6. package/dist/{chunk-7RKCKAAC.cjs → chunk-BEG3S3AZ.cjs} +4 -4
  7. package/dist/{chunk-NFEXQHYQ.cjs → chunk-EPWUWEWI.cjs} +2 -13
  8. package/dist/{chunk-B3NSVIEM.mjs → chunk-IDZZLN7P.mjs} +2 -2
  9. package/dist/{chunk-4H4HDUCC.mjs → chunk-KPZI7IXR.mjs} +0 -10
  10. package/dist/{chunk-FNTZIXS7.cjs → chunk-MQOVN5NH.cjs} +0 -10
  11. package/dist/index.d.cts +2 -2
  12. package/dist/index.d.ts +2 -2
  13. package/dist/internal/edge-config/index.d.cts +1 -1
  14. package/dist/internal/edge-config/index.d.ts +1 -1
  15. package/dist/internal/header-sources.cjs +5 -7
  16. package/dist/internal/header-sources.mjs +4 -6
  17. package/dist/internal/index.cjs +4 -4
  18. package/dist/internal/index.d.cts +6 -50
  19. package/dist/internal/index.d.ts +6 -50
  20. package/dist/internal/index.mjs +3 -3
  21. package/dist/internal/nextjs/index.cjs +5 -5
  22. package/dist/internal/nextjs/index.d.cts +1 -1
  23. package/dist/internal/nextjs/index.d.ts +1 -1
  24. package/dist/internal/nextjs/index.mjs +3 -3
  25. package/dist/internal/wagmi/index.cjs +3 -3
  26. package/dist/internal/wagmi/index.mjs +3 -3
  27. package/dist/mainnet.cjs +2 -2
  28. package/dist/mainnet.d.cts +3 -14
  29. package/dist/mainnet.d.ts +3 -14
  30. package/dist/mainnet.mjs +1 -1
  31. package/dist/{types-BxSk_WFe.d.ts → types-Drv0VlAi.d.cts} +2 -20
  32. package/dist/{types-BxSk_WFe.d.cts → types-Drv0VlAi.d.ts} +2 -20
  33. package/package.json +1 -1
package/dist/bepolia.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkFNTZIXS7cjs = require('./chunk-FNTZIXS7.cjs');
3
+ var _chunkMQOVN5NHcjs = require('./chunk-MQOVN5NH.cjs');
4
4
  require('./chunk-EYYJ2UZT.cjs');
5
5
  require('./chunk-75ZPJI57.cjs');
6
6
 
7
7
 
8
- exports.bepolia = _chunkFNTZIXS7cjs.bepolia;
8
+ exports.bepolia = _chunkMQOVN5NHcjs.bepolia;
@@ -1,4 +1,4 @@
1
- import { C as ChainId, A as Address } from './types-BxSk_WFe.cjs';
1
+ import { C as ChainId, A as Address } from './types-Drv0VlAi.cjs';
2
2
 
3
3
  declare const bepolia: {
4
4
  readonly chainId: ChainId.BEPOLIA;
@@ -38,10 +38,6 @@ declare const bepolia: {
38
38
  "x-api-key": string;
39
39
  } | undefined;
40
40
  };
41
- readonly backend: {
42
- readonly name: "Berachain Backend";
43
- readonly uri: string;
44
- };
45
41
  readonly beep: {
46
42
  readonly name: "Berachain Beep";
47
43
  readonly uri: string;
@@ -69,13 +65,6 @@ declare const bepolia: {
69
65
  readonly honey: {
70
66
  readonly name: "Honey";
71
67
  readonly url: "https://bepolia.honey.berachain.com";
72
- readonly subgraph: {
73
- readonly name: "honey-subgraph";
74
- readonly uri: string;
75
- readonly headers: {
76
- Authorization: string;
77
- } | undefined;
78
- };
79
68
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
80
69
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
81
70
  readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
package/dist/bepolia.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as ChainId, A as Address } from './types-BxSk_WFe.js';
1
+ import { C as ChainId, A as Address } from './types-Drv0VlAi.js';
2
2
 
3
3
  declare const bepolia: {
4
4
  readonly chainId: ChainId.BEPOLIA;
@@ -38,10 +38,6 @@ declare const bepolia: {
38
38
  "x-api-key": string;
39
39
  } | undefined;
40
40
  };
41
- readonly backend: {
42
- readonly name: "Berachain Backend";
43
- readonly uri: string;
44
- };
45
41
  readonly beep: {
46
42
  readonly name: "Berachain Beep";
47
43
  readonly uri: string;
@@ -69,13 +65,6 @@ declare const bepolia: {
69
65
  readonly honey: {
70
66
  readonly name: "Honey";
71
67
  readonly url: "https://bepolia.honey.berachain.com";
72
- readonly subgraph: {
73
- readonly name: "honey-subgraph";
74
- readonly uri: string;
75
- readonly headers: {
76
- Authorization: string;
77
- } | undefined;
78
- };
79
68
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
80
69
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
81
70
  readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
package/dist/bepolia.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  bepolia
3
- } from "./chunk-4H4HDUCC.mjs";
3
+ } from "./chunk-KPZI7IXR.mjs";
4
4
  import "./chunk-KJXYSGNH.mjs";
5
5
  import "./chunk-7P6ASYW6.mjs";
6
6
  export {
@@ -40,15 +40,10 @@ var mainnet = {
40
40
  "x-api-key": process.env.PRIVATE_80094_BEX_API_KEY
41
41
  } : void 0
42
42
  },
43
- backend: {
44
- name: "Berachain Backend",
45
- uri: process.env.NEXT_PUBLIC_80094_BACKEND_API_URL ?? "https://api-prod-ff16.up.railway.app"
46
- },
47
- // No beep deployment on mainnet yet; falls back to the Railway `backend`.
48
- beep: process.env.NEXT_PUBLIC_80094_BEEP_API_URL ? {
43
+ beep: {
49
44
  uri: process.env.NEXT_PUBLIC_80094_BEEP_API_URL || "https://beep.berachain.com",
50
45
  name: "Berachain Beep"
51
- } : null,
46
+ },
52
47
  bex: {
53
48
  chainName: "BERACHAIN",
54
49
  vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B",
@@ -72,12 +67,6 @@ var mainnet = {
72
67
  honey: {
73
68
  name: "Honey",
74
69
  url: "https://honey.berachain.com",
75
- // Same pattern as bend.whiskApi: non-public env values are only available server-side.
76
- subgraph: {
77
- name: "honey-subgraph",
78
- uri: process.env.PRIVATE_80094_HONEY_SUBGRAPH_UPSTREAM ?? "https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/honey-subgraph/mainnet-v1.2.1/gn",
79
- headers: process.env.ORMI_API_KEY ? { Authorization: `Bearer ${process.env.ORMI_API_KEY}` } : void 0
80
- },
81
70
  factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",
82
71
  pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",
83
72
  pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95",
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkFNTZIXS7cjs = require('./chunk-FNTZIXS7.cjs');
3
+ var _chunkMQOVN5NHcjs = require('./chunk-MQOVN5NH.cjs');
4
4
 
5
5
 
6
- var _chunkNFEXQHYQcjs = require('./chunk-NFEXQHYQ.cjs');
6
+ var _chunkEPWUWEWIcjs = require('./chunk-EPWUWEWI.cjs');
7
7
 
8
8
 
9
9
 
@@ -14,8 +14,8 @@ var _chunkADH7F47Tcjs = require('./chunk-ADH7F47T.cjs');
14
14
 
15
15
  // src/internal/index.ts
16
16
  var chainConfigs = {
17
- [80094 /* MAINNET */]: _chunkNFEXQHYQcjs.mainnet,
18
- [80069 /* BEPOLIA */]: _chunkFNTZIXS7cjs.bepolia
17
+ [80094 /* MAINNET */]: _chunkEPWUWEWIcjs.mainnet,
18
+ [80069 /* BEPOLIA */]: _chunkMQOVN5NHcjs.bepolia
19
19
  };
20
20
  var chainConfig = chainConfigs[_chunkADH7F47Tcjs.defaultChainId];
21
21
  var posthogDataRegion = _nullishCoalesce(process.env.NEXT_PUBLIC_PH_DATA_CENTER, () => ( "eu"));
@@ -40,15 +40,10 @@ var mainnet = {
40
40
  "x-api-key": process.env.PRIVATE_80094_BEX_API_KEY
41
41
  } : void 0
42
42
  },
43
- backend: {
44
- name: "Berachain Backend",
45
- uri: _nullishCoalesce(process.env.NEXT_PUBLIC_80094_BACKEND_API_URL, () => ( "https://api-prod-ff16.up.railway.app"))
46
- },
47
- // No beep deployment on mainnet yet; falls back to the Railway `backend`.
48
- beep: process.env.NEXT_PUBLIC_80094_BEEP_API_URL ? {
43
+ beep: {
49
44
  uri: process.env.NEXT_PUBLIC_80094_BEEP_API_URL || "https://beep.berachain.com",
50
45
  name: "Berachain Beep"
51
- } : null,
46
+ },
52
47
  bex: {
53
48
  chainName: "BERACHAIN",
54
49
  vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B",
@@ -72,12 +67,6 @@ var mainnet = {
72
67
  honey: {
73
68
  name: "Honey",
74
69
  url: "https://honey.berachain.com",
75
- // Same pattern as bend.whiskApi: non-public env values are only available server-side.
76
- subgraph: {
77
- name: "honey-subgraph",
78
- uri: _nullishCoalesce(process.env.PRIVATE_80094_HONEY_SUBGRAPH_UPSTREAM, () => ( "https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/honey-subgraph/mainnet-v1.2.1/gn")),
79
- headers: process.env.ORMI_API_KEY ? { Authorization: `Bearer ${process.env.ORMI_API_KEY}` } : void 0
80
- },
81
70
  factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",
82
71
  pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",
83
72
  pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95",
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  bepolia
3
- } from "./chunk-4H4HDUCC.mjs";
3
+ } from "./chunk-KPZI7IXR.mjs";
4
4
  import {
5
5
  mainnet
6
- } from "./chunk-6YB3DKEA.mjs";
6
+ } from "./chunk-4RBW7LA7.mjs";
7
7
  import {
8
8
  defaultChainId,
9
9
  isLocalHost,
@@ -36,10 +36,6 @@ var bepolia = {
36
36
  "x-api-key": process.env.PRIVATE_80069_BEX_API_KEY
37
37
  } : void 0
38
38
  },
39
- backend: {
40
- name: "Berachain Backend",
41
- uri: process.env.NEXT_PUBLIC_80069_BACKEND_API_URL ?? "https://backend-production-351b.up.railway.app"
42
- },
43
39
  beep: {
44
40
  name: "Berachain Beep",
45
41
  uri: process.env.NEXT_PUBLIC_80069_BEEP_API_URL ?? "https://beep.testnet.berachain.com"
@@ -67,12 +63,6 @@ var bepolia = {
67
63
  honey: {
68
64
  name: "Honey",
69
65
  url: "https://bepolia.honey.berachain.com",
70
- // Same pattern as bend.whiskApi: non-public env values are only available server-side.
71
- subgraph: {
72
- name: "honey-subgraph",
73
- uri: process.env.PRIVATE_80069_HONEY_SUBGRAPH_UPSTREAM ?? "https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/honey-subgraph/bepolia-v1.2.1/gn",
74
- headers: process.env.ORMI_API_KEY ? { Authorization: `Bearer ${process.env.ORMI_API_KEY}` } : void 0
75
- },
76
66
  factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",
77
67
  pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",
78
68
  pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB",
@@ -36,10 +36,6 @@ var bepolia = {
36
36
  "x-api-key": process.env.PRIVATE_80069_BEX_API_KEY
37
37
  } : void 0
38
38
  },
39
- backend: {
40
- name: "Berachain Backend",
41
- uri: _nullishCoalesce(process.env.NEXT_PUBLIC_80069_BACKEND_API_URL, () => ( "https://backend-production-351b.up.railway.app"))
42
- },
43
39
  beep: {
44
40
  name: "Berachain Beep",
45
41
  uri: _nullishCoalesce(process.env.NEXT_PUBLIC_80069_BEEP_API_URL, () => ( "https://beep.testnet.berachain.com"))
@@ -67,12 +63,6 @@ var bepolia = {
67
63
  honey: {
68
64
  name: "Honey",
69
65
  url: "https://bepolia.honey.berachain.com",
70
- // Same pattern as bend.whiskApi: non-public env values are only available server-side.
71
- subgraph: {
72
- name: "honey-subgraph",
73
- uri: _nullishCoalesce(process.env.PRIVATE_80069_HONEY_SUBGRAPH_UPSTREAM, () => ( "https://api.subgraph.ormilabs.com/api/private/948207bc-bbb5-47e7-969a-06f9a6f35af3/subgraphs/honey-subgraph/bepolia-v1.2.1/gn")),
74
- headers: process.env.ORMI_API_KEY ? { Authorization: `Bearer ${process.env.ORMI_API_KEY}` } : void 0
75
- },
76
66
  factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401",
77
67
  pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943",
78
68
  pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB",
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { H as HttpLink } from './types-BxSk_WFe.cjs';
2
- export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-BxSk_WFe.cjs';
1
+ import { H as HttpLink } from './types-Drv0VlAi.cjs';
2
+ export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-Drv0VlAi.cjs';
3
3
 
4
4
  declare function getUriFromLink(link: HttpLink): string;
5
5
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { H as HttpLink } from './types-BxSk_WFe.js';
2
- export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-BxSk_WFe.js';
1
+ import { H as HttpLink } from './types-Drv0VlAi.js';
2
+ export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-Drv0VlAi.js';
3
3
 
4
4
  declare function getUriFromLink(link: HttpLink): string;
5
5
 
@@ -1,4 +1,4 @@
1
- import { C as ChainId, a as AppName$1 } from '../../types-BxSk_WFe.cjs';
1
+ import { C as ChainId, a as AppName$1 } from '../../types-Drv0VlAi.cjs';
2
2
 
3
3
  /**
4
4
  * This file was automatically generated by json-schema-to-typescript.
@@ -1,4 +1,4 @@
1
- import { C as ChainId, a as AppName$1 } from '../../types-BxSk_WFe.js';
1
+ import { C as ChainId, a as AppName$1 } from '../../types-Drv0VlAi.js';
2
2
 
3
3
  /**
4
4
  * This file was automatically generated by json-schema-to-typescript.
@@ -7,9 +7,9 @@ var _chunkONKAV4AGcjs = require('../chunk-ONKAV4AG.cjs');
7
7
  var _chunkYT7WZDGIcjs = require('../chunk-YT7WZDGI.cjs');
8
8
 
9
9
 
10
- var _chunk7RKCKAACcjs = require('../chunk-7RKCKAAC.cjs');
11
- require('../chunk-FNTZIXS7.cjs');
12
- require('../chunk-NFEXQHYQ.cjs');
10
+ var _chunkBEG3S3AZcjs = require('../chunk-BEG3S3AZ.cjs');
11
+ require('../chunk-MQOVN5NH.cjs');
12
+ require('../chunk-EPWUWEWI.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 = _chunk7RKCKAACcjs.chainConfigs[_chunkADH7F47Tcjs.defaultChainId];
70
+ const config = _chunkBEG3S3AZcjs.chainConfigs[_chunkADH7F47Tcjs.defaultChainId];
71
71
  const connectionSources = [
72
72
  // csp reporting
73
73
  "https://*.sentry.io/",
@@ -133,9 +133,7 @@ function getContentSecurityPolicy({
133
133
  "https://mainnet.base.org/",
134
134
  // enso api
135
135
  "https://api.enso.finance/",
136
- "wss://www.walletlink.org/rpc",
137
- // backend
138
- _chunkYT7WZDGIcjs.getUriFromLink.call(void 0, config.backend)
136
+ "wss://www.walletlink.org/rpc"
139
137
  ].concat(_nullishCoalesce(args.connectionSources, () => ( []))).filter((link) => {
140
138
  if (!link) {
141
139
  return false;
@@ -7,9 +7,9 @@ import {
7
7
  } from "../chunk-LALEUPWL.mjs";
8
8
  import {
9
9
  chainConfigs
10
- } from "../chunk-B3NSVIEM.mjs";
11
- import "../chunk-4H4HDUCC.mjs";
12
- import "../chunk-6YB3DKEA.mjs";
10
+ } from "../chunk-IDZZLN7P.mjs";
11
+ import "../chunk-KPZI7IXR.mjs";
12
+ import "../chunk-4RBW7LA7.mjs";
13
13
  import {
14
14
  alchemyJsonRpcUrl,
15
15
  goldskyBaseUrl,
@@ -133,9 +133,7 @@ function getContentSecurityPolicy({
133
133
  "https://mainnet.base.org/",
134
134
  // enso api
135
135
  "https://api.enso.finance/",
136
- "wss://www.walletlink.org/rpc",
137
- // backend
138
- getUriFromLink(config.backend)
136
+ "wss://www.walletlink.org/rpc"
139
137
  ].concat(args.connectionSources ?? []).filter((link) => {
140
138
  if (!link) {
141
139
  return false;
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk7RKCKAACcjs = require('../chunk-7RKCKAAC.cjs');
6
- require('../chunk-FNTZIXS7.cjs');
7
- require('../chunk-NFEXQHYQ.cjs');
5
+ var _chunkBEG3S3AZcjs = require('../chunk-BEG3S3AZ.cjs');
6
+ require('../chunk-MQOVN5NH.cjs');
7
+ require('../chunk-EPWUWEWI.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 = _chunk7RKCKAACcjs.appConfig; exports.chainConfigs = _chunk7RKCKAACcjs.chainConfigs; exports.chainId = _chunkADH7F47Tcjs.defaultChainId; exports.config = _chunk7RKCKAACcjs.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 = _chunkBEG3S3AZcjs.appConfig; exports.chainConfigs = _chunkBEG3S3AZcjs.chainConfigs; exports.chainId = _chunkADH7F47Tcjs.defaultChainId; exports.config = _chunkBEG3S3AZcjs.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;
@@ -1,5 +1,5 @@
1
- import { C as ChainId, a as AppName, A as Address } from '../types-BxSk_WFe.cjs';
2
- export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-BxSk_WFe.cjs';
1
+ import { C as ChainId, a as AppName, A as Address } from '../types-Drv0VlAi.cjs';
2
+ export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-Drv0VlAi.cjs';
3
3
 
4
4
  declare const defaultChainId: ChainId;
5
5
 
@@ -76,14 +76,10 @@ declare const chainConfigs: {
76
76
  "x-api-key": string;
77
77
  } | undefined;
78
78
  };
79
- readonly backend: {
80
- readonly name: "Berachain Backend";
79
+ readonly beep: {
81
80
  readonly uri: string;
81
+ readonly name: "Berachain Beep";
82
82
  };
83
- readonly beep: {
84
- uri: string;
85
- name: string;
86
- } | null;
87
83
  readonly bex: {
88
84
  readonly chainName: "BERACHAIN";
89
85
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -107,13 +103,6 @@ declare const chainConfigs: {
107
103
  readonly honey: {
108
104
  readonly name: "Honey";
109
105
  readonly url: "https://honey.berachain.com";
110
- readonly subgraph: {
111
- readonly name: "honey-subgraph";
112
- readonly uri: string;
113
- readonly headers: {
114
- Authorization: string;
115
- } | undefined;
116
- };
117
106
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
118
107
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
119
108
  readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
@@ -237,10 +226,6 @@ declare const chainConfigs: {
237
226
  "x-api-key": string;
238
227
  } | undefined;
239
228
  };
240
- readonly backend: {
241
- readonly name: "Berachain Backend";
242
- readonly uri: string;
243
- };
244
229
  readonly beep: {
245
230
  readonly name: "Berachain Beep";
246
231
  readonly uri: string;
@@ -268,13 +253,6 @@ declare const chainConfigs: {
268
253
  readonly honey: {
269
254
  readonly name: "Honey";
270
255
  readonly url: "https://bepolia.honey.berachain.com";
271
- readonly subgraph: {
272
- readonly name: "honey-subgraph";
273
- readonly uri: string;
274
- readonly headers: {
275
- Authorization: string;
276
- } | undefined;
277
- };
278
256
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
279
257
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
280
258
  readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
@@ -505,14 +483,10 @@ declare const config: {
505
483
  "x-api-key": string;
506
484
  } | undefined;
507
485
  };
508
- readonly backend: {
509
- readonly name: "Berachain Backend";
486
+ readonly beep: {
510
487
  readonly uri: string;
488
+ readonly name: "Berachain Beep";
511
489
  };
512
- readonly beep: {
513
- uri: string;
514
- name: string;
515
- } | null;
516
490
  readonly bex: {
517
491
  readonly chainName: "BERACHAIN";
518
492
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -536,13 +510,6 @@ declare const config: {
536
510
  readonly honey: {
537
511
  readonly name: "Honey";
538
512
  readonly url: "https://honey.berachain.com";
539
- readonly subgraph: {
540
- readonly name: "honey-subgraph";
541
- readonly uri: string;
542
- readonly headers: {
543
- Authorization: string;
544
- } | undefined;
545
- };
546
513
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
547
514
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
548
515
  readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
@@ -665,10 +632,6 @@ declare const config: {
665
632
  "x-api-key": string;
666
633
  } | undefined;
667
634
  };
668
- readonly backend: {
669
- readonly name: "Berachain Backend";
670
- readonly uri: string;
671
- };
672
635
  readonly beep: {
673
636
  readonly name: "Berachain Beep";
674
637
  readonly uri: string;
@@ -696,13 +659,6 @@ declare const config: {
696
659
  readonly honey: {
697
660
  readonly name: "Honey";
698
661
  readonly url: "https://bepolia.honey.berachain.com";
699
- readonly subgraph: {
700
- readonly name: "honey-subgraph";
701
- readonly uri: string;
702
- readonly headers: {
703
- Authorization: string;
704
- } | undefined;
705
- };
706
662
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
707
663
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
708
664
  readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
@@ -1,5 +1,5 @@
1
- import { C as ChainId, a as AppName, A as Address } from '../types-BxSk_WFe.js';
2
- export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-BxSk_WFe.js';
1
+ import { C as ChainId, a as AppName, A as Address } from '../types-Drv0VlAi.js';
2
+ export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-Drv0VlAi.js';
3
3
 
4
4
  declare const defaultChainId: ChainId;
5
5
 
@@ -76,14 +76,10 @@ declare const chainConfigs: {
76
76
  "x-api-key": string;
77
77
  } | undefined;
78
78
  };
79
- readonly backend: {
80
- readonly name: "Berachain Backend";
79
+ readonly beep: {
81
80
  readonly uri: string;
81
+ readonly name: "Berachain Beep";
82
82
  };
83
- readonly beep: {
84
- uri: string;
85
- name: string;
86
- } | null;
87
83
  readonly bex: {
88
84
  readonly chainName: "BERACHAIN";
89
85
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -107,13 +103,6 @@ declare const chainConfigs: {
107
103
  readonly honey: {
108
104
  readonly name: "Honey";
109
105
  readonly url: "https://honey.berachain.com";
110
- readonly subgraph: {
111
- readonly name: "honey-subgraph";
112
- readonly uri: string;
113
- readonly headers: {
114
- Authorization: string;
115
- } | undefined;
116
- };
117
106
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
118
107
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
119
108
  readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
@@ -237,10 +226,6 @@ declare const chainConfigs: {
237
226
  "x-api-key": string;
238
227
  } | undefined;
239
228
  };
240
- readonly backend: {
241
- readonly name: "Berachain Backend";
242
- readonly uri: string;
243
- };
244
229
  readonly beep: {
245
230
  readonly name: "Berachain Beep";
246
231
  readonly uri: string;
@@ -268,13 +253,6 @@ declare const chainConfigs: {
268
253
  readonly honey: {
269
254
  readonly name: "Honey";
270
255
  readonly url: "https://bepolia.honey.berachain.com";
271
- readonly subgraph: {
272
- readonly name: "honey-subgraph";
273
- readonly uri: string;
274
- readonly headers: {
275
- Authorization: string;
276
- } | undefined;
277
- };
278
256
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
279
257
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
280
258
  readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
@@ -505,14 +483,10 @@ declare const config: {
505
483
  "x-api-key": string;
506
484
  } | undefined;
507
485
  };
508
- readonly backend: {
509
- readonly name: "Berachain Backend";
486
+ readonly beep: {
510
487
  readonly uri: string;
488
+ readonly name: "Berachain Beep";
511
489
  };
512
- readonly beep: {
513
- uri: string;
514
- name: string;
515
- } | null;
516
490
  readonly bex: {
517
491
  readonly chainName: "BERACHAIN";
518
492
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -536,13 +510,6 @@ declare const config: {
536
510
  readonly honey: {
537
511
  readonly name: "Honey";
538
512
  readonly url: "https://honey.berachain.com";
539
- readonly subgraph: {
540
- readonly name: "honey-subgraph";
541
- readonly uri: string;
542
- readonly headers: {
543
- Authorization: string;
544
- } | undefined;
545
- };
546
513
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
547
514
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
548
515
  readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
@@ -665,10 +632,6 @@ declare const config: {
665
632
  "x-api-key": string;
666
633
  } | undefined;
667
634
  };
668
- readonly backend: {
669
- readonly name: "Berachain Backend";
670
- readonly uri: string;
671
- };
672
635
  readonly beep: {
673
636
  readonly name: "Berachain Beep";
674
637
  readonly uri: string;
@@ -696,13 +659,6 @@ declare const config: {
696
659
  readonly honey: {
697
660
  readonly name: "Honey";
698
661
  readonly url: "https://bepolia.honey.berachain.com";
699
- readonly subgraph: {
700
- readonly name: "honey-subgraph";
701
- readonly uri: string;
702
- readonly headers: {
703
- Authorization: string;
704
- } | undefined;
705
- };
706
662
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
707
663
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
708
664
  readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
@@ -2,9 +2,9 @@ import {
2
2
  appConfig,
3
3
  chainConfigs,
4
4
  config
5
- } from "../chunk-B3NSVIEM.mjs";
6
- import "../chunk-4H4HDUCC.mjs";
7
- import "../chunk-6YB3DKEA.mjs";
5
+ } from "../chunk-IDZZLN7P.mjs";
6
+ import "../chunk-KPZI7IXR.mjs";
7
+ import "../chunk-4RBW7LA7.mjs";
8
8
  import {
9
9
  alchemyJsonRpcUrl,
10
10
  getRpcUrls,
@@ -6,9 +6,9 @@ var _chunkUOFOM6N7cjs = require('../../chunk-UOFOM6N7.cjs');
6
6
  var _chunkOA5M6XYFcjs = require('../../chunk-OA5M6XYF.cjs');
7
7
 
8
8
 
9
- var _chunk7RKCKAACcjs = require('../../chunk-7RKCKAAC.cjs');
10
- require('../../chunk-FNTZIXS7.cjs');
11
- require('../../chunk-NFEXQHYQ.cjs');
9
+ var _chunkBEG3S3AZcjs = require('../../chunk-BEG3S3AZ.cjs');
10
+ require('../../chunk-MQOVN5NH.cjs');
11
+ require('../../chunk-EPWUWEWI.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://${_chunk7RKCKAACcjs.appConfig.urls.postHog.region}-assets.i.posthog.com/static/:path*`
67
+ destination: `https://${_chunkBEG3S3AZcjs.appConfig.urls.postHog.region}-assets.i.posthog.com/static/:path*`
68
68
  },
69
69
  {
70
70
  source: "/ph/:path*",
71
- destination: `https://${_chunk7RKCKAACcjs.appConfig.urls.postHog.region}.i.posthog.com/:path*`
71
+ destination: `https://${_chunkBEG3S3AZcjs.appConfig.urls.postHog.region}.i.posthog.com/:path*`
72
72
  }
73
73
  ];
74
74
  }
@@ -1,5 +1,5 @@
1
1
  import { NextConfig } from 'next';
2
- import { a as AppName } from '../../types-BxSk_WFe.cjs';
2
+ import { a as AppName } from '../../types-Drv0VlAi.cjs';
3
3
 
4
4
  /**
5
5
  * The images config for Bera.
@@ -1,5 +1,5 @@
1
1
  import { NextConfig } from 'next';
2
- import { a as AppName } from '../../types-BxSk_WFe.js';
2
+ import { a as AppName } from '../../types-Drv0VlAi.js';
3
3
 
4
4
  /**
5
5
  * The images config for Bera.
@@ -6,9 +6,9 @@ import {
6
6
  } from "../../chunk-4WAGOEXT.mjs";
7
7
  import {
8
8
  appConfig
9
- } from "../../chunk-B3NSVIEM.mjs";
10
- import "../../chunk-4H4HDUCC.mjs";
11
- import "../../chunk-6YB3DKEA.mjs";
9
+ } from "../../chunk-IDZZLN7P.mjs";
10
+ import "../../chunk-KPZI7IXR.mjs";
11
+ import "../../chunk-4RBW7LA7.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-7RKCKAAC.cjs');
2
- require('../../chunk-FNTZIXS7.cjs');
3
- require('../../chunk-NFEXQHYQ.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-BEG3S3AZ.cjs');
2
+ require('../../chunk-MQOVN5NH.cjs');
3
+ require('../../chunk-EPWUWEWI.cjs');
4
4
 
5
5
 
6
6
 
@@ -1,6 +1,6 @@
1
- import "../../chunk-B3NSVIEM.mjs";
2
- import "../../chunk-4H4HDUCC.mjs";
3
- import "../../chunk-6YB3DKEA.mjs";
1
+ import "../../chunk-IDZZLN7P.mjs";
2
+ import "../../chunk-KPZI7IXR.mjs";
3
+ import "../../chunk-4RBW7LA7.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 _chunkNFEXQHYQcjs = require('./chunk-NFEXQHYQ.cjs');
3
+ var _chunkEPWUWEWIcjs = require('./chunk-EPWUWEWI.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 = _chunkNFEXQHYQcjs.mainnet;
10
+ exports.mainnet = _chunkEPWUWEWIcjs.mainnet;
@@ -1,4 +1,4 @@
1
- import { C as ChainId } from './types-BxSk_WFe.cjs';
1
+ import { C as ChainId } from './types-Drv0VlAi.cjs';
2
2
 
3
3
  declare const mainnet: {
4
4
  readonly chainId: ChainId.MAINNET;
@@ -38,14 +38,10 @@ declare const mainnet: {
38
38
  "x-api-key": string;
39
39
  } | undefined;
40
40
  };
41
- readonly backend: {
42
- readonly name: "Berachain Backend";
41
+ readonly beep: {
43
42
  readonly uri: string;
43
+ readonly name: "Berachain Beep";
44
44
  };
45
- readonly beep: {
46
- uri: string;
47
- name: string;
48
- } | null;
49
45
  readonly bex: {
50
46
  readonly chainName: "BERACHAIN";
51
47
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -69,13 +65,6 @@ declare const mainnet: {
69
65
  readonly honey: {
70
66
  readonly name: "Honey";
71
67
  readonly url: "https://honey.berachain.com";
72
- readonly subgraph: {
73
- readonly name: "honey-subgraph";
74
- readonly uri: string;
75
- readonly headers: {
76
- Authorization: string;
77
- } | undefined;
78
- };
79
68
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
80
69
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
81
70
  readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
package/dist/mainnet.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { C as ChainId } from './types-BxSk_WFe.js';
1
+ import { C as ChainId } from './types-Drv0VlAi.js';
2
2
 
3
3
  declare const mainnet: {
4
4
  readonly chainId: ChainId.MAINNET;
@@ -38,14 +38,10 @@ declare const mainnet: {
38
38
  "x-api-key": string;
39
39
  } | undefined;
40
40
  };
41
- readonly backend: {
42
- readonly name: "Berachain Backend";
41
+ readonly beep: {
43
42
  readonly uri: string;
43
+ readonly name: "Berachain Beep";
44
44
  };
45
- readonly beep: {
46
- uri: string;
47
- name: string;
48
- } | null;
49
45
  readonly bex: {
50
46
  readonly chainName: "BERACHAIN";
51
47
  readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
@@ -69,13 +65,6 @@ declare const mainnet: {
69
65
  readonly honey: {
70
66
  readonly name: "Honey";
71
67
  readonly url: "https://honey.berachain.com";
72
- readonly subgraph: {
73
- readonly name: "honey-subgraph";
74
- readonly uri: string;
75
- readonly headers: {
76
- Authorization: string;
77
- } | undefined;
78
- };
79
68
  readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
80
69
  readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
81
70
  readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
package/dist/mainnet.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mainnet
3
- } from "./chunk-6YB3DKEA.mjs";
3
+ } from "./chunk-4RBW7LA7.mjs";
4
4
  import "./chunk-BM46XQJA.mjs";
5
5
  import "./chunk-CAOMAWN5.mjs";
6
6
  import "./chunk-KJXYSGNH.mjs";
@@ -63,21 +63,9 @@ interface BeraConfig {
63
63
  */
64
64
  api: HttpLink;
65
65
  /**
66
- * The backend endpoint for the chain. Used to fetch data from backend services.
67
- *
68
- * @deprecated Prefer `beep`, which supersedes this Railway deployment. Callers
69
- * should fall back to `backend` only when `beep` is `null` (e.g. mainnet for
70
- * now). Note the two serve different route shapes: `backend` at the root,
71
- * `beep` under `/v0/*`.
72
- */
73
- backend: HttpLink;
74
- /**
75
- * The next-generation backend ("beep"). Serves the same data as `backend`
76
- * but under `/v0/*` routes with a slightly different schema. Replaces the
77
- * Railway `backend` deployment where set; `null` on chains that have not
78
- * migrated yet (e.g. mainnet for now).
66
+ * The next-generation backend ("beep").
79
67
  */
80
- beep: HttpLink | null;
68
+ beep: HttpLink;
81
69
  /**
82
70
  * The address of the deposit contract for the chain.
83
71
  */
@@ -160,12 +148,6 @@ interface BeraConfig {
160
148
  */
161
149
  pythOracle: Address;
162
150
  token: Address;
163
- /**
164
- * ORMI upstream link (uri + name + headers) for codegen, server Apollo,
165
- * and typed `/api/honey/*` endpoints. Same pattern as `bend.whiskApi`:
166
- * non-public env values resolve to `undefined` in browser builds.
167
- */
168
- subgraph: HttpLink;
169
151
  };
170
152
  governance: {
171
153
  timelock: Address;
@@ -63,21 +63,9 @@ interface BeraConfig {
63
63
  */
64
64
  api: HttpLink;
65
65
  /**
66
- * The backend endpoint for the chain. Used to fetch data from backend services.
67
- *
68
- * @deprecated Prefer `beep`, which supersedes this Railway deployment. Callers
69
- * should fall back to `backend` only when `beep` is `null` (e.g. mainnet for
70
- * now). Note the two serve different route shapes: `backend` at the root,
71
- * `beep` under `/v0/*`.
72
- */
73
- backend: HttpLink;
74
- /**
75
- * The next-generation backend ("beep"). Serves the same data as `backend`
76
- * but under `/v0/*` routes with a slightly different schema. Replaces the
77
- * Railway `backend` deployment where set; `null` on chains that have not
78
- * migrated yet (e.g. mainnet for now).
66
+ * The next-generation backend ("beep").
79
67
  */
80
- beep: HttpLink | null;
68
+ beep: HttpLink;
81
69
  /**
82
70
  * The address of the deposit contract for the chain.
83
71
  */
@@ -160,12 +148,6 @@ interface BeraConfig {
160
148
  */
161
149
  pythOracle: Address;
162
150
  token: Address;
163
- /**
164
- * ORMI upstream link (uri + name + headers) for codegen, server Apollo,
165
- * and typed `/api/honey/*` endpoints. Same pattern as `bend.whiskApi`:
166
- * non-public env values resolve to `undefined` in browser builds.
167
- */
168
- subgraph: HttpLink;
169
151
  };
170
152
  governance: {
171
153
  timelock: Address;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@berachain/config",
3
- "version": "0.1.20",
3
+ "version": "0.1.21-beta.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",