@berachain/config 0.1.17-beta.2 → 0.1.17
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 +2 -2
- package/dist/bepolia.d.cts +5 -1
- package/dist/bepolia.d.ts +5 -1
- package/dist/bepolia.mjs +1 -1
- package/dist/{chunk-H46TSBUU.mjs → chunk-3WEUP5PS.mjs} +4 -0
- package/dist/{chunk-GAWUMYXD.mjs → chunk-6YBUREJO.mjs} +2 -2
- package/dist/{chunk-H5YCYQVC.cjs → chunk-I6XMSAEF.cjs} +2 -0
- package/dist/{chunk-AYEL32TF.cjs → chunk-II7OBVKS.cjs} +4 -0
- package/dist/{chunk-IH4TWV4K.mjs → chunk-NF2RCS7R.mjs} +2 -0
- package/dist/{chunk-2JYQYU2R.cjs → chunk-TPIUXUTW.cjs} +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/internal/edge-config/index.d.cts +1 -1
- package/dist/internal/edge-config/index.d.ts +1 -1
- package/dist/internal/header-sources.cjs +4 -4
- package/dist/internal/header-sources.mjs +3 -3
- package/dist/internal/index.cjs +4 -4
- package/dist/internal/index.d.cts +12 -2
- package/dist/internal/index.d.ts +12 -2
- package/dist/internal/index.mjs +3 -3
- package/dist/internal/nextjs/index.cjs +5 -5
- package/dist/internal/nextjs/index.d.cts +1 -1
- package/dist/internal/nextjs/index.d.ts +1 -1
- package/dist/internal/nextjs/index.mjs +3 -3
- package/dist/internal/sentry/sentry.client.config.cjs +9 -1
- package/dist/internal/sentry/sentry.client.config.mjs +9 -1
- package/dist/internal/wagmi/index.cjs +3 -3
- package/dist/internal/wagmi/index.mjs +3 -3
- package/dist/mainnet.cjs +2 -2
- package/dist/mainnet.d.cts +2 -1
- package/dist/mainnet.d.ts +2 -1
- package/dist/mainnet.mjs +1 -1
- package/dist/{types-BNeCQ8r4.d.ts → types-CZOUg5g4.d.cts} +12 -0
- package/dist/{types-BNeCQ8r4.d.cts → types-CZOUg5g4.d.ts} +12 -0
- 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
|
|
3
|
+
var _chunkII7OBVKScjs = require('./chunk-II7OBVKS.cjs');
|
|
4
4
|
require('./chunk-EYYJ2UZT.cjs');
|
|
5
5
|
require('./chunk-75ZPJI57.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.bepolia =
|
|
8
|
+
exports.bepolia = _chunkII7OBVKScjs.bepolia;
|
package/dist/bepolia.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId, A as Address } from './types-
|
|
1
|
+
import { C as ChainId, A as Address } from './types-CZOUg5g4.cjs';
|
|
2
2
|
|
|
3
3
|
declare const bepolia: {
|
|
4
4
|
readonly chainId: ChainId.BEPOLIA;
|
|
@@ -42,6 +42,10 @@ declare const bepolia: {
|
|
|
42
42
|
readonly name: "Berachain Backend";
|
|
43
43
|
readonly uri: string;
|
|
44
44
|
};
|
|
45
|
+
readonly beep: {
|
|
46
|
+
readonly name: "Berachain Beep";
|
|
47
|
+
readonly uri: string;
|
|
48
|
+
};
|
|
45
49
|
readonly bex: {
|
|
46
50
|
readonly chainName: "BEPOLIA";
|
|
47
51
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
package/dist/bepolia.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId, A as Address } from './types-
|
|
1
|
+
import { C as ChainId, A as Address } from './types-CZOUg5g4.js';
|
|
2
2
|
|
|
3
3
|
declare const bepolia: {
|
|
4
4
|
readonly chainId: ChainId.BEPOLIA;
|
|
@@ -42,6 +42,10 @@ declare const bepolia: {
|
|
|
42
42
|
readonly name: "Berachain Backend";
|
|
43
43
|
readonly uri: string;
|
|
44
44
|
};
|
|
45
|
+
readonly beep: {
|
|
46
|
+
readonly name: "Berachain Beep";
|
|
47
|
+
readonly uri: string;
|
|
48
|
+
};
|
|
45
49
|
readonly bex: {
|
|
46
50
|
readonly chainName: "BEPOLIA";
|
|
47
51
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
package/dist/bepolia.mjs
CHANGED
|
@@ -40,6 +40,10 @@ var bepolia = {
|
|
|
40
40
|
name: "Berachain Backend",
|
|
41
41
|
uri: process.env.NEXT_PUBLIC_80069_BACKEND_API_URL ?? "https://backend-production-351b.up.railway.app"
|
|
42
42
|
},
|
|
43
|
+
beep: {
|
|
44
|
+
name: "Berachain Beep",
|
|
45
|
+
uri: process.env.NEXT_PUBLIC_80069_BEEP_API_URL ?? "https://beep.testnet.berachain.com"
|
|
46
|
+
},
|
|
43
47
|
bex: {
|
|
44
48
|
chainName: "BEPOLIA",
|
|
45
49
|
vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE",
|
|
@@ -44,6 +44,8 @@ var mainnet = {
|
|
|
44
44
|
name: "Berachain Backend",
|
|
45
45
|
uri: _nullishCoalesce(process.env.NEXT_PUBLIC_80094_BACKEND_API_URL, () => ( "https://api-prod-ff16.up.railway.app"))
|
|
46
46
|
},
|
|
47
|
+
// No beep deployment on mainnet yet; falls back to the Railway `backend`.
|
|
48
|
+
beep: null,
|
|
47
49
|
bex: {
|
|
48
50
|
chainName: "BERACHAIN",
|
|
49
51
|
vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B",
|
|
@@ -40,6 +40,10 @@ var bepolia = {
|
|
|
40
40
|
name: "Berachain Backend",
|
|
41
41
|
uri: _nullishCoalesce(process.env.NEXT_PUBLIC_80069_BACKEND_API_URL, () => ( "https://backend-production-351b.up.railway.app"))
|
|
42
42
|
},
|
|
43
|
+
beep: {
|
|
44
|
+
name: "Berachain Beep",
|
|
45
|
+
uri: _nullishCoalesce(process.env.NEXT_PUBLIC_80069_BEEP_API_URL, () => ( "https://beep.testnet.berachain.com"))
|
|
46
|
+
},
|
|
43
47
|
bex: {
|
|
44
48
|
chainName: "BEPOLIA",
|
|
45
49
|
vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE",
|
|
@@ -44,6 +44,8 @@ var mainnet = {
|
|
|
44
44
|
name: "Berachain Backend",
|
|
45
45
|
uri: process.env.NEXT_PUBLIC_80094_BACKEND_API_URL ?? "https://api-prod-ff16.up.railway.app"
|
|
46
46
|
},
|
|
47
|
+
// No beep deployment on mainnet yet; falls back to the Railway `backend`.
|
|
48
|
+
beep: null,
|
|
47
49
|
bex: {
|
|
48
50
|
chainName: "BERACHAIN",
|
|
49
51
|
vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B",
|
|
@@ -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
|
|
3
|
+
var _chunkII7OBVKScjs = require('./chunk-II7OBVKS.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkI6XMSAEFcjs = require('./chunk-I6XMSAEF.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 */]:
|
|
18
|
-
[80069 /* BEPOLIA */]:
|
|
17
|
+
[80094 /* MAINNET */]: _chunkI6XMSAEFcjs.mainnet,
|
|
18
|
+
[80069 /* BEPOLIA */]: _chunkII7OBVKScjs.bepolia
|
|
19
19
|
};
|
|
20
20
|
var chainConfig = chainConfigs[_chunkADH7F47Tcjs.defaultChainId];
|
|
21
21
|
var posthogDataRegion = _nullishCoalesce(process.env.NEXT_PUBLIC_PH_DATA_CENTER, () => ( "eu"));
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HttpLink } from './types-
|
|
2
|
-
export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-
|
|
1
|
+
import { H as HttpLink } from './types-CZOUg5g4.cjs';
|
|
2
|
+
export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-CZOUg5g4.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-
|
|
2
|
-
export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-
|
|
1
|
+
import { H as HttpLink } from './types-CZOUg5g4.js';
|
|
2
|
+
export { A as Address, a as AppName, B as BeraConfig, C as ChainId, P as ProjectName } from './types-CZOUg5g4.js';
|
|
3
3
|
|
|
4
4
|
declare function getUriFromLink(link: HttpLink): string;
|
|
5
5
|
|
|
@@ -7,9 +7,9 @@ var _chunkONKAV4AGcjs = require('../chunk-ONKAV4AG.cjs');
|
|
|
7
7
|
var _chunkYT7WZDGIcjs = require('../chunk-YT7WZDGI.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
10
|
+
var _chunkTPIUXUTWcjs = require('../chunk-TPIUXUTW.cjs');
|
|
11
|
+
require('../chunk-II7OBVKS.cjs');
|
|
12
|
+
require('../chunk-I6XMSAEF.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 =
|
|
70
|
+
const config = _chunkTPIUXUTWcjs.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-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-6YBUREJO.mjs";
|
|
11
|
+
import "../chunk-3WEUP5PS.mjs";
|
|
12
|
+
import "../chunk-NF2RCS7R.mjs";
|
|
13
13
|
import {
|
|
14
14
|
alchemyJsonRpcUrl,
|
|
15
15
|
goldskyBaseUrl,
|
package/dist/internal/index.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
5
|
+
var _chunkTPIUXUTWcjs = require('../chunk-TPIUXUTW.cjs');
|
|
6
|
+
require('../chunk-II7OBVKS.cjs');
|
|
7
|
+
require('../chunk-I6XMSAEF.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 =
|
|
40
|
+
exports.ChainId = _chunkEYYJ2UZTcjs.ChainId; exports.alchemyJsonRpcUrl = _chunkWRTYGXJMcjs.alchemyJsonRpcUrl; exports.appConfig = _chunkTPIUXUTWcjs.appConfig; exports.chainConfigs = _chunkTPIUXUTWcjs.chainConfigs; exports.chainId = _chunkADH7F47Tcjs.defaultChainId; exports.config = _chunkTPIUXUTWcjs.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-
|
|
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-CZOUg5g4.cjs';
|
|
2
|
+
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-CZOUg5g4.cjs';
|
|
3
3
|
|
|
4
4
|
declare const defaultChainId: ChainId;
|
|
5
5
|
|
|
@@ -80,6 +80,7 @@ declare const chainConfigs: {
|
|
|
80
80
|
readonly name: "Berachain Backend";
|
|
81
81
|
readonly uri: string;
|
|
82
82
|
};
|
|
83
|
+
readonly beep: null;
|
|
83
84
|
readonly bex: {
|
|
84
85
|
readonly chainName: "BERACHAIN";
|
|
85
86
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -235,6 +236,10 @@ declare const chainConfigs: {
|
|
|
235
236
|
readonly name: "Berachain Backend";
|
|
236
237
|
readonly uri: string;
|
|
237
238
|
};
|
|
239
|
+
readonly beep: {
|
|
240
|
+
readonly name: "Berachain Beep";
|
|
241
|
+
readonly uri: string;
|
|
242
|
+
};
|
|
238
243
|
readonly bex: {
|
|
239
244
|
readonly chainName: "BEPOLIA";
|
|
240
245
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
@@ -497,6 +502,7 @@ declare const config: {
|
|
|
497
502
|
readonly name: "Berachain Backend";
|
|
498
503
|
readonly uri: string;
|
|
499
504
|
};
|
|
505
|
+
readonly beep: null;
|
|
500
506
|
readonly bex: {
|
|
501
507
|
readonly chainName: "BERACHAIN";
|
|
502
508
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -651,6 +657,10 @@ declare const config: {
|
|
|
651
657
|
readonly name: "Berachain Backend";
|
|
652
658
|
readonly uri: string;
|
|
653
659
|
};
|
|
660
|
+
readonly beep: {
|
|
661
|
+
readonly name: "Berachain Beep";
|
|
662
|
+
readonly uri: string;
|
|
663
|
+
};
|
|
654
664
|
readonly bex: {
|
|
655
665
|
readonly chainName: "BEPOLIA";
|
|
656
666
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
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-CZOUg5g4.js';
|
|
2
|
+
export { B as BeraConfig, H as HttpLink, P as ProjectName } from '../types-CZOUg5g4.js';
|
|
3
3
|
|
|
4
4
|
declare const defaultChainId: ChainId;
|
|
5
5
|
|
|
@@ -80,6 +80,7 @@ declare const chainConfigs: {
|
|
|
80
80
|
readonly name: "Berachain Backend";
|
|
81
81
|
readonly uri: string;
|
|
82
82
|
};
|
|
83
|
+
readonly beep: null;
|
|
83
84
|
readonly bex: {
|
|
84
85
|
readonly chainName: "BERACHAIN";
|
|
85
86
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -235,6 +236,10 @@ declare const chainConfigs: {
|
|
|
235
236
|
readonly name: "Berachain Backend";
|
|
236
237
|
readonly uri: string;
|
|
237
238
|
};
|
|
239
|
+
readonly beep: {
|
|
240
|
+
readonly name: "Berachain Beep";
|
|
241
|
+
readonly uri: string;
|
|
242
|
+
};
|
|
238
243
|
readonly bex: {
|
|
239
244
|
readonly chainName: "BEPOLIA";
|
|
240
245
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
@@ -497,6 +502,7 @@ declare const config: {
|
|
|
497
502
|
readonly name: "Berachain Backend";
|
|
498
503
|
readonly uri: string;
|
|
499
504
|
};
|
|
505
|
+
readonly beep: null;
|
|
500
506
|
readonly bex: {
|
|
501
507
|
readonly chainName: "BERACHAIN";
|
|
502
508
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
@@ -651,6 +657,10 @@ declare const config: {
|
|
|
651
657
|
readonly name: "Berachain Backend";
|
|
652
658
|
readonly uri: string;
|
|
653
659
|
};
|
|
660
|
+
readonly beep: {
|
|
661
|
+
readonly name: "Berachain Beep";
|
|
662
|
+
readonly uri: string;
|
|
663
|
+
};
|
|
654
664
|
readonly bex: {
|
|
655
665
|
readonly chainName: "BEPOLIA";
|
|
656
666
|
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
package/dist/internal/index.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
appConfig,
|
|
3
3
|
chainConfigs,
|
|
4
4
|
config
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-6YBUREJO.mjs";
|
|
6
|
+
import "../chunk-3WEUP5PS.mjs";
|
|
7
|
+
import "../chunk-NF2RCS7R.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
|
|
10
|
-
require('../../chunk-
|
|
11
|
-
require('../../chunk-
|
|
9
|
+
var _chunkTPIUXUTWcjs = require('../../chunk-TPIUXUTW.cjs');
|
|
10
|
+
require('../../chunk-II7OBVKS.cjs');
|
|
11
|
+
require('../../chunk-I6XMSAEF.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://${
|
|
67
|
+
destination: `https://${_chunkTPIUXUTWcjs.appConfig.urls.postHog.region}-assets.i.posthog.com/static/:path*`
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
source: "/ph/:path*",
|
|
71
|
-
destination: `https://${
|
|
71
|
+
destination: `https://${_chunkTPIUXUTWcjs.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-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
9
|
+
} from "../../chunk-6YBUREJO.mjs";
|
|
10
|
+
import "../../chunk-3WEUP5PS.mjs";
|
|
11
|
+
import "../../chunk-NF2RCS7R.mjs";
|
|
12
12
|
import "../../chunk-BM46XQJA.mjs";
|
|
13
13
|
import "../../chunk-CAOMAWN5.mjs";
|
|
14
14
|
import "../../chunk-KJXYSGNH.mjs";
|
|
@@ -50,7 +50,15 @@ function initSentryClient(Sentry, opt = {}) {
|
|
|
50
50
|
"Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.",
|
|
51
51
|
// wagmi
|
|
52
52
|
"The provider is disconnected from all chains.",
|
|
53
|
-
"Cannot destructure property 'register' of 'undefined' as it is undefined."
|
|
53
|
+
"Cannot destructure property 'register' of 'undefined' as it is undefined.",
|
|
54
|
+
// Browser extension - injected provider event API (e.g. window.<wallet>.addListener)
|
|
55
|
+
/\.addListener is not a function/,
|
|
56
|
+
// Wallet extension - locked keyring state (Keplr/MetaMask), not actionable by us
|
|
57
|
+
"KeyRing is locked",
|
|
58
|
+
// Wallet-injected provider rate limiting (extension, not our API)
|
|
59
|
+
"The requested method has been rate limited.",
|
|
60
|
+
// Wallet extension - provider race accessing getDefaultChain before init
|
|
61
|
+
/getDefaultChain[\s\S]*this\.getProvider\(\.\.\.\) is undefined/
|
|
54
62
|
]
|
|
55
63
|
});
|
|
56
64
|
}
|
|
@@ -50,7 +50,15 @@ function initSentryClient(Sentry, opt = {}) {
|
|
|
50
50
|
"Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.",
|
|
51
51
|
// wagmi
|
|
52
52
|
"The provider is disconnected from all chains.",
|
|
53
|
-
"Cannot destructure property 'register' of 'undefined' as it is undefined."
|
|
53
|
+
"Cannot destructure property 'register' of 'undefined' as it is undefined.",
|
|
54
|
+
// Browser extension - injected provider event API (e.g. window.<wallet>.addListener)
|
|
55
|
+
/\.addListener is not a function/,
|
|
56
|
+
// Wallet extension - locked keyring state (Keplr/MetaMask), not actionable by us
|
|
57
|
+
"KeyRing is locked",
|
|
58
|
+
// Wallet-injected provider rate limiting (extension, not our API)
|
|
59
|
+
"The requested method has been rate limited.",
|
|
60
|
+
// Wallet extension - provider race accessing getDefaultChain before init
|
|
61
|
+
/getDefaultChain[\s\S]*this\.getProvider\(\.\.\.\) is undefined/
|
|
54
62
|
]
|
|
55
63
|
});
|
|
56
64
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-
|
|
2
|
-
require('../../chunk-
|
|
3
|
-
require('../../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-TPIUXUTW.cjs');
|
|
2
|
+
require('../../chunk-II7OBVKS.cjs');
|
|
3
|
+
require('../../chunk-I6XMSAEF.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../chunk-
|
|
2
|
-
import "../../chunk-
|
|
3
|
-
import "../../chunk-
|
|
1
|
+
import "../../chunk-6YBUREJO.mjs";
|
|
2
|
+
import "../../chunk-3WEUP5PS.mjs";
|
|
3
|
+
import "../../chunk-NF2RCS7R.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
|
|
3
|
+
var _chunkI6XMSAEFcjs = require('./chunk-I6XMSAEF.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 =
|
|
10
|
+
exports.mainnet = _chunkI6XMSAEFcjs.mainnet;
|
package/dist/mainnet.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId } from './types-
|
|
1
|
+
import { C as ChainId } from './types-CZOUg5g4.cjs';
|
|
2
2
|
|
|
3
3
|
declare const mainnet: {
|
|
4
4
|
readonly chainId: ChainId.MAINNET;
|
|
@@ -42,6 +42,7 @@ declare const mainnet: {
|
|
|
42
42
|
readonly name: "Berachain Backend";
|
|
43
43
|
readonly uri: string;
|
|
44
44
|
};
|
|
45
|
+
readonly beep: null;
|
|
45
46
|
readonly bex: {
|
|
46
47
|
readonly chainName: "BERACHAIN";
|
|
47
48
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
package/dist/mainnet.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ChainId } from './types-
|
|
1
|
+
import { C as ChainId } from './types-CZOUg5g4.js';
|
|
2
2
|
|
|
3
3
|
declare const mainnet: {
|
|
4
4
|
readonly chainId: ChainId.MAINNET;
|
|
@@ -42,6 +42,7 @@ declare const mainnet: {
|
|
|
42
42
|
readonly name: "Berachain Backend";
|
|
43
43
|
readonly uri: string;
|
|
44
44
|
};
|
|
45
|
+
readonly beep: null;
|
|
45
46
|
readonly bex: {
|
|
46
47
|
readonly chainName: "BERACHAIN";
|
|
47
48
|
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
package/dist/mainnet.mjs
CHANGED
|
@@ -63,8 +63,20 @@ interface BeraConfig {
|
|
|
63
63
|
api: HttpLink;
|
|
64
64
|
/**
|
|
65
65
|
* The backend endpoint for the chain. Used to fetch data from backend services.
|
|
66
|
+
*
|
|
67
|
+
* @deprecated Prefer `beep`, which supersedes this Railway deployment. Callers
|
|
68
|
+
* should fall back to `backend` only when `beep` is `null` (e.g. mainnet for
|
|
69
|
+
* now). Note the two serve different route shapes: `backend` at the root,
|
|
70
|
+
* `beep` under `/v0/*`.
|
|
66
71
|
*/
|
|
67
72
|
backend: HttpLink;
|
|
73
|
+
/**
|
|
74
|
+
* The next-generation backend ("beep"). Serves the same data as `backend`
|
|
75
|
+
* but under `/v0/*` routes with a slightly different schema. Replaces the
|
|
76
|
+
* Railway `backend` deployment where set; `null` on chains that have not
|
|
77
|
+
* migrated yet (e.g. mainnet for now).
|
|
78
|
+
*/
|
|
79
|
+
beep: HttpLink | null;
|
|
68
80
|
/**
|
|
69
81
|
* The address of the deposit contract for the chain.
|
|
70
82
|
*/
|
|
@@ -63,8 +63,20 @@ interface BeraConfig {
|
|
|
63
63
|
api: HttpLink;
|
|
64
64
|
/**
|
|
65
65
|
* The backend endpoint for the chain. Used to fetch data from backend services.
|
|
66
|
+
*
|
|
67
|
+
* @deprecated Prefer `beep`, which supersedes this Railway deployment. Callers
|
|
68
|
+
* should fall back to `backend` only when `beep` is `null` (e.g. mainnet for
|
|
69
|
+
* now). Note the two serve different route shapes: `backend` at the root,
|
|
70
|
+
* `beep` under `/v0/*`.
|
|
66
71
|
*/
|
|
67
72
|
backend: HttpLink;
|
|
73
|
+
/**
|
|
74
|
+
* The next-generation backend ("beep"). Serves the same data as `backend`
|
|
75
|
+
* but under `/v0/*` routes with a slightly different schema. Replaces the
|
|
76
|
+
* Railway `backend` deployment where set; `null` on chains that have not
|
|
77
|
+
* migrated yet (e.g. mainnet for now).
|
|
78
|
+
*/
|
|
79
|
+
beep: HttpLink | null;
|
|
68
80
|
/**
|
|
69
81
|
* The address of the deposit contract for the chain.
|
|
70
82
|
*/
|