@berachain/config 0.1.22-beta.0 → 0.1.22-beta.1
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.d.ts +3 -5
- package/dist/bepolia.d.ts.map +1 -0
- package/dist/index.d.ts +3 -6
- package/dist/index.d.ts.map +1 -0
- package/dist/internal/edge-config/{index.d.cts → edgeConfig.codegen.d.ts} +15 -121
- package/dist/internal/edge-config/edgeConfig.codegen.d.ts.map +1 -0
- package/dist/internal/edge-config/index.d.ts +5 -392
- package/dist/internal/edge-config/index.d.ts.map +1 -0
- package/dist/internal/edge-config/isFlagEnabled.d.ts +17 -0
- package/dist/internal/edge-config/isFlagEnabled.d.ts.map +1 -0
- package/dist/internal/edge-config/safeGetAll.d.ts +15 -0
- package/dist/internal/edge-config/safeGetAll.d.ts.map +1 -0
- package/dist/internal/edge-config/safeGetConfig.d.ts +19 -0
- package/dist/internal/edge-config/safeGetConfig.d.ts.map +1 -0
- package/dist/internal/flags/beraEdgeConfigAdapter.d.ts +9 -0
- package/dist/internal/flags/beraEdgeConfigAdapter.d.ts.map +1 -0
- package/dist/internal/flags/flags.d.ts +29 -0
- package/dist/internal/flags/flags.d.ts.map +1 -0
- package/dist/internal/flags/index.d.ts +2 -60
- package/dist/internal/flags/index.d.ts.map +1 -0
- package/dist/internal/header-sources.d.ts +5 -7
- package/dist/internal/header-sources.d.ts.map +1 -0
- package/dist/internal/index.d.ts +139 -173
- package/dist/internal/index.d.ts.map +1 -0
- package/dist/internal/maintenance.d.ts +5 -7
- package/dist/internal/maintenance.d.ts.map +1 -0
- package/dist/internal/nextjs/const.d.ts +3 -0
- package/dist/internal/nextjs/const.d.ts.map +1 -0
- package/dist/internal/nextjs/index.d.ts +5 -6
- package/dist/internal/nextjs/index.d.ts.map +1 -0
- package/dist/internal/nextjs/utils/index.d.ts +2 -3
- package/dist/internal/nextjs/utils/index.d.ts.map +1 -0
- package/dist/internal/sentry/getSentryKeys.d.ts +16 -0
- package/dist/internal/sentry/getSentryKeys.d.ts.map +1 -0
- package/dist/internal/sentry/index.d.ts +6 -8
- package/dist/internal/sentry/index.d.ts.map +1 -0
- package/dist/internal/sentry/sentry.client.config.d.ts +3 -6
- package/dist/internal/sentry/sentry.client.config.d.ts.map +1 -0
- package/dist/internal/sentry/sentry.edge.config.d.ts +3 -0
- package/dist/internal/sentry/sentry.edge.config.d.ts.map +1 -0
- package/dist/internal/sentry/sentry.server.config.d.ts +3 -0
- package/dist/internal/sentry/sentry.server.config.d.ts.map +1 -0
- package/dist/internal/sentry/sentryEnvironment.d.ts +6 -0
- package/dist/internal/sentry/sentryEnvironment.d.ts.map +1 -0
- package/dist/internal/tailwind/{index.d.cts → config.d.ts} +14 -16
- package/dist/internal/tailwind/config.d.ts.map +1 -0
- package/dist/internal/tailwind/index.d.ts +6 -8
- package/dist/internal/tailwind/index.d.ts.map +1 -0
- package/dist/internal/tsup/index.cjs +30 -4
- package/dist/internal/tsup/index.d.ts +3 -6
- package/dist/internal/tsup/index.d.ts.map +1 -0
- package/dist/internal/tsup/index.mjs +30 -4
- package/dist/internal/wagmi/index.d.ts +6 -8
- package/dist/internal/wagmi/index.d.ts.map +1 -0
- package/dist/mainnet.d.ts +3 -5
- package/dist/mainnet.d.ts.map +1 -0
- package/dist/{types-Drv0VlAi.d.ts → types.d.ts} +8 -8
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/dynamicEnvVariable.d.ts +21 -0
- package/dist/utils/dynamicEnvVariable.d.ts.map +1 -0
- package/dist/utils/env.d.ts +29 -0
- package/dist/utils/env.d.ts.map +1 -0
- package/dist/utils/getUriFromLink.d.ts +3 -0
- package/dist/utils/getUriFromLink.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/bepolia.d.cts +0 -169
- package/dist/index.d.cts +0 -6
- package/dist/internal/flags/index.d.cts +0 -60
- package/dist/internal/header-sources.d.cts +0 -22
- package/dist/internal/index.d.cts +0 -749
- package/dist/internal/maintenance.d.cts +0 -11
- package/dist/internal/nextjs/index.d.cts +0 -34
- package/dist/internal/nextjs/utils/index.d.cts +0 -9
- package/dist/internal/sentry/index.d.cts +0 -13
- package/dist/internal/sentry/sentry.client.config.d.cts +0 -6
- package/dist/internal/tsup/index.d.cts +0 -6
- package/dist/internal/wagmi/index.d.cts +0 -12
- package/dist/mainnet.d.cts +0 -154
- package/dist/types-Drv0VlAi.d.cts +0 -214
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,43 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
declare const currentDapp: AppName | undefined;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Exporting here all variables that are used in the frontend.
|
|
13
|
-
* Avoids circular dependency with the config object.
|
|
14
|
-
*/
|
|
15
|
-
|
|
16
|
-
declare const imageBaseUrl = "https://imagedelivery.net/qNj7Q3MCke89zoKzav7eDQ";
|
|
17
|
-
declare const goldskyBaseUrl = "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/";
|
|
18
|
-
/**
|
|
19
|
-
* Returns the RPC URLs for the given chain ID. If anvil is set, it will just return the anvil RPC URLs.
|
|
20
|
-
*/
|
|
21
|
-
declare function getRpcUrls(chainId?: ChainId): {
|
|
22
|
-
publicJsonRpcUrl: string;
|
|
23
|
-
jsonRpcUrl: string;
|
|
24
|
-
alchemyJsonRpcUrl: string | undefined;
|
|
25
|
-
privateRcpUrl: string | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* Whether the RPC URLs are for anvil.
|
|
28
|
-
*/
|
|
29
|
-
isAnvil: boolean;
|
|
30
|
-
};
|
|
31
|
-
declare const publicJsonRpcUrl: string;
|
|
32
|
-
declare const jsonRpcUrl: string;
|
|
33
|
-
declare const alchemyJsonRpcUrl: string | undefined;
|
|
34
|
-
declare const /**
|
|
35
|
-
* Dedicated private RPC URL for server side with higher rate limits.
|
|
36
|
-
* Not available on client side.
|
|
37
|
-
*/
|
|
38
|
-
privateRcpUrl: string | undefined;
|
|
39
|
-
|
|
40
|
-
declare const chainConfigs: {
|
|
1
|
+
import { ChainId } from "../types";
|
|
2
|
+
export * from "../types";
|
|
3
|
+
export * from "../utils/env";
|
|
4
|
+
export { chainId as defaultChainId };
|
|
5
|
+
import { chainId } from "../utils/env";
|
|
6
|
+
export { currentDapp } from "../utils/dynamicEnvVariable";
|
|
7
|
+
export declare const chainConfigs: {
|
|
41
8
|
readonly 80094: {
|
|
42
9
|
readonly chainId: ChainId.MAINNET;
|
|
43
10
|
readonly tokens: {
|
|
@@ -301,8 +268,8 @@ declare const chainConfigs: {
|
|
|
301
268
|
readonly publicAllocator: null;
|
|
302
269
|
readonly bundler3: null;
|
|
303
270
|
readonly generalAdapter1: null;
|
|
304
|
-
readonly supportedVaults: Address[];
|
|
305
|
-
readonly curatorVaults: Address[];
|
|
271
|
+
readonly supportedVaults: import("../types").Address[];
|
|
272
|
+
readonly curatorVaults: import("../types").Address[];
|
|
306
273
|
};
|
|
307
274
|
readonly staging: {
|
|
308
275
|
readonly morpho: null;
|
|
@@ -311,8 +278,8 @@ declare const chainConfigs: {
|
|
|
311
278
|
readonly publicAllocator: null;
|
|
312
279
|
readonly bundler3: null;
|
|
313
280
|
readonly generalAdapter1: null;
|
|
314
|
-
readonly supportedVaults: Address[];
|
|
315
|
-
readonly curatorVaults: Address[];
|
|
281
|
+
readonly supportedVaults: import("../types").Address[];
|
|
282
|
+
readonly curatorVaults: import("../types").Address[];
|
|
316
283
|
};
|
|
317
284
|
};
|
|
318
285
|
readonly enso: {
|
|
@@ -340,7 +307,7 @@ declare const chainConfigs: {
|
|
|
340
307
|
};
|
|
341
308
|
};
|
|
342
309
|
};
|
|
343
|
-
declare const appConfig: {
|
|
310
|
+
export declare const appConfig: {
|
|
344
311
|
readonly flags: {
|
|
345
312
|
readonly isPosthogEnabled: boolean;
|
|
346
313
|
readonly isCookie3Enabled: boolean | "";
|
|
@@ -445,21 +412,21 @@ declare const appConfig: {
|
|
|
445
412
|
/**
|
|
446
413
|
* @deprecated use chainConfigs and appConfig instead. chainId should always be read from the app state.
|
|
447
414
|
*/
|
|
448
|
-
declare const config: {
|
|
449
|
-
readonly chainId: ChainId.
|
|
415
|
+
export declare const config: {
|
|
416
|
+
readonly chainId: ChainId.BEPOLIA;
|
|
450
417
|
readonly tokens: {
|
|
451
418
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
452
419
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
453
420
|
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
454
|
-
readonly wbtc: "
|
|
455
|
-
readonly weth: "
|
|
421
|
+
readonly wbtc: "0x";
|
|
422
|
+
readonly weth: "0x";
|
|
456
423
|
};
|
|
457
424
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
458
425
|
readonly pol: {
|
|
459
426
|
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
460
427
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
461
|
-
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
462
428
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
429
|
+
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
463
430
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
464
431
|
readonly subgraph: {
|
|
465
432
|
readonly name: "pol-subgraph";
|
|
@@ -473,8 +440,8 @@ declare const config: {
|
|
|
473
440
|
readonly name: "supply-monitor";
|
|
474
441
|
readonly uri: string;
|
|
475
442
|
};
|
|
476
|
-
readonly bgtIncentiveDistributor: "
|
|
477
|
-
readonly lstStakerVaultFactory: "
|
|
443
|
+
readonly bgtIncentiveDistributor: "0xb0d005Fe83E3F1ec876C1a64700c5F0d6265d9E3";
|
|
444
|
+
readonly lstStakerVaultFactory: "0xAf10B532cCC25B26a8e28913D5C4056a77e7a178";
|
|
478
445
|
};
|
|
479
446
|
readonly api: {
|
|
480
447
|
readonly name: "Berachain API";
|
|
@@ -484,50 +451,50 @@ declare const config: {
|
|
|
484
451
|
} | undefined;
|
|
485
452
|
};
|
|
486
453
|
readonly beep: {
|
|
487
|
-
readonly uri: string;
|
|
488
454
|
readonly name: "Berachain Beep";
|
|
455
|
+
readonly uri: string;
|
|
489
456
|
};
|
|
490
457
|
readonly bex: {
|
|
491
|
-
readonly chainName: "
|
|
492
|
-
readonly vault: "
|
|
493
|
-
readonly helper: "
|
|
494
|
-
readonly queries: "
|
|
495
|
-
readonly relayer: "
|
|
458
|
+
readonly chainName: "BEPOLIA";
|
|
459
|
+
readonly vault: "0x708cA656b68A6b7384a488A36aD33505a77241FE";
|
|
460
|
+
readonly helper: "0xC7c981ADcDC5d48fed0CD52807fb2bAB22676C8f";
|
|
461
|
+
readonly queries: "0xE3723383a0EA73D5c0dE424BAA97F97f86f6cF92";
|
|
462
|
+
readonly relayer: "0x343215E156Ff586711a5B8C49Fe3099BAF22624C";
|
|
496
463
|
readonly factories: {
|
|
497
|
-
readonly composableStable: "
|
|
498
|
-
readonly weighted: "
|
|
464
|
+
readonly composableStable: "0xB60DbBaCEaeC23486a64d12089F467ef949f1bb1";
|
|
465
|
+
readonly weighted: "0xf1d23276C7b271B2aC595C78977b2312E9954D57";
|
|
499
466
|
};
|
|
500
|
-
readonly
|
|
501
|
-
readonly
|
|
502
|
-
readonly
|
|
503
|
-
readonly
|
|
504
|
-
readonly
|
|
505
|
-
readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
|
|
467
|
+
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
468
|
+
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
469
|
+
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
470
|
+
readonly haikuRouter: null;
|
|
471
|
+
readonly haikuAgentAddress: null;
|
|
506
472
|
readonly aggregatorsProxyUrl: string;
|
|
507
|
-
readonly recoverFundsApi:
|
|
508
|
-
readonly recoverFundsContract:
|
|
473
|
+
readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
|
|
474
|
+
readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
|
|
475
|
+
readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
|
|
509
476
|
};
|
|
510
477
|
readonly honey: {
|
|
511
478
|
readonly name: "Honey";
|
|
512
|
-
readonly url: "https://honey.berachain.com";
|
|
479
|
+
readonly url: "https://bepolia.honey.berachain.com";
|
|
513
480
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
514
481
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
515
|
-
readonly pythWrapper: "
|
|
482
|
+
readonly pythWrapper: "0xE5Ad9BA751714ec8cdd554b5a9f12BFcA13980cB";
|
|
516
483
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
517
484
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
518
485
|
};
|
|
519
486
|
readonly hub: {
|
|
520
487
|
readonly name: "BeraHub";
|
|
521
|
-
readonly url: "https://hub.berachain.com";
|
|
488
|
+
readonly url: "https://bepolia.hub.berachain.com";
|
|
522
489
|
};
|
|
523
490
|
readonly governance: {
|
|
524
|
-
readonly governor:
|
|
525
|
-
readonly timelock:
|
|
491
|
+
readonly governor: `0x${string}`;
|
|
492
|
+
readonly timelock: `0x${string}`;
|
|
526
493
|
};
|
|
527
494
|
readonly lists: {
|
|
528
|
-
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/
|
|
529
|
-
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/
|
|
530
|
-
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/
|
|
495
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/bepolia.json";
|
|
496
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/bepolia.json";
|
|
497
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/bepolia.json";
|
|
531
498
|
};
|
|
532
499
|
readonly external: {
|
|
533
500
|
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
@@ -535,52 +502,46 @@ declare const config: {
|
|
|
535
502
|
readonly averageBlockTime: 2;
|
|
536
503
|
readonly bridge: {
|
|
537
504
|
readonly name: "BeraBridge";
|
|
538
|
-
readonly url: "https://bridge.berachain.com";
|
|
505
|
+
readonly url: "https://bepolia.bridge.berachain.com";
|
|
539
506
|
readonly nft: {
|
|
540
507
|
readonly name: "BeraBridge NFT";
|
|
541
|
-
readonly url: "
|
|
508
|
+
readonly url: "#";
|
|
542
509
|
readonly eth: {
|
|
543
|
-
readonly subgraph: "
|
|
510
|
+
readonly subgraph: "#";
|
|
544
511
|
};
|
|
545
512
|
readonly berachain: {
|
|
546
|
-
readonly subgraph: "
|
|
513
|
+
readonly subgraph: "#";
|
|
547
514
|
};
|
|
548
515
|
};
|
|
549
516
|
};
|
|
550
517
|
readonly bend: {
|
|
551
518
|
readonly name: "Bend";
|
|
552
|
-
readonly url: "https://bend.berachain.com";
|
|
553
|
-
readonly whiskApi:
|
|
554
|
-
readonly name: "Bend Whisk";
|
|
555
|
-
readonly uri: string;
|
|
556
|
-
readonly headers: {
|
|
557
|
-
Authorization: string;
|
|
558
|
-
} | undefined;
|
|
559
|
-
};
|
|
519
|
+
readonly url: "https://bepolia.bend.berachain.com";
|
|
520
|
+
readonly whiskApi: null;
|
|
560
521
|
readonly production: {
|
|
561
|
-
readonly morpho:
|
|
562
|
-
readonly adaptiveCurveIrm:
|
|
563
|
-
readonly metaMorphoFactory:
|
|
564
|
-
readonly publicAllocator:
|
|
565
|
-
readonly bundler3:
|
|
566
|
-
readonly generalAdapter1:
|
|
567
|
-
readonly supportedVaults:
|
|
568
|
-
readonly curatorVaults:
|
|
522
|
+
readonly morpho: null;
|
|
523
|
+
readonly adaptiveCurveIrm: null;
|
|
524
|
+
readonly metaMorphoFactory: null;
|
|
525
|
+
readonly publicAllocator: null;
|
|
526
|
+
readonly bundler3: null;
|
|
527
|
+
readonly generalAdapter1: null;
|
|
528
|
+
readonly supportedVaults: import("../types").Address[];
|
|
529
|
+
readonly curatorVaults: import("../types").Address[];
|
|
569
530
|
};
|
|
570
531
|
readonly staging: {
|
|
571
|
-
readonly morpho:
|
|
572
|
-
readonly adaptiveCurveIrm:
|
|
573
|
-
readonly metaMorphoFactory:
|
|
574
|
-
readonly publicAllocator:
|
|
575
|
-
readonly bundler3:
|
|
576
|
-
readonly generalAdapter1:
|
|
577
|
-
readonly supportedVaults:
|
|
578
|
-
readonly curatorVaults:
|
|
532
|
+
readonly morpho: null;
|
|
533
|
+
readonly adaptiveCurveIrm: null;
|
|
534
|
+
readonly metaMorphoFactory: null;
|
|
535
|
+
readonly publicAllocator: null;
|
|
536
|
+
readonly bundler3: null;
|
|
537
|
+
readonly generalAdapter1: null;
|
|
538
|
+
readonly supportedVaults: import("../types").Address[];
|
|
539
|
+
readonly curatorVaults: import("../types").Address[];
|
|
579
540
|
};
|
|
580
541
|
};
|
|
581
542
|
readonly enso: {
|
|
582
|
-
readonly walletV2Factory:
|
|
583
|
-
readonly walletFlashloanAdapter:
|
|
543
|
+
readonly walletV2Factory: null;
|
|
544
|
+
readonly walletFlashloanAdapter: null;
|
|
584
545
|
};
|
|
585
546
|
readonly explore: {
|
|
586
547
|
readonly name: "Explore";
|
|
@@ -588,27 +549,34 @@ declare const config: {
|
|
|
588
549
|
};
|
|
589
550
|
readonly explorer: {
|
|
590
551
|
readonly name: "Berascan";
|
|
591
|
-
readonly url: "https://berascan.com";
|
|
552
|
+
readonly url: "https://testnet.berascan.com";
|
|
592
553
|
};
|
|
593
554
|
readonly chain: {
|
|
594
555
|
readonly name: string;
|
|
595
556
|
};
|
|
596
|
-
readonly faucet:
|
|
557
|
+
readonly faucet: {
|
|
558
|
+
readonly name: "Faucet";
|
|
559
|
+
readonly url: "https://bepolia.faucet.berachain.com";
|
|
560
|
+
readonly dripAmount: 1;
|
|
561
|
+
readonly timeGap: 8;
|
|
562
|
+
readonly cloudflareKey: string;
|
|
563
|
+
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
564
|
+
};
|
|
597
565
|
} | {
|
|
598
|
-
readonly chainId: ChainId.
|
|
566
|
+
readonly chainId: ChainId.MAINNET;
|
|
599
567
|
readonly tokens: {
|
|
600
568
|
readonly wbera: "0x6969696969696969696969696969696969696969";
|
|
601
569
|
readonly swbera: "0x118D2cEeE9785eaf70C15Cd74CD84c9f8c3EeC9a";
|
|
602
570
|
readonly bgt: "0x656b95E550C07a9ffe548bd4085c72418Ceb1dba";
|
|
603
|
-
readonly wbtc: "
|
|
604
|
-
readonly weth: "
|
|
571
|
+
readonly wbtc: "0x0555E30da8f98308EdB960aa94C0Db47230d2B9c";
|
|
572
|
+
readonly weth: "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590";
|
|
605
573
|
};
|
|
606
574
|
readonly depositContract: "0x4242424242424242424242424242424242424242";
|
|
607
575
|
readonly pol: {
|
|
608
576
|
readonly rewardVaultHelper: "0xEe233a69A36Db7fC10E03e921D90DEC52Cdce6e2";
|
|
609
577
|
readonly beraChef: "0xdf960E8F3F19C481dDE769edEDD439ea1a63426a";
|
|
578
|
+
readonly rewardAllocationFactory: "0xc8FD9a3fB3Dad4C22c9F8Cfa7cecC318A667A791";
|
|
610
579
|
readonly factory: "0x94Ad6Ac84f6C6FbA8b8CCbD71d9f4f101def52a8";
|
|
611
|
-
readonly rewardAllocationFactory: "0x7f09Cf6958631513aF0400488F65c7B5c0313F52";
|
|
612
580
|
readonly staker: "0x44F07Ce5AfeCbCC406e6beFD40cc2998eEb8c7C6";
|
|
613
581
|
readonly subgraph: {
|
|
614
582
|
readonly name: "pol-subgraph";
|
|
@@ -622,8 +590,8 @@ declare const config: {
|
|
|
622
590
|
readonly name: "supply-monitor";
|
|
623
591
|
readonly uri: string;
|
|
624
592
|
};
|
|
625
|
-
readonly bgtIncentiveDistributor: "
|
|
626
|
-
readonly lstStakerVaultFactory: "
|
|
593
|
+
readonly bgtIncentiveDistributor: "0x77DA09bC82652f9A14d1b170a001e759640298e6";
|
|
594
|
+
readonly lstStakerVaultFactory: "0xc41bbD6695AB6bdc6D04701b15f4CE5EbA2e2500";
|
|
627
595
|
};
|
|
628
596
|
readonly api: {
|
|
629
597
|
readonly name: "Berachain API";
|
|
@@ -633,50 +601,50 @@ declare const config: {
|
|
|
633
601
|
} | undefined;
|
|
634
602
|
};
|
|
635
603
|
readonly beep: {
|
|
636
|
-
readonly name: "Berachain Beep";
|
|
637
604
|
readonly uri: string;
|
|
605
|
+
readonly name: "Berachain Beep";
|
|
638
606
|
};
|
|
639
607
|
readonly bex: {
|
|
640
|
-
readonly chainName: "
|
|
641
|
-
readonly vault: "
|
|
642
|
-
readonly helper: "
|
|
643
|
-
readonly queries: "
|
|
644
|
-
readonly relayer: "
|
|
608
|
+
readonly chainName: "BERACHAIN";
|
|
609
|
+
readonly vault: "0x4Be03f781C497A489E3cB0287833452cA9B9E80B";
|
|
610
|
+
readonly helper: "0x5083737EC75a728c265BE578C9d0d5333a2c5951";
|
|
611
|
+
readonly queries: "0x3C612e132624f4Bd500eE1495F54565F0bcc9b59";
|
|
612
|
+
readonly relayer: "0x6044f181aB5E9C05A4ed9Ce295f3B178d2492EE7";
|
|
645
613
|
readonly factories: {
|
|
646
|
-
readonly composableStable: "
|
|
647
|
-
readonly weighted: "
|
|
614
|
+
readonly composableStable: "0xDfA30BDa0375d4763711AB0CC8D91B20bfCC87E1";
|
|
615
|
+
readonly weighted: "0xa966fA8F2d5B087FFFA499C0C1240589371Af409";
|
|
648
616
|
};
|
|
649
|
-
readonly poolCreationHelper: "0x0dC9964F6CA33d9EF38DEB4925234766127C6B36";
|
|
650
|
-
readonly aggregatorsRouter: "0x0000000000000000000000000000000000000000";
|
|
651
|
-
readonly aggregatorsRouterExecutor: "0x0000000000000000000000000000000000000000";
|
|
652
|
-
readonly haikuRouter: null;
|
|
653
|
-
readonly haikuAgentAddress: null;
|
|
654
|
-
readonly aggregatorsProxyUrl: string;
|
|
655
|
-
readonly recoverFundsApi: "https://t3stbe4i5d40p.testnet.berachain.com";
|
|
656
|
-
readonly recoverFundsContract: "0x0eFeC4379805fAFA7269Ec599a6921f388C8841a";
|
|
657
617
|
readonly balancerDelegatedOwnership: "0xba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1ba1b";
|
|
618
|
+
readonly poolCreationHelper: "0x55dccE8165C88aAd4403a15A9cE3A8E244657dD2";
|
|
619
|
+
readonly aggregatorsRouter: "0x1BDB1cf792419d2eaB5aBa8076B8f4257744fA58";
|
|
620
|
+
readonly aggregatorsRouterExecutor: "0x4AD3c5A427Af60F8Dd982023aE012233A66CA1f8";
|
|
621
|
+
readonly haikuRouter: "0x24aC999FF132B32c5b3956973b6213B0d07eB2C7";
|
|
622
|
+
readonly haikuAgentAddress: "0x69495273D6Dc572A830A4D6e00400a1e9d5B8f71";
|
|
623
|
+
readonly aggregatorsProxyUrl: string;
|
|
624
|
+
readonly recoverFundsApi: string;
|
|
625
|
+
readonly recoverFundsContract: `0x${string}`;
|
|
658
626
|
};
|
|
659
627
|
readonly honey: {
|
|
660
628
|
readonly name: "Honey";
|
|
661
|
-
readonly url: "https://
|
|
629
|
+
readonly url: "https://honey.berachain.com";
|
|
662
630
|
readonly factory: "0xA4aFef880F5cE1f63c9fb48F661E27F8B4216401";
|
|
663
631
|
readonly pythOracle: "0x5CA67e134c52B1d11E038A5a4eD8Ddcdb1238943";
|
|
664
|
-
readonly pythWrapper: "
|
|
632
|
+
readonly pythWrapper: "0xF5686e448BE103beA465105bEb9d284a34ae7e95";
|
|
665
633
|
readonly reader: "0x285e147060CDc5ba902786d3A471224ee6cE0F91";
|
|
666
634
|
readonly token: "0xFCBD14DC51f0A4d49d5E53C2E0950e0bC26d0Dce";
|
|
667
635
|
};
|
|
668
636
|
readonly hub: {
|
|
669
637
|
readonly name: "BeraHub";
|
|
670
|
-
readonly url: "https://
|
|
638
|
+
readonly url: "https://hub.berachain.com";
|
|
671
639
|
};
|
|
672
640
|
readonly governance: {
|
|
673
|
-
readonly governor:
|
|
674
|
-
readonly timelock:
|
|
641
|
+
readonly governor: "0x4f4A5c2194B8e856b7a05B348F6ba3978FB6f6D5";
|
|
642
|
+
readonly timelock: "0xb5f2000b5744f207c931526cAE2134cAa8b6862a";
|
|
675
643
|
};
|
|
676
644
|
readonly lists: {
|
|
677
|
-
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/
|
|
678
|
-
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/
|
|
679
|
-
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/
|
|
645
|
+
readonly rewardVaultList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/vaults/mainnet.json";
|
|
646
|
+
readonly tokenList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/tokens/mainnet.json";
|
|
647
|
+
readonly validatorList: "https://raw.githubusercontent.com/berachain/metadata/refs/heads/main/src/validators/mainnet.json";
|
|
680
648
|
};
|
|
681
649
|
readonly external: {
|
|
682
650
|
readonly pyth: "0x2880aB155794e7179c9eE2e38200202908C17B43";
|
|
@@ -684,46 +652,52 @@ declare const config: {
|
|
|
684
652
|
readonly averageBlockTime: 2;
|
|
685
653
|
readonly bridge: {
|
|
686
654
|
readonly name: "BeraBridge";
|
|
687
|
-
readonly url: "https://
|
|
655
|
+
readonly url: "https://bridge.berachain.com";
|
|
688
656
|
readonly nft: {
|
|
689
657
|
readonly name: "BeraBridge NFT";
|
|
690
|
-
readonly url: "
|
|
658
|
+
readonly url: "https://nftbridge.berachain.com";
|
|
691
659
|
readonly eth: {
|
|
692
|
-
readonly subgraph: "
|
|
660
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/eth-v1.0.0-beta1/gn";
|
|
693
661
|
};
|
|
694
662
|
readonly berachain: {
|
|
695
|
-
readonly subgraph: "
|
|
663
|
+
readonly subgraph: "https://api.goldsky.com/api/public/project_clq1h5ct0g4a201x18tfte5iv/subgraphs/nft-bridge-subgraph/mainnet-v1.0.0-beta1/gn";
|
|
696
664
|
};
|
|
697
665
|
};
|
|
698
666
|
};
|
|
699
667
|
readonly bend: {
|
|
700
668
|
readonly name: "Bend";
|
|
701
|
-
readonly url: "https://
|
|
702
|
-
readonly whiskApi:
|
|
669
|
+
readonly url: "https://bend.berachain.com";
|
|
670
|
+
readonly whiskApi: {
|
|
671
|
+
readonly name: "Bend Whisk";
|
|
672
|
+
readonly uri: string;
|
|
673
|
+
readonly headers: {
|
|
674
|
+
Authorization: string;
|
|
675
|
+
} | undefined;
|
|
676
|
+
};
|
|
703
677
|
readonly production: {
|
|
704
|
-
readonly morpho:
|
|
705
|
-
readonly adaptiveCurveIrm:
|
|
706
|
-
readonly metaMorphoFactory:
|
|
707
|
-
readonly publicAllocator:
|
|
708
|
-
readonly bundler3:
|
|
709
|
-
readonly generalAdapter1:
|
|
710
|
-
readonly supportedVaults:
|
|
711
|
-
readonly curatorVaults:
|
|
678
|
+
readonly morpho: "0x24147243f9c08d835C218Cda1e135f8dFD0517D0";
|
|
679
|
+
readonly adaptiveCurveIrm: "0xcf247Df3A2322Dea0D408f011c194906E77a6f62";
|
|
680
|
+
readonly metaMorphoFactory: "0x5EDd48C6ACBd565Eeb31702FD9fa9Cbc86fbE616";
|
|
681
|
+
readonly publicAllocator: "0xB62F34Ab315eaDeAc698e8EaEB6Fc2650951BFe7";
|
|
682
|
+
readonly bundler3: "0xF920140A65D0f412f2AB3e76C4fEAB5Eef0657ae";
|
|
683
|
+
readonly generalAdapter1: "0xd2B9667F5214115E27937C410cAeE83E3a901Df7";
|
|
684
|
+
readonly supportedVaults: `0x${string}`[];
|
|
685
|
+
readonly curatorVaults: `0x${string}`[];
|
|
712
686
|
};
|
|
713
687
|
readonly staging: {
|
|
714
|
-
readonly morpho:
|
|
715
|
-
readonly adaptiveCurveIrm:
|
|
716
|
-
readonly metaMorphoFactory:
|
|
717
|
-
readonly publicAllocator:
|
|
718
|
-
readonly bundler3:
|
|
719
|
-
readonly generalAdapter1:
|
|
720
|
-
readonly supportedVaults:
|
|
721
|
-
readonly curatorVaults:
|
|
688
|
+
readonly morpho: "0xC5FabF3a7E98a2ed89f5d5057Ab010634Ca7e71f";
|
|
689
|
+
readonly adaptiveCurveIrm: "0x1d5376e532CcF25b740270624111D665830E5dB9";
|
|
690
|
+
readonly metaMorphoFactory: "0x524061B659380a5e4576d76F0951303B20B5932f";
|
|
691
|
+
readonly publicAllocator: "0xFD6e68bC20be2a01Ec1Df687c83f927087D52811";
|
|
692
|
+
readonly bundler3: "0x56811e1BFfF951B98c7940d3aCe0e549Ec4fDee8";
|
|
693
|
+
readonly generalAdapter1: "0x257a41E20BBfe90D750646C2e00bA700D55958C5";
|
|
694
|
+
readonly supportedVaults: `0x${string}`[];
|
|
695
|
+
readonly curatorVaults: `0x${string}`[];
|
|
722
696
|
};
|
|
723
697
|
};
|
|
724
698
|
readonly enso: {
|
|
725
|
-
readonly walletV2Factory:
|
|
726
|
-
readonly walletFlashloanAdapter:
|
|
699
|
+
readonly walletV2Factory: "0xc914a663837eb21c5a650716e015659686597e55";
|
|
700
|
+
readonly walletFlashloanAdapter: "0x5dE09823D9143886896507107590d9859F3E390b";
|
|
727
701
|
};
|
|
728
702
|
readonly explore: {
|
|
729
703
|
readonly name: "Explore";
|
|
@@ -731,19 +705,11 @@ declare const config: {
|
|
|
731
705
|
};
|
|
732
706
|
readonly explorer: {
|
|
733
707
|
readonly name: "Berascan";
|
|
734
|
-
readonly url: "https://
|
|
708
|
+
readonly url: "https://berascan.com";
|
|
735
709
|
};
|
|
736
710
|
readonly chain: {
|
|
737
711
|
readonly name: string;
|
|
738
712
|
};
|
|
739
|
-
readonly faucet:
|
|
740
|
-
readonly name: "Faucet";
|
|
741
|
-
readonly url: "https://bepolia.faucet.berachain.com";
|
|
742
|
-
readonly dripAmount: 1;
|
|
743
|
-
readonly timeGap: 8;
|
|
744
|
-
readonly cloudflareKey: string;
|
|
745
|
-
readonly endpoint: "https://faucet-api.testnet.berachain.com";
|
|
746
|
-
};
|
|
713
|
+
readonly faucet: null;
|
|
747
714
|
};
|
|
748
|
-
|
|
749
|
-
export { Address, AppName, ChainId, alchemyJsonRpcUrl, appConfig, chainConfigs, defaultChainId as chainId, config, currentDapp, defaultChainId, getRpcUrls, goldskyBaseUrl, imageBaseUrl, jsonRpcUrl, privateRcpUrl, publicJsonRpcUrl };
|
|
715
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/internal/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,CAAC;AAQrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGf,CAAC;AAwIX,eAAO,MAAM,SAAS;;;;QAPpB;;WAEG;;;;;;YAvHC;;;eAGG;;;oCAKuD,MAAM;;;;YAMhE;;;eAGG;0CACwD,MAAM;YACjE;;;;eAIG;2BAC+B,MAAM;8BACA,MAAM;YAC9C;;;;eAIG;mCACgD,MAAM;YACzD;;;;eAIG;iCAC4C,MAAM;gCACT,MAAM;4BACd,MAAM;gCACI,MAAM;2BAClB,MAAM;gCACI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiCpD;;;WAGG;;QAEH;;;WAGG;;QAGH;;;WAGG;;;;;;;;;;CAsCG,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAET,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { NextRequest, NextResponse } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
interface MaintenanceConfig {
|
|
1
|
+
import { type NextRequest, NextResponse } from "next/server";
|
|
2
|
+
export declare const DEFAULT_MAINTENANCE_EXEMPT_PATHS: string[];
|
|
3
|
+
export interface MaintenanceConfig {
|
|
5
4
|
isMaintenance: boolean;
|
|
6
5
|
exemptPaths?: string[];
|
|
7
6
|
maintenancePath?: string;
|
|
8
7
|
}
|
|
9
|
-
declare function checkMaintenanceMode(req: NextRequest, config: MaintenanceConfig): NextResponse | null;
|
|
10
|
-
|
|
11
|
-
export { DEFAULT_MAINTENANCE_EXEMPT_PATHS, type MaintenanceConfig, checkMaintenanceMode };
|
|
8
|
+
export declare function checkMaintenanceMode(req: NextRequest, config: MaintenanceConfig): NextResponse | null;
|
|
9
|
+
//# sourceMappingURL=maintenance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maintenance.d.ts","sourceRoot":"","sources":["../../src/internal/maintenance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE7D,eAAO,MAAM,gCAAgC,UAI5C,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,WAAW,EAChB,MAAM,EAAE,iBAAiB,GACxB,YAAY,GAAG,IAAI,CAiBrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../src/internal/nextjs/const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAC7C,WAAW,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAiFpD,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { NextConfig } from
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import type { NextConfig } from "next";
|
|
2
|
+
import type { AppName } from "../../types";
|
|
4
3
|
/**
|
|
5
4
|
* The images config for Bera.
|
|
6
5
|
* It's a subset of the Next.js images config.
|
|
@@ -13,7 +12,7 @@ type BeraImagesConfig = Omit<NextConfig["images"], "remotePatterns">;
|
|
|
13
12
|
type BeraNextConfig = Omit<NextConfig, "images"> & {
|
|
14
13
|
images?: BeraImagesConfig;
|
|
15
14
|
};
|
|
16
|
-
declare function withBeraConfig(config: BeraNextConfig, { withSentry, withPostHogReverseProxy, appName, }: {
|
|
15
|
+
export declare function withBeraConfig(config: BeraNextConfig, { withSentry, withPostHogReverseProxy, appName, }: {
|
|
17
16
|
withSentry?: boolean;
|
|
18
17
|
/**
|
|
19
18
|
* The name of the app, it'll be set as NEXT_PUBLIC_BERA_APP_NAME in the environment variables.
|
|
@@ -30,5 +29,5 @@ declare function withBeraConfig(config: BeraNextConfig, { withSentry, withPostHo
|
|
|
30
29
|
*/
|
|
31
30
|
withPostHogReverseProxy?: boolean;
|
|
32
31
|
}): NextConfig;
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/internal/nextjs/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAQ3C;;;GAGG;AACH,KAAK,gBAAgB,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,CAAC;AAErE;;;GAGG;AACH,KAAK,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG;IACjD,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AAEF,wBAAgB,cAAc,CAC5B,MAAM,EAAE,cAAc,EACtB,EACE,UAAiB,EACjB,uBAA8B,EAC9B,OAAO,GACR,EAAE;IACD,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;;;OAKG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,GACA,UAAU,CA4DZ"}
|
|
@@ -4,6 +4,5 @@
|
|
|
4
4
|
* @param urlString - The URL to check.
|
|
5
5
|
* @returns boolean indicating if the url matches one of the allowed remote patterns.
|
|
6
6
|
*/
|
|
7
|
-
declare function isAllowedImageUrl(urlString: string | undefined): boolean;
|
|
8
|
-
|
|
9
|
-
export { isAllowedImageUrl };
|
|
7
|
+
export declare function isAllowedImageUrl(urlString: string | undefined): boolean;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/nextjs/utils/index.ts"],"names":[],"mappings":"AA4BA;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAgCxE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parses the Sentry DSN and returns the keys and csp endpoint.
|
|
3
|
+
*
|
|
4
|
+
* NEXT_PUBLIC_SENTRY_DSN is usually set by Sentry Vercel integration.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getSentryKeys({ dsn, }?: {
|
|
7
|
+
dsn?: string;
|
|
8
|
+
}): {
|
|
9
|
+
dsn: string;
|
|
10
|
+
projectId: string;
|
|
11
|
+
deprecatedSecret: string | undefined;
|
|
12
|
+
cspEndpoint: URL;
|
|
13
|
+
org: string;
|
|
14
|
+
publicKey: string;
|
|
15
|
+
} | undefined;
|
|
16
|
+
//# sourceMappingURL=getSentryKeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSentryKeys.d.ts","sourceRoot":"","sources":["../../../src/internal/sentry/getSentryKeys.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAC5B,GAAwC,GACzC,GAAE;IACD,GAAG,CAAC,EAAE,MAAM,CAAC;CACT;;;;;;;cAuCL"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import * as Sentry from
|
|
2
|
-
import { NextConfig } from
|
|
3
|
-
|
|
1
|
+
import * as Sentry from "@sentry/nextjs";
|
|
2
|
+
import type { NextConfig } from "next";
|
|
4
3
|
/**
|
|
5
4
|
* This function registers Sentry in nextjs instrumentation.
|
|
6
5
|
*
|
|
7
6
|
* @link https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/#create-initialization-config-files
|
|
8
7
|
*/
|
|
9
|
-
declare function registerSentry(opt?: Parameters<typeof Sentry.init>[0]): Promise<void>;
|
|
10
|
-
declare function withSentryConfig(config: NextConfig): NextConfig;
|
|
11
|
-
declare const onRequestError: typeof Sentry.captureRequestError;
|
|
12
|
-
|
|
13
|
-
export { onRequestError, registerSentry, withSentryConfig };
|
|
8
|
+
export declare function registerSentry(opt?: Parameters<typeof Sentry.init>[0]): Promise<void>;
|
|
9
|
+
export declare function withSentryConfig(config: NextConfig): NextConfig;
|
|
10
|
+
export declare const onRequestError: typeof Sentry.captureRequestError;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/internal/sentry/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC;;;;GAIG;AACH,wBAAsB,cAAc,CAClC,GAAG,GAAE,UAAU,CAAC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAM,iBAa5C;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,cAoElD;AAED,eAAO,MAAM,cAAc,mCAA6B,CAAC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare function initSentryClient(Sentry: typeof Sentry, opt?: Sentry.BrowserOptions): _sentry_core.Client<_sentry_core.ClientOptions<_sentry_core.BaseTransportOptions>> | undefined;
|
|
5
|
-
|
|
6
|
-
export { initSentryClient };
|
|
1
|
+
import type * as SentryType from "@sentry/nextjs";
|
|
2
|
+
export declare function initSentryClient(Sentry: typeof SentryType, opt?: SentryType.BrowserOptions): import("@sentry/core").Client<import("@sentry/core").ClientOptions<import("@sentry/core").BaseTransportOptions>> | undefined;
|
|
3
|
+
//# sourceMappingURL=sentry.client.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sentry.client.config.d.ts","sourceRoot":"","sources":["../../../src/internal/sentry/sentry.client.config.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAelD,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,OAAO,UAAU,EACzB,GAAG,GAAE,UAAU,CAAC,cAAmB,gIAoDpC"}
|