@embarkai/ui-kit 0.4.48 → 0.4.50

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.
@@ -15,7 +15,7 @@
15
15
  <meta http-equiv="X-Content-Type-Options" content="nosniff" />
16
16
  <meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
17
17
 
18
- <title>EmbarkAI Secure Wallet - iframe version 0.4.48</title>
18
+ <title>EmbarkAI Secure Wallet - iframe version 0.4.50</title>
19
19
 
20
20
  <!-- Styles will be injected by build process -->
21
21
  <style>
@@ -6391,7 +6391,7 @@ var SigningManager = class extends TokenRefreshApiClient {
6391
6391
  };
6392
6392
 
6393
6393
  // src/iframe/main.ts
6394
- var IFRAME_VERSION = "0.4.48";
6394
+ var IFRAME_VERSION = "0.4.50";
6395
6395
  var IframeWallet = class {
6396
6396
  constructor() {
6397
6397
  console.log("=".repeat(60));
package/dist/index.cjs CHANGED
@@ -5556,8 +5556,9 @@ var init_en = __esm({
5556
5556
  },
5557
5557
  noItems: {
5558
5558
  noTransactions: "No transactions found for this account",
5559
- noPaymentModes: "No payment modes available for selected",
5560
- noCryptoForChain: "No crypto available for purchase in chain {{chain}}"
5559
+ noFiat: "No fiat currencies available to select for purchase",
5560
+ noPaymentModes: "No payment modes available to select for purchase",
5561
+ noCryptoForChain: "No supported crypto available for purchase in chain {{chain}}"
5561
5562
  },
5562
5563
  inputPlaceholder: {
5563
5564
  selectCurrencies: "Select crypto and fiat",
@@ -5890,7 +5891,8 @@ var init_ru = __esm({
5890
5891
  },
5891
5892
  noItems: {
5892
5893
  noTransactions: "\u0422\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B \u0434\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430",
5893
- noPaymentModes: "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u0432 \u043E\u043F\u043B\u0430\u0442\u044B",
5894
+ noFiat: "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0444\u0438\u0430\u0442\u043D\u044B\u0445 \u0432\u0430\u043B\u044E\u0442 \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u0440\u0438 \u043F\u043E\u043A\u0443\u043F\u043A\u0435",
5895
+ noPaymentModes: "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u0432 \u043E\u043F\u043B\u0430\u0442\u044B \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u0440\u0438 \u043F\u043E\u043A\u0443\u043F\u043A\u0435",
5894
5896
  noCryptoForChain: "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0439 \u043A\u0440\u0438\u043F\u0442\u043E\u0432\u0430\u043B\u044E\u0442\u044B \u0434\u043B\u044F \u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0432 \u0441\u0435\u0442\u0438 {{chain}}"
5895
5897
  },
5896
5898
  inputPlaceholder: {
@@ -6224,7 +6226,8 @@ var init_zh = __esm({
6224
6226
  },
6225
6227
  noItems: {
6226
6228
  noTransactions: "\u6B64\u8D26\u6237\u672A\u627E\u5230\u4EA4\u6613\u8BB0\u5F55",
6227
- noPaymentModes: "\u6240\u9009\u5185\u5BB9\u65E0\u53EF\u7528\u4ED8\u6B3E\u65B9\u5F0F",
6229
+ noFiat: "\u6682\u65E0\u53EF\u9009\u62E9\u7684\u6CD5\u5E01\u7528\u4E8E\u8D2D\u4E70",
6230
+ noPaymentModes: "\u6682\u65E0\u53EF\u9009\u62E9\u7684\u4ED8\u6B3E\u65B9\u5F0F\u7528\u4E8E\u8D2D\u4E70",
6228
6231
  noCryptoForChain: "{{chain}} \u94FE\u4E0A\u6682\u65E0\u53EF\u8D2D\u4E70\u7684\u52A0\u5BC6\u8D27\u5E01"
6229
6232
  },
6230
6233
  inputPlaceholder: {
@@ -8988,17 +8991,17 @@ var init_useBuyMenuStore = __esm({
8988
8991
 
8989
8992
  // src/internal/components/BuyMenu/components/CryptoSelector.tsx
8990
8993
  function CryptoItem(props) {
8991
- const { cryptoCurrency, meta } = props;
8994
+ const { symbol, network } = props;
8992
8995
  const selectedCrypto = useBuyMenuStore((st) => st.selectedCrypto);
8993
- const CryptoIcon = TOKENS_ICONS[cryptoCurrency.toUpperCase()] || null;
8996
+ const CryptoIcon = TOKENS_ICONS[symbol.toUpperCase()] || null;
8994
8997
  return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
8995
8998
  Button,
8996
8999
  {
8997
9000
  size: "large",
8998
- variant: selectedCrypto === cryptoCurrency ? "default" : "outline",
9001
+ variant: selectedCrypto === symbol ? "default" : "outline",
8999
9002
  className: "justify-between",
9000
9003
  onClick: () => {
9001
- useBuyMenuStore.getState().setSelectedCrypto(cryptoCurrency);
9004
+ useBuyMenuStore.getState().setSelectedCrypto(symbol);
9002
9005
  useBuyMenuStore.getState().setIsCryptoSelector(false);
9003
9006
  },
9004
9007
  children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex items-center gap-[var(--ui-kit-gap)]", children: [
@@ -9011,10 +9014,10 @@ function CryptoItem(props) {
9011
9014
  "flex items-center justify-center",
9012
9015
  "w-8 h-8 rounded-full"
9013
9016
  ),
9014
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "text-[var(--ui-kit-fg-inverted)]", children: cryptoCurrency?.charAt(0).toUpperCase() })
9017
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "text-[var(--ui-kit-fg-inverted)]", children: symbol?.charAt(0).toUpperCase() })
9015
9018
  }
9016
9019
  ),
9017
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { children: meta?.symbol?.toUpperCase() || cryptoCurrency.toUpperCase() })
9020
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { children: symbol?.toUpperCase() })
9018
9021
  ] })
9019
9022
  }
9020
9023
  );
@@ -9034,20 +9037,20 @@ function CryptoSelector(props) {
9034
9037
  );
9035
9038
  const filteredCoins = (0, import_react20.useMemo)(() => {
9036
9039
  const sorted = [...coins].sort((a, b) => {
9037
- const aIdx = POPULAR_CRYPTOS.indexOf(a.meta.symbol.toUpperCase());
9038
- const bIdx = POPULAR_CRYPTOS.indexOf(b.meta.symbol.toUpperCase());
9040
+ const aIdx = POPULAR_CRYPTOS.indexOf(a.symbol.toUpperCase());
9041
+ const bIdx = POPULAR_CRYPTOS.indexOf(b.symbol.toUpperCase());
9039
9042
  if (aIdx !== -1 && bIdx !== -1) return aIdx - bIdx;
9040
9043
  if (aIdx !== -1) return -1;
9041
9044
  if (bIdx !== -1) return 1;
9042
- return a.meta.symbol.localeCompare(b.meta.symbol);
9045
+ return a.symbol.localeCompare(b.symbol);
9043
9046
  });
9044
9047
  if (!target) return sorted;
9045
- return sorted.filter((f) => f.meta.symbol.toLowerCase().includes(target.toLowerCase()));
9048
+ return sorted.filter((f) => f.symbol.toLowerCase().includes(target.toLowerCase()));
9046
9049
  }, [coins, target]);
9047
9050
  const groupedCoins = (0, import_lodash_es4.toPairs)(
9048
9051
  filteredCoins.reduce(
9049
9052
  (acc, coin) => {
9050
- const network = coin.meta?.network;
9053
+ const network = coin.network;
9051
9054
  if (!network) return acc;
9052
9055
  if (!acc[network]) acc[network] = [];
9053
9056
  acc[network].push(coin);
@@ -9073,14 +9076,7 @@ function CryptoSelector(props) {
9073
9076
  }
9074
9077
  ),
9075
9078
  !!groupedCoins.length && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "block text-[10px] text-[var(--ui-kit-fg-muted)]", children: t("passport:buyMenu.selectCrypto") }),
9076
- groupedCoins.length ? groupedCoins.map(([network, coins2], groupIdx) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: coins2.map(({ cryptoCurrency, meta }) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
9077
- CryptoItem,
9078
- {
9079
- meta,
9080
- cryptoCurrency
9081
- },
9082
- `${network}-${cryptoCurrency}-${meta.id}`
9083
- )) }) }, `${network}-${groupIdx}`)) : /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Highlight, { type: "info", className: "flex gap-[var(--ui-kit-gap)]", children: [
9079
+ groupedCoins.length ? groupedCoins.map(([network, coins2], groupIdx) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: coins2.map(({ symbol, network: network2 }, coinIdx) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(CryptoItem, { symbol, network: network2 }, `${network2}-${symbol}-${coinIdx}`)) }) }, `${network}-${groupIdx}`)) : /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Highlight, { type: "info", className: "flex gap-[var(--ui-kit-gap)]", children: [
9084
9080
  /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react9.InfoIcon, { className: "w-4 h-4" }),
9085
9081
  /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "text-[10px]", children: t("passport:buyMenu.noItems.noCryptoForChain", { chain: chainConfig.name }) })
9086
9082
  ] })
@@ -9561,16 +9557,14 @@ var init_api = __esm({
9561
9557
  }
9562
9558
  });
9563
9559
 
9564
- // src/internal/components/BuyMenu/binance/networks.ts
9560
+ // src/internal/components/BuyMenu/binance/config.ts
9565
9561
  var import_read9, CHAIN_ID_TO_BINANCE_NETWORK_NAMES;
9566
- var init_networks = __esm({
9567
- "src/internal/components/BuyMenu/binance/networks.ts"() {
9562
+ var init_config = __esm({
9563
+ "src/internal/components/BuyMenu/binance/config.ts"() {
9568
9564
  import_read9 = require("@embarkai/core/read");
9569
9565
  CHAIN_ID_TO_BINANCE_NETWORK_NAMES = {
9570
9566
  [import_read9.LUMIA_MAINNET_CHAIN_ID]: "LUMIA",
9571
- [import_read9.LUMIA_TESTNET_CHAIN_ID]: "LUMIA",
9572
- [import_read9.BSC_TESTNET_CHAIN_ID]: "BSC"
9573
- // TODO: change to BSC mainnet when supported by EmbarkAI
9567
+ [import_read9.BSC_MAINNET_CHAIN_ID]: "BSC"
9574
9568
  };
9575
9569
  }
9576
9570
  });
@@ -9706,7 +9700,7 @@ var init_BinanceSummary = __esm({
9706
9700
  init_queryKeys();
9707
9701
  init_useBuyMenuStore();
9708
9702
  init_api();
9709
- init_networks();
9703
+ init_config();
9710
9704
  init_useBinanceStore();
9711
9705
  import_jsx_runtime33 = require("react/jsx-runtime");
9712
9706
  }
@@ -10121,15 +10115,9 @@ var init_utils6 = __esm({
10121
10115
  });
10122
10116
 
10123
10117
  // src/internal/components/BuyMenu/binance/Binance.tsx
10124
- function normalizeChainName(chainName) {
10125
- if (chainName.toLowerCase().startsWith("lumi")) return "LUMIA";
10126
- if (chainName.toLowerCase().startsWith("bsc")) return "BSC";
10127
- return chainName.toUpperCase();
10128
- }
10129
10118
  function Binance() {
10130
10119
  const qc = (0, import_react_query10.useQueryClient)();
10131
- const { t, i18n } = useT();
10132
- const resolvedLanguage = i18n.resolvedLanguage || "en";
10120
+ const { t } = useT();
10133
10121
  const chainConfig = useSession((st) => st.chainConfig);
10134
10122
  const walletAddress = useSession((st) => st.address);
10135
10123
  const chainTicker = CHAIN_ID_TO_BINANCE_NETWORK_NAMES[chainConfig.id] || null;
@@ -10165,7 +10153,7 @@ function Binance() {
10165
10153
  queryFn: async () => await getSupportedNetworksQuery()
10166
10154
  });
10167
10155
  const networkAvailableCryptoList = networksData?.data?.filter(
10168
- (ntw) => ntw.networks.map((n) => n.network).includes(normalizeChainName(chainConfig?.name))
10156
+ (ntw) => ntw.networks.map((n) => n.network).includes(CHAIN_ID_TO_BINANCE_NETWORK_NAMES[chainConfig.id] || "UNSUPPORTED")
10169
10157
  ) || [];
10170
10158
  const { data: paymentModesData = null, isFetching: isPaymentModesLoading } = (0, import_react_query10.useQuery)({
10171
10159
  retry: false,
@@ -10209,7 +10197,7 @@ function Binance() {
10209
10197
  useBuyMenuStore.getState().setError(errorMsg);
10210
10198
  }
10211
10199
  });
10212
- const availableFiats = (tradingPairsData?.data?.fiatCurrencies || []).filter((ticker) => ticker !== "DEFAULT").map((ticker) => ({ ticker }));
10200
+ const availableFiats = (tradingPairsData?.data?.fiatCurrencies || []).map((ticker) => ({ ticker }));
10213
10201
  (0, import_react24.useEffect)(() => {
10214
10202
  if (!!selectedFiat || !availableFiats?.length) return;
10215
10203
  const targetFiat = availableFiats.find((item) => item.ticker === "USD" || item.ticker === "EUR") || availableFiats[0];
@@ -10259,13 +10247,8 @@ function Binance() {
10259
10247
  CryptoSelector,
10260
10248
  {
10261
10249
  coins: networkAvailableCryptoList.map((crypto2) => ({
10262
- cryptoCurrency: crypto2.cryptoCurrency,
10263
- meta: {
10264
- id: crypto2.cryptoCurrency,
10265
- symbol: crypto2.cryptoCurrency,
10266
- name: crypto2.cryptoCurrency,
10267
- network: chainTicker
10268
- }
10250
+ symbol: crypto2.cryptoCurrency,
10251
+ network: chainTicker
10269
10252
  }))
10270
10253
  }
10271
10254
  );
@@ -10370,7 +10353,7 @@ var init_Binance = __esm({
10370
10353
  init_api();
10371
10354
  init_BinanceSummary();
10372
10355
  init_BinanceTxHistory();
10373
- init_networks();
10356
+ init_config();
10374
10357
  init_useBinanceSseTracing();
10375
10358
  init_useBinanceStore();
10376
10359
  init_utils6();
@@ -10731,7 +10714,7 @@ var init_FinchPayTxHistory = __esm({
10731
10714
 
10732
10715
  // src/internal/components/BuyMenu/finchpay/networks.ts
10733
10716
  var import_read10, CHAIN_ID_TO_FINCHPAY_NAME;
10734
- var init_networks2 = __esm({
10717
+ var init_networks = __esm({
10735
10718
  "src/internal/components/BuyMenu/finchpay/networks.ts"() {
10736
10719
  import_read10 = require("@embarkai/core/read");
10737
10720
  CHAIN_ID_TO_FINCHPAY_NAME = {
@@ -10942,14 +10925,8 @@ function FinchPay() {
10942
10925
  CryptoSelector,
10943
10926
  {
10944
10927
  coins: currenciesData.currentNetworkCoins.map((coin) => ({
10945
- cryptoCurrency: coin.ticker,
10946
- meta: {
10947
- id: `${coin.id}`,
10948
- name: coin.name,
10949
- symbol: coin.ticker,
10950
- network: coin.network
10951
- // image: { thumb: '' }
10952
- }
10928
+ symbol: coin.ticker,
10929
+ network: coin.network
10953
10930
  }))
10954
10931
  }
10955
10932
  );
@@ -11066,7 +11043,7 @@ var init_FinchPay = __esm({
11066
11043
  init_api2();
11067
11044
  init_FinchPaySummary();
11068
11045
  init_FinchPayTxHistory();
11069
- init_networks2();
11046
+ init_networks();
11070
11047
  init_useFinchpaySseTxTracing();
11071
11048
  init_utils7();
11072
11049
  import_jsx_runtime39 = require("react/jsx-runtime");
@@ -11632,7 +11609,7 @@ var init_LumiaIcon2 = __esm({
11632
11609
 
11633
11610
  // src/internal/assets/networks/index.ts
11634
11611
  var import_read11, NETWORKS_ICONS;
11635
- var init_networks3 = __esm({
11612
+ var init_networks2 = __esm({
11636
11613
  "src/internal/assets/networks/index.ts"() {
11637
11614
  import_read11 = require("@embarkai/core/read");
11638
11615
  init_ArbitrumIcon();
@@ -11655,9 +11632,9 @@ var init_networks3 = __esm({
11655
11632
 
11656
11633
  // src/config/networks.ts
11657
11634
  var import_read12, NETWORK_OPTIONS;
11658
- var init_networks4 = __esm({
11635
+ var init_networks3 = __esm({
11659
11636
  "src/config/networks.ts"() {
11660
- init_networks3();
11637
+ init_networks2();
11661
11638
  init_EmbarkIcon();
11662
11639
  import_read12 = require("@embarkai/core/read");
11663
11640
  NETWORK_OPTIONS = [...import_read12.SUPPORTED_CHAINS].map(([chainId, chain]) => ({
@@ -11859,7 +11836,7 @@ function ChainsMenu() {
11859
11836
  var import_core2, import_read13, import_react_query15, import_lucide_react19, import_react29, import_jsx_runtime48;
11860
11837
  var init_ChainsMenu = __esm({
11861
11838
  "src/internal/components/ChainsMenu/ChainsMenu.tsx"() {
11862
- init_networks4();
11839
+ init_networks3();
11863
11840
  init_ProviderContext();
11864
11841
  init_SessionContext();
11865
11842
  init_useT();
@@ -11956,7 +11933,7 @@ function ChainSwitchRequest() {
11956
11933
  var import_lucide_react20, import_react_i18next2, import_jsx_runtime49;
11957
11934
  var init_ChainSwitchRequest = __esm({
11958
11935
  "src/internal/components/ChainsMenu/ChainSwitchRequest.tsx"() {
11959
- init_networks4();
11936
+ init_networks3();
11960
11937
  init_ProviderContext();
11961
11938
  init_SessionContext();
11962
11939
  init_useT();
@@ -20051,7 +20028,7 @@ function isOririnChainEmbarkSupported(originChain) {
20051
20028
  var import_viem12;
20052
20029
  var init_utils8 = __esm({
20053
20030
  "src/internal/components/SendMenu/hyperbridge/utils.ts"() {
20054
- init_networks4();
20031
+ init_networks3();
20055
20032
  import_viem12 = require("viem");
20056
20033
  init_chains();
20057
20034
  }
@@ -24495,7 +24472,7 @@ var init_package = __esm({
24495
24472
  "package.json"() {
24496
24473
  package_default = {
24497
24474
  name: "@embarkai/ui-kit",
24498
- version: "0.4.48",
24475
+ version: "0.4.50",
24499
24476
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
24500
24477
  type: "module",
24501
24478
  main: "./dist/index.cjs",
@@ -24701,7 +24678,7 @@ var import_react_query52, import_lucide_react76, import_wagmi7, import_jsx_runti
24701
24678
  var init_Footer = __esm({
24702
24679
  "src/internal/components/Footer/Footer.tsx"() {
24703
24680
  init_package();
24704
- init_networks4();
24681
+ init_networks3();
24705
24682
  init_ProviderContext();
24706
24683
  init_SessionContext();
24707
24684
  init_i18n();
@@ -24846,7 +24823,7 @@ var import_react_query53, import_lucide_react77, import_react84, import_jsx_runt
24846
24823
  var init_Header = __esm({
24847
24824
  "src/internal/components/Header/Header.tsx"() {
24848
24825
  init_LumiaIcon3();
24849
- init_networks4();
24826
+ init_networks3();
24850
24827
  init_ProviderContext();
24851
24828
  init_SessionContext();
24852
24829
  init_useT();
package/dist/index.d.cts CHANGED
@@ -2439,6 +2439,7 @@ declare const PASSPORT_TRANSLATIONS: {
2439
2439
  };
2440
2440
  noItems: {
2441
2441
  noTransactions: string;
2442
+ noFiat: string;
2442
2443
  noPaymentModes: string;
2443
2444
  noCryptoForChain: string;
2444
2445
  };
@@ -2768,6 +2769,7 @@ declare const PASSPORT_TRANSLATIONS: {
2768
2769
  };
2769
2770
  noItems: {
2770
2771
  noTransactions: string;
2772
+ noFiat: string;
2771
2773
  noPaymentModes: string;
2772
2774
  noCryptoForChain: string;
2773
2775
  };
@@ -3097,6 +3099,7 @@ declare const PASSPORT_TRANSLATIONS: {
3097
3099
  };
3098
3100
  noItems: {
3099
3101
  noTransactions: string;
3102
+ noFiat: string;
3100
3103
  noPaymentModes: string;
3101
3104
  noCryptoForChain: string;
3102
3105
  };
package/dist/index.d.ts CHANGED
@@ -2439,6 +2439,7 @@ declare const PASSPORT_TRANSLATIONS: {
2439
2439
  };
2440
2440
  noItems: {
2441
2441
  noTransactions: string;
2442
+ noFiat: string;
2442
2443
  noPaymentModes: string;
2443
2444
  noCryptoForChain: string;
2444
2445
  };
@@ -2768,6 +2769,7 @@ declare const PASSPORT_TRANSLATIONS: {
2768
2769
  };
2769
2770
  noItems: {
2770
2771
  noTransactions: string;
2772
+ noFiat: string;
2771
2773
  noPaymentModes: string;
2772
2774
  noCryptoForChain: string;
2773
2775
  };
@@ -3097,6 +3099,7 @@ declare const PASSPORT_TRANSLATIONS: {
3097
3099
  };
3098
3100
  noItems: {
3099
3101
  noTransactions: string;
3102
+ noFiat: string;
3100
3103
  noPaymentModes: string;
3101
3104
  noCryptoForChain: string;
3102
3105
  };
package/dist/index.js CHANGED
@@ -5538,8 +5538,9 @@ var init_en = __esm({
5538
5538
  },
5539
5539
  noItems: {
5540
5540
  noTransactions: "No transactions found for this account",
5541
- noPaymentModes: "No payment modes available for selected",
5542
- noCryptoForChain: "No crypto available for purchase in chain {{chain}}"
5541
+ noFiat: "No fiat currencies available to select for purchase",
5542
+ noPaymentModes: "No payment modes available to select for purchase",
5543
+ noCryptoForChain: "No supported crypto available for purchase in chain {{chain}}"
5543
5544
  },
5544
5545
  inputPlaceholder: {
5545
5546
  selectCurrencies: "Select crypto and fiat",
@@ -5872,7 +5873,8 @@ var init_ru = __esm({
5872
5873
  },
5873
5874
  noItems: {
5874
5875
  noTransactions: "\u0422\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B \u0434\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430",
5875
- noPaymentModes: "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u0432 \u043E\u043F\u043B\u0430\u0442\u044B",
5876
+ noFiat: "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0444\u0438\u0430\u0442\u043D\u044B\u0445 \u0432\u0430\u043B\u044E\u0442 \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u0440\u0438 \u043F\u043E\u043A\u0443\u043F\u043A\u0435",
5877
+ noPaymentModes: "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u0432 \u043E\u043F\u043B\u0430\u0442\u044B \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u0440\u0438 \u043F\u043E\u043A\u0443\u043F\u043A\u0435",
5876
5878
  noCryptoForChain: "\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0439 \u043A\u0440\u0438\u043F\u0442\u043E\u0432\u0430\u043B\u044E\u0442\u044B \u0434\u043B\u044F \u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0432 \u0441\u0435\u0442\u0438 {{chain}}"
5877
5879
  },
5878
5880
  inputPlaceholder: {
@@ -6206,7 +6208,8 @@ var init_zh = __esm({
6206
6208
  },
6207
6209
  noItems: {
6208
6210
  noTransactions: "\u6B64\u8D26\u6237\u672A\u627E\u5230\u4EA4\u6613\u8BB0\u5F55",
6209
- noPaymentModes: "\u6240\u9009\u5185\u5BB9\u65E0\u53EF\u7528\u4ED8\u6B3E\u65B9\u5F0F",
6211
+ noFiat: "\u6682\u65E0\u53EF\u9009\u62E9\u7684\u6CD5\u5E01\u7528\u4E8E\u8D2D\u4E70",
6212
+ noPaymentModes: "\u6682\u65E0\u53EF\u9009\u62E9\u7684\u4ED8\u6B3E\u65B9\u5F0F\u7528\u4E8E\u8D2D\u4E70",
6210
6213
  noCryptoForChain: "{{chain}} \u94FE\u4E0A\u6682\u65E0\u53EF\u8D2D\u4E70\u7684\u52A0\u5BC6\u8D27\u5E01"
6211
6214
  },
6212
6215
  inputPlaceholder: {
@@ -8953,17 +8956,17 @@ import { InfoIcon, PointerIcon, SearchIcon } from "lucide-react";
8953
8956
  import { useCallback as useCallback9, useMemo as useMemo2, useState as useState6 } from "react";
8954
8957
  import { jsx as jsx29, jsxs as jsxs26 } from "react/jsx-runtime";
8955
8958
  function CryptoItem(props) {
8956
- const { cryptoCurrency, meta } = props;
8959
+ const { symbol, network } = props;
8957
8960
  const selectedCrypto = useBuyMenuStore((st) => st.selectedCrypto);
8958
- const CryptoIcon = TOKENS_ICONS[cryptoCurrency.toUpperCase()] || null;
8961
+ const CryptoIcon = TOKENS_ICONS[symbol.toUpperCase()] || null;
8959
8962
  return /* @__PURE__ */ jsx29(
8960
8963
  Button,
8961
8964
  {
8962
8965
  size: "large",
8963
- variant: selectedCrypto === cryptoCurrency ? "default" : "outline",
8966
+ variant: selectedCrypto === symbol ? "default" : "outline",
8964
8967
  className: "justify-between",
8965
8968
  onClick: () => {
8966
- useBuyMenuStore.getState().setSelectedCrypto(cryptoCurrency);
8969
+ useBuyMenuStore.getState().setSelectedCrypto(symbol);
8967
8970
  useBuyMenuStore.getState().setIsCryptoSelector(false);
8968
8971
  },
8969
8972
  children: /* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-[var(--ui-kit-gap)]", children: [
@@ -8976,10 +8979,10 @@ function CryptoItem(props) {
8976
8979
  "flex items-center justify-center",
8977
8980
  "w-8 h-8 rounded-full"
8978
8981
  ),
8979
- children: /* @__PURE__ */ jsx29("span", { className: "text-[var(--ui-kit-fg-inverted)]", children: cryptoCurrency?.charAt(0).toUpperCase() })
8982
+ children: /* @__PURE__ */ jsx29("span", { className: "text-[var(--ui-kit-fg-inverted)]", children: symbol?.charAt(0).toUpperCase() })
8980
8983
  }
8981
8984
  ),
8982
- /* @__PURE__ */ jsx29("span", { children: meta?.symbol?.toUpperCase() || cryptoCurrency.toUpperCase() })
8985
+ /* @__PURE__ */ jsx29("span", { children: symbol?.toUpperCase() })
8983
8986
  ] })
8984
8987
  }
8985
8988
  );
@@ -8999,20 +9002,20 @@ function CryptoSelector(props) {
8999
9002
  );
9000
9003
  const filteredCoins = useMemo2(() => {
9001
9004
  const sorted = [...coins].sort((a, b) => {
9002
- const aIdx = POPULAR_CRYPTOS.indexOf(a.meta.symbol.toUpperCase());
9003
- const bIdx = POPULAR_CRYPTOS.indexOf(b.meta.symbol.toUpperCase());
9005
+ const aIdx = POPULAR_CRYPTOS.indexOf(a.symbol.toUpperCase());
9006
+ const bIdx = POPULAR_CRYPTOS.indexOf(b.symbol.toUpperCase());
9004
9007
  if (aIdx !== -1 && bIdx !== -1) return aIdx - bIdx;
9005
9008
  if (aIdx !== -1) return -1;
9006
9009
  if (bIdx !== -1) return 1;
9007
- return a.meta.symbol.localeCompare(b.meta.symbol);
9010
+ return a.symbol.localeCompare(b.symbol);
9008
9011
  });
9009
9012
  if (!target) return sorted;
9010
- return sorted.filter((f) => f.meta.symbol.toLowerCase().includes(target.toLowerCase()));
9013
+ return sorted.filter((f) => f.symbol.toLowerCase().includes(target.toLowerCase()));
9011
9014
  }, [coins, target]);
9012
9015
  const groupedCoins = toPairs(
9013
9016
  filteredCoins.reduce(
9014
9017
  (acc, coin) => {
9015
- const network = coin.meta?.network;
9018
+ const network = coin.network;
9016
9019
  if (!network) return acc;
9017
9020
  if (!acc[network]) acc[network] = [];
9018
9021
  acc[network].push(coin);
@@ -9038,14 +9041,7 @@ function CryptoSelector(props) {
9038
9041
  }
9039
9042
  ),
9040
9043
  !!groupedCoins.length && /* @__PURE__ */ jsx29("span", { className: "block text-[10px] text-[var(--ui-kit-fg-muted)]", children: t("passport:buyMenu.selectCrypto") }),
9041
- groupedCoins.length ? groupedCoins.map(([network, coins2], groupIdx) => /* @__PURE__ */ jsx29("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: /* @__PURE__ */ jsx29("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: coins2.map(({ cryptoCurrency, meta }) => /* @__PURE__ */ jsx29(
9042
- CryptoItem,
9043
- {
9044
- meta,
9045
- cryptoCurrency
9046
- },
9047
- `${network}-${cryptoCurrency}-${meta.id}`
9048
- )) }) }, `${network}-${groupIdx}`)) : /* @__PURE__ */ jsxs26(Highlight, { type: "info", className: "flex gap-[var(--ui-kit-gap)]", children: [
9044
+ groupedCoins.length ? groupedCoins.map(([network, coins2], groupIdx) => /* @__PURE__ */ jsx29("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: /* @__PURE__ */ jsx29("div", { className: "w-full flex flex-col gap-[var(--ui-kit-gap)]", children: coins2.map(({ symbol, network: network2 }, coinIdx) => /* @__PURE__ */ jsx29(CryptoItem, { symbol, network: network2 }, `${network2}-${symbol}-${coinIdx}`)) }) }, `${network}-${groupIdx}`)) : /* @__PURE__ */ jsxs26(Highlight, { type: "info", className: "flex gap-[var(--ui-kit-gap)]", children: [
9049
9045
  /* @__PURE__ */ jsx29(InfoIcon, { className: "w-4 h-4" }),
9050
9046
  /* @__PURE__ */ jsx29("span", { className: "text-[10px]", children: t("passport:buyMenu.noItems.noCryptoForChain", { chain: chainConfig.name }) })
9051
9047
  ] })
@@ -9520,20 +9516,14 @@ var init_api = __esm({
9520
9516
  }
9521
9517
  });
9522
9518
 
9523
- // src/internal/components/BuyMenu/binance/networks.ts
9524
- import {
9525
- BSC_TESTNET_CHAIN_ID,
9526
- LUMIA_MAINNET_CHAIN_ID,
9527
- LUMIA_TESTNET_CHAIN_ID
9528
- } from "@embarkai/core/read";
9519
+ // src/internal/components/BuyMenu/binance/config.ts
9520
+ import { BSC_MAINNET_CHAIN_ID, LUMIA_MAINNET_CHAIN_ID } from "@embarkai/core/read";
9529
9521
  var CHAIN_ID_TO_BINANCE_NETWORK_NAMES;
9530
- var init_networks = __esm({
9531
- "src/internal/components/BuyMenu/binance/networks.ts"() {
9522
+ var init_config = __esm({
9523
+ "src/internal/components/BuyMenu/binance/config.ts"() {
9532
9524
  CHAIN_ID_TO_BINANCE_NETWORK_NAMES = {
9533
9525
  [LUMIA_MAINNET_CHAIN_ID]: "LUMIA",
9534
- [LUMIA_TESTNET_CHAIN_ID]: "LUMIA",
9535
- [BSC_TESTNET_CHAIN_ID]: "BSC"
9536
- // TODO: change to BSC mainnet when supported by EmbarkAI
9526
+ [BSC_MAINNET_CHAIN_ID]: "BSC"
9537
9527
  };
9538
9528
  }
9539
9529
  });
@@ -9669,7 +9659,7 @@ var init_BinanceSummary = __esm({
9669
9659
  init_queryKeys();
9670
9660
  init_useBuyMenuStore();
9671
9661
  init_api();
9672
- init_networks();
9662
+ init_config();
9673
9663
  init_useBinanceStore();
9674
9664
  }
9675
9665
  });
@@ -10085,15 +10075,9 @@ import { useMutation as useMutation6, useQuery as useQuery2, useQueryClient as u
10085
10075
  import { LoaderIcon as LoaderIcon3 } from "lucide-react";
10086
10076
  import { useEffect as useEffect13 } from "react";
10087
10077
  import { Fragment as Fragment11, jsx as jsx36, jsxs as jsxs31 } from "react/jsx-runtime";
10088
- function normalizeChainName(chainName) {
10089
- if (chainName.toLowerCase().startsWith("lumi")) return "LUMIA";
10090
- if (chainName.toLowerCase().startsWith("bsc")) return "BSC";
10091
- return chainName.toUpperCase();
10092
- }
10093
10078
  function Binance() {
10094
10079
  const qc = useQueryClient5();
10095
- const { t, i18n } = useT();
10096
- const resolvedLanguage = i18n.resolvedLanguage || "en";
10080
+ const { t } = useT();
10097
10081
  const chainConfig = useSession((st) => st.chainConfig);
10098
10082
  const walletAddress = useSession((st) => st.address);
10099
10083
  const chainTicker = CHAIN_ID_TO_BINANCE_NETWORK_NAMES[chainConfig.id] || null;
@@ -10129,7 +10113,7 @@ function Binance() {
10129
10113
  queryFn: async () => await getSupportedNetworksQuery()
10130
10114
  });
10131
10115
  const networkAvailableCryptoList = networksData?.data?.filter(
10132
- (ntw) => ntw.networks.map((n) => n.network).includes(normalizeChainName(chainConfig?.name))
10116
+ (ntw) => ntw.networks.map((n) => n.network).includes(CHAIN_ID_TO_BINANCE_NETWORK_NAMES[chainConfig.id] || "UNSUPPORTED")
10133
10117
  ) || [];
10134
10118
  const { data: paymentModesData = null, isFetching: isPaymentModesLoading } = useQuery2({
10135
10119
  retry: false,
@@ -10173,7 +10157,7 @@ function Binance() {
10173
10157
  useBuyMenuStore.getState().setError(errorMsg);
10174
10158
  }
10175
10159
  });
10176
- const availableFiats = (tradingPairsData?.data?.fiatCurrencies || []).filter((ticker) => ticker !== "DEFAULT").map((ticker) => ({ ticker }));
10160
+ const availableFiats = (tradingPairsData?.data?.fiatCurrencies || []).map((ticker) => ({ ticker }));
10177
10161
  useEffect13(() => {
10178
10162
  if (!!selectedFiat || !availableFiats?.length) return;
10179
10163
  const targetFiat = availableFiats.find((item) => item.ticker === "USD" || item.ticker === "EUR") || availableFiats[0];
@@ -10223,13 +10207,8 @@ function Binance() {
10223
10207
  CryptoSelector,
10224
10208
  {
10225
10209
  coins: networkAvailableCryptoList.map((crypto2) => ({
10226
- cryptoCurrency: crypto2.cryptoCurrency,
10227
- meta: {
10228
- id: crypto2.cryptoCurrency,
10229
- symbol: crypto2.cryptoCurrency,
10230
- name: crypto2.cryptoCurrency,
10231
- network: chainTicker
10232
- }
10210
+ symbol: crypto2.cryptoCurrency,
10211
+ network: chainTicker
10233
10212
  }))
10234
10213
  }
10235
10214
  );
@@ -10331,7 +10310,7 @@ var init_Binance = __esm({
10331
10310
  init_api();
10332
10311
  init_BinanceSummary();
10333
10312
  init_BinanceTxHistory();
10334
- init_networks();
10313
+ init_config();
10335
10314
  init_useBinanceSseTracing();
10336
10315
  init_useBinanceStore();
10337
10316
  init_utils6();
@@ -10690,17 +10669,17 @@ var init_FinchPayTxHistory = __esm({
10690
10669
 
10691
10670
  // src/internal/components/BuyMenu/finchpay/networks.ts
10692
10671
  import {
10693
- BSC_TESTNET_CHAIN_ID as BSC_TESTNET_CHAIN_ID2,
10672
+ BSC_TESTNET_CHAIN_ID,
10694
10673
  LUMIA_MAINNET_CHAIN_ID as LUMIA_MAINNET_CHAIN_ID2,
10695
- LUMIA_TESTNET_CHAIN_ID as LUMIA_TESTNET_CHAIN_ID2
10674
+ LUMIA_TESTNET_CHAIN_ID
10696
10675
  } from "@embarkai/core/read";
10697
10676
  var CHAIN_ID_TO_FINCHPAY_NAME;
10698
- var init_networks2 = __esm({
10677
+ var init_networks = __esm({
10699
10678
  "src/internal/components/BuyMenu/finchpay/networks.ts"() {
10700
10679
  CHAIN_ID_TO_FINCHPAY_NAME = {
10701
10680
  [LUMIA_MAINNET_CHAIN_ID2]: "LUM20",
10702
- [LUMIA_TESTNET_CHAIN_ID2]: "LUM20",
10703
- [BSC_TESTNET_CHAIN_ID2]: "BSC"
10681
+ [LUMIA_TESTNET_CHAIN_ID]: "LUM20",
10682
+ [BSC_TESTNET_CHAIN_ID]: "BSC"
10704
10683
  // TODO: change to BSC mainnet when supported by EmbarkAI
10705
10684
  };
10706
10685
  }
@@ -10908,14 +10887,8 @@ function FinchPay() {
10908
10887
  CryptoSelector,
10909
10888
  {
10910
10889
  coins: currenciesData.currentNetworkCoins.map((coin) => ({
10911
- cryptoCurrency: coin.ticker,
10912
- meta: {
10913
- id: `${coin.id}`,
10914
- name: coin.name,
10915
- symbol: coin.ticker,
10916
- network: coin.network
10917
- // image: { thumb: '' }
10918
- }
10890
+ symbol: coin.ticker,
10891
+ network: coin.network
10919
10892
  }))
10920
10893
  }
10921
10894
  );
@@ -11028,7 +11001,7 @@ var init_FinchPay = __esm({
11028
11001
  init_api2();
11029
11002
  init_FinchPaySummary();
11030
11003
  init_FinchPayTxHistory();
11031
- init_networks2();
11004
+ init_networks();
11032
11005
  init_useFinchpaySseTxTracing();
11033
11006
  init_utils7();
11034
11007
  }
@@ -11588,14 +11561,14 @@ var init_LumiaIcon2 = __esm({
11588
11561
  import {
11589
11562
  ARBITRUM_SEPOLIA_CHAIN_ID,
11590
11563
  BASE_SEPOLIA_CHAIN_ID,
11591
- BSC_MAINNET_CHAIN_ID,
11592
- BSC_TESTNET_CHAIN_ID as BSC_TESTNET_CHAIN_ID3,
11564
+ BSC_MAINNET_CHAIN_ID as BSC_MAINNET_CHAIN_ID2,
11565
+ BSC_TESTNET_CHAIN_ID as BSC_TESTNET_CHAIN_ID2,
11593
11566
  LUMIA_MAINNET_CHAIN_ID as LUMIA_MAINNET_CHAIN_ID3,
11594
11567
  LUMIA_PULSAR_TESTNET_CHAIN_ID,
11595
- LUMIA_TESTNET_CHAIN_ID as LUMIA_TESTNET_CHAIN_ID3
11568
+ LUMIA_TESTNET_CHAIN_ID as LUMIA_TESTNET_CHAIN_ID2
11596
11569
  } from "@embarkai/core/read";
11597
11570
  var NETWORKS_ICONS;
11598
- var init_networks3 = __esm({
11571
+ var init_networks2 = __esm({
11599
11572
  "src/internal/assets/networks/index.ts"() {
11600
11573
  init_ArbitrumIcon();
11601
11574
  init_BaseIcon();
@@ -11604,11 +11577,11 @@ var init_networks3 = __esm({
11604
11577
  init_LumiaIcon2();
11605
11578
  NETWORKS_ICONS = {
11606
11579
  [LUMIA_MAINNET_CHAIN_ID3]: LumiaIcon2,
11607
- [LUMIA_TESTNET_CHAIN_ID3]: LumiaIcon2,
11580
+ [LUMIA_TESTNET_CHAIN_ID2]: LumiaIcon2,
11608
11581
  [LUMIA_PULSAR_TESTNET_CHAIN_ID]: LumiaIcon2,
11609
11582
  [BASE_SEPOLIA_CHAIN_ID]: BaseIcon,
11610
- [BSC_MAINNET_CHAIN_ID]: BSCIcon,
11611
- [BSC_TESTNET_CHAIN_ID3]: BSCIcon,
11583
+ [BSC_MAINNET_CHAIN_ID2]: BSCIcon,
11584
+ [BSC_TESTNET_CHAIN_ID2]: BSCIcon,
11612
11585
  1: EthereumIcon,
11613
11586
  [ARBITRUM_SEPOLIA_CHAIN_ID]: ArbitrumIcon
11614
11587
  };
@@ -11618,9 +11591,9 @@ var init_networks3 = __esm({
11618
11591
  // src/config/networks.ts
11619
11592
  import { SUPPORTED_CHAINS, SUPPORTED_MAINNETS } from "@embarkai/core/read";
11620
11593
  var NETWORK_OPTIONS;
11621
- var init_networks4 = __esm({
11594
+ var init_networks3 = __esm({
11622
11595
  "src/config/networks.ts"() {
11623
- init_networks3();
11596
+ init_networks2();
11624
11597
  init_EmbarkIcon();
11625
11598
  NETWORK_OPTIONS = [...SUPPORTED_CHAINS].map(([chainId, chain]) => ({
11626
11599
  chainId,
@@ -11825,7 +11798,7 @@ function ChainsMenu() {
11825
11798
  }
11826
11799
  var init_ChainsMenu = __esm({
11827
11800
  "src/internal/components/ChainsMenu/ChainsMenu.tsx"() {
11828
- init_networks4();
11801
+ init_networks3();
11829
11802
  init_ProviderContext();
11830
11803
  init_SessionContext();
11831
11804
  init_useT();
@@ -11918,7 +11891,7 @@ function ChainSwitchRequest() {
11918
11891
  }
11919
11892
  var init_ChainSwitchRequest = __esm({
11920
11893
  "src/internal/components/ChainsMenu/ChainSwitchRequest.tsx"() {
11921
- init_networks4();
11894
+ init_networks3();
11922
11895
  init_ProviderContext();
11923
11896
  init_SessionContext();
11924
11897
  init_useT();
@@ -19965,7 +19938,7 @@ function isOririnChainEmbarkSupported(originChain) {
19965
19938
  }
19966
19939
  var init_utils8 = __esm({
19967
19940
  "src/internal/components/SendMenu/hyperbridge/utils.ts"() {
19968
- init_networks4();
19941
+ init_networks3();
19969
19942
  init_chains();
19970
19943
  }
19971
19944
  });
@@ -23142,9 +23115,9 @@ var init_TermsOfService = __esm({
23142
23115
  import {
23143
23116
  ARBITRUM_SEPOLIA_CHAIN_ID as ARBITRUM_SEPOLIA_CHAIN_ID2,
23144
23117
  BASE_SEPOLIA_CHAIN_ID as BASE_SEPOLIA_CHAIN_ID2,
23145
- BSC_TESTNET_CHAIN_ID as BSC_TESTNET_CHAIN_ID4,
23118
+ BSC_TESTNET_CHAIN_ID as BSC_TESTNET_CHAIN_ID3,
23146
23119
  LUMIA_MAINNET_CHAIN_ID as LUMIA_MAINNET_CHAIN_ID4,
23147
- LUMIA_TESTNET_CHAIN_ID as LUMIA_TESTNET_CHAIN_ID4,
23120
+ LUMIA_TESTNET_CHAIN_ID as LUMIA_TESTNET_CHAIN_ID3,
23148
23121
  SEPOLIA_CHAIN_ID
23149
23122
  } from "@embarkai/core/read";
23150
23123
  function isTransactionHistorySupported(chainId) {
@@ -23220,10 +23193,10 @@ var init_txUrls = __esm({
23220
23193
  BASE_SEPOLIA_CHAIN_ID2
23221
23194
  ]);
23222
23195
  UNSUPPORTED_HISTORY_CHAINS = /* @__PURE__ */ new Set([
23223
- BSC_TESTNET_CHAIN_ID4
23196
+ BSC_TESTNET_CHAIN_ID3
23224
23197
  ]);
23225
23198
  TX_HISTORY_URLS = {
23226
- [LUMIA_TESTNET_CHAIN_ID4]: (p) => {
23199
+ [LUMIA_TESTNET_CHAIN_ID3]: (p) => {
23227
23200
  const result = getBlockscoutHistoryUrls(p);
23228
23201
  return {
23229
23202
  transactionsUrl: result.transactionsUrl,
@@ -24393,7 +24366,7 @@ var init_package = __esm({
24393
24366
  "package.json"() {
24394
24367
  package_default = {
24395
24368
  name: "@embarkai/ui-kit",
24396
- version: "0.4.48",
24369
+ version: "0.4.50",
24397
24370
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
24398
24371
  type: "module",
24399
24372
  main: "./dist/index.cjs",
@@ -24602,7 +24575,7 @@ function Footer() {
24602
24575
  var init_Footer = __esm({
24603
24576
  "src/internal/components/Footer/Footer.tsx"() {
24604
24577
  init_package();
24605
- init_networks4();
24578
+ init_networks3();
24606
24579
  init_ProviderContext();
24607
24580
  init_SessionContext();
24608
24581
  init_i18n();
@@ -24746,7 +24719,7 @@ function Header() {
24746
24719
  var init_Header = __esm({
24747
24720
  "src/internal/components/Header/Header.tsx"() {
24748
24721
  init_LumiaIcon3();
24749
- init_networks4();
24722
+ init_networks3();
24750
24723
  init_ProviderContext();
24751
24724
  init_SessionContext();
24752
24725
  init_useT();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embarkai/ui-kit",
3
- "version": "0.4.48",
3
+ "version": "0.4.50",
4
4
  "description": "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -51,7 +51,7 @@
51
51
  "viem": "^2.52.2",
52
52
  "wagmi": "^2.19.5",
53
53
  "zustand": "^5.0.14",
54
- "@embarkai/core": "0.4.2"
54
+ "@embarkai/core": "0.4.4"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@tailwindcss/typography": "^0.5.20",