@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.js
CHANGED
|
@@ -1697,12 +1697,25 @@ var getExcludedKeys = () => {
|
|
|
1697
1697
|
}
|
|
1698
1698
|
return new Set(raw.split(",").map((k) => k.trim().toLowerCase()).filter(Boolean));
|
|
1699
1699
|
};
|
|
1700
|
+
var LINK_OVERRIDES = {
|
|
1701
|
+
website: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_WEBSITE,
|
|
1702
|
+
staking: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_STAKING,
|
|
1703
|
+
dex: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_DEX,
|
|
1704
|
+
burner: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_BURNER,
|
|
1705
|
+
factory: process.env.NEXT_PUBLIC_ECOSYSTEM_LINK_FACTORY
|
|
1706
|
+
};
|
|
1707
|
+
var LABEL_OVERRIDES = {
|
|
1708
|
+
website: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_WEBSITE,
|
|
1709
|
+
staking: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_STAKING,
|
|
1710
|
+
dex: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_DEX,
|
|
1711
|
+
burner: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_BURNER,
|
|
1712
|
+
factory: process.env.NEXT_PUBLIC_ECOSYSTEM_LABEL_FACTORY
|
|
1713
|
+
};
|
|
1700
1714
|
var getEcosystemApps = () => {
|
|
1701
1715
|
const excluded = getExcludedKeys();
|
|
1702
1716
|
return DEFAULT_APPS.filter((app) => !excluded.has(app.key)).map((app) => {
|
|
1703
|
-
const
|
|
1704
|
-
const
|
|
1705
|
-
const labelOverride = process.env[`NEXT_PUBLIC_ECOSYSTEM_LABEL_${envKey}`];
|
|
1717
|
+
const linkOverride = LINK_OVERRIDES[app.key];
|
|
1718
|
+
const labelOverride = LABEL_OVERRIDES[app.key];
|
|
1706
1719
|
return {
|
|
1707
1720
|
key: app.key,
|
|
1708
1721
|
name: labelOverride || app.name,
|