@ledgerhq/live-common 29.1.0 → 29.2.0-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 (481) hide show
  1. package/lib/account/serialization.d.ts +0 -6
  2. package/lib/account/serialization.d.ts.map +1 -1
  3. package/lib/account/serialization.js +11 -50
  4. package/lib/account/serialization.js.map +1 -1
  5. package/lib/apps/hw.js +1 -1
  6. package/lib/apps/hw.js.map +1 -1
  7. package/lib/countervalues/react.d.ts.map +1 -1
  8. package/lib/countervalues/react.js +1 -1
  9. package/lib/countervalues/react.js.map +1 -1
  10. package/lib/data/icons/react/gm.d.ts +8 -0
  11. package/lib/data/icons/react/gm.d.ts.map +1 -0
  12. package/lib/data/icons/react/gm.js +36 -0
  13. package/lib/data/icons/react/gm.js.map +1 -0
  14. package/lib/data/icons/react/index.d.ts +1 -0
  15. package/lib/data/icons/react/index.d.ts.map +1 -1
  16. package/lib/data/icons/react/index.js +9 -7
  17. package/lib/data/icons/react/index.js.map +1 -1
  18. package/lib/data/icons/reactNative/gm.d.ts +8 -0
  19. package/lib/data/icons/reactNative/gm.d.ts.map +1 -0
  20. package/lib/data/icons/reactNative/gm.js +37 -0
  21. package/lib/data/icons/reactNative/gm.js.map +1 -0
  22. package/lib/data/icons/reactNative/index.d.ts +1 -0
  23. package/lib/data/icons/reactNative/index.d.ts.map +1 -1
  24. package/lib/data/icons/reactNative/index.js +9 -7
  25. package/lib/data/icons/reactNative/index.js.map +1 -1
  26. package/lib/families/algorand/bridge/js.d.ts.map +1 -1
  27. package/lib/families/algorand/bridge/js.js +0 -1
  28. package/lib/families/algorand/bridge/js.js.map +1 -1
  29. package/lib/families/algorand/bridge/mock.d.ts.map +1 -1
  30. package/lib/families/algorand/bridge/mock.js +0 -1
  31. package/lib/families/algorand/bridge/mock.js.map +1 -1
  32. package/lib/families/algorand/serialization.d.ts +0 -1
  33. package/lib/families/algorand/serialization.d.ts.map +1 -1
  34. package/lib/families/algorand/serialization.js +1 -16
  35. package/lib/families/algorand/serialization.js.map +1 -1
  36. package/lib/families/bitcoin/bridge/js.d.ts.map +1 -1
  37. package/lib/families/bitcoin/bridge/js.js +4 -1
  38. package/lib/families/bitcoin/bridge/js.js.map +1 -1
  39. package/lib/families/bitcoin/descriptor.test.js +2 -0
  40. package/lib/families/bitcoin/descriptor.test.js.map +1 -1
  41. package/lib/families/bitcoin/satstack.test.js +2 -0
  42. package/lib/families/bitcoin/satstack.test.js.map +1 -1
  43. package/lib/families/bitcoin/serialization.d.ts +3 -0
  44. package/lib/families/bitcoin/serialization.d.ts.map +1 -1
  45. package/lib/families/bitcoin/serialization.js +16 -1
  46. package/lib/families/bitcoin/serialization.js.map +1 -1
  47. package/lib/families/bitcoin/serialization.test.d.ts +2 -0
  48. package/lib/families/bitcoin/serialization.test.d.ts.map +1 -0
  49. package/lib/families/bitcoin/serialization.test.js +110 -0
  50. package/lib/families/bitcoin/serialization.test.js.map +1 -0
  51. package/lib/families/cardano/bridge/js.d.ts.map +1 -1
  52. package/lib/families/cardano/bridge/js.js +0 -1
  53. package/lib/families/cardano/bridge/js.js.map +1 -1
  54. package/lib/families/cardano/serialization.d.ts +0 -1
  55. package/lib/families/cardano/serialization.d.ts.map +1 -1
  56. package/lib/families/cardano/serialization.js +1 -18
  57. package/lib/families/cardano/serialization.js.map +1 -1
  58. package/lib/families/celo/bridge/js.d.ts.map +1 -1
  59. package/lib/families/celo/bridge/js.js +0 -1
  60. package/lib/families/celo/bridge/js.js.map +1 -1
  61. package/lib/families/celo/serialization.d.ts +0 -1
  62. package/lib/families/celo/serialization.d.ts.map +1 -1
  63. package/lib/families/celo/serialization.js +1 -15
  64. package/lib/families/celo/serialization.js.map +1 -1
  65. package/lib/families/cosmos/bridge/js.d.ts.map +1 -1
  66. package/lib/families/cosmos/bridge/js.js +0 -2
  67. package/lib/families/cosmos/bridge/js.js.map +1 -1
  68. package/lib/families/cosmos/js-synchronisation.d.ts +1 -3
  69. package/lib/families/cosmos/js-synchronisation.d.ts.map +1 -1
  70. package/lib/families/cosmos/js-synchronisation.js +1 -16
  71. package/lib/families/cosmos/js-synchronisation.js.map +1 -1
  72. package/lib/families/crypto_org/api/sdk.d.ts.map +1 -1
  73. package/lib/families/crypto_org/api/sdk.js +6 -9
  74. package/lib/families/crypto_org/api/sdk.js.map +1 -1
  75. package/lib/families/crypto_org/js-buildTransaction.d.ts.map +1 -1
  76. package/lib/families/crypto_org/js-buildTransaction.js +3 -2
  77. package/lib/families/crypto_org/js-buildTransaction.js.map +1 -1
  78. package/lib/families/crypto_org/js-signOperation.js +1 -1
  79. package/lib/families/crypto_org/js-signOperation.js.map +1 -1
  80. package/lib/families/crypto_org/logic.d.ts +0 -16
  81. package/lib/families/crypto_org/logic.d.ts.map +1 -1
  82. package/lib/families/crypto_org/logic.js +6 -20
  83. package/lib/families/crypto_org/logic.js.map +1 -1
  84. package/lib/families/elrond/bridge/js.d.ts.map +1 -1
  85. package/lib/families/elrond/bridge/js.js +0 -2
  86. package/lib/families/elrond/bridge/js.js.map +1 -1
  87. package/lib/families/elrond/js-synchronisation.d.ts +1 -3
  88. package/lib/families/elrond/js-synchronisation.d.ts.map +1 -1
  89. package/lib/families/elrond/js-synchronisation.js +1 -16
  90. package/lib/families/elrond/js-synchronisation.js.map +1 -1
  91. package/lib/families/ethereum/__tests__/nft.integration.test.js +0 -7
  92. package/lib/families/ethereum/__tests__/nft.integration.test.js.map +1 -1
  93. package/lib/families/hedera/api/mirror.d.ts.map +1 -1
  94. package/lib/families/hedera/api/mirror.js +40 -16
  95. package/lib/families/hedera/api/mirror.js.map +1 -1
  96. package/lib/families/hedera/api/network.js +6 -1
  97. package/lib/families/hedera/api/network.js.map +1 -1
  98. package/lib/families/hedera/bridge.integration.test.js +1 -2
  99. package/lib/families/hedera/bridge.integration.test.js.map +1 -1
  100. package/lib/families/hedera/js-estimateMaxSpendable.d.ts.map +1 -1
  101. package/lib/families/hedera/js-estimateMaxSpendable.js +55 -11
  102. package/lib/families/hedera/js-estimateMaxSpendable.js.map +1 -1
  103. package/lib/families/hedera/js-getTransactionStatus.d.ts.map +1 -1
  104. package/lib/families/hedera/js-getTransactionStatus.js +5 -2
  105. package/lib/families/hedera/js-getTransactionStatus.js.map +1 -1
  106. package/lib/families/hedera/js-signOperation.js +23 -16
  107. package/lib/families/hedera/js-signOperation.js.map +1 -1
  108. package/lib/families/hedera/tests/js-estimateMaxSpendable.integration.test.d.ts +2 -0
  109. package/lib/families/hedera/tests/js-estimateMaxSpendable.integration.test.d.ts.map +1 -0
  110. package/lib/families/hedera/tests/{js-estimateMaxSpendable.test.js → js-estimateMaxSpendable.integration.test.js} +27 -3
  111. package/lib/families/hedera/tests/js-estimateMaxSpendable.integration.test.js.map +1 -0
  112. package/lib/families/hedera/tests/utils.integration.test.d.ts +2 -0
  113. package/lib/families/hedera/tests/utils.integration.test.d.ts.map +1 -0
  114. package/lib/families/hedera/tests/{utils.test.js → utils.integration.test.js} +28 -4
  115. package/lib/families/hedera/tests/utils.integration.test.js.map +1 -0
  116. package/lib/families/hedera/utils.d.ts +1 -1
  117. package/lib/families/hedera/utils.d.ts.map +1 -1
  118. package/lib/families/hedera/utils.js +40 -14
  119. package/lib/families/hedera/utils.js.map +1 -1
  120. package/lib/families/near/bridge/js.d.ts.map +1 -1
  121. package/lib/families/near/bridge/js.js +1 -2
  122. package/lib/families/near/bridge/js.js.map +1 -1
  123. package/lib/families/near/serialization.d.ts +0 -1
  124. package/lib/families/near/serialization.d.ts.map +1 -1
  125. package/lib/families/near/serialization.js +1 -15
  126. package/lib/families/near/serialization.js.map +1 -1
  127. package/lib/families/solana/api/chain/web3.d.ts +1 -0
  128. package/lib/families/solana/api/chain/web3.d.ts.map +1 -1
  129. package/lib/families/solana/api/chain/web3.js +16 -1
  130. package/lib/families/solana/api/chain/web3.js.map +1 -1
  131. package/lib/families/solana/bridge/bridge.d.ts.map +1 -1
  132. package/lib/families/solana/bridge/bridge.js +0 -1
  133. package/lib/families/solana/bridge/bridge.js.map +1 -1
  134. package/lib/families/solana/bridge.integration.test.js +7 -4
  135. package/lib/families/solana/bridge.integration.test.js.map +1 -1
  136. package/lib/families/solana/js-estimateMaxSpendable.d.ts.map +1 -1
  137. package/lib/families/solana/js-estimateMaxSpendable.js +9 -6
  138. package/lib/families/solana/js-estimateMaxSpendable.js.map +1 -1
  139. package/lib/families/solana/js-prepareTransaction.d.ts.map +1 -1
  140. package/lib/families/solana/js-prepareTransaction.js +15 -8
  141. package/lib/families/solana/js-prepareTransaction.js.map +1 -1
  142. package/lib/families/solana/logic.d.ts +0 -1
  143. package/lib/families/solana/logic.d.ts.map +1 -1
  144. package/lib/families/solana/logic.js +1 -4
  145. package/lib/families/solana/logic.js.map +1 -1
  146. package/lib/families/solana/serialization.d.ts +0 -1
  147. package/lib/families/solana/serialization.d.ts.map +1 -1
  148. package/lib/families/solana/serialization.js +1 -15
  149. package/lib/families/solana/serialization.js.map +1 -1
  150. package/lib/families/tezos/bridge/js.d.ts.map +1 -1
  151. package/lib/families/tezos/bridge/js.js +0 -1
  152. package/lib/families/tezos/bridge/js.js.map +1 -1
  153. package/lib/families/tezos/serialization.d.ts +0 -1
  154. package/lib/families/tezos/serialization.d.ts.map +1 -1
  155. package/lib/families/tezos/serialization.js +1 -18
  156. package/lib/families/tezos/serialization.js.map +1 -1
  157. package/lib/families/tron/bridge/js.d.ts.map +1 -1
  158. package/lib/families/tron/bridge/js.js +0 -1
  159. package/lib/families/tron/bridge/js.js.map +1 -1
  160. package/lib/families/tron/serialization.d.ts +0 -1
  161. package/lib/families/tron/serialization.d.ts.map +1 -1
  162. package/lib/families/tron/serialization.js +1 -15
  163. package/lib/families/tron/serialization.js.map +1 -1
  164. package/lib/hw/deviceAccess.d.ts.map +1 -1
  165. package/lib/hw/deviceAccess.js +4 -2
  166. package/lib/hw/deviceAccess.js.map +1 -1
  167. package/lib/hw/extractOnboardingState.d.ts +5 -3
  168. package/lib/hw/extractOnboardingState.d.ts.map +1 -1
  169. package/lib/hw/extractOnboardingState.js +6 -2
  170. package/lib/hw/extractOnboardingState.js.map +1 -1
  171. package/lib/hw/extractOnboardingState.test.js +46 -16
  172. package/lib/hw/extractOnboardingState.test.js.map +1 -1
  173. package/lib/hw/getDeviceName.d.ts.map +1 -1
  174. package/lib/hw/getDeviceName.js +2 -0
  175. package/lib/hw/getDeviceName.js.map +1 -1
  176. package/lib/hw/getDeviceName.test.js +16 -0
  177. package/lib/hw/getDeviceName.test.js.map +1 -1
  178. package/lib/hw/getOnboardingStatePolling.d.ts.map +1 -1
  179. package/lib/hw/getOnboardingStatePolling.js +38 -58
  180. package/lib/hw/getOnboardingStatePolling.js.map +1 -1
  181. package/lib/hw/getOnboardingStatePolling.test.js +1 -1
  182. package/lib/hw/getOnboardingStatePolling.test.js.map +1 -1
  183. package/lib/hw/hooks/useGenuineCheck.d.ts.map +1 -1
  184. package/lib/hw/hooks/useGenuineCheck.js +1 -0
  185. package/lib/hw/hooks/useGenuineCheck.js.map +1 -1
  186. package/lib/migrations/accounts-dataset.js +1 -1
  187. package/lib/migrations/accounts-dataset.js.map +1 -1
  188. package/lib/platform/providers/RemoteLiveAppProvider/index.d.ts +1 -0
  189. package/lib/platform/providers/RemoteLiveAppProvider/index.d.ts.map +1 -1
  190. package/lib/platform/providers/RemoteLiveAppProvider/index.js +6 -1
  191. package/lib/platform/providers/RemoteLiveAppProvider/index.js.map +1 -1
  192. package/lib/platform/types.d.ts +1 -0
  193. package/lib/platform/types.d.ts.map +1 -1
  194. package/lib-es/account/serialization.d.ts +0 -6
  195. package/lib-es/account/serialization.d.ts.map +1 -1
  196. package/lib-es/account/serialization.js +0 -36
  197. package/lib-es/account/serialization.js.map +1 -1
  198. package/lib-es/apps/hw.js +1 -1
  199. package/lib-es/apps/hw.js.map +1 -1
  200. package/lib-es/countervalues/react.d.ts.map +1 -1
  201. package/lib-es/countervalues/react.js +1 -1
  202. package/lib-es/countervalues/react.js.map +1 -1
  203. package/lib-es/data/icons/react/gm.d.ts +8 -0
  204. package/lib-es/data/icons/react/gm.d.ts.map +1 -0
  205. package/lib-es/data/icons/react/gm.js +11 -0
  206. package/lib-es/data/icons/react/gm.js.map +1 -0
  207. package/lib-es/data/icons/react/index.d.ts +1 -0
  208. package/lib-es/data/icons/react/index.d.ts.map +1 -1
  209. package/lib-es/data/icons/react/index.js +1 -0
  210. package/lib-es/data/icons/react/index.js.map +1 -1
  211. package/lib-es/data/icons/reactNative/gm.d.ts +8 -0
  212. package/lib-es/data/icons/reactNative/gm.d.ts.map +1 -0
  213. package/lib-es/data/icons/reactNative/gm.js +12 -0
  214. package/lib-es/data/icons/reactNative/gm.js.map +1 -0
  215. package/lib-es/data/icons/reactNative/index.d.ts +1 -0
  216. package/lib-es/data/icons/reactNative/index.d.ts.map +1 -1
  217. package/lib-es/data/icons/reactNative/index.js +1 -0
  218. package/lib-es/data/icons/reactNative/index.js.map +1 -1
  219. package/lib-es/families/algorand/bridge/js.d.ts.map +1 -1
  220. package/lib-es/families/algorand/bridge/js.js +1 -2
  221. package/lib-es/families/algorand/bridge/js.js.map +1 -1
  222. package/lib-es/families/algorand/bridge/mock.d.ts.map +1 -1
  223. package/lib-es/families/algorand/bridge/mock.js +1 -2
  224. package/lib-es/families/algorand/bridge/mock.js.map +1 -1
  225. package/lib-es/families/algorand/serialization.d.ts +0 -1
  226. package/lib-es/families/algorand/serialization.d.ts.map +1 -1
  227. package/lib-es/families/algorand/serialization.js +0 -11
  228. package/lib-es/families/algorand/serialization.js.map +1 -1
  229. package/lib-es/families/bitcoin/bridge/js.d.ts.map +1 -1
  230. package/lib-es/families/bitcoin/bridge/js.js +4 -1
  231. package/lib-es/families/bitcoin/bridge/js.js.map +1 -1
  232. package/lib-es/families/bitcoin/descriptor.test.js +2 -0
  233. package/lib-es/families/bitcoin/descriptor.test.js.map +1 -1
  234. package/lib-es/families/bitcoin/satstack.test.js +2 -0
  235. package/lib-es/families/bitcoin/satstack.test.js.map +1 -1
  236. package/lib-es/families/bitcoin/serialization.d.ts +3 -0
  237. package/lib-es/families/bitcoin/serialization.d.ts.map +1 -1
  238. package/lib-es/families/bitcoin/serialization.js +13 -0
  239. package/lib-es/families/bitcoin/serialization.js.map +1 -1
  240. package/lib-es/families/bitcoin/serialization.test.d.ts +2 -0
  241. package/lib-es/families/bitcoin/serialization.test.d.ts.map +1 -0
  242. package/lib-es/families/bitcoin/serialization.test.js +105 -0
  243. package/lib-es/families/bitcoin/serialization.test.js.map +1 -0
  244. package/lib-es/families/cardano/bridge/js.d.ts.map +1 -1
  245. package/lib-es/families/cardano/bridge/js.js +1 -2
  246. package/lib-es/families/cardano/bridge/js.js.map +1 -1
  247. package/lib-es/families/cardano/serialization.d.ts +0 -1
  248. package/lib-es/families/cardano/serialization.d.ts.map +1 -1
  249. package/lib-es/families/cardano/serialization.js +0 -13
  250. package/lib-es/families/cardano/serialization.js.map +1 -1
  251. package/lib-es/families/celo/bridge/js.d.ts.map +1 -1
  252. package/lib-es/families/celo/bridge/js.js +1 -2
  253. package/lib-es/families/celo/bridge/js.js.map +1 -1
  254. package/lib-es/families/celo/serialization.d.ts +0 -1
  255. package/lib-es/families/celo/serialization.d.ts.map +1 -1
  256. package/lib-es/families/celo/serialization.js +0 -13
  257. package/lib-es/families/celo/serialization.js.map +1 -1
  258. package/lib-es/families/cosmos/bridge/js.d.ts.map +1 -1
  259. package/lib-es/families/cosmos/bridge/js.js +0 -2
  260. package/lib-es/families/cosmos/bridge/js.js.map +1 -1
  261. package/lib-es/families/cosmos/js-synchronisation.d.ts +1 -3
  262. package/lib-es/families/cosmos/js-synchronisation.d.ts.map +1 -1
  263. package/lib-es/families/cosmos/js-synchronisation.js +0 -14
  264. package/lib-es/families/cosmos/js-synchronisation.js.map +1 -1
  265. package/lib-es/families/crypto_org/api/sdk.d.ts.map +1 -1
  266. package/lib-es/families/crypto_org/api/sdk.js +6 -9
  267. package/lib-es/families/crypto_org/api/sdk.js.map +1 -1
  268. package/lib-es/families/crypto_org/js-buildTransaction.d.ts.map +1 -1
  269. package/lib-es/families/crypto_org/js-buildTransaction.js +3 -2
  270. package/lib-es/families/crypto_org/js-buildTransaction.js.map +1 -1
  271. package/lib-es/families/crypto_org/js-signOperation.js +1 -1
  272. package/lib-es/families/crypto_org/js-signOperation.js.map +1 -1
  273. package/lib-es/families/crypto_org/logic.d.ts +0 -16
  274. package/lib-es/families/crypto_org/logic.d.ts.map +1 -1
  275. package/lib-es/families/crypto_org/logic.js +5 -19
  276. package/lib-es/families/crypto_org/logic.js.map +1 -1
  277. package/lib-es/families/elrond/bridge/js.d.ts.map +1 -1
  278. package/lib-es/families/elrond/bridge/js.js +0 -2
  279. package/lib-es/families/elrond/bridge/js.js.map +1 -1
  280. package/lib-es/families/elrond/js-synchronisation.d.ts +1 -3
  281. package/lib-es/families/elrond/js-synchronisation.d.ts.map +1 -1
  282. package/lib-es/families/elrond/js-synchronisation.js +0 -14
  283. package/lib-es/families/elrond/js-synchronisation.js.map +1 -1
  284. package/lib-es/families/ethereum/__tests__/nft.integration.test.js +1 -8
  285. package/lib-es/families/ethereum/__tests__/nft.integration.test.js.map +1 -1
  286. package/lib-es/families/hedera/api/mirror.d.ts.map +1 -1
  287. package/lib-es/families/hedera/api/mirror.js +40 -16
  288. package/lib-es/families/hedera/api/mirror.js.map +1 -1
  289. package/lib-es/families/hedera/api/network.js +6 -1
  290. package/lib-es/families/hedera/api/network.js.map +1 -1
  291. package/lib-es/families/hedera/bridge.integration.test.js +1 -2
  292. package/lib-es/families/hedera/bridge.integration.test.js.map +1 -1
  293. package/lib-es/families/hedera/js-estimateMaxSpendable.d.ts.map +1 -1
  294. package/lib-es/families/hedera/js-estimateMaxSpendable.js +56 -12
  295. package/lib-es/families/hedera/js-estimateMaxSpendable.js.map +1 -1
  296. package/lib-es/families/hedera/js-getTransactionStatus.d.ts.map +1 -1
  297. package/lib-es/families/hedera/js-getTransactionStatus.js +5 -2
  298. package/lib-es/families/hedera/js-getTransactionStatus.js.map +1 -1
  299. package/lib-es/families/hedera/js-signOperation.js +24 -17
  300. package/lib-es/families/hedera/js-signOperation.js.map +1 -1
  301. package/lib-es/families/hedera/tests/js-estimateMaxSpendable.integration.test.d.ts +2 -0
  302. package/lib-es/families/hedera/tests/js-estimateMaxSpendable.integration.test.d.ts.map +1 -0
  303. package/lib-es/families/hedera/tests/{js-estimateMaxSpendable.test.js → js-estimateMaxSpendable.integration.test.js} +27 -3
  304. package/lib-es/families/hedera/tests/js-estimateMaxSpendable.integration.test.js.map +1 -0
  305. package/lib-es/families/hedera/tests/utils.integration.test.d.ts +2 -0
  306. package/lib-es/families/hedera/tests/utils.integration.test.d.ts.map +1 -0
  307. package/lib-es/families/hedera/tests/{utils.test.js → utils.integration.test.js} +28 -4
  308. package/lib-es/families/hedera/tests/utils.integration.test.js.map +1 -0
  309. package/lib-es/families/hedera/utils.d.ts +1 -1
  310. package/lib-es/families/hedera/utils.d.ts.map +1 -1
  311. package/lib-es/families/hedera/utils.js +38 -13
  312. package/lib-es/families/hedera/utils.js.map +1 -1
  313. package/lib-es/families/near/bridge/js.d.ts.map +1 -1
  314. package/lib-es/families/near/bridge/js.js +2 -3
  315. package/lib-es/families/near/bridge/js.js.map +1 -1
  316. package/lib-es/families/near/serialization.d.ts +0 -1
  317. package/lib-es/families/near/serialization.d.ts.map +1 -1
  318. package/lib-es/families/near/serialization.js +0 -13
  319. package/lib-es/families/near/serialization.js.map +1 -1
  320. package/lib-es/families/solana/api/chain/web3.d.ts +1 -0
  321. package/lib-es/families/solana/api/chain/web3.d.ts.map +1 -1
  322. package/lib-es/families/solana/api/chain/web3.js +14 -0
  323. package/lib-es/families/solana/api/chain/web3.js.map +1 -1
  324. package/lib-es/families/solana/bridge/bridge.d.ts.map +1 -1
  325. package/lib-es/families/solana/bridge/bridge.js +1 -2
  326. package/lib-es/families/solana/bridge/bridge.js.map +1 -1
  327. package/lib-es/families/solana/bridge.integration.test.js +8 -5
  328. package/lib-es/families/solana/bridge.integration.test.js.map +1 -1
  329. package/lib-es/families/solana/js-estimateMaxSpendable.d.ts.map +1 -1
  330. package/lib-es/families/solana/js-estimateMaxSpendable.js +10 -7
  331. package/lib-es/families/solana/js-estimateMaxSpendable.js.map +1 -1
  332. package/lib-es/families/solana/js-prepareTransaction.d.ts.map +1 -1
  333. package/lib-es/families/solana/js-prepareTransaction.js +17 -10
  334. package/lib-es/families/solana/js-prepareTransaction.js.map +1 -1
  335. package/lib-es/families/solana/logic.d.ts +0 -1
  336. package/lib-es/families/solana/logic.d.ts.map +1 -1
  337. package/lib-es/families/solana/logic.js +1 -4
  338. package/lib-es/families/solana/logic.js.map +1 -1
  339. package/lib-es/families/solana/serialization.d.ts +0 -1
  340. package/lib-es/families/solana/serialization.d.ts.map +1 -1
  341. package/lib-es/families/solana/serialization.js +0 -13
  342. package/lib-es/families/solana/serialization.js.map +1 -1
  343. package/lib-es/families/tezos/bridge/js.d.ts.map +1 -1
  344. package/lib-es/families/tezos/bridge/js.js +1 -2
  345. package/lib-es/families/tezos/bridge/js.js.map +1 -1
  346. package/lib-es/families/tezos/serialization.d.ts +0 -1
  347. package/lib-es/families/tezos/serialization.d.ts.map +1 -1
  348. package/lib-es/families/tezos/serialization.js +0 -13
  349. package/lib-es/families/tezos/serialization.js.map +1 -1
  350. package/lib-es/families/tron/bridge/js.d.ts.map +1 -1
  351. package/lib-es/families/tron/bridge/js.js +1 -2
  352. package/lib-es/families/tron/bridge/js.js.map +1 -1
  353. package/lib-es/families/tron/serialization.d.ts +0 -1
  354. package/lib-es/families/tron/serialization.d.ts.map +1 -1
  355. package/lib-es/families/tron/serialization.js +0 -13
  356. package/lib-es/families/tron/serialization.js.map +1 -1
  357. package/lib-es/hw/deviceAccess.d.ts.map +1 -1
  358. package/lib-es/hw/deviceAccess.js +4 -2
  359. package/lib-es/hw/deviceAccess.js.map +1 -1
  360. package/lib-es/hw/extractOnboardingState.d.ts +5 -3
  361. package/lib-es/hw/extractOnboardingState.d.ts.map +1 -1
  362. package/lib-es/hw/extractOnboardingState.js +6 -2
  363. package/lib-es/hw/extractOnboardingState.js.map +1 -1
  364. package/lib-es/hw/extractOnboardingState.test.js +46 -16
  365. package/lib-es/hw/extractOnboardingState.test.js.map +1 -1
  366. package/lib-es/hw/getDeviceName.d.ts.map +1 -1
  367. package/lib-es/hw/getDeviceName.js +2 -0
  368. package/lib-es/hw/getDeviceName.js.map +1 -1
  369. package/lib-es/hw/getDeviceName.test.js +16 -0
  370. package/lib-es/hw/getDeviceName.test.js.map +1 -1
  371. package/lib-es/hw/getOnboardingStatePolling.d.ts.map +1 -1
  372. package/lib-es/hw/getOnboardingStatePolling.js +39 -59
  373. package/lib-es/hw/getOnboardingStatePolling.js.map +1 -1
  374. package/lib-es/hw/getOnboardingStatePolling.test.js +1 -1
  375. package/lib-es/hw/getOnboardingStatePolling.test.js.map +1 -1
  376. package/lib-es/hw/hooks/useGenuineCheck.d.ts.map +1 -1
  377. package/lib-es/hw/hooks/useGenuineCheck.js +1 -0
  378. package/lib-es/hw/hooks/useGenuineCheck.js.map +1 -1
  379. package/lib-es/migrations/accounts-dataset.js +1 -1
  380. package/lib-es/migrations/accounts-dataset.js.map +1 -1
  381. package/lib-es/platform/providers/RemoteLiveAppProvider/index.d.ts +1 -0
  382. package/lib-es/platform/providers/RemoteLiveAppProvider/index.d.ts.map +1 -1
  383. package/lib-es/platform/providers/RemoteLiveAppProvider/index.js +4 -0
  384. package/lib-es/platform/providers/RemoteLiveAppProvider/index.js.map +1 -1
  385. package/lib-es/platform/types.d.ts +1 -0
  386. package/lib-es/platform/types.d.ts.map +1 -1
  387. package/package.json +21 -21
  388. package/src/account/serialization.ts +0 -55
  389. package/src/apps/hw.ts +1 -1
  390. package/src/bot/portfolio/__snapshots__/formatter.test.ts.snap +1 -1
  391. package/src/countervalues/react.tsx +2 -2
  392. package/src/currencies/__snapshots__/sortByMarketcap.test.ts.snap +34 -2
  393. package/src/data/icons/react/gm.tsx +14 -0
  394. package/src/data/icons/react/index.tsx +1 -0
  395. package/src/data/icons/reactNative/gm.tsx +15 -0
  396. package/src/data/icons/reactNative/index.tsx +1 -0
  397. package/src/data/icons/svg/GM.svg +4 -0
  398. package/src/families/algorand/bridge/js.ts +1 -6
  399. package/src/families/algorand/bridge/mock.ts +1 -6
  400. package/src/families/algorand/serialization.ts +0 -23
  401. package/src/families/bitcoin/bridge/js.ts +3 -0
  402. package/src/families/bitcoin/descriptor.test.ts +3 -0
  403. package/src/families/bitcoin/satstack.test.ts +3 -0
  404. package/src/families/bitcoin/serialization.test.ts +150 -0
  405. package/src/families/bitcoin/serialization.ts +22 -0
  406. package/src/families/cardano/bridge/js.ts +1 -6
  407. package/src/families/cardano/serialization.ts +0 -25
  408. package/src/families/celo/bridge/js.ts +1 -6
  409. package/src/families/celo/serialization.ts +0 -25
  410. package/src/families/cosmos/bridge/js.ts +0 -2
  411. package/src/families/cosmos/js-synchronisation.ts +1 -28
  412. package/src/families/crypto_org/api/sdk.ts +14 -18
  413. package/src/families/crypto_org/js-buildTransaction.ts +3 -2
  414. package/src/families/crypto_org/js-signOperation.ts +1 -1
  415. package/src/families/crypto_org/logic.ts +5 -19
  416. package/src/families/elrond/bridge/js.ts +0 -2
  417. package/src/families/elrond/js-synchronisation.ts +0 -28
  418. package/src/families/ethereum/__tests__/nft.integration.test.ts +1 -12
  419. package/src/families/hedera/api/mirror.ts +16 -15
  420. package/src/families/hedera/api/network.ts +9 -1
  421. package/src/families/hedera/bridge.integration.test.ts +1 -4
  422. package/src/families/hedera/js-estimateMaxSpendable.ts +4 -6
  423. package/src/families/hedera/js-getTransactionStatus.ts +3 -1
  424. package/src/families/hedera/js-signOperation.ts +2 -2
  425. package/src/families/hedera/tests/{js-estimateMaxSpendable.test.ts → js-estimateMaxSpendable.integration.test.ts} +17 -2
  426. package/src/families/hedera/tests/{utils.test.ts → utils.integration.test.ts} +18 -3
  427. package/src/families/hedera/utils.ts +17 -5
  428. package/src/families/near/bridge/js.ts +1 -6
  429. package/src/families/near/serialization.ts +0 -25
  430. package/src/families/solana/api/chain/web3.ts +11 -0
  431. package/src/families/solana/bridge/bridge.ts +1 -6
  432. package/src/families/solana/bridge.integration.test.ts +11 -5
  433. package/src/families/solana/js-estimateMaxSpendable.ts +14 -3
  434. package/src/families/solana/js-prepareTransaction.ts +23 -5
  435. package/src/families/solana/logic.ts +1 -6
  436. package/src/families/solana/serialization.ts +0 -26
  437. package/src/families/tezos/bridge/js.ts +1 -6
  438. package/src/families/tezos/serialization.ts +0 -25
  439. package/src/families/tron/bridge/js.ts +1 -6
  440. package/src/families/tron/serialization.ts +0 -25
  441. package/src/hw/deviceAccess.ts +6 -2
  442. package/src/hw/extractOnboardingState.test.ts +63 -16
  443. package/src/hw/extractOnboardingState.ts +6 -2
  444. package/src/hw/getDeviceName.test.ts +10 -0
  445. package/src/hw/getDeviceName.ts +2 -0
  446. package/src/hw/getOnboardingStatePolling.test.ts +1 -1
  447. package/src/hw/getOnboardingStatePolling.ts +13 -40
  448. package/src/hw/hooks/useGenuineCheck.ts +1 -0
  449. package/src/migrations/accounts-dataset.ts +1 -1
  450. package/src/platform/providers/RemoteLiveAppProvider/index.tsx +4 -0
  451. package/src/platform/types.ts +1 -0
  452. package/lib/__tests__/reconciliation.d.ts +0 -2
  453. package/lib/__tests__/reconciliation.d.ts.map +0 -1
  454. package/lib/__tests__/reconciliation.js +0 -51
  455. package/lib/__tests__/reconciliation.js.map +0 -1
  456. package/lib/families/hedera/tests/js-estimateMaxSpendable.test.d.ts +0 -2
  457. package/lib/families/hedera/tests/js-estimateMaxSpendable.test.d.ts.map +0 -1
  458. package/lib/families/hedera/tests/js-estimateMaxSpendable.test.js.map +0 -1
  459. package/lib/families/hedera/tests/utils.test.d.ts +0 -2
  460. package/lib/families/hedera/tests/utils.test.d.ts.map +0 -1
  461. package/lib/families/hedera/tests/utils.test.js.map +0 -1
  462. package/lib/reconciliation.d.ts +0 -9
  463. package/lib/reconciliation.d.ts.map +0 -1
  464. package/lib/reconciliation.js +0 -450
  465. package/lib/reconciliation.js.map +0 -1
  466. package/lib-es/__tests__/reconciliation.d.ts +0 -2
  467. package/lib-es/__tests__/reconciliation.d.ts.map +0 -1
  468. package/lib-es/__tests__/reconciliation.js +0 -49
  469. package/lib-es/__tests__/reconciliation.js.map +0 -1
  470. package/lib-es/families/hedera/tests/js-estimateMaxSpendable.test.d.ts +0 -2
  471. package/lib-es/families/hedera/tests/js-estimateMaxSpendable.test.d.ts.map +0 -1
  472. package/lib-es/families/hedera/tests/js-estimateMaxSpendable.test.js.map +0 -1
  473. package/lib-es/families/hedera/tests/utils.test.d.ts +0 -2
  474. package/lib-es/families/hedera/tests/utils.test.d.ts.map +0 -1
  475. package/lib-es/families/hedera/tests/utils.test.js.map +0 -1
  476. package/lib-es/reconciliation.d.ts +0 -9
  477. package/lib-es/reconciliation.d.ts.map +0 -1
  478. package/lib-es/reconciliation.js +0 -438
  479. package/lib-es/reconciliation.js.map +0 -1
  480. package/src/__tests__/reconciliation.ts +0 -40
  481. package/src/reconciliation.ts +0 -536
@@ -46,7 +46,7 @@ exports[`finalMarkdownReport sample 1`] = `
46
46
  | Songbird | [🙏](https://songbird-explorer.flare.network/address/0x932E8214E25AceC996aD7d195339AF5139625065/transactions) | ❌ |
47
47
  | Flare | ❌ | ⚠️ |
48
48
  | Filecoin | ⚠️ | [🙏](https://filfox.info/en/address/4fa92eaaac5210f1fec2228388f803dbf39428725dadfa025c0df125fcc6788f) |
49
- | Hedera | [🙏](https://v2.explorer.kabuto.sh/id/4fa92eaaac5210f1fec2228388f803dbf39428725dadfa025c0df125fcc6788f) | ❌ |
49
+ | Hedera | [🙏](https://hashscan.io/mainnet/account/4fa92eaaac5210f1fec2228388f803dbf39428725dadfa025c0df125fcc6788f) | ❌ |
50
50
  | NEAR | ❌ | [🙏](https://explorer.near.org/accounts/rnmiQggEzwTHNqwJFpqYGgqt1rM7K5qPhw) |
51
51
  | XRP | [🙏](https://bithomp.com/explorer/rnmiQggEzwTHNqwJFpqYGgqt1rM7K5qPhw) | [🙏](https://bithomp.com/explorer/8J1jPhJ1beLUJ9BLLZbRLFQtX1UWKrxiVbrvRtiPeEc9) |
52
52
  | Solana | [🙏](https://explorer.solana.com/address/8J1jPhJ1beLUJ9BLLZbRLFQtX1UWKrxiVbrvRtiPeEc9) | ❌ |
@@ -101,8 +101,8 @@ export function useTrackingPairForAccounts(
101
101
  export function Countervalues({
102
102
  children,
103
103
  userSettings,
104
- pollInitDelay = 1 * 1000,
105
- autopollInterval = 120 * 1000,
104
+ pollInitDelay = 3 * 1000,
105
+ autopollInterval = 8 * 60 * 1000,
106
106
  debounceDelay = 1000,
107
107
  savedState,
108
108
  }: Props): ReactElement {
@@ -691,7 +691,6 @@ Array [
691
691
  "ethereum/erc20/auctus",
692
692
  "ethereum/erc20/fxt_token",
693
693
  "ethereum/erc20/sapien",
694
- "ethereum/erc20/uptoken",
695
694
  "ethereum/erc20/dovu",
696
695
  "ethereum/erc20/fnkostoken",
697
696
  "ethereum/erc20/mark",
@@ -1190,6 +1189,7 @@ Array [
1190
1189
  "ethereum/erc20/mogu_token",
1191
1190
  "bsc/bep20/spintop",
1192
1191
  "ethereum/erc20/dexterg",
1192
+ "ethereum/erc20/goldonsteroids",
1193
1193
  "ethereum/erc20/kardiachain_token",
1194
1194
  "ethereum/erc20/ubu",
1195
1195
  "ethereum/erc20/walletplusx",
@@ -1536,6 +1536,7 @@ Array [
1536
1536
  "ethereum/erc20/all_the_smoke",
1537
1537
  "ethereum/erc20/allcoinsyieldcapital",
1538
1538
  "ethereum/erc20/alldex_alliance",
1539
+ "ethereum/erc20/allianceblock_nexera_token",
1539
1540
  "ethereum/erc20/allianceblock_token",
1540
1541
  "ethereum/erc20/alligator_fractal_set",
1541
1542
  "ethereum/erc20/allohash",
@@ -1741,6 +1742,7 @@ Array [
1741
1742
  "ethereum/erc20/balloon",
1742
1743
  "ethereum/erc20/ballswap",
1743
1744
  "ethereum/erc20/balpha",
1745
+ "ethereum/erc20/balto_token",
1744
1746
  "ethereum/erc20/bamboo",
1745
1747
  "ethereum/erc20/bamboodefi",
1746
1748
  "ethereum/erc20/banana",
@@ -2008,6 +2010,7 @@ Array [
2008
2010
  "ethereum/erc20/bsdc",
2009
2011
  "ethereum/erc20/bsg",
2010
2012
  "ethereum/erc20/bsgs",
2013
+ "ethereum/erc20/bskr",
2011
2014
  "ethereum/erc20/bsncommunitynet",
2012
2015
  "ethereum/erc20/bsys",
2013
2016
  "ethereum/erc20/bsytoken",
@@ -2065,6 +2068,7 @@ Array [
2065
2068
  "ethereum/erc20/cage",
2066
2069
  "ethereum/erc20/caizcoin",
2067
2070
  "ethereum/erc20/calicoin",
2071
+ "ethereum/erc20/calvaria:_duels_of_eternity",
2068
2072
  "ethereum/erc20/calvin",
2069
2073
  "ethereum/erc20/cami",
2070
2074
  "ethereum/erc20/camp",
@@ -2675,6 +2679,7 @@ Array [
2675
2679
  "ethereum/erc20/dolphin_token",
2676
2680
  "ethereum/erc20/dolz",
2677
2681
  "ethereum/erc20/donkey",
2682
+ "ethereum/erc20/dont_buy_inu",
2678
2683
  "ethereum/erc20/donut",
2679
2684
  "ethereum/erc20/doont_buy",
2680
2685
  "ethereum/erc20/door",
@@ -3234,6 +3239,7 @@ Array [
3234
3239
  "ethereum/erc20/green_token",
3235
3240
  "ethereum/erc20/greenmed",
3236
3241
  "ethereum/erc20/greenmetaversetoken",
3242
+ "ethereum/erc20/greenworld",
3237
3243
  "ethereum/erc20/grey_token",
3238
3244
  "ethereum/erc20/gridzone_io",
3239
3245
  "ethereum/erc20/grind_token",
@@ -3450,6 +3456,7 @@ Array [
3450
3456
  "ethereum/erc20/integral",
3451
3457
  "ethereum/erc20/integrated_money",
3452
3458
  "ethereum/erc20/intelligent_ratio_set",
3459
+ "ethereum/erc20/intercoin_investor_token",
3453
3460
  "ethereum/erc20/interest-bearing_btc",
3454
3461
  "ethereum/erc20/interest_bearing_eth",
3455
3462
  "ethereum/erc20/interest_bearing_ether_v2",
@@ -3636,6 +3643,7 @@ Array [
3636
3643
  "ethereum/erc20/lattice_token",
3637
3644
  "ethereum/erc20/launchpool_token",
3638
3645
  "ethereum/erc20/layer_2_index",
3646
+ "ethereum/erc20/lbskr",
3639
3647
  "ethereum/erc20/lcg_energy",
3640
3648
  "ethereum/erc20/lcms",
3641
3649
  "ethereum/erc20/league_of_kingdoms_arena",
@@ -3822,6 +3830,7 @@ Array [
3822
3830
  "ethereum/erc20/megaweapon",
3823
3831
  "ethereum/erc20/melalie",
3824
3832
  "ethereum/erc20/meliora",
3833
+ "ethereum/erc20/meme_coin_mafia",
3825
3834
  "ethereum/erc20/meme_games",
3826
3835
  "ethereum/erc20/meme_ltd",
3827
3836
  "ethereum/erc20/memecoin",
@@ -3837,6 +3846,7 @@ Array [
3837
3846
  "ethereum/erc20/messier",
3838
3847
  "ethereum/erc20/meta",
3839
3848
  "ethereum/erc20/meta_bots",
3849
+ "ethereum/erc20/meta_masters_guild",
3840
3850
  "ethereum/erc20/meta_network",
3841
3851
  "ethereum/erc20/metafabric",
3842
3852
  "ethereum/erc20/metafactory",
@@ -4156,6 +4166,7 @@ Array [
4156
4166
  "ethereum/erc20/orbeon_protocol",
4157
4167
  "ethereum/erc20/orbicularv2",
4158
4168
  "ethereum/erc20/orbit_chain",
4169
+ "ethereum/erc20/ordinal_btc",
4159
4170
  "ethereum/erc20/ordinex",
4160
4171
  "ethereum/erc20/orica",
4161
4172
  "ethereum/erc20/orient",
@@ -4218,6 +4229,7 @@ Array [
4218
4229
  "ethereum/erc20/pathfinders",
4219
4230
  "ethereum/erc20/patriot",
4220
4231
  "ethereum/erc20/paul_razvan_berg",
4232
+ "ethereum/erc20/pawswap",
4221
4233
  "ethereum/erc20/pawtocol_network_upi_token",
4222
4234
  "ethereum/erc20/paxos_standard__pax_",
4223
4235
  "ethereum/erc20/payaccept",
@@ -4367,6 +4379,7 @@ Array [
4367
4379
  "ethereum/erc20/postoken",
4368
4380
  "ethereum/erc20/potatoin",
4369
4381
  "ethereum/erc20/potentiam",
4382
+ "ethereum/erc20/poundtoken",
4370
4383
  "ethereum/erc20/pour_coin",
4371
4384
  "ethereum/erc20/poverty_eradication_coin",
4372
4385
  "ethereum/erc20/pow_btc-35wt",
@@ -4541,6 +4554,7 @@ Array [
4541
4554
  "ethereum/erc20/rentible",
4542
4555
  "ethereum/erc20/renzec",
4543
4556
  "ethereum/erc20/reputation",
4557
+ "ethereum/erc20/reputational_allianceblock_token",
4544
4558
  "ethereum/erc20/reserve",
4545
4559
  "ethereum/erc20/reserve_rights_old",
4546
4560
  "ethereum/erc20/resfinex",
@@ -4558,6 +4572,7 @@ Array [
4558
4572
  "ethereum/erc20/rho_token",
4559
4573
  "ethereum/erc20/rhoc",
4560
4574
  "ethereum/erc20/ri_token",
4575
+ "ethereum/erc20/ribbon",
4561
4576
  "ethereum/erc20/rice",
4562
4577
  "ethereum/erc20/ridertoken",
4563
4578
  "ethereum/erc20/ridotto",
@@ -4741,6 +4756,7 @@ Array [
4741
4756
  "ethereum/erc20/shield_finance_token",
4742
4757
  "ethereum/erc20/shieldex",
4743
4758
  "ethereum/erc20/shih_tzu",
4759
+ "ethereum/erc20/shikoku_inu",
4744
4760
  "ethereum/erc20/shikokuaido",
4745
4761
  "ethereum/erc20/shill",
4746
4762
  "ethereum/erc20/shina_inu",
@@ -4761,6 +4777,7 @@ Array [
4761
4777
  "ethereum/erc20/shuffle_monster_v3",
4762
4778
  "ethereum/erc20/shyft_[_byfrost_]",
4763
4779
  "ethereum/erc20/shyft_[_wrapped_]",
4780
+ "ethereum/erc20/shytoshis_vision",
4764
4781
  "ethereum/erc20/si14bet",
4765
4782
  "ethereum/erc20/siacashcoin",
4766
4783
  "ethereum/erc20/siambitcoin",
@@ -4837,6 +4854,7 @@ Array [
4837
4854
  "ethereum/erc20/solareum",
4838
4855
  "ethereum/erc20/solarite",
4839
4856
  "ethereum/erc20/solid",
4857
+ "ethereum/erc20/solidly",
4840
4858
  "ethereum/erc20/solomondefi",
4841
4859
  "ethereum/erc20/somee_advertising_token_v2",
4842
4860
  "ethereum/erc20/somee_social",
@@ -4954,6 +4972,7 @@ Array [
4954
4972
  "ethereum/erc20/strain",
4955
4973
  "ethereum/erc20/stratos_token",
4956
4974
  "ethereum/erc20/strc",
4975
+ "ethereum/erc20/stream",
4957
4976
  "ethereum/erc20/stream_protocol",
4958
4977
  "ethereum/erc20/streamix",
4959
4978
  "ethereum/erc20/streamshares",
@@ -5386,11 +5405,13 @@ Array [
5386
5405
  "ethereum/erc20/unreal_governance_token",
5387
5406
  "ethereum/erc20/unslashed_finance_governance_token",
5388
5407
  "ethereum/erc20/unvest",
5408
+ "ethereum/erc20/up",
5389
5409
  "ethereum/erc20/upbots",
5390
5410
  "ethereum/erc20/uploadea",
5391
5411
  "ethereum/erc20/upper_dollar",
5392
5412
  "ethereum/erc20/upper_euro",
5393
5413
  "ethereum/erc20/upper_libra",
5414
+ "ethereum/erc20/uptoken",
5394
5415
  "ethereum/erc20/urbit_data",
5395
5416
  "ethereum/erc20/ureeqa_token",
5396
5417
  "ethereum/erc20/usd_digital",
@@ -6057,6 +6078,7 @@ Array [
6057
6078
  "polygon/erc20/holotoken",
6058
6079
  "polygon/erc20/honor",
6059
6080
  "polygon/erc20/hopr_token",
6081
+ "polygon/erc20/human_token_(pos)",
6060
6082
  "polygon/erc20/huobitoken",
6061
6083
  "polygon/erc20/husd",
6062
6084
  "polygon/erc20/icb_token_(pos)",
@@ -6102,6 +6124,7 @@ Array [
6102
6124
  "polygon/erc20/litentry",
6103
6125
  "polygon/erc20/livepeer_token",
6104
6126
  "polygon/erc20/loopringcoin_v2",
6127
+ "polygon/erc20/lopes",
6105
6128
  "polygon/erc20/ludena_protocol_(pos)",
6106
6129
  "polygon/erc20/luxy",
6107
6130
  "polygon/erc20/mac&cheese_token",
@@ -6139,6 +6162,7 @@ Array [
6139
6162
  "polygon/erc20/nextearthtoken",
6140
6163
  "polygon/erc20/nft_champions",
6141
6164
  "polygon/erc20/nft_worlds",
6165
+ "polygon/erc20/nftbooks",
6142
6166
  "polygon/erc20/ntdl",
6143
6167
  "polygon/erc20/occ",
6144
6168
  "polygon/erc20/ocean_token",
@@ -6291,6 +6315,7 @@ Array [
6291
6315
  "polygon/erc20/usdk",
6292
6316
  "polygon/erc20/vespertoken",
6293
6317
  "polygon/erc20/vigorus",
6318
+ "polygon/erc20/volt_inu",
6294
6319
  "polygon/erc20/vote_locked_pen",
6295
6320
  "polygon/erc20/voxel_token",
6296
6321
  "polygon/erc20/voyager",
@@ -6371,6 +6396,7 @@ Array [
6371
6396
  "bsc/bep20/badger_sett_badger",
6372
6397
  "bsc/bep20/badger_sett_digg",
6373
6398
  "bsc/bep20/bakerytoken",
6399
+ "bsc/bep20/balto_token",
6374
6400
  "bsc/bep20/bat_true_dollar",
6375
6401
  "bsc/bep20/bat_true_share",
6376
6402
  "bsc/bep20/battleinfinity",
@@ -6599,6 +6625,7 @@ Array [
6599
6625
  "bsc/bep20/flash_token",
6600
6626
  "bsc/bep20/flashx_ultra",
6601
6627
  "bsc/bep20/floki",
6628
+ "bsc/bep20/floki_ceo",
6602
6629
  "bsc/bep20/floki_rocket",
6603
6630
  "bsc/bep20/flokimooni",
6604
6631
  "bsc/bep20/florkinomics",
@@ -6616,6 +6643,7 @@ Array [
6616
6643
  "bsc/bep20/furio",
6617
6644
  "bsc/bep20/fuse_token_on_bsc",
6618
6645
  "bsc/bep20/fusible_-_fusible.io",
6646
+ "bsc/bep20/galactic_quadrant",
6619
6647
  "bsc/bep20/galeon",
6620
6648
  "bsc/bep20/gamee",
6621
6649
  "bsc/bep20/gamefi",
@@ -6626,6 +6654,7 @@ Array [
6626
6654
  "bsc/bep20/genta",
6627
6655
  "bsc/bep20/gforce",
6628
6656
  "bsc/bep20/gg_token",
6657
+ "bsc/bep20/gifto",
6629
6658
  "bsc/bep20/glitch",
6630
6659
  "bsc/bep20/gnox",
6631
6660
  "bsc/bep20/gomining_token",
@@ -6707,6 +6736,7 @@ Array [
6707
6736
  "bsc/bep20/liquid_staking_bnb",
6708
6737
  "bsc/bep20/litentry",
6709
6738
  "bsc/bep20/littlemoose",
6739
+ "bsc/bep20/lois",
6710
6740
  "bsc/bep20/loopnetwork",
6711
6741
  "bsc/bep20/loosechangetoken",
6712
6742
  "bsc/bep20/lovelace",
@@ -6841,6 +6871,7 @@ Array [
6841
6871
  "bsc/bep20/ptokens_tlos",
6842
6872
  "bsc/bep20/puli_inu",
6843
6873
  "bsc/bep20/pulsedoge",
6874
+ "bsc/bep20/qanx_token",
6844
6875
  "bsc/bep20/qian_governance_token",
6845
6876
  "bsc/bep20/qian_second_generation_dollar",
6846
6877
  "bsc/bep20/qmall_token",
@@ -6959,6 +6990,7 @@ Array [
6959
6990
  "bsc/bep20/tower",
6960
6991
  "bsc/bep20/tozex",
6961
6992
  "bsc/bep20/tree_token",
6993
+ "bsc/bep20/triall",
6962
6994
  "bsc/bep20/trias_token",
6963
6995
  "bsc/bep20/tron",
6964
6996
  "bsc/bep20/tronpad.network",
@@ -7145,7 +7177,7 @@ Array [
7145
7177
  "cardano/native/0c442180dd6163682d8e03b271caefb4944a24412bdd07adafb04ccb50494e41434f4c414441",
7146
7178
  "cardano/native/f4d97191f857096b441a410c036f63d6697dde0c71d2755dd664e3024d4b41",
7147
7179
  "cardano/native/804f5544c1962a40546827cab750a88404dc7108c0f588b72964754f56594649",
7148
- "cardano/native/ae2a0aa5a24b27d9868c4a73b7c08077ac21baade5eca0fa467a2bbd58524159",
7180
+ "cardano/native/86abe45be4d8fb2e8f28e8047d17d0ba5592f2a6c8c452fc88c2c14358524159",
7149
7181
  "cardano/native/0fd9819a9d7fb414880883f43a42d33458f12bc5f9841cec6457dc155669527553",
7150
7182
  "cardano/native/df0172804f8418afc4e5b0a15b8fc78bdc3ca6d179405a7cd194f3b4464c49434b",
7151
7183
  "cardano/native/20cd68533b47565f3c61efb39c30fdace9963bfa4c0060b613448e3c50524f584945",
@@ -0,0 +1,14 @@
1
+
2
+ // @ts-nocheck
3
+
4
+ import * as React from "react";
5
+ interface Props {
6
+ size: number;
7
+ color?: string;
8
+ };
9
+
10
+ function gm({size, color = "currentColor"}: Props) {
11
+ return <svg width={size} height={size} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21.996 24c-6.734-.007-13.469.014-20.202-.01C.579 23.906-.164 22.662 0 21.526.007 14.95-.014 8.371.01 1.794.094.579 1.338-.164 2.473 0 9.051.007 15.63-.014 22.205.01 23.42.096 24.165 1.338 24 2.474c-.008 6.577.015 13.155-.011 19.732-.087.994-.994 1.814-1.993 1.794z" fill={color} /><path d="M17.782 10.948c-1.677-1.65-3.303-3.359-5.012-4.973-.75-.526-1.675-.086-2.17.567-2.13 2.133-4.26 4.267-6.392 6.399l5.308 5.309 2.473-2.473 2.472 2.473 5.308-5.31-1.987-1.992zm-6.692 1.708L9.5 14.247l-1.307-1.306 3.801-3.802 3.801 3.802-1.328 1.328c-.681-.622-1.251-1.389-2.028-1.89a1.24 1.24 0 0 0-1.349.277z" fill={color} /></svg>;
12
+ }
13
+
14
+ export default gm;
@@ -182,6 +182,7 @@ export { default as generic } from "./generic";
182
182
  export { default as gin } from "./gin";
183
183
  export { default as glmr } from "./glmr";
184
184
  export { default as glxt } from "./glxt";
185
+ export { default as gm } from "./gm";
185
186
  export { default as gmr } from "./gmr";
186
187
  export { default as gno } from "./gno";
187
188
  export { default as gnt } from "./gnt";
@@ -0,0 +1,15 @@
1
+
2
+ // @ts-nocheck
3
+
4
+ import * as React from "react";
5
+ import Svg, { Path } from "react-native-svg";
6
+ interface Props {
7
+ size: number;
8
+ color: string;
9
+ };
10
+
11
+ function gm({ size, color }: Props) {
12
+ return <Svg width={size} height={size} viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><Path d="M21.996 24c-6.734-.007-13.469.014-20.202-.01C.579 23.906-.164 22.662 0 21.526.007 14.95-.014 8.371.01 1.794.094.579 1.338-.164 2.473 0 9.051.007 15.63-.014 22.205.01 23.42.096 24.165 1.338 24 2.474c-.008 6.577.015 13.155-.011 19.732-.087.994-.994 1.814-1.993 1.794z" fill={color} /><Path d="M17.782 10.948c-1.677-1.65-3.303-3.359-5.012-4.973-.75-.526-1.675-.086-2.17.567-2.13 2.133-4.26 4.267-6.392 6.399l5.308 5.309 2.473-2.473 2.472 2.473 5.308-5.31-1.987-1.992zm-6.692 1.708L9.5 14.247l-1.307-1.306 3.801-3.802 3.801 3.802-1.328 1.328c-.681-.622-1.251-1.389-2.028-1.89a1.24 1.24 0 0 0-1.349.277z" fill={color} /></Svg>;
13
+ }
14
+
15
+ export default gm;
@@ -182,6 +182,7 @@ export { default as generic } from "./generic";
182
182
  export { default as gin } from "./gin";
183
183
  export { default as glmr } from "./glmr";
184
184
  export { default as glxt } from "./glxt";
185
+ export { default as gm } from "./gm";
185
186
  export { default as gmr } from "./gmr";
186
187
  export { default as gno } from "./gno";
187
188
  export { default as gnt } from "./gnt";
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M21.996 24c-6.734-.007-13.469.014-20.202-.01C.579 23.906-.164 22.662 0 21.526.007 14.95-.014 8.371.01 1.794.094.579 1.338-.164 2.473 0 9.051.007 15.63-.014 22.205.01 23.42.096 24.165 1.338 24 2.474c-.008 6.577.015 13.155-.011 19.732-.087.994-.994 1.814-1.993 1.794z" fill="#0060b9"/>
3
+ <path d="M17.782 10.948c-1.677-1.65-3.303-3.359-5.012-4.973-.75-.526-1.675-.086-2.17.567-2.13 2.133-4.26 4.267-6.392 6.399l5.308 5.309 2.473-2.473 2.472 2.473 5.308-5.31-1.987-1.992zm-6.692 1.708L9.5 14.247l-1.307-1.306 3.801-3.802 3.801 3.802-1.328 1.328c-.681-.622-1.251-1.389-2.028-1.89a1.24 1.24 0 0 0-1.349.277z" fill="#fff"/>
4
+ </svg>
@@ -10,11 +10,7 @@ import { getTransactionStatus } from "../js-getTransactionStatus";
10
10
  import { signOperation } from "../js-signOperation";
11
11
  import { broadcast } from "../js-broadcast";
12
12
  import type { AccountBridge, CurrencyBridge } from "@ledgerhq/types-live";
13
- import {
14
- applyReconciliation,
15
- assignToAccountRaw,
16
- assignFromAccountRaw,
17
- } from "../serialization";
13
+ import { assignToAccountRaw, assignFromAccountRaw } from "../serialization";
18
14
  import { initAccount } from "../initAccount";
19
15
 
20
16
  const receive = makeAccountBridgeReceive();
@@ -40,7 +36,6 @@ const accountBridge: AccountBridge<AlgorandTransaction> = {
40
36
  getTransactionStatus,
41
37
  sync,
42
38
  receive,
43
- applyReconciliation,
44
39
  assignToAccountRaw,
45
40
  assignFromAccountRaw,
46
41
  initAccount,
@@ -20,11 +20,7 @@ import {
20
20
  } from "../../../bridge/mockHelpers";
21
21
  import { getMainAccount } from "../../../account";
22
22
  import { makeAccountBridgeReceive } from "../../../bridge/mockHelpers";
23
- import {
24
- applyReconciliation,
25
- assignToAccountRaw,
26
- assignFromAccountRaw,
27
- } from "../serialization";
23
+ import { assignToAccountRaw, assignFromAccountRaw } from "../serialization";
28
24
  import { initAccount } from "../initAccount";
29
25
 
30
26
  const receive = makeAccountBridgeReceive();
@@ -107,7 +103,6 @@ const accountBridge: AccountBridge<AlgorandTransaction> = {
107
103
  prepareTransaction,
108
104
  sync,
109
105
  receive,
110
- applyReconciliation,
111
106
  assignToAccountRaw,
112
107
  assignFromAccountRaw,
113
108
  initAccount,
@@ -6,7 +6,6 @@ import type {
6
6
  AlgorandAccountRaw,
7
7
  } from "./types";
8
8
  import type { Account, AccountRaw } from "@ledgerhq/types-live";
9
- import isEqual from "lodash/isEqual";
10
9
 
11
10
  function toResourcesRaw(r: AlgorandResources): AlgorandResourcesRaw {
12
11
  const { rewards, nbAssets } = r;
@@ -23,28 +22,6 @@ function fromResourcesRaw(r: AlgorandResourcesRaw): AlgorandResources {
23
22
  };
24
23
  }
25
24
 
26
- export function applyReconciliation(
27
- account: Account,
28
- updatedRaw: AccountRaw,
29
- next: Account
30
- ): boolean {
31
- let changed = false;
32
- const algorandAcc = account as AlgorandAccount;
33
- const algorandUpdatedRaw = updatedRaw as AlgorandAccountRaw;
34
- if (
35
- !isEqual(
36
- algorandAcc.algorandResources,
37
- algorandUpdatedRaw.algorandResources
38
- )
39
- ) {
40
- (next as AlgorandAccount).algorandResources = fromResourcesRaw(
41
- algorandUpdatedRaw.algorandResources
42
- );
43
- changed = true;
44
- }
45
- return changed;
46
- }
47
-
48
25
  export function assignToAccountRaw(
49
26
  account: Account,
50
27
  accountRaw: AccountRaw
@@ -10,6 +10,7 @@ import { calculateFees } from "./../cache";
10
10
  import { perCoinLogic } from "../logic";
11
11
  import { makeAccountBridgeReceive } from "../../../bridge/jsHelpers";
12
12
  import { AccountBridge, CurrencyBridge } from "@ledgerhq/types-live";
13
+ import { assignFromAccountRaw, assignToAccountRaw } from "../serialization";
13
14
 
14
15
  const receive = makeAccountBridgeReceive({
15
16
  injectGetAddressParams: (account) => {
@@ -55,6 +56,8 @@ const accountBridge: AccountBridge<Transaction> = {
55
56
  signedOperation,
56
57
  });
57
58
  },
59
+ assignFromAccountRaw,
60
+ assignToAccountRaw,
58
61
  };
59
62
 
60
63
  export default {
@@ -6,6 +6,9 @@ import {
6
6
  } from "./descriptor";
7
7
  import { fromAccountRaw } from "../../account";
8
8
  import bitcoinDatasets from "./datasets/bitcoin";
9
+ import { setSupportedCurrencies } from "../../currencies";
10
+
11
+ setSupportedCurrencies(["bitcoin"]);
9
12
  describe("inferDescriptorFromAccount", () => {
10
13
  invariant(bitcoinDatasets.accounts, "bitcoin datasets have accounts");
11
14
  // FIXME: migrate away from invariant for more type guard
@@ -17,6 +17,9 @@ import dataset from "./datasets/bitcoin";
17
17
  import { inferDescriptorFromAccount, AccountDescriptor } from "./descriptor";
18
18
  import { setEnv } from "../../env";
19
19
  import { fromAccountRaw } from "../../account";
20
+ import { setSupportedCurrencies } from "../../currencies";
21
+
22
+ setSupportedCurrencies(["bitcoin"]);
20
23
  jest.setTimeout(10000);
21
24
  describe("validateRPCNodeConfig", () => {
22
25
  test("valid cases", () => {
@@ -0,0 +1,150 @@
1
+ import BigNumber from "bignumber.js";
2
+ import { assignFromAccountRaw, assignToAccountRaw } from "./serialization";
3
+ import {
4
+ BitcoinAccount,
5
+ BitcoinAccountRaw,
6
+ BitcoinOutput,
7
+ BitcoinOutputRaw,
8
+ } from "./types";
9
+
10
+ describe("assignToAccountRaw", () => {
11
+ let accountMock: BitcoinAccount = {} as BitcoinAccount;
12
+ let accountRawMock: BitcoinAccountRaw = {} as BitcoinAccountRaw;
13
+
14
+ beforeEach(() => {
15
+ accountMock = {} as BitcoinAccount;
16
+ accountRawMock = {} as BitcoinAccountRaw;
17
+ });
18
+
19
+ describe("when bitcoinResources is defined", () => {
20
+ it("should transfer utxos to accountRaw", () => {
21
+ accountMock.bitcoinResources = {
22
+ utxos: [],
23
+ };
24
+ assignToAccountRaw(accountMock, accountRawMock);
25
+ expect(accountRawMock.bitcoinResources).not.toEqual(undefined);
26
+ });
27
+
28
+ it("should convert utxos to accountRaw in the right order", () => {
29
+ const firstUtxoHash = "firstUtxo";
30
+ const secondUtxoHash = "secondUtxo";
31
+ accountMock.bitcoinResources = {
32
+ utxos: [
33
+ { hash: firstUtxoHash, value: new BigNumber(1) },
34
+ { hash: secondUtxoHash, value: new BigNumber(2) },
35
+ ] as BitcoinOutput[],
36
+ };
37
+ assignToAccountRaw(accountMock, accountRawMock);
38
+ expect(accountRawMock.bitcoinResources.utxos[0][0]).toEqual(
39
+ accountMock.bitcoinResources.utxos[0].hash
40
+ );
41
+ expect(accountRawMock.bitcoinResources.utxos[1][0]).toEqual(
42
+ accountMock.bitcoinResources.utxos[1].hash
43
+ );
44
+ });
45
+
46
+ it("should transfer account raw values correctly", () => {
47
+ accountMock.bitcoinResources = {
48
+ utxos: [
49
+ {
50
+ hash: "firstUtxo",
51
+ value: new BigNumber(17),
52
+ outputIndex: 42,
53
+ blockHeight: 10,
54
+ address: "address",
55
+ },
56
+ ] as BitcoinOutput[],
57
+ };
58
+ assignToAccountRaw(accountMock, accountRawMock);
59
+ expect(accountRawMock.bitcoinResources.utxos[0][0]).toEqual(
60
+ accountMock.bitcoinResources.utxos[0].hash
61
+ );
62
+ expect(accountRawMock.bitcoinResources.utxos[0][1]).toEqual(
63
+ accountMock.bitcoinResources.utxos[0].outputIndex
64
+ );
65
+ expect(accountRawMock.bitcoinResources.utxos[0][2]).toEqual(
66
+ accountMock.bitcoinResources.utxos[0].blockHeight
67
+ );
68
+ expect(accountRawMock.bitcoinResources.utxos[0][3]).toEqual(
69
+ accountMock.bitcoinResources.utxos[0].address
70
+ );
71
+ expect(accountRawMock.bitcoinResources.utxos[0][4]).toEqual(
72
+ accountMock.bitcoinResources.utxos[0].value.toString()
73
+ );
74
+ });
75
+ });
76
+
77
+ describe("when bitcoinResources isn't defined", () => {
78
+ it("shouldn't edit raw account", () => {
79
+ assignToAccountRaw(accountMock, accountRawMock);
80
+ expect(accountRawMock.bitcoinResources).toEqual(undefined);
81
+ });
82
+ });
83
+ });
84
+
85
+ describe("assignFromAccountRaw", () => {
86
+ let accountMock: BitcoinAccount = {} as BitcoinAccount;
87
+ let accountRawMock: BitcoinAccountRaw = {} as BitcoinAccountRaw;
88
+
89
+ beforeEach(() => {
90
+ accountMock = {} as BitcoinAccount;
91
+ accountRawMock = {} as BitcoinAccountRaw;
92
+ });
93
+
94
+ describe("when bitcoinResources is defined", () => {
95
+ it("should transfer utxos to account", () => {
96
+ accountRawMock.bitcoinResources = {
97
+ utxos: [],
98
+ };
99
+ assignFromAccountRaw(accountRawMock, accountMock);
100
+ expect(accountMock.bitcoinResources).not.toEqual(undefined);
101
+ });
102
+
103
+ it("should convert utxos to accountRaw in the right order", () => {
104
+ accountRawMock.bitcoinResources = {
105
+ utxos: [
106
+ ["firstUtxo", 42, 10, "address", "17", 0, 0],
107
+ ["secondUtxo", 42, 10, "address", "17", 0, 0],
108
+ ] as BitcoinOutputRaw[],
109
+ };
110
+ assignFromAccountRaw(accountRawMock, accountMock);
111
+ expect(accountMock.bitcoinResources.utxos[0].hash).toEqual(
112
+ accountRawMock.bitcoinResources.utxos[0][0]
113
+ );
114
+ expect(accountMock.bitcoinResources.utxos[1].hash).toEqual(
115
+ accountRawMock.bitcoinResources.utxos[1][0]
116
+ );
117
+ });
118
+
119
+ it("should convert utxos to account", () => {
120
+ accountRawMock.bitcoinResources = {
121
+ utxos: [
122
+ ["firstUtxo", 42, 10, "address", "17", 0, 0],
123
+ ] as BitcoinOutputRaw[],
124
+ };
125
+ assignFromAccountRaw(accountRawMock, accountMock);
126
+ expect(accountMock.bitcoinResources.utxos[0].hash).toEqual(
127
+ accountRawMock.bitcoinResources.utxos[0][0]
128
+ );
129
+ expect(accountMock.bitcoinResources.utxos[0].outputIndex).toEqual(
130
+ accountRawMock.bitcoinResources.utxos[0][1]
131
+ );
132
+ expect(accountMock.bitcoinResources.utxos[0].blockHeight).toEqual(
133
+ accountRawMock.bitcoinResources.utxos[0][2]
134
+ );
135
+ expect(accountMock.bitcoinResources.utxos[0].address).toEqual(
136
+ accountRawMock.bitcoinResources.utxos[0][3]
137
+ );
138
+ expect(accountMock.bitcoinResources.utxos[0].value).toEqual(
139
+ new BigNumber(accountRawMock.bitcoinResources.utxos[0][4])
140
+ );
141
+ });
142
+ });
143
+
144
+ describe("when bitcoinResources isn't defined", () => {
145
+ it("shouldn't edit raw account", () => {
146
+ assignFromAccountRaw(accountRawMock, accountMock);
147
+ expect(accountMock.bitcoinResources).toEqual(undefined);
148
+ });
149
+ });
150
+ });
@@ -6,8 +6,11 @@ import type {
6
6
  BitcoinInput,
7
7
  BitcoinOutputRaw,
8
8
  BitcoinOutput,
9
+ BitcoinAccountRaw,
10
+ BitcoinAccount,
9
11
  } from "./types";
10
12
  import wallet from "./wallet-btc";
13
+ import { Account, AccountRaw } from "@ledgerhq/types-live";
11
14
 
12
15
  export function toBitcoinInputRaw({
13
16
  address,
@@ -73,6 +76,7 @@ export function fromBitcoinOutputRaw([
73
76
  isChange: !!isChange,
74
77
  };
75
78
  }
79
+
76
80
  export function toBitcoinResourcesRaw(
77
81
  r: BitcoinResources
78
82
  ): BitcoinResourcesRaw {
@@ -82,6 +86,7 @@ export function toBitcoinResourcesRaw(
82
86
  r.walletAccount && wallet.exportToSerializedAccountSync(r.walletAccount),
83
87
  };
84
88
  }
89
+
85
90
  export function fromBitcoinResourcesRaw(
86
91
  r: BitcoinResourcesRaw
87
92
  ): BitcoinResources {
@@ -92,3 +97,20 @@ export function fromBitcoinResourcesRaw(
92
97
  wallet.importFromSerializedAccountSync(r.walletAccount),
93
98
  };
94
99
  }
100
+
101
+ export function assignToAccountRaw(account: Account, accountRaw: AccountRaw) {
102
+ const bitcoinAccount = account as BitcoinAccount;
103
+ if (bitcoinAccount.bitcoinResources) {
104
+ (accountRaw as BitcoinAccountRaw).bitcoinResources = toBitcoinResourcesRaw(
105
+ bitcoinAccount.bitcoinResources
106
+ );
107
+ }
108
+ }
109
+
110
+ export function assignFromAccountRaw(accountRaw: AccountRaw, account: Account) {
111
+ const bitcoinResourcesRaw = (accountRaw as BitcoinAccountRaw)
112
+ .bitcoinResources;
113
+ if (bitcoinResourcesRaw)
114
+ (account as BitcoinAccount).bitcoinResources =
115
+ fromBitcoinResourcesRaw(bitcoinResourcesRaw);
116
+ }