@skip-go/widget 3.12.7 → 3.12.9

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.
@@ -12579,6 +12579,47 @@ const _mainnetChains = [
12579
12579
  coinType: 118
12580
12580
  }
12581
12581
  },
12582
+ {
12583
+ chainId: "lumera-mainnet-1",
12584
+ currencies: [
12585
+ {
12586
+ coinDenom: "LUME",
12587
+ coinMinimalDenom: "ulume",
12588
+ coinDecimals: 6
12589
+ }
12590
+ ],
12591
+ rest: "https://lcd.lumera.io:443",
12592
+ rpc: "https://rpc.lumera.io:443",
12593
+ bech32Config: {
12594
+ bech32PrefixAccAddr: "lumera",
12595
+ bech32PrefixAccPub: "lumerapub",
12596
+ bech32PrefixValAddr: "lumeravaloper",
12597
+ bech32PrefixValPub: "lumeravaloperpub",
12598
+ bech32PrefixConsAddr: "lumeravalcons",
12599
+ bech32PrefixConsPub: "lumeravalconspub"
12600
+ },
12601
+ chainName: "lumera",
12602
+ feeCurrencies: [
12603
+ {
12604
+ coinDenom: "LUME",
12605
+ coinMinimalDenom: "ulume",
12606
+ coinDecimals: 6,
12607
+ gasPriceStep: {
12608
+ low: 0.025,
12609
+ average: 0.025,
12610
+ high: 0.025
12611
+ }
12612
+ }
12613
+ ],
12614
+ stakeCurrency: {
12615
+ coinDenom: "LUME",
12616
+ coinMinimalDenom: "ulume",
12617
+ coinDecimals: 6
12618
+ },
12619
+ bip44: {
12620
+ coinType: 118
12621
+ }
12622
+ },
12582
12623
  {
12583
12624
  chainId: "lum-network-1",
12584
12625
  currencies: [
@@ -17357,6 +17398,16 @@ const _mainnetChains = [
17357
17398
  coinDenom: "paxg",
17358
17399
  coinMinimalDenom: "ibc/0EF5630576C66968EF0787868CF09FD866FAD131BC148D24A148358A85F0EB62",
17359
17400
  coinDecimals: 18
17401
+ },
17402
+ {
17403
+ coinDenom: "nam",
17404
+ coinMinimalDenom: "ibc/C7110DEC66869DAE9BE9C3C60F4B5313B16A2204AE020C3B0527DD6B322386A3",
17405
+ coinDecimals: 6
17406
+ },
17407
+ {
17408
+ coinDenom: "xrp",
17409
+ coinMinimalDenom: "ibc/46EB46DB30D3BBC6F404A9232C09785F36D40DA05C662A8E295712ECBAFF1609",
17410
+ coinDecimals: 18
17360
17411
  }
17361
17412
  ],
17362
17413
  rest: "https://lcd.osmosis.zone/",
@@ -20023,6 +20074,47 @@ const _mainnetChains = [
20023
20074
  coinType: 118
20024
20075
  }
20025
20076
  },
20077
+ {
20078
+ chainId: "qubetics_9030-1",
20079
+ currencies: [
20080
+ {
20081
+ coinDenom: "TICS",
20082
+ coinMinimalDenom: "tics",
20083
+ coinDecimals: 18
20084
+ }
20085
+ ],
20086
+ rest: "https://swagger.qubetics.com",
20087
+ rpc: "https://tendermint.qubetics.com",
20088
+ bech32Config: {
20089
+ bech32PrefixAccAddr: "qubetics",
20090
+ bech32PrefixAccPub: "qubeticspub",
20091
+ bech32PrefixValAddr: "qubeticsvaloper",
20092
+ bech32PrefixValPub: "qubeticsvaloperpub",
20093
+ bech32PrefixConsAddr: "qubeticsvalcons",
20094
+ bech32PrefixConsPub: "qubeticsvalconspub"
20095
+ },
20096
+ chainName: "qubetics",
20097
+ feeCurrencies: [
20098
+ {
20099
+ coinDenom: "TICS",
20100
+ coinMinimalDenom: "tics",
20101
+ coinDecimals: 18,
20102
+ gasPriceStep: {
20103
+ low: 2e10,
20104
+ average: 25e9,
20105
+ high: 4e10
20106
+ }
20107
+ }
20108
+ ],
20109
+ stakeCurrency: {
20110
+ coinDenom: "TICS",
20111
+ coinMinimalDenom: "tics",
20112
+ coinDecimals: 18
20113
+ },
20114
+ bip44: {
20115
+ coinType: 60
20116
+ }
20117
+ },
20026
20118
  {
20027
20119
  chainId: "quicksilver-2",
20028
20120
  currencies: [
@@ -24082,6 +24174,47 @@ const _mainnetChains = [
24082
24174
  coinType: 60
24083
24175
  }
24084
24176
  },
24177
+ {
24178
+ chainId: "xrplevm_1440000-1",
24179
+ currencies: [
24180
+ {
24181
+ coinDenom: "XRP",
24182
+ coinMinimalDenom: "axrp",
24183
+ coinDecimals: 18
24184
+ }
24185
+ ],
24186
+ rest: "https://cosmos-api.xrplevm.org",
24187
+ rpc: "https://cosmos-rpc.xrplevm.org",
24188
+ bech32Config: {
24189
+ bech32PrefixAccAddr: "ethm",
24190
+ bech32PrefixAccPub: "ethmpub",
24191
+ bech32PrefixValAddr: "ethmvaloper",
24192
+ bech32PrefixValPub: "ethmvaloperpub",
24193
+ bech32PrefixConsAddr: "ethmvalcons",
24194
+ bech32PrefixConsPub: "ethmvalconspub"
24195
+ },
24196
+ chainName: "xrplevm",
24197
+ feeCurrencies: [
24198
+ {
24199
+ coinDenom: "XRP",
24200
+ coinMinimalDenom: "axrp",
24201
+ coinDecimals: 18,
24202
+ gasPriceStep: {
24203
+ low: 2e11,
24204
+ average: 25e10,
24205
+ high: 4e11
24206
+ }
24207
+ }
24208
+ ],
24209
+ stakeCurrency: {
24210
+ coinDenom: "XRP",
24211
+ coinMinimalDenom: "axrp",
24212
+ coinDecimals: 18
24213
+ },
24214
+ bip44: {
24215
+ coinType: 60
24216
+ }
24217
+ },
24085
24218
  {
24086
24219
  chainId: "diamond-1",
24087
24220
  currencies: [
@@ -35269,8 +35402,9 @@ const _explorers = [
35269
35402
  explorers: [
35270
35403
  {
35271
35404
  kind: "Default Explorer",
35272
- url: "https://manifest.explorers.guru/",
35273
- txPage: "https://manifest.explorers.guru/transactions"
35405
+ url: "https://explorer.manifest.network/",
35406
+ txPage: "https://explorer.manifest.network/transaction/${txHash}",
35407
+ accountPage: "https://explorer.manifest.network/account/${accountAddress}"
35274
35408
  }
35275
35409
  ]
35276
35410
  },
@@ -35489,6 +35623,40 @@ const _explorers = [
35489
35623
  chainId: "mythos_7001-1",
35490
35624
  explorers: []
35491
35625
  },
35626
+ {
35627
+ chainId: "namada.5f5de2dd1b88cba30586420",
35628
+ explorers: [
35629
+ {
35630
+ kind: "Explorer75",
35631
+ url: "https://explorer75.org/namada",
35632
+ txPage: "https://explorer75.org/namada/tx/${txHash}",
35633
+ accountPage: "https://explorer75.org/namada/accounts/${accountAddress}"
35634
+ },
35635
+ {
35636
+ kind: "Valopers",
35637
+ url: "https://namada.valopers.com/",
35638
+ txPage: "https://namada.valopers.com/transactions/${txHash}",
35639
+ accountPage: "https://namada.valopers.com/account/${accountAddress}"
35640
+ },
35641
+ {
35642
+ kind: "Shielded.Live",
35643
+ url: "https://shielded.live",
35644
+ txPage: "https://shielded.live/txs/${txHash}",
35645
+ accountPage: "https://shielded.live/address/${accountAddress}"
35646
+ },
35647
+ {
35648
+ kind: "Sproutstake",
35649
+ url: "https://namada-explorer.sproutstake.space",
35650
+ txPage: "https://namada-explorer.sproutstake.space/main/transactions/${txHash}",
35651
+ accountPage: "https://namada-explorer.sproutstake.space/main/accounts/${accountAddress}"
35652
+ },
35653
+ {
35654
+ kind: "Coverlet",
35655
+ url: "https://namada.coverlet.io/",
35656
+ txPage: "https://namada.coverlet.io/tx/${txHash}"
35657
+ }
35658
+ ]
35659
+ },
35492
35660
  {
35493
35661
  chainId: "neura_266-1"
35494
35662
  },
@@ -36521,6 +36689,17 @@ const _explorers = [
36521
36689
  }
36522
36690
  ]
36523
36691
  },
36692
+ {
36693
+ chainId: "qubetics_9030-1",
36694
+ explorers: [
36695
+ {
36696
+ kind: "qubetics",
36697
+ url: "https://ticsscan.com",
36698
+ txPage: "https://ticsscan.com/tx/${txHash}",
36699
+ accountPage: "https://ticsscan.com/address/${accountAddress}"
36700
+ }
36701
+ ]
36702
+ },
36524
36703
  {
36525
36704
  chainId: "quicksilver-2",
36526
36705
  explorers: [
@@ -38354,6 +38533,23 @@ const _explorers = [
38354
38533
  }
38355
38534
  ]
38356
38535
  },
38536
+ {
38537
+ chainId: "xrplevm_1440000-1",
38538
+ explorers: [
38539
+ {
38540
+ kind: "evm",
38541
+ url: "https://explorer.xrplevm.org",
38542
+ txPage: "https://explorer.xrplevm.org/tx/${txHash}",
38543
+ accountPage: "https://explorer.xrplevm.org/address/${accountAddress}"
38544
+ },
38545
+ {
38546
+ kind: "cosmos",
38547
+ url: "https://governance.xrplevm.org",
38548
+ txPage: "https://governance.xrplevm.org/xrplevm/transactions/${txHash}",
38549
+ accountPage: "https://governance.xrplevm.org/xrplevm/accounts/${accountAddress}"
38550
+ }
38551
+ ]
38552
+ },
38357
38553
  {
38358
38554
  chainId: "diamond-1"
38359
38555
  },
@@ -39366,7 +39562,8 @@ const _explorers = [
39366
39562
  {
39367
39563
  kind: "Default Explorer",
39368
39564
  url: "https://testnet.manifest.explorers.guru/",
39369
- txPage: "https://testnet.manifest.explorers.guru/transactions"
39565
+ txPage: "https://testnet.manifest.explorers.guru/transaction/${txHash}",
39566
+ accountPage: "https://testnet.manifest.explorers.guru/account/${accountAddress}"
39370
39567
  }
39371
39568
  ]
39372
39569
  },
@@ -40170,14 +40367,8 @@ const _explorers = [
40170
40367
  {
40171
40368
  kind: "cosmos",
40172
40369
  url: "https://governance.testnet.xrplevm.org",
40173
- txPage: "https://governance.testnet.xrplevm.org/tx/${txHash}",
40174
- accountPage: "https://governance.testnet.xrplevm.org/account/${accountAddress}"
40175
- },
40176
- {
40177
- kind: "Valopers",
40178
- url: "https://testnet.xrplevm.valopers.com/",
40179
- txPage: "https://testnet.xrplevm.valopers.com/transactions/${txHash}",
40180
- accountPage: "https://testnet.xrplevm.valopers.com/account/${accountAddress}"
40370
+ txPage: "https://governance.testnet.xrplevm.org/xrplevm/transactions/${txHash}",
40371
+ accountPage: "https://governance.testnet.xrplevm.org/xrplevm/accounts/${accountAddress}"
40181
40372
  }
40182
40373
  ]
40183
40374
  },
@@ -45295,7 +45486,7 @@ function walletConnect(parameters) {
45295
45486
  const optionalChains = config2.chains.map((x2) => x2.id);
45296
45487
  if (!optionalChains.length)
45297
45488
  return;
45298
- const { EthereumProvider } = await import("./index.es-CqdKzOS3.js");
45489
+ const { EthereumProvider } = await import("./index.es-CQh3oq2n.js");
45299
45490
  return await EthereumProvider.init({
45300
45491
  ...parameters,
45301
45492
  disableProviderPing: true,
@@ -46810,7 +47001,7 @@ const useGroupedAssetByRecommendedSymbol = ({
46810
47001
  const isAllowed = !allowed || Object.entries(allowed).some(([chainId, denoms]) => {
46811
47002
  var _a2;
46812
47003
  if (denoms) {
46813
- return chainId === asset.chainId && denoms.map((x2) => x2.toLowerCase()).includes((_a2 = asset.denom) == null ? void 0 : _a2.toLowerCase());
47004
+ return chainId === asset.chainId && denoms.map((x2) => x2 == null ? void 0 : x2.toLowerCase()).includes((_a2 = asset.denom) == null ? void 0 : _a2.toLowerCase());
46814
47005
  } else {
46815
47006
  return chainId === asset.chainId;
46816
47007
  }
@@ -46818,7 +47009,7 @@ const useGroupedAssetByRecommendedSymbol = ({
46818
47009
  const isBlocked = !!blocked && Object.entries(blocked).some(([chainId, denoms]) => {
46819
47010
  var _a2;
46820
47011
  if (denoms) {
46821
- return chainId === asset.chainId && denoms.map((x2) => x2.toLowerCase()).includes((_a2 = asset.denom) == null ? void 0 : _a2.toLowerCase());
47012
+ return chainId === asset.chainId && denoms.map((x2) => x2 == null ? void 0 : x2.toLowerCase()).includes((_a2 = asset.denom) == null ? void 0 : _a2.toLowerCase());
46822
47013
  } else {
46823
47014
  return chainId === asset.chainId;
46824
47015
  }
@@ -46826,7 +47017,7 @@ const useGroupedAssetByRecommendedSymbol = ({
46826
47017
  const hasBalance = Number(((_a = getBalance(asset.chainId, asset.denom)) == null ? void 0 : _a.amount) ?? 0) > 0;
46827
47018
  const isBlockedUnlessUserHasBalance = !!blockedUnlessUserHasBalance && !hasBalance && Object.entries(blockedUnlessUserHasBalance).some(([chainId, denoms]) => {
46828
47019
  if (denoms) {
46829
- return chainId === asset.chainId && denoms.map((x2) => x2.toLowerCase()).includes(asset.denom.toLowerCase());
47020
+ return chainId === asset.chainId && denoms.map((x2) => x2 == null ? void 0 : x2.toLowerCase()).includes(asset.denom.toLowerCase());
46830
47021
  } else {
46831
47022
  return chainId === asset.chainId;
46832
47023
  }
@@ -48801,10 +48992,15 @@ const useFilteredAssets = ({
48801
48992
  if (allowedAssets.length === 0) return null;
48802
48993
  return { ...group, assets: allowedAssets };
48803
48994
  }).filter(Boolean);
48995
+ const searchLower = searchQuery.toLowerCase();
48804
48996
  return sanitizedAssets.filter((asset) => {
48805
48997
  var _a, _b;
48806
- return (_b = (_a = asset.id) == null ? void 0 : _a.toLowerCase()) == null ? void 0 : _b.includes(searchQuery.toLowerCase());
48998
+ return (_b = (_a = asset.id) == null ? void 0 : _a.toLowerCase()) == null ? void 0 : _b.includes(searchLower);
48807
48999
  }).sort((assetA, assetB) => {
49000
+ const exactA = assetA.id.toLowerCase() === searchLower;
49001
+ const exactB = assetB.id.toLowerCase() === searchLower;
49002
+ if (exactA && !exactB) return -1;
49003
+ if (exactB && !exactA) return 1;
48808
49004
  if (assetA.totalUsd !== assetB.totalUsd) {
48809
49005
  return assetB.totalUsd - assetA.totalUsd;
48810
49006
  }
@@ -51571,6 +51767,7 @@ const useHandleTransactionFailed = (error, statusData) => {
51571
51767
  const explorerLink = createSkipExplorerLink(transactionDetailsArray);
51572
51768
  const handleTransactionFailed = useCallback(() => {
51573
51769
  var _a, _b;
51770
+ track("unexpected error page: error occurred", { error, route: route2 });
51574
51771
  const sourceClientAsset = getClientAsset(
51575
51772
  (_a = statusData == null ? void 0 : statusData.transferAssetRelease) == null ? void 0 : _a.denom,
51576
51773
  (_b = statusData == null ? void 0 : statusData.transferAssetRelease) == null ? void 0 : _b.chainId
@@ -54098,7 +54295,7 @@ const initSentry = () => {
54098
54295
  };
54099
54296
  const name = "@skip-go/widget";
54100
54297
  const description = "Swap widget";
54101
- const version = "3.12.7";
54298
+ const version = "3.12.9";
54102
54299
  const repository = {
54103
54300
  url: "https://github.com/skip-mev/skip-go",
54104
54301
  directory: "packages/widget"
@@ -54160,7 +54357,7 @@ const devDependencies = {
54160
54357
  "@typescript-eslint/parser": "^7.15.0",
54161
54358
  "@vitejs/plugin-react": "^4.3.1",
54162
54359
  buffer: "^6.0.3",
54163
- "chain-registry": "^2.0.5",
54360
+ "chain-registry": "^2.0.11",
54164
54361
  download: "^8.0.0",
54165
54362
  eslint: "^9.9.0",
54166
54363
  "eslint-config-prettier": "^9.1.0",
@@ -1,4 +1,4 @@
1
- import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-CjTzvgxI.js";
1
+ import { g as getAugmentedNamespace, c as commonjsGlobal, a as getDefaultExportFromCjs, p as process$1 } from "./index-piWd6Ztl.js";
2
2
  import qg, { PROPOSAL_EXPIRY_MESSAGE } from "@walletconnect/sign-client";
3
3
  const global = globalThis || void 0 || self;
4
4
  var buffer$1 = {};
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { W, d, l, o, r, s } from "./index-CjTzvgxI.js";
1
+ import { W, d, l, o, r, s } from "./index-piWd6Ztl.js";
2
2
  export {
3
3
  W as Widget,
4
4
  d as defaultTheme,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skip-go/widget",
3
3
  "description": "Swap widget",
4
- "version": "3.12.7",
4
+ "version": "3.12.9",
5
5
  "repository": {
6
6
  "url": "https://github.com/skip-mev/skip-go",
7
7
  "directory": "packages/widget"
@@ -42,7 +42,7 @@
42
42
  "@penumbra-zone/transport-dom": "^7.5.0",
43
43
  "@r2wc/react-to-web-component": "^2.0.3",
44
44
  "@sentry/react": "^8.46.0",
45
- "@skip-go/client": "1.3.4",
45
+ "@skip-go/client": "1.3.6",
46
46
  "@solana/spl-token": "^0.4.8",
47
47
  "@solana/wallet-adapter-ledger": "^0.9.25",
48
48
  "@solana/wallet-adapter-react": "^0.15.39",