@berachain/config 0.1.21 → 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.
Files changed (79) hide show
  1. package/dist/bepolia.d.ts +3 -5
  2. package/dist/bepolia.d.ts.map +1 -0
  3. package/dist/index.d.ts +3 -6
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/internal/edge-config/{index.d.cts → edgeConfig.codegen.d.ts} +13 -62
  6. package/dist/internal/edge-config/edgeConfig.codegen.d.ts.map +1 -0
  7. package/dist/internal/edge-config/index.d.ts +5 -335
  8. package/dist/internal/edge-config/index.d.ts.map +1 -0
  9. package/dist/internal/edge-config/isFlagEnabled.d.ts +17 -0
  10. package/dist/internal/edge-config/isFlagEnabled.d.ts.map +1 -0
  11. package/dist/internal/edge-config/safeGetAll.d.ts +15 -0
  12. package/dist/internal/edge-config/safeGetAll.d.ts.map +1 -0
  13. package/dist/internal/edge-config/safeGetConfig.d.ts +19 -0
  14. package/dist/internal/edge-config/safeGetConfig.d.ts.map +1 -0
  15. package/dist/internal/flags/beraEdgeConfigAdapter.d.ts +9 -0
  16. package/dist/internal/flags/beraEdgeConfigAdapter.d.ts.map +1 -0
  17. package/dist/internal/flags/flags.d.ts +29 -0
  18. package/dist/internal/flags/flags.d.ts.map +1 -0
  19. package/dist/internal/flags/index.d.ts +2 -60
  20. package/dist/internal/flags/index.d.ts.map +1 -0
  21. package/dist/internal/header-sources.d.ts +5 -7
  22. package/dist/internal/header-sources.d.ts.map +1 -0
  23. package/dist/internal/index.d.ts +139 -173
  24. package/dist/internal/index.d.ts.map +1 -0
  25. package/dist/internal/maintenance.d.ts +5 -7
  26. package/dist/internal/maintenance.d.ts.map +1 -0
  27. package/dist/internal/nextjs/const.d.ts +3 -0
  28. package/dist/internal/nextjs/const.d.ts.map +1 -0
  29. package/dist/internal/nextjs/index.d.ts +5 -6
  30. package/dist/internal/nextjs/index.d.ts.map +1 -0
  31. package/dist/internal/nextjs/utils/index.d.ts +2 -3
  32. package/dist/internal/nextjs/utils/index.d.ts.map +1 -0
  33. package/dist/internal/sentry/getSentryKeys.d.ts +16 -0
  34. package/dist/internal/sentry/getSentryKeys.d.ts.map +1 -0
  35. package/dist/internal/sentry/index.d.ts +6 -8
  36. package/dist/internal/sentry/index.d.ts.map +1 -0
  37. package/dist/internal/sentry/sentry.client.config.d.ts +3 -6
  38. package/dist/internal/sentry/sentry.client.config.d.ts.map +1 -0
  39. package/dist/internal/sentry/sentry.edge.config.d.ts +3 -0
  40. package/dist/internal/sentry/sentry.edge.config.d.ts.map +1 -0
  41. package/dist/internal/sentry/sentry.server.config.d.ts +3 -0
  42. package/dist/internal/sentry/sentry.server.config.d.ts.map +1 -0
  43. package/dist/internal/sentry/sentryEnvironment.d.ts +6 -0
  44. package/dist/internal/sentry/sentryEnvironment.d.ts.map +1 -0
  45. package/dist/internal/tailwind/{index.d.cts → config.d.ts} +14 -16
  46. package/dist/internal/tailwind/config.d.ts.map +1 -0
  47. package/dist/internal/tailwind/index.d.ts +6 -8
  48. package/dist/internal/tailwind/index.d.ts.map +1 -0
  49. package/dist/internal/tsup/index.cjs +30 -4
  50. package/dist/internal/tsup/index.d.ts +3 -6
  51. package/dist/internal/tsup/index.d.ts.map +1 -0
  52. package/dist/internal/tsup/index.mjs +30 -4
  53. package/dist/internal/wagmi/index.d.ts +6 -8
  54. package/dist/internal/wagmi/index.d.ts.map +1 -0
  55. package/dist/mainnet.d.ts +3 -5
  56. package/dist/mainnet.d.ts.map +1 -0
  57. package/dist/{types-Drv0VlAi.d.cts → types.d.ts} +8 -8
  58. package/dist/types.d.ts.map +1 -0
  59. package/dist/utils/dynamicEnvVariable.d.ts +21 -0
  60. package/dist/utils/dynamicEnvVariable.d.ts.map +1 -0
  61. package/dist/utils/env.d.ts +29 -0
  62. package/dist/utils/env.d.ts.map +1 -0
  63. package/dist/utils/getUriFromLink.d.ts +3 -0
  64. package/dist/utils/getUriFromLink.d.ts.map +1 -0
  65. package/package.json +1 -1
  66. package/dist/bepolia.d.cts +0 -169
  67. package/dist/index.d.cts +0 -6
  68. package/dist/internal/flags/index.d.cts +0 -60
  69. package/dist/internal/header-sources.d.cts +0 -22
  70. package/dist/internal/index.d.cts +0 -749
  71. package/dist/internal/maintenance.d.cts +0 -11
  72. package/dist/internal/nextjs/index.d.cts +0 -34
  73. package/dist/internal/nextjs/utils/index.d.cts +0 -9
  74. package/dist/internal/sentry/index.d.cts +0 -13
  75. package/dist/internal/sentry/sentry.client.config.d.cts +0 -6
  76. package/dist/internal/tsup/index.d.cts +0 -6
  77. package/dist/internal/wagmi/index.d.cts +0 -12
  78. package/dist/mainnet.d.cts +0 -154
  79. package/dist/types-Drv0VlAi.d.ts +0 -214
package/dist/bepolia.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- import { C as ChainId, A as Address } from './types-Drv0VlAi.js';
2
-
3
- declare const bepolia: {
1
+ import { type Address, ChainId } from "./types";
2
+ export declare const bepolia: {
4
3
  readonly chainId: ChainId.BEPOLIA;
5
4
  readonly tokens: {
6
5
  readonly wbera: "0x6969696969696969696969696969696969696969";
@@ -165,5 +164,4 @@ declare const bepolia: {
165
164
  readonly endpoint: "https://faucet-api.testnet.berachain.com";
166
165
  };
167
166
  };
168
-
169
- export { bepolia };
167
+ //# sourceMappingURL=bepolia.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bepolia.d.ts","sourceRoot":"","sources":["../src/bepolia.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAmB,OAAO,EAAE,MAAM,SAAS,CAAC;AAEjE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAuIS,OAAO,EAAE;oCACX,OAAO,EAAE;;;;;;;;;sCASP,OAAO,EAAE;oCACX,OAAO,EAAE;;;;;;;;;;;;;;;;;;IAmBlC;;;;OAIG;;;;QAID;;WAEG;;QAEH;;WAEG;;;QAGH;;WAEG;;;CAGwB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,6 +1,3 @@
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
-
4
- declare function getUriFromLink(link: HttpLink): string;
5
-
6
- export { HttpLink, getUriFromLink };
1
+ export * from "./types";
2
+ export * from "./utils/getUriFromLink";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC"}
@@ -1,11 +1,9 @@
1
- import { C as ChainId, a as AppName$1 } from '../../types-Drv0VlAi.cjs';
2
-
3
1
  /**
4
2
  * This file was automatically generated by json-schema-to-typescript.
5
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
6
4
  * and run json-schema-to-typescript to regenerate this file.
7
5
  */
8
- type DynamicEnabled = boolean | {
6
+ export type DynamicEnabled = boolean | {
9
7
  chain?: ("mainnet" | "bepolia")[];
10
8
  /**
11
9
  * If set, the flag will only be enabled on the specified branch. Otherwise, it will be enabled on all branches.
@@ -23,13 +21,13 @@ type DynamicEnabled = boolean | {
23
21
  endAt?: string;
24
22
  condition?: "AND" | "OR";
25
23
  };
26
- type AppName = "BeraHub" | "Honey" | "Bend";
27
- type Address = string;
28
- type MixedBannerItem = BannerItemV2 | StandardBannerItem;
24
+ export type AppName = "BeraHub" | "Honey" | "Bend";
25
+ export type Address = string;
26
+ export type MixedBannerItem = BannerItemV2 | StandardBannerItem;
29
27
  /**
30
28
  * Edge config schema. Please update this in the @berachain/config package first and keep it stored there.
31
29
  */
32
- interface EdgeConfigSchema {
30
+ export interface EdgeConfigSchema {
33
31
  $schema?: string;
34
32
  flags: {
35
33
  [k: string]: DynamicEnabled;
@@ -213,7 +211,7 @@ interface EdgeConfigSchema {
213
211
  }[];
214
212
  };
215
213
  }
216
- interface VaultItem {
214
+ export interface VaultItem {
217
215
  address: Address;
218
216
  enabled: DynamicEnabled;
219
217
  _name?: string;
@@ -221,7 +219,7 @@ interface VaultItem {
221
219
  /**
222
220
  * Copy for a single step in the BGT migration widget. Each field is optional — missing fields fall back to the in-code defaults.
223
221
  */
224
- interface BgtMigrationStep {
222
+ export interface BgtMigrationStep {
225
223
  /**
226
224
  * Label shown in the stepper sidebar.
227
225
  */
@@ -238,7 +236,7 @@ interface BgtMigrationStep {
238
236
  /**
239
237
  * A deprecated BGT-derivative token surfaced in the migration widget's 'BGT derivatives' tab. Addresses are chain-specific, so this list is configured per chain.
240
238
  */
241
- interface BgtDerivative {
239
+ export interface BgtDerivative {
242
240
  /**
243
241
  * Token symbol shown in the UI (e.g. 'iBGT').
244
242
  */
@@ -256,7 +254,7 @@ interface BgtDerivative {
256
254
  */
257
255
  unstakeUrl: string;
258
256
  }
259
- interface BannerItemV2 {
257
+ export interface BannerItemV2 {
260
258
  text: string;
261
259
  className?: string;
262
260
  linkClassName?: string;
@@ -266,11 +264,11 @@ interface BannerItemV2 {
266
264
  paths?: string[];
267
265
  variant?: "info" | "warning" | "bend" | "honey" | "hub";
268
266
  }
269
- interface StandardBannerItem {
267
+ export interface StandardBannerItem {
270
268
  enabled: DynamicEnabled;
271
269
  type: "rpc" | "bepolia" | "slow";
272
270
  }
273
- interface TokenItem {
271
+ export interface TokenItem {
274
272
  address: Address;
275
273
  decimals: number;
276
274
  symbol: string;
@@ -281,55 +279,8 @@ interface TokenItem {
281
279
  chainId?: number;
282
280
  enabled: DynamicEnabled;
283
281
  }
284
- interface LstStakingVaultItem {
282
+ export interface LstStakingVaultItem {
285
283
  address: Address;
286
284
  enabled: DynamicEnabled;
287
285
  }
288
-
289
- /**
290
- * Checks if a dynamic feature flag is enabled based on the provided chain and environment.
291
- *
292
- * @param flag - The dynamic flag value, which can be a boolean or an object specifying conditions.
293
- * @param options - Optional parameters to override the default chain and environment.
294
- * @param options.chain - The chain ID to check against (defaults to current chainId).
295
- * @param options.environment - The environment to check against (defaults to process.env.VERCEL_TARGET_ENV).
296
- * @returns True if the flag is enabled for the given chain and environment, false otherwise.
297
- */
298
- declare function isFlagEnabled(flag: DynamicEnabled, { chain, environment, app, }?: {
299
- chain?: ChainId;
300
- environment?: string;
301
- app?: AppName$1;
302
- }): boolean;
303
-
304
- /**
305
- * Safely retrieves all values from the Vercel Edge Config.
306
- *
307
- * @template T - The type of the config schema to retrieve (defaults to EdgeConfigSchema).
308
- * @param options - Optional parameters.
309
- * @param options.chain - The chain ID to check against (not currently used).
310
- * @param options.environment - The environment to check against (not currently used).
311
- * @param options.onError - Optional error handler callback.
312
- * @returns A promise that resolves to the config object, or undefined if retrieval fails.
313
- */
314
- declare function safeGetAll<T = EdgeConfigSchema>({ onError, }?: {
315
- onError?: (error: unknown) => void;
316
- }): Promise<T | undefined>;
317
-
318
- /**
319
- * Safely retrieves a value from the Vercel Edge Config by key.
320
- *
321
- * @template T - The key of the EdgeConfigSchema to retrieve.
322
- * @param flagName - The name of the config flag to retrieve.
323
- * @param options - Optional parameters.
324
- * @param options.chain - The chain ID to check against (not currently used).
325
- * @param options.environment - The environment to check against (not currently used).
326
- * @param options.onError - Optional error handler callback.
327
- * @returns A promise that resolves to the value of the config flag, or undefined if retrieval fails.
328
- */
329
- declare function safeGetConfig<T extends keyof EdgeConfigSchema>(flagName: T, { onError, }?: {
330
- chain?: ChainId;
331
- environment?: string;
332
- onError?: (error: unknown) => void;
333
- }): Promise<EdgeConfigSchema[T] | undefined>;
334
-
335
- export { type Address, type AppName, type BannerItemV2, type BgtDerivative, type BgtMigrationStep, type DynamicEnabled, type EdgeConfigSchema, type LstStakingVaultItem, type MixedBannerItem, type StandardBannerItem, type TokenItem, type VaultItem, isFlagEnabled, safeGetAll, safeGetConfig };
286
+ //# sourceMappingURL=edgeConfig.codegen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edgeConfig.codegen.d.ts","sourceRoot":"","sources":["../../../src/internal/edge-config/edgeConfig.codegen.ts"],"names":[],"mappings":"AACA;;;;GAIG;AAEH,MAAM,MAAM,cAAc,GACtB,OAAO,GACP;IACE,KAAK,CAAC,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC,EAAE,CAAC;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,YAAY,GAAG,SAAS,GAAG,SAAS,EAAE,GAAG,CAAC,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC;IAC7F;;;;OAIG;IACH,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC1B,CAAC;AACN,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AACnD,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAC7B,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG,kBAAkB,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE;QACL,CAAC,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;KAC7B,CAAC;IACF,GAAG,EAAE;QACH;;WAEG;QACH,WAAW,CAAC,EAAE;YACZ,CAAC,CAAC,EAAE,MAAM,GAAG,cAAc,CAAC;SAC7B,CAAC;QACF;;WAEG;QACH,eAAe,CAAC,EAAE;YAChB;;;eAGG;YACH,CAAC,CAAC,EAAE,MAAM,GAAG;gBACX,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,WAAW,CAAC,EAAE,MAAM,CAAC;gBAC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S,GAAG,MAAM,CAAC;CAClC;AACD,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,cAAc,CAAC;CACzB;AACD,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,cAAc,CAAC;CACzB"}
@@ -1,335 +1,5 @@
1
- import { C as ChainId, a as AppName$1 } from '../../types-Drv0VlAi.js';
2
-
3
- /**
4
- * This file was automatically generated by json-schema-to-typescript.
5
- * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
6
- * and run json-schema-to-typescript to regenerate this file.
7
- */
8
- type DynamicEnabled = boolean | {
9
- chain?: ("mainnet" | "bepolia")[];
10
- /**
11
- * If set, the flag will only be enabled on the specified branch. Otherwise, it will be enabled on all branches.
12
- *
13
- * @minItems 1
14
- */
15
- branch?: ["production" | "staging" | "preview", ...("production" | "staging" | "preview")[]];
16
- /**
17
- * If set, the flag will only be enabled on the specified app. Otherwise, it will be enabled on all apps.
18
- *
19
- * @minItems 1
20
- */
21
- app?: [AppName, ...AppName[]];
22
- startAt?: string;
23
- endAt?: string;
24
- condition?: "AND" | "OR";
25
- };
26
- type AppName = "BeraHub" | "Honey" | "Bend";
27
- type Address = string;
28
- type MixedBannerItem = BannerItemV2 | StandardBannerItem;
29
- /**
30
- * Edge config schema. Please update this in the @berachain/config package first and keep it stored there.
31
- */
32
- interface EdgeConfigSchema {
33
- $schema?: string;
34
- flags: {
35
- [k: string]: DynamicEnabled;
36
- };
37
- bex: {
38
- /**
39
- * An object of aggregators and their enabled status. The key is the aggregator name in lowercase and without spaces and must be in the Aggregators enum.
40
- */
41
- aggregators?: {
42
- [k: string]: DynamicEnabled;
43
- };
44
- /**
45
- * Labels for the emergency messages and banners. (e.g. pool or vaults are paused)
46
- */
47
- emergencyLabels?: {
48
- /**
49
- * This interface was referenced by `undefined`'s JSON-Schema definition
50
- * via the `patternProperty` "^(vaultPaused|poolRecovery|poolPaused|poolInRecoveryMode|poolPausedAndInRecoveryMode)$".
51
- */
52
- [k: string]: {
53
- title?: string;
54
- description?: string;
55
- banner?: string;
56
- };
57
- };
58
- /**
59
- * If true, weighted pool creation will be disabled.
60
- */
61
- disableWeightedPoolCreation?: boolean;
62
- };
63
- pol: {
64
- /**
65
- * @minItems 2
66
- */
67
- featured?: [VaultItem, VaultItem, ...VaultItem[]];
68
- /**
69
- * Vault addresses in this list won't show the stake section. This is because stake/unstake is done thought a contract that holds the whole supply.
70
- */
71
- singleHolderVaults?: {
72
- address: Address;
73
- _name?: string;
74
- }[];
75
- /**
76
- * The APR for the staked wBera vault. This is used to display the APR in the APR banner.
77
- */
78
- swberaApr?: number;
79
- /**
80
- * The version of the staked wBera vault.
81
- */
82
- swberaMainnetVersion?: "V1" | "V2";
83
- /**
84
- * the window is DAY or WEEK, its the window for calculating the APR
85
- */
86
- swberaAprWindow?: "DAY" | "WEEK";
87
- /**
88
- * X post URL for the vNext onboarding 'Learn more' button. Falls back to the docs URL when unset.
89
- */
90
- vnextOnboardingUrl?: string;
91
- automatedRewardAllocation: {
92
- blockDelayLabel: string;
93
- hoursToWarnInAdvance: number;
94
- };
95
- /**
96
- * User-facing copy for the portfolio PoL migration widget (BGT / Incentives / BGT derivatives tabs). Every field is optional; the app merges what's provided here over the in-code defaults, so a partial override leaves everything else intact.
97
- */
98
- bgtMigrationWidget?: {
99
- /**
100
- * Always-visible widget header (e.g. 'PoL Migration').
101
- */
102
- widgetTitle?: string;
103
- /**
104
- * Header text shown once every tab is complete.
105
- */
106
- completedTitle?: string;
107
- /**
108
- * Labels for the three migration tabs.
109
- */
110
- tabs?: {
111
- bgt?: string;
112
- incentives?: string;
113
- derivatives?: string;
114
- };
115
- /**
116
- * BGT tab heading.
117
- */
118
- title?: string;
119
- /**
120
- * BGT tab sub-copy; each entry renders as its own paragraph.
121
- */
122
- description?: string[];
123
- /**
124
- * Per-step copy for the BGT tab. Each step id is optional; missing steps (and missing fields within a step) fall back to the in-code defaults. Unknown step ids are rejected so a typo cannot silently break a step's copy.
125
- */
126
- steps?: {
127
- claimFees?: BgtMigrationStep;
128
- unboost?: BgtMigrationStep;
129
- redeemBGT?: BgtMigrationStep;
130
- stakeBERA?: BgtMigrationStep;
131
- };
132
- /**
133
- * Copy for the Incentives tab.
134
- */
135
- incentives?: {
136
- title?: string;
137
- description?: string;
138
- alertText?: string;
139
- claimCta?: string;
140
- };
141
- /**
142
- * Copy for the BGT derivatives tab.
143
- */
144
- derivatives?: {
145
- title?: string;
146
- description?: string;
147
- convertCta?: string;
148
- };
149
- /**
150
- * BGT-derivative tokens listed in the 'BGT derivatives' tab, configured per chain (addresses differ between mainnet and bepolia). When a chain has no entries, the derivatives tab is disabled and counts as complete (no work to do). Omit a chain entirely to fall back to the in-code defaults for that chain.
151
- */
152
- derivativeTokens?: {
153
- /**
154
- * Derivative tokens for Berachain mainnet.
155
- */
156
- mainnet?: BgtDerivative[];
157
- /**
158
- * Derivative tokens for the Bepolia testnet.
159
- */
160
- bepolia?: BgtDerivative[];
161
- };
162
- /**
163
- * Copy for the site-wide nudge banner shown when a user has un-migrated BGT positions.
164
- */
165
- banner?: {
166
- /**
167
- * Banner text; the whole strip links to the portfolio migration widget.
168
- */
169
- text?: string;
170
- };
171
- };
172
- };
173
- honey: {
174
- /**
175
- * Object containing the collateral order for mainnet & bepolia.
176
- */
177
- preferredCollateralOrder?: {
178
- mainnet: {
179
- address: Address;
180
- _label?: string;
181
- }[];
182
- bepolia: {
183
- address: Address;
184
- _label?: string;
185
- }[];
186
- };
187
- /**
188
- * The label for the Honey protocol paused message.
189
- */
190
- pausedBannerLabel?: string;
191
- };
192
- banners: MixedBannerItem[];
193
- tokens?: TokenItem[];
194
- lstStakingVaults?: LstStakingVaultItem[];
195
- maintenance?: {
196
- /**
197
- * This interface was referenced by `undefined`'s JSON-Schema definition
198
- * via the `patternProperty` "^(hub|honey|bridge|boyco)$".
199
- */
200
- [k: string]: {
201
- enabled?: DynamicEnabled;
202
- [k: string]: unknown;
203
- };
204
- };
205
- wagmi: {
206
- /**
207
- * The list of external chains that are approved for multi chain zapping.
208
- */
209
- externalChainList: {
210
- chainId: number;
211
- _name?: string;
212
- enabled: DynamicEnabled;
213
- }[];
214
- };
215
- }
216
- interface VaultItem {
217
- address: Address;
218
- enabled: DynamicEnabled;
219
- _name?: string;
220
- }
221
- /**
222
- * Copy for a single step in the BGT migration widget. Each field is optional — missing fields fall back to the in-code defaults.
223
- */
224
- interface BgtMigrationStep {
225
- /**
226
- * Label shown in the stepper sidebar.
227
- */
228
- label?: string;
229
- /**
230
- * Title shown at the top of the step card.
231
- */
232
- title?: string;
233
- /**
234
- * Informational text shown in a muted alert row inside the step card.
235
- */
236
- alertText?: string;
237
- }
238
- /**
239
- * A deprecated BGT-derivative token surfaced in the migration widget's 'BGT derivatives' tab. Addresses are chain-specific, so this list is configured per chain.
240
- */
241
- interface BgtDerivative {
242
- /**
243
- * Token symbol shown in the UI (e.g. 'iBGT').
244
- */
245
- symbol: string;
246
- /**
247
- * Human-readable source protocol (e.g. 'Infrared'), shown on the 'Unstake on {protocol}' link.
248
- */
249
- protocol: string;
250
- /**
251
- * ERC20 address of the derivative token; the in-wallet (idle) balance is read from here.
252
- */
253
- tokenAddress: string;
254
- /**
255
- * External page where the user unstakes / redeems this derivative.
256
- */
257
- unstakeUrl: string;
258
- }
259
- interface BannerItemV2 {
260
- text: string;
261
- className?: string;
262
- linkClassName?: string;
263
- enabled: DynamicEnabled;
264
- href?: string;
265
- icon?: "bend";
266
- paths?: string[];
267
- variant?: "info" | "warning" | "bend" | "honey" | "hub";
268
- }
269
- interface StandardBannerItem {
270
- enabled: DynamicEnabled;
271
- type: "rpc" | "bepolia" | "slow";
272
- }
273
- interface TokenItem {
274
- address: Address;
275
- decimals: number;
276
- symbol: string;
277
- name: string;
278
- tags?: string[];
279
- base64?: string;
280
- logoURI?: string;
281
- chainId?: number;
282
- enabled: DynamicEnabled;
283
- }
284
- interface LstStakingVaultItem {
285
- address: Address;
286
- enabled: DynamicEnabled;
287
- }
288
-
289
- /**
290
- * Checks if a dynamic feature flag is enabled based on the provided chain and environment.
291
- *
292
- * @param flag - The dynamic flag value, which can be a boolean or an object specifying conditions.
293
- * @param options - Optional parameters to override the default chain and environment.
294
- * @param options.chain - The chain ID to check against (defaults to current chainId).
295
- * @param options.environment - The environment to check against (defaults to process.env.VERCEL_TARGET_ENV).
296
- * @returns True if the flag is enabled for the given chain and environment, false otherwise.
297
- */
298
- declare function isFlagEnabled(flag: DynamicEnabled, { chain, environment, app, }?: {
299
- chain?: ChainId;
300
- environment?: string;
301
- app?: AppName$1;
302
- }): boolean;
303
-
304
- /**
305
- * Safely retrieves all values from the Vercel Edge Config.
306
- *
307
- * @template T - The type of the config schema to retrieve (defaults to EdgeConfigSchema).
308
- * @param options - Optional parameters.
309
- * @param options.chain - The chain ID to check against (not currently used).
310
- * @param options.environment - The environment to check against (not currently used).
311
- * @param options.onError - Optional error handler callback.
312
- * @returns A promise that resolves to the config object, or undefined if retrieval fails.
313
- */
314
- declare function safeGetAll<T = EdgeConfigSchema>({ onError, }?: {
315
- onError?: (error: unknown) => void;
316
- }): Promise<T | undefined>;
317
-
318
- /**
319
- * Safely retrieves a value from the Vercel Edge Config by key.
320
- *
321
- * @template T - The key of the EdgeConfigSchema to retrieve.
322
- * @param flagName - The name of the config flag to retrieve.
323
- * @param options - Optional parameters.
324
- * @param options.chain - The chain ID to check against (not currently used).
325
- * @param options.environment - The environment to check against (not currently used).
326
- * @param options.onError - Optional error handler callback.
327
- * @returns A promise that resolves to the value of the config flag, or undefined if retrieval fails.
328
- */
329
- declare function safeGetConfig<T extends keyof EdgeConfigSchema>(flagName: T, { onError, }?: {
330
- chain?: ChainId;
331
- environment?: string;
332
- onError?: (error: unknown) => void;
333
- }): Promise<EdgeConfigSchema[T] | undefined>;
334
-
335
- export { type Address, type AppName, type BannerItemV2, type BgtDerivative, type BgtMigrationStep, type DynamicEnabled, type EdgeConfigSchema, type LstStakingVaultItem, type MixedBannerItem, type StandardBannerItem, type TokenItem, type VaultItem, isFlagEnabled, safeGetAll, safeGetConfig };
1
+ export * from "./edgeConfig.codegen";
2
+ export * from "./isFlagEnabled";
3
+ export * from "./safeGetAll";
4
+ export * from "./safeGetConfig";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/internal/edge-config/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { type AppName, ChainId } from "../../types";
2
+ import type { DynamicEnabled } from "./edgeConfig.codegen";
3
+ /**
4
+ * Checks if a dynamic feature flag is enabled based on the provided chain and environment.
5
+ *
6
+ * @param flag - The dynamic flag value, which can be a boolean or an object specifying conditions.
7
+ * @param options - Optional parameters to override the default chain and environment.
8
+ * @param options.chain - The chain ID to check against (defaults to current chainId).
9
+ * @param options.environment - The environment to check against (defaults to process.env.VERCEL_TARGET_ENV).
10
+ * @returns True if the flag is enabled for the given chain and environment, false otherwise.
11
+ */
12
+ export declare function isFlagEnabled(flag: DynamicEnabled, { chain, environment, app, }?: {
13
+ chain?: ChainId;
14
+ environment?: string;
15
+ app?: AppName;
16
+ }): boolean;
17
+ //# sourceMappingURL=isFlagEnabled.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isFlagEnabled.d.ts","sourceRoot":"","sources":["../../../src/internal/edge-config/isFlagEnabled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAsE3D;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,cAAc,EACpB,EACE,KAAe,EACf,WAA2C,EAC3C,GAAiB,GAClB,GAAE;IACD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,OAAO,CAAC;CACV,GACL,OAAO,CA2BT"}
@@ -0,0 +1,15 @@
1
+ import type { EdgeConfigSchema } from "./edgeConfig.codegen";
2
+ /**
3
+ * Safely retrieves all values from the Vercel Edge Config.
4
+ *
5
+ * @template T - The type of the config schema to retrieve (defaults to EdgeConfigSchema).
6
+ * @param options - Optional parameters.
7
+ * @param options.chain - The chain ID to check against (not currently used).
8
+ * @param options.environment - The environment to check against (not currently used).
9
+ * @param options.onError - Optional error handler callback.
10
+ * @returns A promise that resolves to the config object, or undefined if retrieval fails.
11
+ */
12
+ export declare function safeGetAll<T = EdgeConfigSchema>({ onError, }?: {
13
+ onError?: (error: unknown) => void;
14
+ }): Promise<T | undefined>;
15
+ //# sourceMappingURL=safeGetAll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"safeGetAll.d.ts","sourceRoot":"","sources":["../../../src/internal/edge-config/safeGetAll.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D;;;;;;;;;GASG;AACH,wBAAsB,UAAU,CAAC,CAAC,GAAG,gBAAgB,EAAE,EACrD,OAAO,GACR,GAAE;IACD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/B,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAO9B"}
@@ -0,0 +1,19 @@
1
+ import type { ChainId } from "../../types";
2
+ import type { EdgeConfigSchema } from "./edgeConfig.codegen";
3
+ /**
4
+ * Safely retrieves a value from the Vercel Edge Config by key.
5
+ *
6
+ * @template T - The key of the EdgeConfigSchema to retrieve.
7
+ * @param flagName - The name of the config flag to retrieve.
8
+ * @param options - Optional parameters.
9
+ * @param options.chain - The chain ID to check against (not currently used).
10
+ * @param options.environment - The environment to check against (not currently used).
11
+ * @param options.onError - Optional error handler callback.
12
+ * @returns A promise that resolves to the value of the config flag, or undefined if retrieval fails.
13
+ */
14
+ export declare function safeGetConfig<T extends keyof EdgeConfigSchema>(flagName: T, { onError, }?: {
15
+ chain?: ChainId;
16
+ environment?: string;
17
+ onError?: (error: unknown) => void;
18
+ }): Promise<EdgeConfigSchema[T] | undefined>;
19
+ //# sourceMappingURL=safeGetConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"safeGetConfig.d.ts","sourceRoot":"","sources":["../../../src/internal/edge-config/safeGetConfig.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,wBAAsB,aAAa,CAAC,CAAC,SAAS,MAAM,gBAAgB,EAClE,QAAQ,EAAE,CAAC,EACX,EACE,OAAO,GACR,GAAE;IACD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/B,GACL,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAO1C"}
@@ -0,0 +1,9 @@
1
+ import type { Adapter } from "flags";
2
+ import type { EdgeConfigSchema } from "../edge-config/edgeConfig.codegen";
3
+ /**
4
+ * A custom adapter for the Edge Config that extends edgeConfigAdapter and parses the DynamicEnabled type to a boolean value.
5
+ */
6
+ export declare function beraEdgeConfigAdapter({ adapter }?: {
7
+ adapter: Adapter<boolean, EdgeConfigSchema>;
8
+ }): Adapter<boolean, EdgeConfigSchema>;
9
+ //# sourceMappingURL=beraEdgeConfigAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"beraEdgeConfigAdapter.d.ts","sourceRoot":"","sources":["../../../src/internal/flags/beraEdgeConfigAdapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAGrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAG1E;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,EAAE,OAAO,EAAE,GAAE;IAAE,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;CAEzD,GACA,OAAO,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAapC"}
@@ -0,0 +1,29 @@
1
+ export declare const isGovernanceEnabled: import("flags/next").Flag<boolean, any>;
2
+ export declare const hideStakeForSingleHolderVaults: import("flags/next").Flag<boolean, any>;
3
+ export declare const enableSimulateCalls: import("flags/next").Flag<boolean, any>;
4
+ export declare const enableBexFundsRecovery: import("flags/next").Flag<boolean, any>;
5
+ export declare const isRefundInExplorer: import("flags/next").Flag<boolean, any>;
6
+ export declare const isAirdropLive: import("flags/next").Flag<boolean, any>;
7
+ export declare const isEmbeddedWalletsEnabled: import("flags/next").Flag<boolean, any>;
8
+ export declare const sponsorGas: import("flags/next").Flag<boolean, any>;
9
+ /**
10
+ * If false, EIP-5792 will be disabled.
11
+ * This is useful for testing purposes.
12
+ */
13
+ export declare const enableEip5792: import("flags/next").Flag<boolean, any>;
14
+ export declare const proxyAggregatorsThroughVercel: import("flags/next").Flag<boolean, any>;
15
+ export declare const isDefaultStakingPoolEnabled: import("flags/next").Flag<boolean, any>;
16
+ export declare const isBendVaultDataHourly: import("flags/next").Flag<boolean, any>;
17
+ export declare const showBendVaultCap: import("flags/next").Flag<boolean, any>;
18
+ export declare const isHoneyPythWrapperEnabled: import("flags/next").Flag<boolean, any>;
19
+ export declare const isBendNew: import("flags/next").Flag<boolean, any>;
20
+ export declare const isPoolsMerged: import("flags/next").Flag<boolean, any>;
21
+ export declare const isBendLoopingEnabled: import("flags/next").Flag<boolean, any>;
22
+ export declare const isMultiChainZapBendEnabled: import("flags/next").Flag<boolean, any>;
23
+ export declare const isZapStakeBeraEnabled: import("flags/next").Flag<boolean, any>;
24
+ export declare const isBgtPolRewardToken: import("flags/next").Flag<boolean, any>;
25
+ export declare const mockValidatorOperator: import("flags/next").Flag<boolean, any>;
26
+ export declare const mockValidatorRewardAllocator: import("flags/next").Flag<boolean, any>;
27
+ export declare const mockRewardDurationManager: import("flags/next").Flag<boolean, any>;
28
+ export declare const mockIncentiveManager: import("flags/next").Flag<boolean, any>;
29
+ //# sourceMappingURL=flags.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flags.d.ts","sourceRoot":"","sources":["../../../src/internal/flags/flags.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,yCAK9B,CAAC;AAEH,eAAO,MAAM,8BAA8B,yCAKzC,CAAC;AAEH,eAAO,MAAM,mBAAmB,yCAM9B,CAAC;AAEH,eAAO,MAAM,sBAAsB,yCAKjC,CAAC;AAEH,eAAO,MAAM,kBAAkB,yCAK7B,CAAC;AAEH,eAAO,MAAM,aAAa,yCAKxB,CAAC;AAEH,eAAO,MAAM,wBAAwB,yCAKnC,CAAC;AAEH,eAAO,MAAM,UAAU,yCAKrB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa,yCAMxB,CAAC;AAEH,eAAO,MAAM,6BAA6B,yCAMxC,CAAC;AAEH,eAAO,MAAM,2BAA2B,yCAKtC,CAAC;AAEH,eAAO,MAAM,qBAAqB,yCAKhC,CAAC;AAEH,eAAO,MAAM,gBAAgB,yCAM3B,CAAC;AAEH,eAAO,MAAM,yBAAyB,yCAKpC,CAAC;AAEH,eAAO,MAAM,SAAS,yCAKpB,CAAC;AAEH,eAAO,MAAM,aAAa,yCAKxB,CAAC;AAEH,eAAO,MAAM,oBAAoB,yCAK/B,CAAC;AAEH,eAAO,MAAM,0BAA0B,yCAKrC,CAAC;AAEH,eAAO,MAAM,qBAAqB,yCAKhC,CAAC;AAEH,eAAO,MAAM,mBAAmB,yCAK9B,CAAC;AASH,eAAO,MAAM,qBAAqB,yCAKhC,CAAC;AAEH,eAAO,MAAM,4BAA4B,yCAKvC,CAAC;AAEH,eAAO,MAAM,yBAAyB,yCAKpC,CAAC;AAEH,eAAO,MAAM,oBAAoB,yCAK/B,CAAC"}