@bze/bze-ui-kit 0.4.3 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +16 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1408,12 +1408,25 @@ var getExcludedKeys = () => {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
return new Set(raw.split(",").map((k) => k.trim().toLowerCase()).filter(Boolean));
|
|
1410
1410
|
};
|
|
1411
|
+
var LINK_OVERRIDES = {
|
|
1412
|
+
website: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_WEBSITE,
|
|
1413
|
+
staking: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_STAKING,
|
|
1414
|
+
dex: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_DEX,
|
|
1415
|
+
burner: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_BURNER,
|
|
1416
|
+
factory: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_FACTORY
|
|
1417
|
+
};
|
|
1418
|
+
var LABEL_OVERRIDES = {
|
|
1419
|
+
website: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_WEBSITE,
|
|
1420
|
+
staking: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_STAKING,
|
|
1421
|
+
dex: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_DEX,
|
|
1422
|
+
burner: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_BURNER,
|
|
1423
|
+
factory: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_FACTORY
|
|
1424
|
+
};
|
|
1411
1425
|
var getEcosystemApps = () => {
|
|
1412
1426
|
const excluded = getExcludedKeys();
|
|
1413
1427
|
return DEFAULT_APPS.filter((app) => !excluded.has(app.key)).map((app) => {
|
|
1414
|
-
const
|
|
1415
|
-
const
|
|
1416
|
-
const labelOverride = process.env[`NEXT_PUBLIC_ECOSYSTEM_LABEL_${envKey}`];
|
|
1428
|
+
const linkOverride = LINK_OVERRIDES[app.key];
|
|
1429
|
+
const labelOverride = LABEL_OVERRIDES[app.key];
|
|
1417
1430
|
return {
|
|
1418
1431
|
key: app.key,
|
|
1419
1432
|
name: labelOverride || app.name,
|