@rango-dev/widget-embedded 0.61.0 → 0.61.1-next.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/components/ConfirmWalletsModal/ConfirmWalletsModal.d.ts.map +1 -1
  3. package/dist/components/CustomDestination/CustomDestination.d.ts.map +1 -1
  4. package/dist/components/Quote/QuoteCostDetails.d.ts.map +1 -1
  5. package/dist/components/Slippage/Slippage.d.ts.map +1 -1
  6. package/dist/components/SwapDetails/SwapDetails.d.ts.map +1 -1
  7. package/dist/containers/Settings/Lists.d.ts.map +1 -1
  8. package/dist/containers/Wallets/useUpdates.d.ts.map +1 -1
  9. package/dist/hooks/useSwapInput.d.ts.map +1 -1
  10. package/dist/hooks/useSyncNotifications/useSyncNotifications.d.ts.map +1 -1
  11. package/dist/hooks/useWalletList.d.ts.map +1 -1
  12. package/dist/index.js +2 -2
  13. package/dist/index.js.map +4 -4
  14. package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
  15. package/dist/pages/Home.d.ts.map +1 -1
  16. package/dist/pages/LiquiditySourcePage.d.ts.map +1 -1
  17. package/dist/pages/SelectBlockchainPage.d.ts.map +1 -1
  18. package/dist/pages/SelectSwapItemPage/SelectSwapItemPage.helpers.d.ts +1 -0
  19. package/dist/pages/SelectSwapItemPage/SelectSwapItemPage.helpers.d.ts.map +1 -1
  20. package/dist/pages/SelectSwapItemPage/SelectSwapItemsPage.d.ts.map +1 -1
  21. package/dist/pages/SwapDetailsPage.d.ts.map +1 -1
  22. package/dist/store/slices/wallets.d.ts +3 -1
  23. package/dist/store/slices/wallets.d.ts.map +1 -1
  24. package/dist/types/event.d.ts +160 -6
  25. package/dist/types/event.d.ts.map +1 -1
  26. package/dist/utils/eventPayloads.d.ts +8 -0
  27. package/dist/utils/eventPayloads.d.ts.map +1 -0
  28. package/dist/utils/events.d.ts +8 -5
  29. package/dist/utils/events.d.ts.map +1 -1
  30. package/dist/widget-embedded.build.json +1 -1
  31. package/package.json +2 -2
  32. package/src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx +43 -1
  33. package/src/components/CustomDestination/CustomDestination.tsx +18 -0
  34. package/src/components/Quote/QuoteCostDetails.tsx +8 -0
  35. package/src/components/Slippage/Slippage.tsx +21 -0
  36. package/src/components/SwapDetails/SwapDetails.tsx +6 -0
  37. package/src/containers/Settings/Lists.tsx +13 -1
  38. package/src/containers/Wallets/useUpdates.ts +3 -1
  39. package/src/hooks/useSwapInput.ts +37 -1
  40. package/src/hooks/useSyncNotifications/useSyncNotifications.ts +33 -1
  41. package/src/hooks/useWalletList.ts +36 -0
  42. package/src/pages/ConfirmSwapPage.tsx +12 -1
  43. package/src/pages/Home.tsx +39 -14
  44. package/src/pages/LiquiditySourcePage.tsx +28 -0
  45. package/src/pages/SelectBlockchainPage.tsx +10 -0
  46. package/src/pages/SelectSwapItemPage/SelectSwapItemPage.helpers.ts +9 -0
  47. package/src/pages/SelectSwapItemPage/SelectSwapItemsPage.tsx +30 -0
  48. package/src/pages/SwapDetailsPage.tsx +6 -0
  49. package/src/store/slices/wallets.ts +10 -4
  50. package/src/types/event.ts +189 -10
  51. package/src/utils/eventPayloads.ts +39 -0
  52. package/src/utils/events.ts +33 -10
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ # [0.61.0](https://github.com/rango-exchange/rango-client/compare/widget-embedded@0.60.1...widget-embedded@0.61.0) (2026-07-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * display target wallet title in detached modal ([171dccf](https://github.com/rango-exchange/rango-client/commit/171dccfa34eb06dbb5551de07f0600aa39a108ff))
7
+ * get active evm network name ([bad0131](https://github.com/rango-exchange/rango-client/commit/bad0131f0637d0be5c7673897b8e0a13bfc7d53c))
8
+ * use tokenUrl from blockchain metadata for token explorer links with addressUrl fallback ([4fce029](https://github.com/rango-exchange/rango-client/commit/4fce029e6eb0e6288bce26f489cce94fa28c0878))
9
+
10
+
11
+ ### Features
12
+
13
+ * add support for hyperliquid transactions ([88630bc](https://github.com/rango-exchange/rango-client/commit/88630bcf6dfa67d57e6cd002da4106142785946f))
14
+ * migrate trezor provider to hub ([1d87eac](https://github.com/rango-exchange/rango-client/commit/1d87eac97f8a5d9122b5805b45898db53bc30cad))
15
+ * remove Cosmos blockchain support ([2b51ea3](https://github.com/rango-exchange/rango-client/commit/2b51ea3aa202f3ea049492ed90d00d97c552a490))
16
+
17
+
18
+
1
19
  ## [0.60.1](https://github.com/rango-exchange/rango-client/compare/widget-embedded@0.60.0...widget-embedded@0.60.1) (2026-06-02)
2
20
 
3
21
 
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmWalletsModal.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAc7D,OAAO,KAAoD,MAAM,OAAO,CAAC;AA2BzE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,qBA2bnD"}
1
+ {"version":3,"file":"ConfirmWalletsModal.d.ts","sourceRoot":"","sources":["../../../src/components/ConfirmWalletsModal/ConfirmWalletsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAc7D,OAAO,KAAoD,MAAM,OAAO,CAAC;AA6BzE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,qBAmenD"}
@@ -1 +1 @@
1
- {"version":3,"file":"CustomDestination.d.ts","sourceRoot":"","sources":["../../../src/components/CustomDestination/CustomDestination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAc3D,OAAO,KAA4B,MAAM,OAAO,CAAC;AAiBjD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,qBA6HjD"}
1
+ {"version":3,"file":"CustomDestination.d.ts","sourceRoot":"","sources":["../../../src/components/CustomDestination/CustomDestination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAc3D,OAAO,KAA4B,MAAM,OAAO,CAAC;AAmBjD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,qBA6IjD"}
@@ -1 +1 @@
1
- {"version":3,"file":"QuoteCostDetails.d.ts","sourceRoot":"","sources":["../../../src/components/Quote/QuoteCostDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAc3D,OAAO,KAAmB,MAAM,OAAO,CAAC;AA0CxC,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,qBAkL5D"}
1
+ {"version":3,"file":"QuoteCostDetails.d.ts","sourceRoot":"","sources":["../../../src/components/Quote/QuoteCostDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAc3D,OAAO,KAAmB,MAAM,OAAO,CAAC;AA4CxC,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,qBAwL5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"Slippage.d.ts","sourceRoot":"","sources":["../../../src/components/Slippage/Slippage.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,wBAAgB,QAAQ,sBA2GvB"}
1
+ {"version":3,"file":"Slippage.d.ts","sourceRoot":"","sources":["../../../src/components/Slippage/Slippage.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAkB1B,wBAAgB,QAAQ,sBA8HvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"SwapDetails.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAoB5D,OAAO,KAAsC,MAAM,OAAO,CAAC;AAwD3D,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBA6dlD"}
1
+ {"version":3,"file":"SwapDetails.d.ts","sourceRoot":"","sources":["../../../src/components/SwapDetails/SwapDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAoB5D,OAAO,KAAsC,MAAM,OAAO,CAAC;AA0D3D,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,qBAielD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Lists.d.ts","sourceRoot":"","sources":["../../../src/containers/Settings/Lists.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,MAAM,OAAO,CAAC;AA4D1B,wBAAgB,aAAa,sBAoO5B"}
1
+ {"version":3,"file":"Lists.d.ts","sourceRoot":"","sources":["../../../src/containers/Settings/Lists.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAAK,MAAM,OAAO,CAAC;AA8D1B,wBAAgB,aAAa,sBA8O5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"useUpdates.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/useUpdates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EACV,kBAAkB,IAAI,YAAY,EAEnC,MAAM,gCAAgC,CAAC;AAgBxC,UAAU,gBAAgB;IACxB,sBAAsB,EAAE,KAAK,CAAC,gBAAgB,CAC5C,sBAAsB,GAAG,SAAS,CACnC,CAAC;IACF,yBAAyB,EAAE,KAAK,CAAC,gBAAgB,CAC/C,yBAAyB,GAAG,SAAS,CACtC,CAAC;CACH;AACD,UAAU,UAAU;IAClB,OAAO,EAAE,YAAY,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,gBAAgB,GAAG,UAAU,CAmN/D"}
1
+ {"version":3,"file":"useUpdates.d.ts","sourceRoot":"","sources":["../../../src/containers/Wallets/useUpdates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EACV,kBAAkB,IAAI,YAAY,EAEnC,MAAM,gCAAgC,CAAC;AAgBxC,UAAU,gBAAgB;IACxB,sBAAsB,EAAE,KAAK,CAAC,gBAAgB,CAC5C,sBAAsB,GAAG,SAAS,CACnC,CAAC;IACF,yBAAyB,EAAE,KAAK,CAAC,gBAAgB,CAC/C,yBAAyB,GAAG,SAAS,CACtC,CAAC;CACH;AACD,UAAU,UAAU;IAClB,OAAO,EAAE,YAAY,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,gBAAgB,GAAG,UAAU,CAqN/D"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"AAiCA,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,CAAC,yBAAyB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,KAAK,iBAAiB,GAAG;IACvB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AACF;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAC3B,YAAY,GACb,EAAE,iBAAiB,GAAG,YAAY,CAkPlC"}
1
+ {"version":3,"file":"useSwapInput.d.ts","sourceRoot":"","sources":["../../src/hooks/useSwapInput.ts"],"names":[],"mappings":"AAmCA,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,CAAC,yBAAyB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,KAAK,iBAAiB,GAAG;IACvB,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AACF;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAC3B,YAAY,GACb,EAAE,iBAAiB,GAAG,YAAY,CAoRlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSyncNotifications.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSyncNotifications/useSyncNotifications.ts"],"names":[],"mappings":"AAMA,wBAAgB,oBAAoB,SAkBnC"}
1
+ {"version":3,"file":"useSyncNotifications.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSyncNotifications/useSyncNotifications.ts"],"names":[],"mappings":"AAQA,wBAAgB,oBAAoB,SAgDnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useWalletList.d.ts","sourceRoot":"","sources":["../../src/hooks/useWalletList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAkBhE,UAAU,MAAM;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,GAAG;IACX,IAAI,EAAE,uBAAuB,EAAE,CAAC;IAChC,0BAA0B,EAAE,MAAM,IAAI,CAAC;CACxC;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,GAAG,CAsFlD"}
1
+ {"version":3,"file":"useWalletList.d.ts","sourceRoot":"","sources":["../../src/hooks/useWalletList.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAuChE,UAAU,MAAM;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,GAAG;IACX,IAAI,EAAE,uBAAuB,EAAE,CAAC;IAChC,0BAA0B,EAAE,MAAM,IAAI,CAAC;CACxC;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,GAAG,CAqGlD"}