@rango-dev/ui 0.65.1-next.5 → 0.66.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 (54) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/index.js.map +2 -2
  3. package/dist/translations/af.d.ts.map +1 -1
  4. package/dist/translations/ar.d.ts.map +1 -1
  5. package/dist/translations/bn.d.ts.map +1 -1
  6. package/dist/translations/ca.d.ts.map +1 -1
  7. package/dist/translations/da.d.ts.map +1 -1
  8. package/dist/translations/de.d.ts.map +1 -1
  9. package/dist/translations/el.d.ts.map +1 -1
  10. package/dist/translations/en.d.ts.map +1 -1
  11. package/dist/translations/es.d.ts.map +1 -1
  12. package/dist/translations/fi.d.ts.map +1 -1
  13. package/dist/translations/fil.d.ts.map +1 -1
  14. package/dist/translations/fr.d.ts.map +1 -1
  15. package/dist/translations/hi.d.ts.map +1 -1
  16. package/dist/translations/hu.d.ts.map +1 -1
  17. package/dist/translations/id.d.ts.map +1 -1
  18. package/dist/translations/it.d.ts.map +1 -1
  19. package/dist/translations/ja.d.ts.map +1 -1
  20. package/dist/translations/ko.d.ts.map +1 -1
  21. package/dist/translations/lt.d.ts.map +1 -1
  22. package/dist/translations/ms.d.ts.map +1 -1
  23. package/dist/translations/nl.d.ts.map +1 -1
  24. package/dist/translations/pl.d.ts.map +1 -1
  25. package/dist/translations/pt.d.ts.map +1 -1
  26. package/dist/translations/ru.d.ts.map +1 -1
  27. package/dist/translations/sk.d.ts.map +1 -1
  28. package/dist/translations/sr.d.ts.map +1 -1
  29. package/dist/translations/sv.d.ts.map +1 -1
  30. package/dist/translations/sw.d.ts.map +1 -1
  31. package/dist/translations/th.d.ts.map +1 -1
  32. package/dist/translations/tr.d.ts.map +1 -1
  33. package/dist/translations/uk.d.ts.map +1 -1
  34. package/dist/translations/ur.d.ts.map +1 -1
  35. package/dist/translations/vi.d.ts.map +1 -1
  36. package/dist/translations/zh-CN.d.ts.map +1 -1
  37. package/dist/translations/zh-TW.d.ts.map +1 -1
  38. package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts +4 -4
  39. package/dist/widget/ui/src/components/Wallet/Wallet.types.d.ts.map +1 -1
  40. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts +1 -1
  41. package/dist/widget/ui/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.d.ts.map +1 -1
  42. package/dist/widget/ui/src/types/index.d.ts +1 -1
  43. package/dist/widget/ui/src/types/index.d.ts.map +1 -1
  44. package/dist/widget/ui/src/types/wallet.d.ts +1 -8
  45. package/dist/widget/ui/src/types/wallet.d.ts.map +1 -1
  46. package/dist/widget/ui/src/utils/wallet.d.ts +1 -1
  47. package/dist/widget/ui/src/utils/wallet.d.ts.map +1 -1
  48. package/package.json +4 -3
  49. package/src/components/Wallet/Wallet.types.ts +7 -6
  50. package/src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts +1 -1
  51. package/src/types/index.ts +1 -1
  52. package/src/types/wallet.ts +1 -9
  53. package/src/utils/wallet.ts +1 -1
  54. package/CHANGELOG.md +0 -557
@@ -1 +1 @@
1
- {"version":3,"file":"af.d.ts","sourceRoot":"","sources":["../../../../translations/af.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAy3kB,CAAC"}
1
+ {"version":3,"file":"af.d.ts","sourceRoot":"","sources":["../../../../translations/af.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAyplB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../../translations/ar.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA4viB,CAAC"}
1
+ {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../../translations/ar.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA8+iB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"bn.d.ts","sourceRoot":"","sources":["../../../../translations/bn.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAq2kB,CAAC"}
1
+ {"version":3,"file":"bn.d.ts","sourceRoot":"","sources":["../../../../translations/bn.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA2olB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ca.d.ts","sourceRoot":"","sources":["../../../../translations/ca.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAmumB,CAAC"}
1
+ {"version":3,"file":"ca.d.ts","sourceRoot":"","sources":["../../../../translations/ca.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAggnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"da.d.ts","sourceRoot":"","sources":["../../../../translations/da.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAwskB,CAAC"}
1
+ {"version":3,"file":"da.d.ts","sourceRoot":"","sources":["../../../../translations/da.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAw9kB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../../translations/de.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAm1mB,CAAC"}
1
+ {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../../translations/de.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA6onB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"el.d.ts","sourceRoot":"","sources":["../../../../translations/el.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAsknB,CAAC"}
1
+ {"version":3,"file":"el.d.ts","sourceRoot":"","sources":["../../../../translations/el.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAm2nB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../translations/en.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAq2jB,CAAC"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../../translations/en.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA+mkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../translations/es.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAmimB,CAAC"}
1
+ {"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../translations/es.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA8ymB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fi.d.ts","sourceRoot":"","sources":["../../../../translations/fi.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA+7kB,CAAC"}
1
+ {"version":3,"file":"fi.d.ts","sourceRoot":"","sources":["../../../../translations/fi.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAsrlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fil.d.ts","sourceRoot":"","sources":["../../../../translations/fil.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAw4nB,CAAC"}
1
+ {"version":3,"file":"fil.d.ts","sourceRoot":"","sources":["../../../../translations/fil.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA0qoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../translations/fr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAqhnB,CAAC"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../translations/fr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAmznB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hi.d.ts","sourceRoot":"","sources":["../../../../translations/hi.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA4jkB,CAAC"}
1
+ {"version":3,"file":"hi.d.ts","sourceRoot":"","sources":["../../../../translations/hi.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA40kB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hu.d.ts","sourceRoot":"","sources":["../../../../translations/hu.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA00lB,CAAC"}
1
+ {"version":3,"file":"hu.d.ts","sourceRoot":"","sources":["../../../../translations/hu.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA6lmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../translations/id.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAuxlB,CAAC"}
1
+ {"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../translations/id.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAsimB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../../translations/it.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAg/lB,CAAC"}
1
+ {"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../../translations/it.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAwxmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../translations/ja.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAkqd,CAAC"}
1
+ {"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../../translations/ja.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA22d,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../../../translations/ko.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA2/c,CAAC"}
1
+ {"version":3,"file":"ko.d.ts","sourceRoot":"","sources":["../../../../translations/ko.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAusd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"lt.d.ts","sourceRoot":"","sources":["../../../../translations/lt.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAwolB,CAAC"}
1
+ {"version":3,"file":"lt.d.ts","sourceRoot":"","sources":["../../../../translations/lt.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA64lB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ms.d.ts","sourceRoot":"","sources":["../../../../translations/ms.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAgvlB,CAAC"}
1
+ {"version":3,"file":"ms.d.ts","sourceRoot":"","sources":["../../../../translations/ms.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA8/lB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../../../translations/nl.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA8nlB,CAAC"}
1
+ {"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../../../translations/nl.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA65lB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../../../translations/pl.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAm9kB,CAAC"}
1
+ {"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../../../translations/pl.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAgulB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../../translations/pt.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAkxlB,CAAC"}
1
+ {"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../../translations/pt.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAyhmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../../translations/ru.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAsolB,CAAC"}
1
+ {"version":3,"file":"ru.d.ts","sourceRoot":"","sources":["../../../../translations/ru.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA85lB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sk.d.ts","sourceRoot":"","sources":["../../../../translations/sk.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA+rkB,CAAC"}
1
+ {"version":3,"file":"sk.d.ts","sourceRoot":"","sources":["../../../../translations/sk.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA88kB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sr.d.ts","sourceRoot":"","sources":["../../../../translations/sr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAoukB,CAAC"}
1
+ {"version":3,"file":"sr.d.ts","sourceRoot":"","sources":["../../../../translations/sr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAw+kB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sv.d.ts","sourceRoot":"","sources":["../../../../translations/sv.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAmhkB,CAAC"}
1
+ {"version":3,"file":"sv.d.ts","sourceRoot":"","sources":["../../../../translations/sv.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA2xkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"sw.d.ts","sourceRoot":"","sources":["../../../../translations/sw.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAsnlB,CAAC"}
1
+ {"version":3,"file":"sw.d.ts","sourceRoot":"","sources":["../../../../translations/sw.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAm5lB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"th.d.ts","sourceRoot":"","sources":["../../../../translations/th.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA81jB,CAAC"}
1
+ {"version":3,"file":"th.d.ts","sourceRoot":"","sources":["../../../../translations/th.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAomkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../translations/tr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA8gkB,CAAC"}
1
+ {"version":3,"file":"tr.d.ts","sourceRoot":"","sources":["../../../../translations/tr.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAmxkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"uk.d.ts","sourceRoot":"","sources":["../../../../translations/uk.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA+9kB,CAAC"}
1
+ {"version":3,"file":"uk.d.ts","sourceRoot":"","sources":["../../../../translations/uk.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA2ulB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ur.d.ts","sourceRoot":"","sources":["../../../../translations/ur.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAy0kB,CAAC"}
1
+ {"version":3,"file":"ur.d.ts","sourceRoot":"","sources":["../../../../translations/ur.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA+llB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"vi.d.ts","sourceRoot":"","sources":["../../../../translations/vi.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA64kB,CAAC"}
1
+ {"version":3,"file":"vi.d.ts","sourceRoot":"","sources":["../../../../translations/vi.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAkplB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../../../translations/zh-CN.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAkta,CAAC"}
1
+ {"version":3,"file":"zh-CN.d.ts","sourceRoot":"","sources":["../../../../translations/zh-CN.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA43a,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"zh-TW.d.ts","sourceRoot":"","sources":["../../../../translations/zh-TW.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAAkqa,CAAC"}
1
+ {"version":3,"file":"zh-TW.d.ts","sourceRoot":"","sources":["../../../../translations/zh-TW.ts"],"names":[],"mappings":"AAAkB,eAAO,MAAM,QAAQ,KAA80a,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { InstallObjects } from '../../types/wallet.js';
2
- import type { LegacyWalletInfo, LegacyWalletType as WalletType } from '@rango-dev/wallets-core/legacy';
1
+ import type { WalletType } from '@hub3js/core';
2
+ import type { InstallObjects, NeedsDerivationPath, NeedsNamespace } from '@rango-dev/wallets-react';
3
3
  import type { TransactionType } from 'rango-types';
4
4
  export declare enum WalletState {
5
5
  NOT_INSTALLED = "not_installed",
@@ -16,8 +16,8 @@ export type WalletInfo = {
16
16
  type: string;
17
17
  showOnMobile?: boolean;
18
18
  blockchainTypes: TransactionType[];
19
- needsNamespace?: LegacyWalletInfo['needsNamespace'];
20
- needsDerivationPath?: LegacyWalletInfo['needsDerivationPath'];
19
+ needsNamespace?: NeedsNamespace;
20
+ needsDerivationPath?: NeedsDerivationPath;
21
21
  };
22
22
  export interface Info {
23
23
  color: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Wallet.types.d.ts","sourceR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ACnB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,cAAc,GAAG,MAAM,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG;IAClD,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { WalletInfo } from '../../components/index.js';
2
- import type { LegacyWalletType as WalletType } from '@rango-dev/wallets-core/legacy';
2
+ import type { WalletType } from '@hub3js/core';
3
3
  export interface ConnectWalletsModalPropTypes {
4
4
  open: boolean;
5
5
  list: WalletInfo[];
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectWalletsModal.types.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,IAAI,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAErF,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"ConnectWalletsModal.types.d.ts","sourceRoot":"","sources":["../../../../../../src/containers/ConnectWalletsModal/ConnectWalletsModal.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1,3 +1,3 @@
1
- export type { ConnectedWallet, InstallObjects } from './wallet.js';
1
+ export type { ConnectedWallet } from './wallet.js';
2
2
  export type { SimulationAssetAndAmount, SimulationValidationStatus, } from './swaps.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACnE,YAAY,EACV,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,YAAY,EACV,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,YAAY,CAAC"}
@@ -1,11 +1,4 @@
1
- import type { LegacyWalletType as WalletType } from '@rango-dev/wallets-core/legacy';
2
- export type InstallObjects = {
3
- CHROME?: string;
4
- FIREFOX?: string;
5
- EDGE?: string;
6
- BRAVE?: string;
7
- DEFAULT: string;
8
- };
1
+ import type { WalletType } from '@hub3js/core';
9
2
  interface Wallet {
10
3
  chain: string;
11
4
  address: string;
@@ -1 +1 @@
1
- {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/types/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,IAAI,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAErF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,MAAM;IAC7C,QAAQ,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
1
+ {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/types/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,WAAW,eAAgB,SAAQ,MAAM;IAC7C,QAAQ,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
@@ -1,3 +1,3 @@
1
- import type { InstallObjects } from '../types/wallet.js';
1
+ import type { InstallObjects } from '@rango-dev/wallets-react';
2
2
  export declare function detectInstallLink(install: InstallObjects | string): string;
3
3
  //# sourceMappingURL=wallet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/utils/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAiBzD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,GAAG,MAAM,CAe1E"}
1
+ {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../../../src/utils/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAiB/D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,cAAc,GAAG,MAAM,GAAG,MAAM,CAe1E"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/ui",
3
- "version": "0.65.1-next.5",
3
+ "version": "0.66.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -46,6 +46,7 @@
46
46
  "react-is": "^18.2.0"
47
47
  },
48
48
  "dependencies": {
49
+ "@hub3js/core": "^0.62.0",
49
50
  "@radix-ui/react-checkbox": "^1.0.1",
50
51
  "@radix-ui/react-collapsible": "^1.0.3",
51
52
  "@radix-ui/react-popover": "^1.0.6",
@@ -53,7 +54,7 @@
53
54
  "@radix-ui/react-select": "^2.0.0",
54
55
  "@radix-ui/react-switch": "^1.0.1",
55
56
  "@radix-ui/react-tooltip": "^1.0.2",
56
- "@rango-dev/wallets-core": "^0.61.1-next.2",
57
+ "@rango-dev/wallets-react": "^0.49.0",
57
58
  "@stitches/react": "^1.2.8",
58
59
  "copy-to-clipboard": "^3.3.3",
59
60
  "rango-types": "^0.5.0",
@@ -62,4 +63,4 @@
62
63
  "publishConfig": {
63
64
  "access": "public"
64
65
  }
65
- }
66
+ }
@@ -1,8 +1,9 @@
1
- import type { InstallObjects } from '../../types/wallet.js';
1
+ import type { WalletType } from '@hub3js/core';
2
2
  import type {
3
- LegacyWalletInfo,
4
- LegacyWalletType as WalletType,
5
- } from '@rango-dev/wallets-core/legacy';
3
+ InstallObjects,
4
+ NeedsDerivationPath,
5
+ NeedsNamespace,
6
+ } from '@rango-dev/wallets-react';
6
7
  import type { TransactionType } from 'rango-types';
7
8
 
8
9
  export enum WalletState {
@@ -21,8 +22,8 @@ export type WalletInfo = {
21
22
  type: string;
22
23
  showOnMobile?: boolean;
23
24
  blockchainTypes: TransactionType[];
24
- needsNamespace?: LegacyWalletInfo['needsNamespace'];
25
- needsDerivationPath?: LegacyWalletInfo['needsDerivationPath'];
25
+ needsNamespace?: NeedsNamespace;
26
+ needsDerivationPath?: NeedsDerivationPath;
26
27
  };
27
28
 
28
29
  export interface Info {
@@ -1,5 +1,5 @@
1
1
  import type { WalletInfo } from '../../components/index.js';
2
- import type { LegacyWalletType as WalletType } from '@rango-dev/wallets-core/legacy';
2
+ import type { WalletType } from '@hub3js/core';
3
3
 
4
4
  export interface ConnectWalletsModalPropTypes {
5
5
  open: boolean;
@@ -1,4 +1,4 @@
1
- export type { ConnectedWallet, InstallObjects } from './wallet.js';
1
+ export type { ConnectedWallet } from './wallet.js';
2
2
  export type {
3
3
  SimulationAssetAndAmount,
4
4
  SimulationValidationStatus,
@@ -1,12 +1,4 @@
1
- import type { LegacyWalletType as WalletType } from '@rango-dev/wallets-core/legacy';
2
-
3
- export type InstallObjects = {
4
- CHROME?: string;
5
- FIREFOX?: string;
6
- EDGE?: string;
7
- BRAVE?: string;
8
- DEFAULT: string;
9
- };
1
+ import type { WalletType } from '@hub3js/core';
10
2
 
11
3
  interface Wallet {
12
4
  chain: string;
@@ -1,4 +1,4 @@
1
- import type { InstallObjects } from '../types/wallet.js';
1
+ import type { InstallObjects } from '@rango-dev/wallets-react';
2
2
 
3
3
  function isBrave() {
4
4
  let isBrave = false;