@n1xyz/wallet-widget 0.0.32 → 0.0.33-alpha.1

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 (1152) hide show
  1. package/dist/features/onboarding-flow/N1WalletModal.d.ts +0 -1
  2. package/dist/features/onboarding-flow/N1WalletModal.js +0 -1
  3. package/dist/features/onboarding-flow/N1WalletModal.js.map +1 -1
  4. package/dist/hooks/index.js.map +1 -1
  5. package/package.json +3 -2
  6. package/dist/Logic/getPseudoName.d.ts +0 -1
  7. package/dist/Logic/getPseudoName.js +0 -5826
  8. package/dist/Logic/getPseudoName.js.map +0 -1
  9. package/dist/Logic/sessionManager.d.ts +0 -17
  10. package/dist/Logic/sessionManager.js +0 -38
  11. package/dist/Logic/sessionManager.js.map +0 -1
  12. package/dist/Logic/transactionManager.d.ts +0 -19
  13. package/dist/Logic/transactionManager.js +0 -8
  14. package/dist/Logic/transactionManager.js.map +0 -1
  15. package/dist/Logic/utils.d.ts +0 -19
  16. package/dist/Logic/utils.js +0 -66
  17. package/dist/Logic/utils.js.map +0 -1
  18. package/dist/Logic/words.d.ts +0 -9
  19. package/dist/Logic/words.js +0 -93572
  20. package/dist/Logic/words.js.map +0 -1
  21. package/dist/Modal/LoadingFallback.d.ts +0 -2
  22. package/dist/Modal/LoadingFallback.js +0 -3
  23. package/dist/Modal/LoadingFallback.js.map +0 -1
  24. package/dist/Modal/N1WalletModal.d.ts +0 -2
  25. package/dist/Modal/N1WalletModal.js +0 -93
  26. package/dist/Modal/N1WalletModal.js.map +0 -1
  27. package/dist/Modal/NTSFlow/LoadingFallback.d.ts +0 -2
  28. package/dist/Modal/NTSFlow/LoadingFallback.js +0 -3
  29. package/dist/Modal/NTSFlow/LoadingFallback.js.map +0 -1
  30. package/dist/Modal/NTSFlow/NTSFlow.d.ts +0 -4
  31. package/dist/Modal/NTSFlow/NTSFlow.js +0 -35
  32. package/dist/Modal/NTSFlow/NTSFlow.js.map +0 -1
  33. package/dist/Modal/NTSFlow/components/BackButton.d.ts +0 -3
  34. package/dist/Modal/NTSFlow/components/BackButton.js +0 -26
  35. package/dist/Modal/NTSFlow/components/BackButton.js.map +0 -1
  36. package/dist/Modal/NTSFlow/components/ModalHeader.d.ts +0 -1
  37. package/dist/Modal/NTSFlow/components/ModalHeader.js +0 -21
  38. package/dist/Modal/NTSFlow/components/ModalHeader.js.map +0 -1
  39. package/dist/Modal/NTSFlow/index.d.ts +0 -1
  40. package/dist/Modal/NTSFlow/index.js +0 -2
  41. package/dist/Modal/NTSFlow/index.js.map +0 -1
  42. package/dist/Modal/NTSFlow/views/ConnectView.d.ts +0 -1
  43. package/dist/Modal/NTSFlow/views/ConnectView.js +0 -68
  44. package/dist/Modal/NTSFlow/views/ConnectView.js.map +0 -1
  45. package/dist/Modal/NTSFlow/views/CreateSessionView.d.ts +0 -1
  46. package/dist/Modal/NTSFlow/views/CreateSessionView.js +0 -246
  47. package/dist/Modal/NTSFlow/views/CreateSessionView.js.map +0 -1
  48. package/dist/Modal/NTSFlow/views/CreateUserView.d.ts +0 -1
  49. package/dist/Modal/NTSFlow/views/CreateUserView.js +0 -106
  50. package/dist/Modal/NTSFlow/views/CreateUserView.js.map +0 -1
  51. package/dist/Modal/NTSFlow/views/NoWhitelistView.d.ts +0 -1
  52. package/dist/Modal/NTSFlow/views/NoWhitelistView.js +0 -43
  53. package/dist/Modal/NTSFlow/views/NoWhitelistView.js.map +0 -1
  54. package/dist/Modal/NTSFlow/views/SigningView.d.ts +0 -1
  55. package/dist/Modal/NTSFlow/views/SigningView.js +0 -6
  56. package/dist/Modal/NTSFlow/views/SigningView.js.map +0 -1
  57. package/dist/Modal/NTSFlow/views/SuccessView.d.ts +0 -1
  58. package/dist/Modal/NTSFlow/views/SuccessView.js +0 -11
  59. package/dist/Modal/NTSFlow/views/SuccessView.js.map +0 -1
  60. package/dist/Modal/NordFlow/NordFlow.d.ts +0 -9
  61. package/dist/Modal/NordFlow/NordFlow.js +0 -98
  62. package/dist/Modal/NordFlow/NordFlow.js.map +0 -1
  63. package/dist/Modal/NordFlow/components/ChainButton.d.ts +0 -10
  64. package/dist/Modal/NordFlow/components/ChainButton.js +0 -21
  65. package/dist/Modal/NordFlow/components/ChainButton.js.map +0 -1
  66. package/dist/Modal/NordFlow/components/EVMChainsButton.d.ts +0 -9
  67. package/dist/Modal/NordFlow/components/EVMChainsButton.js +0 -21
  68. package/dist/Modal/NordFlow/components/EVMChainsButton.js.map +0 -1
  69. package/dist/Modal/NordFlow/components/Header.d.ts +0 -12
  70. package/dist/Modal/NordFlow/components/Header.js +0 -45
  71. package/dist/Modal/NordFlow/components/Header.js.map +0 -1
  72. package/dist/Modal/NordFlow/components/ImageWithFallback.d.ts +0 -17
  73. package/dist/Modal/NordFlow/components/ImageWithFallback.js +0 -33
  74. package/dist/Modal/NordFlow/components/ImageWithFallback.js.map +0 -1
  75. package/dist/Modal/NordFlow/components/LoadingSquares.d.ts +0 -1
  76. package/dist/Modal/NordFlow/components/LoadingSquares.js +0 -6
  77. package/dist/Modal/NordFlow/components/LoadingSquares.js.map +0 -1
  78. package/dist/Modal/NordFlow/components/MoreButton.d.ts +0 -8
  79. package/dist/Modal/NordFlow/components/MoreButton.js +0 -19
  80. package/dist/Modal/NordFlow/components/MoreButton.js.map +0 -1
  81. package/dist/Modal/NordFlow/components/TransactionTable.d.ts +0 -13
  82. package/dist/Modal/NordFlow/components/TransactionTable.js +0 -83
  83. package/dist/Modal/NordFlow/components/TransactionTable.js.map +0 -1
  84. package/dist/Modal/NordFlow/components/WaitingMessage.d.ts +0 -8
  85. package/dist/Modal/NordFlow/components/WaitingMessage.js +0 -17
  86. package/dist/Modal/NordFlow/components/WaitingMessage.js.map +0 -1
  87. package/dist/Modal/NordFlow/components/index.d.ts +0 -5
  88. package/dist/Modal/NordFlow/components/index.js +0 -6
  89. package/dist/Modal/NordFlow/components/index.js.map +0 -1
  90. package/dist/Modal/NordFlow/constants.d.ts +0 -31
  91. package/dist/Modal/NordFlow/constants.js +0 -56
  92. package/dist/Modal/NordFlow/constants.js.map +0 -1
  93. package/dist/Modal/NordFlow/context/DepositContext.d.ts +0 -29
  94. package/dist/Modal/NordFlow/context/DepositContext.js +0 -526
  95. package/dist/Modal/NordFlow/context/DepositContext.js.map +0 -1
  96. package/dist/Modal/NordFlow/context/FlowContext.d.ts +0 -50
  97. package/dist/Modal/NordFlow/context/FlowContext.js +0 -192
  98. package/dist/Modal/NordFlow/context/FlowContext.js.map +0 -1
  99. package/dist/Modal/NordFlow/context/NordProvider.d.ts +0 -10
  100. package/dist/Modal/NordFlow/context/NordProvider.js +0 -14
  101. package/dist/Modal/NordFlow/context/NordProvider.js.map +0 -1
  102. package/dist/Modal/NordFlow/context/WalletConnectContext.d.ts +0 -20
  103. package/dist/Modal/NordFlow/context/WalletConnectContext.js +0 -394
  104. package/dist/Modal/NordFlow/context/WalletConnectContext.js.map +0 -1
  105. package/dist/Modal/NordFlow/context/flowMachine.d.ts +0 -48
  106. package/dist/Modal/NordFlow/context/flowMachine.js +0 -83
  107. package/dist/Modal/NordFlow/context/flowMachine.js.map +0 -1
  108. package/dist/Modal/NordFlow/context/index.d.ts +0 -5
  109. package/dist/Modal/NordFlow/context/index.js +0 -8
  110. package/dist/Modal/NordFlow/context/index.js.map +0 -1
  111. package/dist/Modal/NordFlow/hoc/index.d.ts +0 -1
  112. package/dist/Modal/NordFlow/hoc/index.js +0 -2
  113. package/dist/Modal/NordFlow/hoc/index.js.map +0 -1
  114. package/dist/Modal/NordFlow/hoc/withImageFallback.d.ts +0 -7
  115. package/dist/Modal/NordFlow/hoc/withImageFallback.js +0 -61
  116. package/dist/Modal/NordFlow/hoc/withImageFallback.js.map +0 -1
  117. package/dist/Modal/NordFlow/hooks/useTestnetFaucet.d.ts +0 -18
  118. package/dist/Modal/NordFlow/hooks/useTestnetFaucet.js +0 -181
  119. package/dist/Modal/NordFlow/hooks/useTestnetFaucet.js.map +0 -1
  120. package/dist/Modal/NordFlow/index.d.ts +0 -1
  121. package/dist/Modal/NordFlow/index.js +0 -2
  122. package/dist/Modal/NordFlow/index.js.map +0 -1
  123. package/dist/Modal/NordFlow/screens/00-IdleScreen.d.ts +0 -6
  124. package/dist/Modal/NordFlow/screens/00-IdleScreen.js +0 -9
  125. package/dist/Modal/NordFlow/screens/00-IdleScreen.js.map +0 -1
  126. package/dist/Modal/NordFlow/screens/01-ConnectWalletScreen.d.ts +0 -1
  127. package/dist/Modal/NordFlow/screens/01-ConnectWalletScreen.js +0 -19
  128. package/dist/Modal/NordFlow/screens/01-ConnectWalletScreen.js.map +0 -1
  129. package/dist/Modal/NordFlow/screens/02-ChainSelectionScreen.d.ts +0 -1
  130. package/dist/Modal/NordFlow/screens/02-ChainSelectionScreen.js +0 -65
  131. package/dist/Modal/NordFlow/screens/02-ChainSelectionScreen.js.map +0 -1
  132. package/dist/Modal/NordFlow/screens/02-EvmWalletAuthScreen.d.ts +0 -2
  133. package/dist/Modal/NordFlow/screens/02-EvmWalletAuthScreen.js +0 -45
  134. package/dist/Modal/NordFlow/screens/02-EvmWalletAuthScreen.js.map +0 -1
  135. package/dist/Modal/NordFlow/screens/03-AmountInputScreen.d.ts +0 -4
  136. package/dist/Modal/NordFlow/screens/03-AmountInputScreen.js +0 -358
  137. package/dist/Modal/NordFlow/screens/03-AmountInputScreen.js.map +0 -1
  138. package/dist/Modal/NordFlow/screens/03-ChainSelectionScreen.d.ts +0 -1
  139. package/dist/Modal/NordFlow/screens/03-ChainSelectionScreen.js +0 -66
  140. package/dist/Modal/NordFlow/screens/03-ChainSelectionScreen.js.map +0 -1
  141. package/dist/Modal/NordFlow/screens/04-AmountInputScreen.d.ts +0 -1
  142. package/dist/Modal/NordFlow/screens/04-AmountInputScreen.js +0 -204
  143. package/dist/Modal/NordFlow/screens/04-AmountInputScreen.js.map +0 -1
  144. package/dist/Modal/NordFlow/screens/04-DepositProgressScreen.d.ts +0 -1
  145. package/dist/Modal/NordFlow/screens/04-DepositProgressScreen.js +0 -26
  146. package/dist/Modal/NordFlow/screens/04-DepositProgressScreen.js.map +0 -1
  147. package/dist/Modal/NordFlow/screens/05-DepositProgressScreen.d.ts +0 -1
  148. package/dist/Modal/NordFlow/screens/05-DepositProgressScreen.js +0 -51
  149. package/dist/Modal/NordFlow/screens/05-DepositProgressScreen.js.map +0 -1
  150. package/dist/Modal/NordFlow/screens/05-DepositSuccessScreen.d.ts +0 -1
  151. package/dist/Modal/NordFlow/screens/05-DepositSuccessScreen.js +0 -137
  152. package/dist/Modal/NordFlow/screens/05-DepositSuccessScreen.js.map +0 -1
  153. package/dist/Modal/NordFlow/screens/06-AuthLoadingScreen.d.ts +0 -1
  154. package/dist/Modal/NordFlow/screens/06-AuthLoadingScreen.js +0 -31
  155. package/dist/Modal/NordFlow/screens/06-AuthLoadingScreen.js.map +0 -1
  156. package/dist/Modal/NordFlow/screens/06-DepositSuccessScreen.d.ts +0 -1
  157. package/dist/Modal/NordFlow/screens/06-DepositSuccessScreen.js +0 -132
  158. package/dist/Modal/NordFlow/screens/06-DepositSuccessScreen.js.map +0 -1
  159. package/dist/Modal/NordFlow/screens/07-AuthLoadingScreen.d.ts +0 -1
  160. package/dist/Modal/NordFlow/screens/07-AuthLoadingScreen.js +0 -30
  161. package/dist/Modal/NordFlow/screens/07-AuthLoadingScreen.js.map +0 -1
  162. package/dist/Modal/NordFlow/screens/07-ErrorScreen.d.ts +0 -1
  163. package/dist/Modal/NordFlow/screens/07-ErrorScreen.js +0 -14
  164. package/dist/Modal/NordFlow/screens/07-ErrorScreen.js.map +0 -1
  165. package/dist/Modal/NordFlow/screens/07-FinalSuccessScreen.d.ts +0 -5
  166. package/dist/Modal/NordFlow/screens/07-FinalSuccessScreen.js +0 -39
  167. package/dist/Modal/NordFlow/screens/07-FinalSuccessScreen.js.map +0 -1
  168. package/dist/Modal/NordFlow/screens/08-ErrorScreen.d.ts +0 -1
  169. package/dist/Modal/NordFlow/screens/08-ErrorScreen.js +0 -68
  170. package/dist/Modal/NordFlow/screens/08-ErrorScreen.js.map +0 -1
  171. package/dist/Modal/NordFlow/screens/08-FinalSuccessScreen.d.ts +0 -5
  172. package/dist/Modal/NordFlow/screens/08-FinalSuccessScreen.js +0 -52
  173. package/dist/Modal/NordFlow/screens/08-FinalSuccessScreen.js.map +0 -1
  174. package/dist/Modal/NordFlow/screens/09-ErrorScreen.d.ts +0 -1
  175. package/dist/Modal/NordFlow/screens/09-ErrorScreen.js +0 -68
  176. package/dist/Modal/NordFlow/screens/09-ErrorScreen.js.map +0 -1
  177. package/dist/Modal/NordFlow/screens/index.d.ts +0 -7
  178. package/dist/Modal/NordFlow/screens/index.js +0 -8
  179. package/dist/Modal/NordFlow/screens/index.js.map +0 -1
  180. package/dist/Modal/NordFlow/types.d.ts +0 -113
  181. package/dist/Modal/NordFlow/types.js +0 -34
  182. package/dist/Modal/NordFlow/types.js.map +0 -1
  183. package/dist/Modal/NordFlow/utils/depositStorage.d.ts +0 -4
  184. package/dist/Modal/NordFlow/utils/depositStorage.js +0 -48
  185. package/dist/Modal/NordFlow/utils/depositStorage.js.map +0 -1
  186. package/dist/Modal/NordFlow/utils/imageUtils.d.ts +0 -21
  187. package/dist/Modal/NordFlow/utils/imageUtils.js +0 -110
  188. package/dist/Modal/NordFlow/utils/imageUtils.js.map +0 -1
  189. package/dist/Modal/NordFlow/utils/index.d.ts +0 -2
  190. package/dist/Modal/NordFlow/utils/index.js +0 -3
  191. package/dist/Modal/NordFlow/utils/index.js.map +0 -1
  192. package/dist/Modal/NordFlow/utils/nordUtils.d.ts +0 -40
  193. package/dist/Modal/NordFlow/utils/nordUtils.js +0 -64
  194. package/dist/Modal/NordFlow/utils/nordUtils.js.map +0 -1
  195. package/dist/Modal/Sidebar/N1Sidebar.d.ts +0 -1
  196. package/dist/Modal/Sidebar/N1Sidebar.js +0 -203
  197. package/dist/Modal/Sidebar/N1Sidebar.js.map +0 -1
  198. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketOverview.d.ts +0 -12
  199. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketOverview.js +0 -90
  200. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketOverview.js.map +0 -1
  201. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketSelector.d.ts +0 -6
  202. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketSelector.js +0 -43
  203. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketSelector.js.map +0 -1
  204. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketStats.d.ts +0 -11
  205. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketStats.js +0 -20
  206. package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketStats.js.map +0 -1
  207. package/dist/Modal/Sidebar/NordTradingView/NordTradingView.d.ts +0 -1
  208. package/dist/Modal/Sidebar/NordTradingView/NordTradingView.js +0 -143
  209. package/dist/Modal/Sidebar/NordTradingView/NordTradingView.js.map +0 -1
  210. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBook.d.ts +0 -0
  211. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBook.js +0 -248
  212. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBook.js.map +0 -1
  213. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookDepthVisualizer.d.ts +0 -10
  214. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookDepthVisualizer.js +0 -62
  215. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookDepthVisualizer.js.map +0 -1
  216. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookHeader.d.ts +0 -7
  217. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookHeader.js +0 -30
  218. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookHeader.js.map +0 -1
  219. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookTable.d.ts +0 -11
  220. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookTable.js +0 -22
  221. package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookTable.js.map +0 -1
  222. package/dist/Modal/Sidebar/NordTradingView/TradeForm/AmountInput.d.ts +0 -7
  223. package/dist/Modal/Sidebar/NordTradingView/TradeForm/AmountInput.js +0 -20
  224. package/dist/Modal/Sidebar/NordTradingView/TradeForm/AmountInput.js.map +0 -1
  225. package/dist/Modal/Sidebar/NordTradingView/TradeForm/BuySellTabs.d.ts +0 -7
  226. package/dist/Modal/Sidebar/NordTradingView/TradeForm/BuySellTabs.js +0 -24
  227. package/dist/Modal/Sidebar/NordTradingView/TradeForm/BuySellTabs.js.map +0 -1
  228. package/dist/Modal/Sidebar/NordTradingView/TradeForm/FillModeSelector.d.ts +0 -7
  229. package/dist/Modal/Sidebar/NordTradingView/TradeForm/FillModeSelector.js +0 -80
  230. package/dist/Modal/Sidebar/NordTradingView/TradeForm/FillModeSelector.js.map +0 -1
  231. package/dist/Modal/Sidebar/NordTradingView/TradeForm/OrderTypeSelector.d.ts +0 -9
  232. package/dist/Modal/Sidebar/NordTradingView/TradeForm/OrderTypeSelector.js +0 -110
  233. package/dist/Modal/Sidebar/NordTradingView/TradeForm/OrderTypeSelector.js.map +0 -1
  234. package/dist/Modal/Sidebar/NordTradingView/TradeForm/PriceInput.d.ts +0 -7
  235. package/dist/Modal/Sidebar/NordTradingView/TradeForm/PriceInput.js +0 -30
  236. package/dist/Modal/Sidebar/NordTradingView/TradeForm/PriceInput.js.map +0 -1
  237. package/dist/Modal/Sidebar/NordTradingView/TradeForm/SubmitButton.d.ts +0 -9
  238. package/dist/Modal/Sidebar/NordTradingView/TradeForm/SubmitButton.js +0 -40
  239. package/dist/Modal/Sidebar/NordTradingView/TradeForm/SubmitButton.js.map +0 -1
  240. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TotalCalculator.d.ts +0 -7
  241. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TotalCalculator.js +0 -10
  242. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TotalCalculator.js.map +0 -1
  243. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TradeForm.d.ts +0 -13
  244. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TradeForm.js +0 -264
  245. package/dist/Modal/Sidebar/NordTradingView/TradeForm/TradeForm.js.map +0 -1
  246. package/dist/Modal/Sidebar/NordTradingView/UserBalances/UserBalances.d.ts +0 -5
  247. package/dist/Modal/Sidebar/NordTradingView/UserBalances/UserBalances.js +0 -113
  248. package/dist/Modal/Sidebar/NordTradingView/UserBalances/UserBalances.js.map +0 -1
  249. package/dist/Modal/Sidebar/NordTradingView/UserOrders/UserOrders.d.ts +0 -1
  250. package/dist/Modal/Sidebar/NordTradingView/UserOrders/UserOrders.js +0 -183
  251. package/dist/Modal/Sidebar/NordTradingView/UserOrders/UserOrders.js.map +0 -1
  252. package/dist/Modal/Sidebar/NordTradingView/UserPositions/UserPositions.d.ts +0 -0
  253. package/dist/Modal/Sidebar/NordTradingView/UserPositions/UserPositions.js +0 -278
  254. package/dist/Modal/Sidebar/NordTradingView/UserPositions/UserPositions.js.map +0 -1
  255. package/dist/Provider/LazyWalletProvider.d.ts +0 -1
  256. package/dist/Provider/LazyWalletProvider.js +0 -230
  257. package/dist/Provider/LazyWalletProvider.js.map +0 -1
  258. package/dist/Provider/N1WalletProvider.d.ts +0 -3
  259. package/dist/Provider/N1WalletProvider.js +0 -266
  260. package/dist/Provider/N1WalletProvider.js.map +0 -1
  261. package/dist/Provider/ShadowRootWrapper.d.ts +0 -7
  262. package/dist/Provider/ShadowRootWrapper.js +0 -7
  263. package/dist/Provider/ShadowRootWrapper.js.map +0 -1
  264. package/dist/Provider/WalletErrorBoundary.d.ts +0 -17
  265. package/dist/Provider/WalletErrorBoundary.js +0 -57
  266. package/dist/Provider/WalletErrorBoundary.js.map +0 -1
  267. package/dist/Provider/context.d.ts +0 -5
  268. package/dist/Provider/context.js +0 -5
  269. package/dist/Provider/context.js.map +0 -1
  270. package/dist/Provider/hooks/useNordUserInitialization.d.ts +0 -1
  271. package/dist/Provider/hooks/useNordUserInitialization.js +0 -306
  272. package/dist/Provider/hooks/useNordUserInitialization.js.map +0 -1
  273. package/dist/Provider/hooks.d.ts +0 -2
  274. package/dist/Provider/hooks.js +0 -17
  275. package/dist/Provider/hooks.js.map +0 -1
  276. package/dist/Provider/icons/CoinbaseWalletIcon.d.ts +0 -1
  277. package/dist/Provider/icons/CoinbaseWalletIcon.js +0 -5
  278. package/dist/Provider/icons/CoinbaseWalletIcon.js.map +0 -1
  279. package/dist/Provider/icons/ConnectionDotsSVG.d.ts +0 -1
  280. package/dist/Provider/icons/ConnectionDotsSVG.js +0 -5
  281. package/dist/Provider/icons/ConnectionDotsSVG.js.map +0 -1
  282. package/dist/Provider/icons/MetamaskIcon.d.ts +0 -1
  283. package/dist/Provider/icons/MetamaskIcon.js +0 -5
  284. package/dist/Provider/icons/MetamaskIcon.js.map +0 -1
  285. package/dist/Provider/icons/PhantomIcon.d.ts +0 -1
  286. package/dist/Provider/icons/PhantomIcon.js +0 -5
  287. package/dist/Provider/icons/PhantomIcon.js.map +0 -1
  288. package/dist/Provider/icons/UserIcon.d.ts +0 -1
  289. package/dist/Provider/icons/UserIcon.js +0 -5
  290. package/dist/Provider/icons/UserIcon.js.map +0 -1
  291. package/dist/Provider/icons/WalletConnectIcon.d.ts +0 -1
  292. package/dist/Provider/icons/WalletConnectIcon.js +0 -5
  293. package/dist/Provider/icons/WalletConnectIcon.js.map +0 -1
  294. package/dist/Provider/index.d.ts +0 -3
  295. package/dist/Provider/index.js +0 -4
  296. package/dist/Provider/index.js.map +0 -1
  297. package/dist/Provider/types.d.ts +0 -152
  298. package/dist/Provider/types.js +0 -21
  299. package/dist/Provider/types.js.map +0 -1
  300. package/dist/WidgetButton/N1ConnectButton.d.ts +0 -5
  301. package/dist/WidgetButton/N1ConnectButton.js +0 -49
  302. package/dist/WidgetButton/N1ConnectButton.js.map +0 -1
  303. package/dist/components/QRCodeLoader.d.ts +0 -4
  304. package/dist/components/QRCodeLoader.js +0 -9
  305. package/dist/components/QRCodeLoader.js.map +0 -1
  306. package/dist/components/logos/EVMChainsGroup.d.ts +0 -7
  307. package/dist/components/logos/EVMChainsGroup.js +0 -19
  308. package/dist/components/logos/EVMChainsGroup.js.map +0 -1
  309. package/dist/components/logos/MoreChainsGroup.d.ts +0 -7
  310. package/dist/components/logos/MoreChainsGroup.js +0 -19
  311. package/dist/components/logos/MoreChainsGroup.js.map +0 -1
  312. package/dist/config/nordFlow.d.ts +0 -6
  313. package/dist/config/nordFlow.js +0 -63
  314. package/dist/config/nordFlow.js.map +0 -1
  315. package/dist/embedded-main-css.d.ts +0 -2
  316. package/dist/embedded-main-css.js +0 -3
  317. package/dist/embedded-main-css.js.map +0 -1
  318. package/dist/features/nord-flow/N1WalletModal.d.ts +0 -2
  319. package/dist/features/nord-flow/N1WalletModal.js +0 -92
  320. package/dist/features/nord-flow/N1WalletModal.js.map +0 -1
  321. package/dist/features/nord-flow/NordFlow.d.ts +0 -9
  322. package/dist/features/nord-flow/NordFlow.js +0 -98
  323. package/dist/features/nord-flow/NordFlow.js.map +0 -1
  324. package/dist/features/nord-flow/components/ChainButton.d.ts +0 -10
  325. package/dist/features/nord-flow/components/ChainButton.js +0 -21
  326. package/dist/features/nord-flow/components/ChainButton.js.map +0 -1
  327. package/dist/features/nord-flow/components/Header.d.ts +0 -12
  328. package/dist/features/nord-flow/components/Header.js +0 -45
  329. package/dist/features/nord-flow/components/Header.js.map +0 -1
  330. package/dist/features/nord-flow/components/ImageWithFallback.d.ts +0 -17
  331. package/dist/features/nord-flow/components/ImageWithFallback.js +0 -33
  332. package/dist/features/nord-flow/components/ImageWithFallback.js.map +0 -1
  333. package/dist/features/nord-flow/components/TransactionTable.d.ts +0 -13
  334. package/dist/features/nord-flow/components/TransactionTable.js +0 -83
  335. package/dist/features/nord-flow/components/TransactionTable.js.map +0 -1
  336. package/dist/features/nord-flow/components/WaitingMessage.d.ts +0 -8
  337. package/dist/features/nord-flow/components/WaitingMessage.js +0 -17
  338. package/dist/features/nord-flow/components/WaitingMessage.js.map +0 -1
  339. package/dist/features/nord-flow/components/index.d.ts +0 -5
  340. package/dist/features/nord-flow/components/index.js +0 -6
  341. package/dist/features/nord-flow/components/index.js.map +0 -1
  342. package/dist/features/nord-flow/context/DepositContext.d.ts +0 -29
  343. package/dist/features/nord-flow/context/DepositContext.js +0 -525
  344. package/dist/features/nord-flow/context/DepositContext.js.map +0 -1
  345. package/dist/features/nord-flow/context/FlowContext.d.ts +0 -50
  346. package/dist/features/nord-flow/context/FlowContext.js +0 -192
  347. package/dist/features/nord-flow/context/FlowContext.js.map +0 -1
  348. package/dist/features/nord-flow/context/NordProvider.d.ts +0 -10
  349. package/dist/features/nord-flow/context/NordProvider.js +0 -14
  350. package/dist/features/nord-flow/context/NordProvider.js.map +0 -1
  351. package/dist/features/nord-flow/context/WalletConnectContext.d.ts +0 -21
  352. package/dist/features/nord-flow/context/WalletConnectContext.js +0 -394
  353. package/dist/features/nord-flow/context/WalletConnectContext.js.map +0 -1
  354. package/dist/features/nord-flow/context/debug.d.ts +0 -6
  355. package/dist/features/nord-flow/context/debug.js +0 -63
  356. package/dist/features/nord-flow/context/debug.js.map +0 -1
  357. package/dist/features/nord-flow/context/flowMachine.d.ts +0 -48
  358. package/dist/features/nord-flow/context/flowMachine.js +0 -83
  359. package/dist/features/nord-flow/context/flowMachine.js.map +0 -1
  360. package/dist/features/nord-flow/context/index.d.ts +0 -5
  361. package/dist/features/nord-flow/context/index.js +0 -8
  362. package/dist/features/nord-flow/context/index.js.map +0 -1
  363. package/dist/features/nord-flow/hoc/index.d.ts +0 -1
  364. package/dist/features/nord-flow/hoc/index.js +0 -2
  365. package/dist/features/nord-flow/hoc/index.js.map +0 -1
  366. package/dist/features/nord-flow/hoc/withImageFallback.d.ts +0 -7
  367. package/dist/features/nord-flow/hoc/withImageFallback.js +0 -61
  368. package/dist/features/nord-flow/hoc/withImageFallback.js.map +0 -1
  369. package/dist/features/nord-flow/index.d.ts +0 -1
  370. package/dist/features/nord-flow/index.js +0 -2
  371. package/dist/features/nord-flow/index.js.map +0 -1
  372. package/dist/features/nord-flow/screens/01-ConnectWalletScreen.d.ts +0 -1
  373. package/dist/features/nord-flow/screens/01-ConnectWalletScreen.js +0 -19
  374. package/dist/features/nord-flow/screens/01-ConnectWalletScreen.js.map +0 -1
  375. package/dist/features/nord-flow/screens/02-ChainSelectionScreen.d.ts +0 -31
  376. package/dist/features/nord-flow/screens/02-ChainSelectionScreen.js +0 -101
  377. package/dist/features/nord-flow/screens/02-ChainSelectionScreen.js.map +0 -1
  378. package/dist/features/nord-flow/screens/03-AmountInputScreen.d.ts +0 -6
  379. package/dist/features/nord-flow/screens/03-AmountInputScreen.js +0 -361
  380. package/dist/features/nord-flow/screens/03-AmountInputScreen.js.map +0 -1
  381. package/dist/features/nord-flow/screens/04-DepositProgressScreen.d.ts +0 -3
  382. package/dist/features/nord-flow/screens/04-DepositProgressScreen.js +0 -31
  383. package/dist/features/nord-flow/screens/04-DepositProgressScreen.js.map +0 -1
  384. package/dist/features/nord-flow/screens/05-DepositSuccessScreen.d.ts +0 -1
  385. package/dist/features/nord-flow/screens/05-DepositSuccessScreen.js +0 -137
  386. package/dist/features/nord-flow/screens/05-DepositSuccessScreen.js.map +0 -1
  387. package/dist/features/nord-flow/screens/06-AuthLoadingScreen.d.ts +0 -1
  388. package/dist/features/nord-flow/screens/06-AuthLoadingScreen.js +0 -31
  389. package/dist/features/nord-flow/screens/06-AuthLoadingScreen.js.map +0 -1
  390. package/dist/features/nord-flow/screens/07-ErrorScreen.d.ts +0 -1
  391. package/dist/features/nord-flow/screens/07-ErrorScreen.js +0 -14
  392. package/dist/features/nord-flow/screens/07-ErrorScreen.js.map +0 -1
  393. package/dist/features/nord-flow/screens/index.d.ts +0 -7
  394. package/dist/features/nord-flow/screens/index.js +0 -8
  395. package/dist/features/nord-flow/screens/index.js.map +0 -1
  396. package/dist/features/nord-flow/types.d.ts +0 -113
  397. package/dist/features/nord-flow/types.js +0 -34
  398. package/dist/features/nord-flow/types.js.map +0 -1
  399. package/dist/features/nord-flow/utils/depositStorage.d.ts +0 -4
  400. package/dist/features/nord-flow/utils/depositStorage.js +0 -48
  401. package/dist/features/nord-flow/utils/depositStorage.js.map +0 -1
  402. package/dist/features/nord-flow/utils/imageUtils.d.ts +0 -21
  403. package/dist/features/nord-flow/utils/imageUtils.js +0 -110
  404. package/dist/features/nord-flow/utils/imageUtils.js.map +0 -1
  405. package/dist/features/nord-flow/utils/index.d.ts +0 -2
  406. package/dist/features/nord-flow/utils/index.js +0 -3
  407. package/dist/features/nord-flow/utils/index.js.map +0 -1
  408. package/dist/features/nord-flow/utils/nordUser.d.ts +0 -1
  409. package/dist/features/nord-flow/utils/nordUser.js +0 -48
  410. package/dist/features/nord-flow/utils/nordUser.js.map +0 -1
  411. package/dist/features/nord-flow/utils/nordUtils.d.ts +0 -40
  412. package/dist/features/nord-flow/utils/nordUtils.js +0 -64
  413. package/dist/features/nord-flow/utils/nordUtils.js.map +0 -1
  414. package/dist/features/nord-flow/utils/session.d.ts +0 -17
  415. package/dist/features/nord-flow/utils/session.js +0 -69
  416. package/dist/features/nord-flow/utils/session.js.map +0 -1
  417. package/dist/features/nord-flow/utils/transaction.d.ts +0 -19
  418. package/dist/features/nord-flow/utils/transaction.js +0 -8
  419. package/dist/features/nord-flow/utils/transaction.js.map +0 -1
  420. package/dist/features/nord-flow/utils/utils.d.ts +0 -19
  421. package/dist/features/nord-flow/utils/utils.js +0 -66
  422. package/dist/features/nord-flow/utils/utils.js.map +0 -1
  423. package/dist/features/nord-flow/utils/withImageFallback.d.ts +0 -7
  424. package/dist/features/nord-flow/utils/withImageFallback.js +0 -61
  425. package/dist/features/nord-flow/utils/withImageFallback.js.map +0 -1
  426. package/dist/features/onboarding-flow/providers/FlowStateProvider.d.ts +0 -50
  427. package/dist/features/onboarding-flow/providers/FlowStateProvider.js +0 -192
  428. package/dist/features/onboarding-flow/providers/FlowStateProvider.js.map +0 -1
  429. package/dist/features/onboarding-flow/providers/OnboardingProvider.d.ts +0 -10
  430. package/dist/features/onboarding-flow/providers/OnboardingProvider.js +0 -14
  431. package/dist/features/onboarding-flow/providers/OnboardingProvider.js.map +0 -1
  432. package/dist/features/onboarding-flow/providers/flowMachine.d.ts +0 -48
  433. package/dist/features/onboarding-flow/providers/flowMachine.js +0 -83
  434. package/dist/features/onboarding-flow/providers/flowMachine.js.map +0 -1
  435. package/dist/features/wallet/components/N1ConnectButton.d.ts +0 -5
  436. package/dist/features/wallet/components/N1ConnectButton.js +0 -49
  437. package/dist/features/wallet/components/N1ConnectButton.js.map +0 -1
  438. package/dist/features/wallet/logic/getPseudoName.d.ts +0 -1
  439. package/dist/features/wallet/logic/getPseudoName.js +0 -5826
  440. package/dist/features/wallet/logic/getPseudoName.js.map +0 -1
  441. package/dist/features/wallet/logic/sessionManager.d.ts +0 -17
  442. package/dist/features/wallet/logic/sessionManager.js +0 -38
  443. package/dist/features/wallet/logic/sessionManager.js.map +0 -1
  444. package/dist/features/wallet/logic/transactionManager.d.ts +0 -19
  445. package/dist/features/wallet/logic/transactionManager.js +0 -8
  446. package/dist/features/wallet/logic/transactionManager.js.map +0 -1
  447. package/dist/features/wallet/logic/utils.d.ts +0 -19
  448. package/dist/features/wallet/logic/utils.js +0 -66
  449. package/dist/features/wallet/logic/utils.js.map +0 -1
  450. package/dist/features/wallet/logic/words.d.ts +0 -9
  451. package/dist/features/wallet/logic/words.js +0 -93572
  452. package/dist/features/wallet/logic/words.js.map +0 -1
  453. package/dist/features/wallet/modal/LoadingFallback.d.ts +0 -2
  454. package/dist/features/wallet/modal/LoadingFallback.js +0 -3
  455. package/dist/features/wallet/modal/LoadingFallback.js.map +0 -1
  456. package/dist/features/wallet/modal/N1WalletModal.d.ts +0 -2
  457. package/dist/features/wallet/modal/N1WalletModal.js +0 -93
  458. package/dist/features/wallet/modal/N1WalletModal.js.map +0 -1
  459. package/dist/features/wallet/modal/NordFlow/NordFlow.d.ts +0 -9
  460. package/dist/features/wallet/modal/NordFlow/NordFlow.js +0 -98
  461. package/dist/features/wallet/modal/NordFlow/NordFlow.js.map +0 -1
  462. package/dist/features/wallet/modal/NordFlow/components/ChainButton.d.ts +0 -10
  463. package/dist/features/wallet/modal/NordFlow/components/ChainButton.js +0 -21
  464. package/dist/features/wallet/modal/NordFlow/components/ChainButton.js.map +0 -1
  465. package/dist/features/wallet/modal/NordFlow/components/Header.d.ts +0 -12
  466. package/dist/features/wallet/modal/NordFlow/components/Header.js +0 -45
  467. package/dist/features/wallet/modal/NordFlow/components/Header.js.map +0 -1
  468. package/dist/features/wallet/modal/NordFlow/components/ImageWithFallback.d.ts +0 -17
  469. package/dist/features/wallet/modal/NordFlow/components/ImageWithFallback.js +0 -33
  470. package/dist/features/wallet/modal/NordFlow/components/ImageWithFallback.js.map +0 -1
  471. package/dist/features/wallet/modal/NordFlow/components/TransactionTable.d.ts +0 -13
  472. package/dist/features/wallet/modal/NordFlow/components/TransactionTable.js +0 -83
  473. package/dist/features/wallet/modal/NordFlow/components/TransactionTable.js.map +0 -1
  474. package/dist/features/wallet/modal/NordFlow/components/WaitingMessage.d.ts +0 -8
  475. package/dist/features/wallet/modal/NordFlow/components/WaitingMessage.js +0 -17
  476. package/dist/features/wallet/modal/NordFlow/components/WaitingMessage.js.map +0 -1
  477. package/dist/features/wallet/modal/NordFlow/components/index.d.ts +0 -5
  478. package/dist/features/wallet/modal/NordFlow/components/index.js +0 -6
  479. package/dist/features/wallet/modal/NordFlow/components/index.js.map +0 -1
  480. package/dist/features/wallet/modal/NordFlow/constants.d.ts +0 -31
  481. package/dist/features/wallet/modal/NordFlow/constants.js +0 -56
  482. package/dist/features/wallet/modal/NordFlow/constants.js.map +0 -1
  483. package/dist/features/wallet/modal/NordFlow/context/DepositContext.d.ts +0 -29
  484. package/dist/features/wallet/modal/NordFlow/context/DepositContext.js +0 -526
  485. package/dist/features/wallet/modal/NordFlow/context/DepositContext.js.map +0 -1
  486. package/dist/features/wallet/modal/NordFlow/context/FlowContext.d.ts +0 -50
  487. package/dist/features/wallet/modal/NordFlow/context/FlowContext.js +0 -192
  488. package/dist/features/wallet/modal/NordFlow/context/FlowContext.js.map +0 -1
  489. package/dist/features/wallet/modal/NordFlow/context/NordProvider.d.ts +0 -10
  490. package/dist/features/wallet/modal/NordFlow/context/NordProvider.js +0 -14
  491. package/dist/features/wallet/modal/NordFlow/context/NordProvider.js.map +0 -1
  492. package/dist/features/wallet/modal/NordFlow/context/WalletConnectContext.d.ts +0 -20
  493. package/dist/features/wallet/modal/NordFlow/context/WalletConnectContext.js +0 -394
  494. package/dist/features/wallet/modal/NordFlow/context/WalletConnectContext.js.map +0 -1
  495. package/dist/features/wallet/modal/NordFlow/context/flowMachine.d.ts +0 -48
  496. package/dist/features/wallet/modal/NordFlow/context/flowMachine.js +0 -83
  497. package/dist/features/wallet/modal/NordFlow/context/flowMachine.js.map +0 -1
  498. package/dist/features/wallet/modal/NordFlow/context/index.d.ts +0 -5
  499. package/dist/features/wallet/modal/NordFlow/context/index.js +0 -8
  500. package/dist/features/wallet/modal/NordFlow/context/index.js.map +0 -1
  501. package/dist/features/wallet/modal/NordFlow/hoc/index.d.ts +0 -1
  502. package/dist/features/wallet/modal/NordFlow/hoc/index.js +0 -2
  503. package/dist/features/wallet/modal/NordFlow/hoc/index.js.map +0 -1
  504. package/dist/features/wallet/modal/NordFlow/hoc/withImageFallback.d.ts +0 -7
  505. package/dist/features/wallet/modal/NordFlow/hoc/withImageFallback.js +0 -61
  506. package/dist/features/wallet/modal/NordFlow/hoc/withImageFallback.js.map +0 -1
  507. package/dist/features/wallet/modal/NordFlow/index.d.ts +0 -1
  508. package/dist/features/wallet/modal/NordFlow/index.js +0 -2
  509. package/dist/features/wallet/modal/NordFlow/index.js.map +0 -1
  510. package/dist/features/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.d.ts +0 -1
  511. package/dist/features/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js +0 -19
  512. package/dist/features/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js.map +0 -1
  513. package/dist/features/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.d.ts +0 -1
  514. package/dist/features/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js +0 -65
  515. package/dist/features/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js.map +0 -1
  516. package/dist/features/wallet/modal/NordFlow/screens/03-AmountInputScreen.d.ts +0 -4
  517. package/dist/features/wallet/modal/NordFlow/screens/03-AmountInputScreen.js +0 -358
  518. package/dist/features/wallet/modal/NordFlow/screens/03-AmountInputScreen.js.map +0 -1
  519. package/dist/features/wallet/modal/NordFlow/screens/04-DepositProgressScreen.d.ts +0 -1
  520. package/dist/features/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js +0 -26
  521. package/dist/features/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js.map +0 -1
  522. package/dist/features/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.d.ts +0 -1
  523. package/dist/features/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js +0 -137
  524. package/dist/features/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js.map +0 -1
  525. package/dist/features/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.d.ts +0 -1
  526. package/dist/features/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js +0 -31
  527. package/dist/features/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js.map +0 -1
  528. package/dist/features/wallet/modal/NordFlow/screens/07-ErrorScreen.d.ts +0 -1
  529. package/dist/features/wallet/modal/NordFlow/screens/07-ErrorScreen.js +0 -14
  530. package/dist/features/wallet/modal/NordFlow/screens/07-ErrorScreen.js.map +0 -1
  531. package/dist/features/wallet/modal/NordFlow/screens/index.d.ts +0 -7
  532. package/dist/features/wallet/modal/NordFlow/screens/index.js +0 -8
  533. package/dist/features/wallet/modal/NordFlow/screens/index.js.map +0 -1
  534. package/dist/features/wallet/modal/NordFlow/types.d.ts +0 -113
  535. package/dist/features/wallet/modal/NordFlow/types.js +0 -34
  536. package/dist/features/wallet/modal/NordFlow/types.js.map +0 -1
  537. package/dist/features/wallet/modal/NordFlow/utils/depositStorage.d.ts +0 -4
  538. package/dist/features/wallet/modal/NordFlow/utils/depositStorage.js +0 -48
  539. package/dist/features/wallet/modal/NordFlow/utils/depositStorage.js.map +0 -1
  540. package/dist/features/wallet/modal/NordFlow/utils/imageUtils.d.ts +0 -21
  541. package/dist/features/wallet/modal/NordFlow/utils/imageUtils.js +0 -110
  542. package/dist/features/wallet/modal/NordFlow/utils/imageUtils.js.map +0 -1
  543. package/dist/features/wallet/modal/NordFlow/utils/index.d.ts +0 -2
  544. package/dist/features/wallet/modal/NordFlow/utils/index.js +0 -3
  545. package/dist/features/wallet/modal/NordFlow/utils/index.js.map +0 -1
  546. package/dist/features/wallet/modal/NordFlow/utils/nordUtils.d.ts +0 -40
  547. package/dist/features/wallet/modal/NordFlow/utils/nordUtils.js +0 -64
  548. package/dist/features/wallet/modal/NordFlow/utils/nordUtils.js.map +0 -1
  549. package/dist/features/wallet/provider/LazyWalletProvider.d.ts +0 -1
  550. package/dist/features/wallet/provider/LazyWalletProvider.js +0 -230
  551. package/dist/features/wallet/provider/LazyWalletProvider.js.map +0 -1
  552. package/dist/features/wallet/provider/N1WalletProvider.d.ts +0 -3
  553. package/dist/features/wallet/provider/N1WalletProvider.js +0 -266
  554. package/dist/features/wallet/provider/N1WalletProvider.js.map +0 -1
  555. package/dist/features/wallet/provider/ShadowRootWrapper.d.ts +0 -7
  556. package/dist/features/wallet/provider/ShadowRootWrapper.js +0 -7
  557. package/dist/features/wallet/provider/ShadowRootWrapper.js.map +0 -1
  558. package/dist/features/wallet/provider/WalletErrorBoundary.d.ts +0 -17
  559. package/dist/features/wallet/provider/WalletErrorBoundary.js +0 -57
  560. package/dist/features/wallet/provider/WalletErrorBoundary.js.map +0 -1
  561. package/dist/features/wallet/provider/context.d.ts +0 -5
  562. package/dist/features/wallet/provider/context.js +0 -5
  563. package/dist/features/wallet/provider/context.js.map +0 -1
  564. package/dist/features/wallet/provider/hooks/useNordUserInitialization.d.ts +0 -1
  565. package/dist/features/wallet/provider/hooks/useNordUserInitialization.js +0 -306
  566. package/dist/features/wallet/provider/hooks/useNordUserInitialization.js.map +0 -1
  567. package/dist/features/wallet/provider/hooks.d.ts +0 -2
  568. package/dist/features/wallet/provider/hooks.js +0 -17
  569. package/dist/features/wallet/provider/hooks.js.map +0 -1
  570. package/dist/features/wallet/provider/index.d.ts +0 -3
  571. package/dist/features/wallet/provider/index.js +0 -4
  572. package/dist/features/wallet/provider/index.js.map +0 -1
  573. package/dist/features/wallet/provider/types.d.ts +0 -152
  574. package/dist/features/wallet/provider/types.js +0 -21
  575. package/dist/features/wallet/provider/types.js.map +0 -1
  576. package/dist/features/wallet/styles/embeddedStyles.d.ts +0 -2
  577. package/dist/features/wallet/styles/embeddedStyles.js +0 -3
  578. package/dist/features/wallet/styles/embeddedStyles.js.map +0 -1
  579. package/dist/lib/nord/index.d.ts +0 -2
  580. package/dist/lib/nord/index.js +0 -59
  581. package/dist/lib/nord/index.js.map +0 -1
  582. package/dist/lib/session/index.d.ts +0 -18
  583. package/dist/lib/session/index.js +0 -70
  584. package/dist/lib/session/index.js.map +0 -1
  585. package/dist/lib/session/utils.d.ts +0 -19
  586. package/dist/lib/session/utils.js +0 -66
  587. package/dist/lib/session/utils.js.map +0 -1
  588. package/dist/lib/transaction/index.d.ts +0 -19
  589. package/dist/lib/transaction/index.js +0 -8
  590. package/dist/lib/transaction/index.js.map +0 -1
  591. package/dist/shared/animations/N1Loader.d.ts +0 -11
  592. package/dist/shared/animations/N1Loader.js +0 -42
  593. package/dist/shared/animations/N1Loader.js.map +0 -1
  594. package/dist/shared/animations/N1Loader.json +0 -1
  595. package/dist/shared/animations/Processing.d.ts +0 -11
  596. package/dist/shared/animations/Processing.js +0 -42
  597. package/dist/shared/animations/Processing.js.map +0 -1
  598. package/dist/shared/animations/Processing.json +0 -1
  599. package/dist/shared/config/chains.d.ts +0 -29
  600. package/dist/shared/config/chains.js +0 -39
  601. package/dist/shared/config/chains.js.map +0 -1
  602. package/dist/shared/config/nordFlow.d.ts +0 -9
  603. package/dist/shared/config/nordFlow.js +0 -71
  604. package/dist/shared/config/nordFlow.js.map +0 -1
  605. package/dist/shared/config/public.d.ts +0 -2
  606. package/dist/shared/config/public.js +0 -3
  607. package/dist/shared/config/public.js.map +0 -1
  608. package/dist/shared/config/solana.d.ts +0 -13
  609. package/dist/shared/config/solana.js +0 -19
  610. package/dist/shared/config/solana.js.map +0 -1
  611. package/dist/shared/errors/types.d.ts +0 -25
  612. package/dist/shared/errors/types.js +0 -77
  613. package/dist/shared/errors/types.js.map +0 -1
  614. package/dist/shared/polyfills/windowEthereumGuard.d.ts +0 -6
  615. package/dist/shared/polyfills/windowEthereumGuard.js +0 -28
  616. package/dist/shared/polyfills/windowEthereumGuard.js.map +0 -1
  617. package/dist/shared/ui/Logo.d.ts +0 -8
  618. package/dist/shared/ui/Logo.js +0 -122
  619. package/dist/shared/ui/Logo.js.map +0 -1
  620. package/dist/shared/ui/logos/ArbitrumLogo.d.ts +0 -8
  621. package/dist/shared/ui/logos/ArbitrumLogo.js +0 -6
  622. package/dist/shared/ui/logos/ArbitrumLogo.js.map +0 -1
  623. package/dist/shared/ui/logos/BaseLogo.d.ts +0 -8
  624. package/dist/shared/ui/logos/BaseLogo.js +0 -6
  625. package/dist/shared/ui/logos/BaseLogo.js.map +0 -1
  626. package/dist/shared/ui/logos/BeraLogo.d.ts +0 -8
  627. package/dist/shared/ui/logos/BeraLogo.js +0 -6
  628. package/dist/shared/ui/logos/BeraLogo.js.map +0 -1
  629. package/dist/shared/ui/logos/BitcoinLogo.d.ts +0 -8
  630. package/dist/shared/ui/logos/BitcoinLogo.js +0 -6
  631. package/dist/shared/ui/logos/BitcoinLogo.js.map +0 -1
  632. package/dist/shared/ui/logos/EthereumLogo.d.ts +0 -8
  633. package/dist/shared/ui/logos/EthereumLogo.js +0 -6
  634. package/dist/shared/ui/logos/EthereumLogo.js.map +0 -1
  635. package/dist/shared/ui/logos/HyperliquidLogo.d.ts +0 -8
  636. package/dist/shared/ui/logos/HyperliquidLogo.js +0 -6
  637. package/dist/shared/ui/logos/HyperliquidLogo.js.map +0 -1
  638. package/dist/shared/ui/logos/OptimismLogo.d.ts +0 -8
  639. package/dist/shared/ui/logos/OptimismLogo.js +0 -6
  640. package/dist/shared/ui/logos/OptimismLogo.js.map +0 -1
  641. package/dist/shared/ui/logos/SolanaLogo.d.ts +0 -8
  642. package/dist/shared/ui/logos/SolanaLogo.js +0 -6
  643. package/dist/shared/ui/logos/SolanaLogo.js.map +0 -1
  644. package/dist/shared/ui/logos/ZeroOneLogo.d.ts +0 -8
  645. package/dist/shared/ui/logos/ZeroOneLogo.js +0 -6
  646. package/dist/shared/ui/logos/ZeroOneLogo.js.map +0 -1
  647. package/dist/shared/ui/logos/index.d.ts +0 -9
  648. package/dist/shared/ui/logos/index.js +0 -10
  649. package/dist/shared/ui/logos/index.js.map +0 -1
  650. package/dist/shared/utils/dynamicNord.d.ts +0 -2
  651. package/dist/shared/utils/dynamicNord.js +0 -59
  652. package/dist/shared/utils/dynamicNord.js.map +0 -1
  653. package/dist/shared/utils/ed25519.d.ts +0 -8
  654. package/dist/shared/utils/ed25519.js +0 -87
  655. package/dist/shared/utils/ed25519.js.map +0 -1
  656. package/dist/shared/utils/logger.d.ts +0 -21
  657. package/dist/shared/utils/logger.js +0 -130
  658. package/dist/shared/utils/logger.js.map +0 -1
  659. package/dist/shared/utils/shortenString.d.ts +0 -2
  660. package/dist/shared/utils/shortenString.js +0 -9
  661. package/dist/shared/utils/shortenString.js.map +0 -1
  662. package/dist/utils/dynamicImports.js +0 -42
  663. package/dist/utils/dynamicImports.js.map +0 -1
  664. package/dist/utils/dynamicNord.d.ts +0 -2
  665. package/dist/utils/dynamicNord.js +0 -59
  666. package/dist/utils/dynamicNord.js.map +0 -1
  667. package/dist/wallet/components/N1ConnectButton.d.ts +0 -5
  668. package/dist/wallet/components/N1ConnectButton.js +0 -49
  669. package/dist/wallet/components/N1ConnectButton.js.map +0 -1
  670. package/dist/wallet/logic/getPseudoName.d.ts +0 -1
  671. package/dist/wallet/logic/getPseudoName.js +0 -5826
  672. package/dist/wallet/logic/getPseudoName.js.map +0 -1
  673. package/dist/wallet/logic/sessionManager.d.ts +0 -17
  674. package/dist/wallet/logic/sessionManager.js +0 -38
  675. package/dist/wallet/logic/sessionManager.js.map +0 -1
  676. package/dist/wallet/logic/transactionManager.d.ts +0 -19
  677. package/dist/wallet/logic/transactionManager.js +0 -8
  678. package/dist/wallet/logic/transactionManager.js.map +0 -1
  679. package/dist/wallet/logic/utils.d.ts +0 -19
  680. package/dist/wallet/logic/utils.js +0 -66
  681. package/dist/wallet/logic/utils.js.map +0 -1
  682. package/dist/wallet/logic/words.d.ts +0 -9
  683. package/dist/wallet/logic/words.js +0 -93572
  684. package/dist/wallet/logic/words.js.map +0 -1
  685. package/dist/wallet/modal/LoadingFallback.d.ts +0 -2
  686. package/dist/wallet/modal/LoadingFallback.js +0 -3
  687. package/dist/wallet/modal/LoadingFallback.js.map +0 -1
  688. package/dist/wallet/modal/N1WalletModal.d.ts +0 -2
  689. package/dist/wallet/modal/N1WalletModal.js +0 -93
  690. package/dist/wallet/modal/N1WalletModal.js.map +0 -1
  691. package/dist/wallet/modal/NordFlow/NordFlow.d.ts +0 -9
  692. package/dist/wallet/modal/NordFlow/NordFlow.js +0 -98
  693. package/dist/wallet/modal/NordFlow/NordFlow.js.map +0 -1
  694. package/dist/wallet/modal/NordFlow/components/ChainButton.d.ts +0 -10
  695. package/dist/wallet/modal/NordFlow/components/ChainButton.js +0 -21
  696. package/dist/wallet/modal/NordFlow/components/ChainButton.js.map +0 -1
  697. package/dist/wallet/modal/NordFlow/components/Header.d.ts +0 -12
  698. package/dist/wallet/modal/NordFlow/components/Header.js +0 -45
  699. package/dist/wallet/modal/NordFlow/components/Header.js.map +0 -1
  700. package/dist/wallet/modal/NordFlow/components/ImageWithFallback.d.ts +0 -17
  701. package/dist/wallet/modal/NordFlow/components/ImageWithFallback.js +0 -33
  702. package/dist/wallet/modal/NordFlow/components/ImageWithFallback.js.map +0 -1
  703. package/dist/wallet/modal/NordFlow/components/TransactionTable.d.ts +0 -13
  704. package/dist/wallet/modal/NordFlow/components/TransactionTable.js +0 -83
  705. package/dist/wallet/modal/NordFlow/components/TransactionTable.js.map +0 -1
  706. package/dist/wallet/modal/NordFlow/components/WaitingMessage.d.ts +0 -8
  707. package/dist/wallet/modal/NordFlow/components/WaitingMessage.js +0 -17
  708. package/dist/wallet/modal/NordFlow/components/WaitingMessage.js.map +0 -1
  709. package/dist/wallet/modal/NordFlow/components/index.d.ts +0 -5
  710. package/dist/wallet/modal/NordFlow/components/index.js +0 -6
  711. package/dist/wallet/modal/NordFlow/components/index.js.map +0 -1
  712. package/dist/wallet/modal/NordFlow/constants.d.ts +0 -31
  713. package/dist/wallet/modal/NordFlow/constants.js +0 -56
  714. package/dist/wallet/modal/NordFlow/constants.js.map +0 -1
  715. package/dist/wallet/modal/NordFlow/context/DepositContext.d.ts +0 -29
  716. package/dist/wallet/modal/NordFlow/context/DepositContext.js +0 -526
  717. package/dist/wallet/modal/NordFlow/context/DepositContext.js.map +0 -1
  718. package/dist/wallet/modal/NordFlow/context/FlowContext.d.ts +0 -50
  719. package/dist/wallet/modal/NordFlow/context/FlowContext.js +0 -192
  720. package/dist/wallet/modal/NordFlow/context/FlowContext.js.map +0 -1
  721. package/dist/wallet/modal/NordFlow/context/NordProvider.d.ts +0 -10
  722. package/dist/wallet/modal/NordFlow/context/NordProvider.js +0 -14
  723. package/dist/wallet/modal/NordFlow/context/NordProvider.js.map +0 -1
  724. package/dist/wallet/modal/NordFlow/context/WalletConnectContext.d.ts +0 -20
  725. package/dist/wallet/modal/NordFlow/context/WalletConnectContext.js +0 -394
  726. package/dist/wallet/modal/NordFlow/context/WalletConnectContext.js.map +0 -1
  727. package/dist/wallet/modal/NordFlow/context/flowMachine.d.ts +0 -48
  728. package/dist/wallet/modal/NordFlow/context/flowMachine.js +0 -83
  729. package/dist/wallet/modal/NordFlow/context/flowMachine.js.map +0 -1
  730. package/dist/wallet/modal/NordFlow/context/index.d.ts +0 -5
  731. package/dist/wallet/modal/NordFlow/context/index.js +0 -8
  732. package/dist/wallet/modal/NordFlow/context/index.js.map +0 -1
  733. package/dist/wallet/modal/NordFlow/hoc/index.d.ts +0 -1
  734. package/dist/wallet/modal/NordFlow/hoc/index.js +0 -2
  735. package/dist/wallet/modal/NordFlow/hoc/index.js.map +0 -1
  736. package/dist/wallet/modal/NordFlow/hoc/withImageFallback.d.ts +0 -7
  737. package/dist/wallet/modal/NordFlow/hoc/withImageFallback.js +0 -61
  738. package/dist/wallet/modal/NordFlow/hoc/withImageFallback.js.map +0 -1
  739. package/dist/wallet/modal/NordFlow/index.d.ts +0 -1
  740. package/dist/wallet/modal/NordFlow/index.js +0 -2
  741. package/dist/wallet/modal/NordFlow/index.js.map +0 -1
  742. package/dist/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.d.ts +0 -1
  743. package/dist/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js +0 -19
  744. package/dist/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js.map +0 -1
  745. package/dist/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.d.ts +0 -1
  746. package/dist/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js +0 -65
  747. package/dist/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js.map +0 -1
  748. package/dist/wallet/modal/NordFlow/screens/03-AmountInputScreen.d.ts +0 -4
  749. package/dist/wallet/modal/NordFlow/screens/03-AmountInputScreen.js +0 -358
  750. package/dist/wallet/modal/NordFlow/screens/03-AmountInputScreen.js.map +0 -1
  751. package/dist/wallet/modal/NordFlow/screens/04-DepositProgressScreen.d.ts +0 -1
  752. package/dist/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js +0 -26
  753. package/dist/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js.map +0 -1
  754. package/dist/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.d.ts +0 -1
  755. package/dist/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js +0 -137
  756. package/dist/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js.map +0 -1
  757. package/dist/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.d.ts +0 -1
  758. package/dist/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js +0 -31
  759. package/dist/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js.map +0 -1
  760. package/dist/wallet/modal/NordFlow/screens/07-ErrorScreen.d.ts +0 -1
  761. package/dist/wallet/modal/NordFlow/screens/07-ErrorScreen.js +0 -14
  762. package/dist/wallet/modal/NordFlow/screens/07-ErrorScreen.js.map +0 -1
  763. package/dist/wallet/modal/NordFlow/screens/index.d.ts +0 -7
  764. package/dist/wallet/modal/NordFlow/screens/index.js +0 -8
  765. package/dist/wallet/modal/NordFlow/screens/index.js.map +0 -1
  766. package/dist/wallet/modal/NordFlow/types.d.ts +0 -113
  767. package/dist/wallet/modal/NordFlow/types.js +0 -34
  768. package/dist/wallet/modal/NordFlow/types.js.map +0 -1
  769. package/dist/wallet/modal/NordFlow/utils/depositStorage.d.ts +0 -4
  770. package/dist/wallet/modal/NordFlow/utils/depositStorage.js +0 -48
  771. package/dist/wallet/modal/NordFlow/utils/depositStorage.js.map +0 -1
  772. package/dist/wallet/modal/NordFlow/utils/imageUtils.d.ts +0 -21
  773. package/dist/wallet/modal/NordFlow/utils/imageUtils.js +0 -110
  774. package/dist/wallet/modal/NordFlow/utils/imageUtils.js.map +0 -1
  775. package/dist/wallet/modal/NordFlow/utils/index.d.ts +0 -2
  776. package/dist/wallet/modal/NordFlow/utils/index.js +0 -3
  777. package/dist/wallet/modal/NordFlow/utils/index.js.map +0 -1
  778. package/dist/wallet/modal/NordFlow/utils/nordUtils.d.ts +0 -40
  779. package/dist/wallet/modal/NordFlow/utils/nordUtils.js +0 -64
  780. package/dist/wallet/modal/NordFlow/utils/nordUtils.js.map +0 -1
  781. package/dist/wallet/modal/flow/NordFlow.d.ts +0 -9
  782. package/dist/wallet/modal/flow/NordFlow.js +0 -98
  783. package/dist/wallet/modal/flow/NordFlow.js.map +0 -1
  784. package/dist/wallet/modal/flow/components/ChainButton.d.ts +0 -10
  785. package/dist/wallet/modal/flow/components/ChainButton.js +0 -21
  786. package/dist/wallet/modal/flow/components/ChainButton.js.map +0 -1
  787. package/dist/wallet/modal/flow/components/Header.d.ts +0 -12
  788. package/dist/wallet/modal/flow/components/Header.js +0 -45
  789. package/dist/wallet/modal/flow/components/Header.js.map +0 -1
  790. package/dist/wallet/modal/flow/components/ImageWithFallback.d.ts +0 -17
  791. package/dist/wallet/modal/flow/components/ImageWithFallback.js +0 -33
  792. package/dist/wallet/modal/flow/components/ImageWithFallback.js.map +0 -1
  793. package/dist/wallet/modal/flow/components/TransactionTable.d.ts +0 -13
  794. package/dist/wallet/modal/flow/components/TransactionTable.js +0 -83
  795. package/dist/wallet/modal/flow/components/TransactionTable.js.map +0 -1
  796. package/dist/wallet/modal/flow/components/WaitingMessage.d.ts +0 -8
  797. package/dist/wallet/modal/flow/components/WaitingMessage.js +0 -17
  798. package/dist/wallet/modal/flow/components/WaitingMessage.js.map +0 -1
  799. package/dist/wallet/modal/flow/components/index.d.ts +0 -5
  800. package/dist/wallet/modal/flow/components/index.js +0 -6
  801. package/dist/wallet/modal/flow/components/index.js.map +0 -1
  802. package/dist/wallet/modal/flow/constants.d.ts +0 -31
  803. package/dist/wallet/modal/flow/constants.js +0 -56
  804. package/dist/wallet/modal/flow/constants.js.map +0 -1
  805. package/dist/wallet/modal/flow/context/DepositContext.d.ts +0 -29
  806. package/dist/wallet/modal/flow/context/DepositContext.js +0 -526
  807. package/dist/wallet/modal/flow/context/DepositContext.js.map +0 -1
  808. package/dist/wallet/modal/flow/context/FlowContext.d.ts +0 -50
  809. package/dist/wallet/modal/flow/context/FlowContext.js +0 -192
  810. package/dist/wallet/modal/flow/context/FlowContext.js.map +0 -1
  811. package/dist/wallet/modal/flow/context/NordProvider.d.ts +0 -10
  812. package/dist/wallet/modal/flow/context/NordProvider.js +0 -14
  813. package/dist/wallet/modal/flow/context/NordProvider.js.map +0 -1
  814. package/dist/wallet/modal/flow/context/WalletConnectContext.d.ts +0 -20
  815. package/dist/wallet/modal/flow/context/WalletConnectContext.js +0 -394
  816. package/dist/wallet/modal/flow/context/WalletConnectContext.js.map +0 -1
  817. package/dist/wallet/modal/flow/context/flowMachine.d.ts +0 -48
  818. package/dist/wallet/modal/flow/context/flowMachine.js +0 -83
  819. package/dist/wallet/modal/flow/context/flowMachine.js.map +0 -1
  820. package/dist/wallet/modal/flow/context/index.d.ts +0 -5
  821. package/dist/wallet/modal/flow/context/index.js +0 -8
  822. package/dist/wallet/modal/flow/context/index.js.map +0 -1
  823. package/dist/wallet/modal/flow/hoc/index.d.ts +0 -1
  824. package/dist/wallet/modal/flow/hoc/index.js +0 -2
  825. package/dist/wallet/modal/flow/hoc/index.js.map +0 -1
  826. package/dist/wallet/modal/flow/hoc/withImageFallback.d.ts +0 -7
  827. package/dist/wallet/modal/flow/hoc/withImageFallback.js +0 -61
  828. package/dist/wallet/modal/flow/hoc/withImageFallback.js.map +0 -1
  829. package/dist/wallet/modal/flow/index.d.ts +0 -1
  830. package/dist/wallet/modal/flow/index.js +0 -2
  831. package/dist/wallet/modal/flow/index.js.map +0 -1
  832. package/dist/wallet/modal/flow/screens/01-ConnectWalletScreen.d.ts +0 -1
  833. package/dist/wallet/modal/flow/screens/01-ConnectWalletScreen.js +0 -19
  834. package/dist/wallet/modal/flow/screens/01-ConnectWalletScreen.js.map +0 -1
  835. package/dist/wallet/modal/flow/screens/02-ChainSelectionScreen.d.ts +0 -1
  836. package/dist/wallet/modal/flow/screens/02-ChainSelectionScreen.js +0 -65
  837. package/dist/wallet/modal/flow/screens/02-ChainSelectionScreen.js.map +0 -1
  838. package/dist/wallet/modal/flow/screens/03-AmountInputScreen.d.ts +0 -4
  839. package/dist/wallet/modal/flow/screens/03-AmountInputScreen.js +0 -358
  840. package/dist/wallet/modal/flow/screens/03-AmountInputScreen.js.map +0 -1
  841. package/dist/wallet/modal/flow/screens/04-DepositProgressScreen.d.ts +0 -1
  842. package/dist/wallet/modal/flow/screens/04-DepositProgressScreen.js +0 -26
  843. package/dist/wallet/modal/flow/screens/04-DepositProgressScreen.js.map +0 -1
  844. package/dist/wallet/modal/flow/screens/05-DepositSuccessScreen.d.ts +0 -1
  845. package/dist/wallet/modal/flow/screens/05-DepositSuccessScreen.js +0 -137
  846. package/dist/wallet/modal/flow/screens/05-DepositSuccessScreen.js.map +0 -1
  847. package/dist/wallet/modal/flow/screens/06-AuthLoadingScreen.d.ts +0 -1
  848. package/dist/wallet/modal/flow/screens/06-AuthLoadingScreen.js +0 -31
  849. package/dist/wallet/modal/flow/screens/06-AuthLoadingScreen.js.map +0 -1
  850. package/dist/wallet/modal/flow/screens/07-ErrorScreen.d.ts +0 -1
  851. package/dist/wallet/modal/flow/screens/07-ErrorScreen.js +0 -14
  852. package/dist/wallet/modal/flow/screens/07-ErrorScreen.js.map +0 -1
  853. package/dist/wallet/modal/flow/screens/index.d.ts +0 -7
  854. package/dist/wallet/modal/flow/screens/index.js +0 -8
  855. package/dist/wallet/modal/flow/screens/index.js.map +0 -1
  856. package/dist/wallet/modal/flow/state/constants.d.ts +0 -31
  857. package/dist/wallet/modal/flow/state/constants.js +0 -56
  858. package/dist/wallet/modal/flow/state/constants.js.map +0 -1
  859. package/dist/wallet/modal/flow/state/context/DepositContext.d.ts +0 -29
  860. package/dist/wallet/modal/flow/state/context/DepositContext.js +0 -526
  861. package/dist/wallet/modal/flow/state/context/DepositContext.js.map +0 -1
  862. package/dist/wallet/modal/flow/state/context/FlowContext.d.ts +0 -50
  863. package/dist/wallet/modal/flow/state/context/FlowContext.js +0 -192
  864. package/dist/wallet/modal/flow/state/context/FlowContext.js.map +0 -1
  865. package/dist/wallet/modal/flow/state/context/NordProvider.d.ts +0 -10
  866. package/dist/wallet/modal/flow/state/context/NordProvider.js +0 -14
  867. package/dist/wallet/modal/flow/state/context/NordProvider.js.map +0 -1
  868. package/dist/wallet/modal/flow/state/context/WalletConnectContext.d.ts +0 -20
  869. package/dist/wallet/modal/flow/state/context/WalletConnectContext.js +0 -394
  870. package/dist/wallet/modal/flow/state/context/WalletConnectContext.js.map +0 -1
  871. package/dist/wallet/modal/flow/state/context/flowMachine.d.ts +0 -48
  872. package/dist/wallet/modal/flow/state/context/flowMachine.js +0 -83
  873. package/dist/wallet/modal/flow/state/context/flowMachine.js.map +0 -1
  874. package/dist/wallet/modal/flow/state/context/index.d.ts +0 -5
  875. package/dist/wallet/modal/flow/state/context/index.js +0 -8
  876. package/dist/wallet/modal/flow/state/context/index.js.map +0 -1
  877. package/dist/wallet/modal/flow/state/types.d.ts +0 -113
  878. package/dist/wallet/modal/flow/state/types.js +0 -34
  879. package/dist/wallet/modal/flow/state/types.js.map +0 -1
  880. package/dist/wallet/modal/flow/state/utils/depositStorage.d.ts +0 -4
  881. package/dist/wallet/modal/flow/state/utils/depositStorage.js +0 -48
  882. package/dist/wallet/modal/flow/state/utils/depositStorage.js.map +0 -1
  883. package/dist/wallet/modal/flow/state/utils/nordUtils.d.ts +0 -40
  884. package/dist/wallet/modal/flow/state/utils/nordUtils.js +0 -64
  885. package/dist/wallet/modal/flow/state/utils/nordUtils.js.map +0 -1
  886. package/dist/wallet/modal/flow/types.d.ts +0 -113
  887. package/dist/wallet/modal/flow/types.js +0 -34
  888. package/dist/wallet/modal/flow/types.js.map +0 -1
  889. package/dist/wallet/modal/flow/ui/NordFlow.d.ts +0 -9
  890. package/dist/wallet/modal/flow/ui/NordFlow.js +0 -98
  891. package/dist/wallet/modal/flow/ui/NordFlow.js.map +0 -1
  892. package/dist/wallet/modal/flow/ui/components/ChainButton.d.ts +0 -10
  893. package/dist/wallet/modal/flow/ui/components/ChainButton.js +0 -21
  894. package/dist/wallet/modal/flow/ui/components/ChainButton.js.map +0 -1
  895. package/dist/wallet/modal/flow/ui/components/Header.d.ts +0 -12
  896. package/dist/wallet/modal/flow/ui/components/Header.js +0 -45
  897. package/dist/wallet/modal/flow/ui/components/Header.js.map +0 -1
  898. package/dist/wallet/modal/flow/ui/components/ImageWithFallback.d.ts +0 -17
  899. package/dist/wallet/modal/flow/ui/components/ImageWithFallback.js +0 -33
  900. package/dist/wallet/modal/flow/ui/components/ImageWithFallback.js.map +0 -1
  901. package/dist/wallet/modal/flow/ui/components/TransactionTable.d.ts +0 -13
  902. package/dist/wallet/modal/flow/ui/components/TransactionTable.js +0 -83
  903. package/dist/wallet/modal/flow/ui/components/TransactionTable.js.map +0 -1
  904. package/dist/wallet/modal/flow/ui/components/WaitingMessage.d.ts +0 -8
  905. package/dist/wallet/modal/flow/ui/components/WaitingMessage.js +0 -17
  906. package/dist/wallet/modal/flow/ui/components/WaitingMessage.js.map +0 -1
  907. package/dist/wallet/modal/flow/ui/components/index.d.ts +0 -5
  908. package/dist/wallet/modal/flow/ui/components/index.js +0 -6
  909. package/dist/wallet/modal/flow/ui/components/index.js.map +0 -1
  910. package/dist/wallet/modal/flow/ui/hoc/index.d.ts +0 -1
  911. package/dist/wallet/modal/flow/ui/hoc/index.js +0 -2
  912. package/dist/wallet/modal/flow/ui/hoc/index.js.map +0 -1
  913. package/dist/wallet/modal/flow/ui/hoc/withImageFallback.d.ts +0 -7
  914. package/dist/wallet/modal/flow/ui/hoc/withImageFallback.js +0 -61
  915. package/dist/wallet/modal/flow/ui/hoc/withImageFallback.js.map +0 -1
  916. package/dist/wallet/modal/flow/ui/screens/01-ConnectWalletScreen.d.ts +0 -1
  917. package/dist/wallet/modal/flow/ui/screens/01-ConnectWalletScreen.js +0 -19
  918. package/dist/wallet/modal/flow/ui/screens/01-ConnectWalletScreen.js.map +0 -1
  919. package/dist/wallet/modal/flow/ui/screens/02-ChainSelectionScreen.d.ts +0 -1
  920. package/dist/wallet/modal/flow/ui/screens/02-ChainSelectionScreen.js +0 -65
  921. package/dist/wallet/modal/flow/ui/screens/02-ChainSelectionScreen.js.map +0 -1
  922. package/dist/wallet/modal/flow/ui/screens/03-AmountInputScreen.d.ts +0 -4
  923. package/dist/wallet/modal/flow/ui/screens/03-AmountInputScreen.js +0 -358
  924. package/dist/wallet/modal/flow/ui/screens/03-AmountInputScreen.js.map +0 -1
  925. package/dist/wallet/modal/flow/ui/screens/04-DepositProgressScreen.d.ts +0 -1
  926. package/dist/wallet/modal/flow/ui/screens/04-DepositProgressScreen.js +0 -26
  927. package/dist/wallet/modal/flow/ui/screens/04-DepositProgressScreen.js.map +0 -1
  928. package/dist/wallet/modal/flow/ui/screens/05-DepositSuccessScreen.d.ts +0 -1
  929. package/dist/wallet/modal/flow/ui/screens/05-DepositSuccessScreen.js +0 -137
  930. package/dist/wallet/modal/flow/ui/screens/05-DepositSuccessScreen.js.map +0 -1
  931. package/dist/wallet/modal/flow/ui/screens/06-AuthLoadingScreen.d.ts +0 -1
  932. package/dist/wallet/modal/flow/ui/screens/06-AuthLoadingScreen.js +0 -31
  933. package/dist/wallet/modal/flow/ui/screens/06-AuthLoadingScreen.js.map +0 -1
  934. package/dist/wallet/modal/flow/ui/screens/07-ErrorScreen.d.ts +0 -1
  935. package/dist/wallet/modal/flow/ui/screens/07-ErrorScreen.js +0 -14
  936. package/dist/wallet/modal/flow/ui/screens/07-ErrorScreen.js.map +0 -1
  937. package/dist/wallet/modal/flow/ui/screens/index.d.ts +0 -7
  938. package/dist/wallet/modal/flow/ui/screens/index.js +0 -8
  939. package/dist/wallet/modal/flow/ui/screens/index.js.map +0 -1
  940. package/dist/wallet/modal/flow/ui/utils/imageUtils.d.ts +0 -21
  941. package/dist/wallet/modal/flow/ui/utils/imageUtils.js +0 -110
  942. package/dist/wallet/modal/flow/ui/utils/imageUtils.js.map +0 -1
  943. package/dist/wallet/modal/flow/utils/depositStorage.d.ts +0 -4
  944. package/dist/wallet/modal/flow/utils/depositStorage.js +0 -48
  945. package/dist/wallet/modal/flow/utils/depositStorage.js.map +0 -1
  946. package/dist/wallet/modal/flow/utils/imageUtils.d.ts +0 -21
  947. package/dist/wallet/modal/flow/utils/imageUtils.js +0 -110
  948. package/dist/wallet/modal/flow/utils/imageUtils.js.map +0 -1
  949. package/dist/wallet/modal/flow/utils/index.d.ts +0 -2
  950. package/dist/wallet/modal/flow/utils/index.js +0 -3
  951. package/dist/wallet/modal/flow/utils/index.js.map +0 -1
  952. package/dist/wallet/modal/flow/utils/nordUtils.d.ts +0 -40
  953. package/dist/wallet/modal/flow/utils/nordUtils.js +0 -64
  954. package/dist/wallet/modal/flow/utils/nordUtils.js.map +0 -1
  955. package/dist/wallet/provider/LazyWalletProvider.d.ts +0 -1
  956. package/dist/wallet/provider/LazyWalletProvider.js +0 -230
  957. package/dist/wallet/provider/LazyWalletProvider.js.map +0 -1
  958. package/dist/wallet/provider/N1WalletProvider.d.ts +0 -3
  959. package/dist/wallet/provider/N1WalletProvider.js +0 -266
  960. package/dist/wallet/provider/N1WalletProvider.js.map +0 -1
  961. package/dist/wallet/provider/ShadowRootWrapper.d.ts +0 -7
  962. package/dist/wallet/provider/ShadowRootWrapper.js +0 -7
  963. package/dist/wallet/provider/ShadowRootWrapper.js.map +0 -1
  964. package/dist/wallet/provider/WalletErrorBoundary.d.ts +0 -17
  965. package/dist/wallet/provider/WalletErrorBoundary.js +0 -57
  966. package/dist/wallet/provider/WalletErrorBoundary.js.map +0 -1
  967. package/dist/wallet/provider/context.d.ts +0 -3
  968. package/dist/wallet/provider/context.js +0 -5
  969. package/dist/wallet/provider/context.js.map +0 -1
  970. package/dist/wallet/provider/hooks/useNordUserInitialization.d.ts +0 -1
  971. package/dist/wallet/provider/hooks/useNordUserInitialization.js +0 -306
  972. package/dist/wallet/provider/hooks/useNordUserInitialization.js.map +0 -1
  973. package/dist/wallet/provider/hooks.d.ts +0 -2
  974. package/dist/wallet/provider/hooks.js +0 -17
  975. package/dist/wallet/provider/hooks.js.map +0 -1
  976. package/dist/wallet/provider/index.d.ts +0 -3
  977. package/dist/wallet/provider/index.js +0 -4
  978. package/dist/wallet/provider/index.js.map +0 -1
  979. package/dist/wallet/provider/types.d.ts +0 -152
  980. package/dist/wallet/provider/types.js +0 -21
  981. package/dist/wallet/provider/types.js.map +0 -1
  982. package/dist/wallet/state/flow/constants.d.ts +0 -31
  983. package/dist/wallet/state/flow/constants.js +0 -56
  984. package/dist/wallet/state/flow/constants.js.map +0 -1
  985. package/dist/wallet/state/flow/context/DepositContext.d.ts +0 -29
  986. package/dist/wallet/state/flow/context/DepositContext.js +0 -525
  987. package/dist/wallet/state/flow/context/DepositContext.js.map +0 -1
  988. package/dist/wallet/state/flow/context/FlowContext.d.ts +0 -50
  989. package/dist/wallet/state/flow/context/FlowContext.js +0 -191
  990. package/dist/wallet/state/flow/context/FlowContext.js.map +0 -1
  991. package/dist/wallet/state/flow/context/NordProvider.d.ts +0 -10
  992. package/dist/wallet/state/flow/context/NordProvider.js +0 -14
  993. package/dist/wallet/state/flow/context/NordProvider.js.map +0 -1
  994. package/dist/wallet/state/flow/context/WalletConnectContext.d.ts +0 -20
  995. package/dist/wallet/state/flow/context/WalletConnectContext.js +0 -393
  996. package/dist/wallet/state/flow/context/WalletConnectContext.js.map +0 -1
  997. package/dist/wallet/state/flow/context/flowMachine.d.ts +0 -48
  998. package/dist/wallet/state/flow/context/flowMachine.js +0 -83
  999. package/dist/wallet/state/flow/context/flowMachine.js.map +0 -1
  1000. package/dist/wallet/state/flow/context/index.d.ts +0 -5
  1001. package/dist/wallet/state/flow/context/index.js +0 -8
  1002. package/dist/wallet/state/flow/context/index.js.map +0 -1
  1003. package/dist/wallet/state/flow/types.d.ts +0 -113
  1004. package/dist/wallet/state/flow/types.js +0 -34
  1005. package/dist/wallet/state/flow/types.js.map +0 -1
  1006. package/dist/wallet/state/flow/utils/depositStorage.d.ts +0 -4
  1007. package/dist/wallet/state/flow/utils/depositStorage.js +0 -48
  1008. package/dist/wallet/state/flow/utils/depositStorage.js.map +0 -1
  1009. package/dist/wallet/state/flow/utils/nordUtils.d.ts +0 -40
  1010. package/dist/wallet/state/flow/utils/nordUtils.js +0 -64
  1011. package/dist/wallet/state/flow/utils/nordUtils.js.map +0 -1
  1012. package/dist/wallet/state/logic/getPseudoName.d.ts +0 -1
  1013. package/dist/wallet/state/logic/getPseudoName.js +0 -5826
  1014. package/dist/wallet/state/logic/getPseudoName.js.map +0 -1
  1015. package/dist/wallet/state/logic/sessionManager.d.ts +0 -17
  1016. package/dist/wallet/state/logic/sessionManager.js +0 -38
  1017. package/dist/wallet/state/logic/sessionManager.js.map +0 -1
  1018. package/dist/wallet/state/logic/transactionManager.d.ts +0 -19
  1019. package/dist/wallet/state/logic/transactionManager.js +0 -8
  1020. package/dist/wallet/state/logic/transactionManager.js.map +0 -1
  1021. package/dist/wallet/state/logic/utils.d.ts +0 -19
  1022. package/dist/wallet/state/logic/utils.js +0 -66
  1023. package/dist/wallet/state/logic/utils.js.map +0 -1
  1024. package/dist/wallet/state/logic/words.d.ts +0 -9
  1025. package/dist/wallet/state/logic/words.js +0 -93572
  1026. package/dist/wallet/state/logic/words.js.map +0 -1
  1027. package/dist/wallet/state/provider/LazyWalletProvider.d.ts +0 -1
  1028. package/dist/wallet/state/provider/LazyWalletProvider.js +0 -230
  1029. package/dist/wallet/state/provider/LazyWalletProvider.js.map +0 -1
  1030. package/dist/wallet/state/provider/N1WalletProvider.d.ts +0 -3
  1031. package/dist/wallet/state/provider/N1WalletProvider.js +0 -266
  1032. package/dist/wallet/state/provider/N1WalletProvider.js.map +0 -1
  1033. package/dist/wallet/state/provider/WalletErrorBoundary.d.ts +0 -17
  1034. package/dist/wallet/state/provider/WalletErrorBoundary.js +0 -57
  1035. package/dist/wallet/state/provider/WalletErrorBoundary.js.map +0 -1
  1036. package/dist/wallet/state/provider/context.d.ts +0 -5
  1037. package/dist/wallet/state/provider/context.js +0 -5
  1038. package/dist/wallet/state/provider/context.js.map +0 -1
  1039. package/dist/wallet/state/provider/hooks/useNordUserInitialization.d.ts +0 -1
  1040. package/dist/wallet/state/provider/hooks/useNordUserInitialization.js +0 -306
  1041. package/dist/wallet/state/provider/hooks/useNordUserInitialization.js.map +0 -1
  1042. package/dist/wallet/state/provider/hooks.d.ts +0 -2
  1043. package/dist/wallet/state/provider/hooks.js +0 -17
  1044. package/dist/wallet/state/provider/hooks.js.map +0 -1
  1045. package/dist/wallet/state/provider/index.d.ts +0 -3
  1046. package/dist/wallet/state/provider/index.js +0 -4
  1047. package/dist/wallet/state/provider/index.js.map +0 -1
  1048. package/dist/wallet/state/provider/types.d.ts +0 -152
  1049. package/dist/wallet/state/provider/types.js +0 -21
  1050. package/dist/wallet/state/provider/types.js.map +0 -1
  1051. package/dist/wallet/state/utils/getPseudoName.d.ts +0 -1
  1052. package/dist/wallet/state/utils/getPseudoName.js +0 -5826
  1053. package/dist/wallet/state/utils/getPseudoName.js.map +0 -1
  1054. package/dist/wallet/state/utils/sessionManager.d.ts +0 -17
  1055. package/dist/wallet/state/utils/sessionManager.js +0 -38
  1056. package/dist/wallet/state/utils/sessionManager.js.map +0 -1
  1057. package/dist/wallet/state/utils/transactionManager.d.ts +0 -19
  1058. package/dist/wallet/state/utils/transactionManager.js +0 -8
  1059. package/dist/wallet/state/utils/transactionManager.js.map +0 -1
  1060. package/dist/wallet/state/utils/utils.d.ts +0 -18
  1061. package/dist/wallet/state/utils/utils.js +0 -66
  1062. package/dist/wallet/state/utils/utils.js.map +0 -1
  1063. package/dist/wallet/state/utils/words.d.ts +0 -9
  1064. package/dist/wallet/state/utils/words.js +0 -93572
  1065. package/dist/wallet/state/utils/words.js.map +0 -1
  1066. package/dist/wallet/styles/embeddedStyles.d.ts +0 -2
  1067. package/dist/wallet/styles/embeddedStyles.js +0 -3
  1068. package/dist/wallet/styles/embeddedStyles.js.map +0 -1
  1069. package/dist/wallet/ui/N1ConnectButton.d.ts +0 -5
  1070. package/dist/wallet/ui/N1ConnectButton.js +0 -49
  1071. package/dist/wallet/ui/N1ConnectButton.js.map +0 -1
  1072. package/dist/wallet/ui/ShadowRootWrapper.d.ts +0 -7
  1073. package/dist/wallet/ui/ShadowRootWrapper.js +0 -7
  1074. package/dist/wallet/ui/ShadowRootWrapper.js.map +0 -1
  1075. package/dist/wallet/ui/modal/LoadingFallback.d.ts +0 -2
  1076. package/dist/wallet/ui/modal/LoadingFallback.js +0 -3
  1077. package/dist/wallet/ui/modal/LoadingFallback.js.map +0 -1
  1078. package/dist/wallet/ui/modal/N1WalletModal.d.ts +0 -2
  1079. package/dist/wallet/ui/modal/N1WalletModal.js +0 -93
  1080. package/dist/wallet/ui/modal/N1WalletModal.js.map +0 -1
  1081. package/dist/wallet/ui/modal/flow/NordFlow.d.ts +0 -9
  1082. package/dist/wallet/ui/modal/flow/NordFlow.js +0 -98
  1083. package/dist/wallet/ui/modal/flow/NordFlow.js.map +0 -1
  1084. package/dist/wallet/ui/modal/flow/components/ChainButton.d.ts +0 -10
  1085. package/dist/wallet/ui/modal/flow/components/ChainButton.js +0 -21
  1086. package/dist/wallet/ui/modal/flow/components/ChainButton.js.map +0 -1
  1087. package/dist/wallet/ui/modal/flow/components/Header.d.ts +0 -12
  1088. package/dist/wallet/ui/modal/flow/components/Header.js +0 -45
  1089. package/dist/wallet/ui/modal/flow/components/Header.js.map +0 -1
  1090. package/dist/wallet/ui/modal/flow/components/ImageWithFallback.d.ts +0 -17
  1091. package/dist/wallet/ui/modal/flow/components/ImageWithFallback.js +0 -33
  1092. package/dist/wallet/ui/modal/flow/components/ImageWithFallback.js.map +0 -1
  1093. package/dist/wallet/ui/modal/flow/components/TransactionTable.d.ts +0 -13
  1094. package/dist/wallet/ui/modal/flow/components/TransactionTable.js +0 -83
  1095. package/dist/wallet/ui/modal/flow/components/TransactionTable.js.map +0 -1
  1096. package/dist/wallet/ui/modal/flow/components/WaitingMessage.d.ts +0 -8
  1097. package/dist/wallet/ui/modal/flow/components/WaitingMessage.js +0 -17
  1098. package/dist/wallet/ui/modal/flow/components/WaitingMessage.js.map +0 -1
  1099. package/dist/wallet/ui/modal/flow/components/index.d.ts +0 -5
  1100. package/dist/wallet/ui/modal/flow/components/index.js +0 -6
  1101. package/dist/wallet/ui/modal/flow/components/index.js.map +0 -1
  1102. package/dist/wallet/ui/modal/flow/hoc/index.d.ts +0 -1
  1103. package/dist/wallet/ui/modal/flow/hoc/index.js +0 -2
  1104. package/dist/wallet/ui/modal/flow/hoc/index.js.map +0 -1
  1105. package/dist/wallet/ui/modal/flow/hoc/withImageFallback.d.ts +0 -7
  1106. package/dist/wallet/ui/modal/flow/hoc/withImageFallback.js +0 -61
  1107. package/dist/wallet/ui/modal/flow/hoc/withImageFallback.js.map +0 -1
  1108. package/dist/wallet/ui/modal/flow/index.d.ts +0 -1
  1109. package/dist/wallet/ui/modal/flow/index.js +0 -2
  1110. package/dist/wallet/ui/modal/flow/index.js.map +0 -1
  1111. package/dist/wallet/ui/modal/flow/screens/01-ConnectWalletScreen.d.ts +0 -1
  1112. package/dist/wallet/ui/modal/flow/screens/01-ConnectWalletScreen.js +0 -19
  1113. package/dist/wallet/ui/modal/flow/screens/01-ConnectWalletScreen.js.map +0 -1
  1114. package/dist/wallet/ui/modal/flow/screens/02-ChainSelectionScreen.d.ts +0 -1
  1115. package/dist/wallet/ui/modal/flow/screens/02-ChainSelectionScreen.js +0 -65
  1116. package/dist/wallet/ui/modal/flow/screens/02-ChainSelectionScreen.js.map +0 -1
  1117. package/dist/wallet/ui/modal/flow/screens/03-AmountInputScreen.d.ts +0 -4
  1118. package/dist/wallet/ui/modal/flow/screens/03-AmountInputScreen.js +0 -358
  1119. package/dist/wallet/ui/modal/flow/screens/03-AmountInputScreen.js.map +0 -1
  1120. package/dist/wallet/ui/modal/flow/screens/04-DepositProgressScreen.d.ts +0 -1
  1121. package/dist/wallet/ui/modal/flow/screens/04-DepositProgressScreen.js +0 -26
  1122. package/dist/wallet/ui/modal/flow/screens/04-DepositProgressScreen.js.map +0 -1
  1123. package/dist/wallet/ui/modal/flow/screens/05-DepositSuccessScreen.d.ts +0 -1
  1124. package/dist/wallet/ui/modal/flow/screens/05-DepositSuccessScreen.js +0 -137
  1125. package/dist/wallet/ui/modal/flow/screens/05-DepositSuccessScreen.js.map +0 -1
  1126. package/dist/wallet/ui/modal/flow/screens/06-AuthLoadingScreen.d.ts +0 -1
  1127. package/dist/wallet/ui/modal/flow/screens/06-AuthLoadingScreen.js +0 -31
  1128. package/dist/wallet/ui/modal/flow/screens/06-AuthLoadingScreen.js.map +0 -1
  1129. package/dist/wallet/ui/modal/flow/screens/07-ErrorScreen.d.ts +0 -1
  1130. package/dist/wallet/ui/modal/flow/screens/07-ErrorScreen.js +0 -14
  1131. package/dist/wallet/ui/modal/flow/screens/07-ErrorScreen.js.map +0 -1
  1132. package/dist/wallet/ui/modal/flow/screens/index.d.ts +0 -7
  1133. package/dist/wallet/ui/modal/flow/screens/index.js +0 -8
  1134. package/dist/wallet/ui/modal/flow/screens/index.js.map +0 -1
  1135. package/dist/wallet/ui/modal/flow/utils/imageUtils.d.ts +0 -21
  1136. package/dist/wallet/ui/modal/flow/utils/imageUtils.js +0 -110
  1137. package/dist/wallet/ui/modal/flow/utils/imageUtils.js.map +0 -1
  1138. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Bold-Italic-Trial.otf +0 -0
  1139. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Bold-Trial.otf +0 -0
  1140. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Extra-Bold-Italic-Trial.otf +0 -0
  1141. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Extra-Bold-Trial.otf +0 -0
  1142. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Light-Italic-Trial.otf +0 -0
  1143. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Light-Trial.otf +0 -0
  1144. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Medium-Italic-Trial.otf +0 -0
  1145. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Medium-Trial.otf +0 -0
  1146. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Regular-Italic-Trial.otf +0 -0
  1147. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Regular-Trial.otf +0 -0
  1148. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Semi-Bold-Italic-Trial.otf +0 -0
  1149. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Semi-Bold-Trial.otf +0 -0
  1150. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Thin-Italic-Trial.otf +0 -0
  1151. /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Thin-Trial.otf +0 -0
  1152. /package/dist/{main.css → styles/main.css} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/wallet/provider/types.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB,2DAAW,CAAA;IACX,uEAAiB,CAAA;IACjB,2DAAW,CAAA;IACX,qEAAgB,CAAA;IAChB,2DAAW,CAAA;IACX,yEAAkB,CAAA;IAClB,yEAAkB,CAAA;IAClB,uDAAS,CAAA;IACT,mEAA0B,CAAA;IAC1B,2EAAyB,CAAA;IACzB,mEAA2B,CAAA;IAC3B,qEAAsB,CAAA;IACtB,gEAAc,CAAA;AAChB,CAAC,EAdW,eAAe,KAAf,eAAe,QAc1B;AAED,MAAM,CAAN,IAAY,aAEX;AAFD,WAAY,aAAa;IACvB,iDAAI,CAAA;AACN,CAAC,EAFW,aAAa,KAAb,aAAa,QAExB","sourcesContent":["import type { WalletError } from '@shared/errors/types';\nimport type { Nord } from '@n1xyz/nord-ts';\n\nexport enum N1ModalViewMode {\n Connect = 0,\n CreateSession = 1,\n Signing = 2,\n CreatingUser = 3,\n Success = 4,\n ChainSelection = 6,\n DepositSuccess = 7,\n Error = 8,\n AmountInput = CreatingUser,\n DepositProgress = Signing,\n AuthLoading = CreateSession,\n FinalSuccess = Success,\n Automatic = 99,\n}\n\nexport enum N1SessionMode {\n Nord,\n}\n\nexport interface CssColorOverride {\n color: string; // Color to find in CSS (e.g. '#3b82f6')\n replacement: string; // Replacement color (e.g. '#afafaf')\n}\n\nexport interface N1WalletProviderProps {\n children: React.ReactNode;\n providedSessionMode: N1SessionMode;\n appId: string;\n onError?: (error: WalletError) => void;\n nord?: Nord | null;\n /**\n * Optional array of color overrides: [{color: '#original', replacement: '#new'}]\n */\n colorOverrides?: CssColorOverride[];\n /**\n * If true, skip the final success screen and immediately call onDone\n */\n skipFinalScreen?: boolean;\n}\n\nexport interface Balance {\n mint: string;\n balance: bigint;\n appId: string;\n appType: string;\n}\n\nexport interface N1NordFunctions {\n // Market information functions\n getMarkets: () => Promise<any[]>;\n getOrderbook: (symbol: string) => Promise<any>;\n getTrades: (params: any) => Promise<any>;\n getMarketsStats: () => Promise<any>;\n\n // Trading functions\n placeOrder: (params: {\n sessionId: bigint | string;\n marketId: number;\n side: 'BUY' | 'SELL';\n fillMode: 'GTC' | 'IOC' | 'FOK' | 'POST_ONLY';\n isReduceOnly: boolean;\n size?: number | string;\n price?: number | string;\n quoteSize?: number | string;\n clientOrderId?: bigint | string;\n }) => Promise<bigint | undefined>;\n\n cancelOrder: (params: {\n sessionId: bigint | string;\n orderId: bigint | string;\n }) => Promise<bigint>;\n\n // Account management\n createSession: (params: {\n userPubkey: Uint8Array;\n sessionPubkey: Uint8Array;\n expiryTimestamp?: bigint;\n }) => Promise<bigint>;\n\n revokeSession: (params: { sessionId: bigint | string }) => Promise<void>;\n\n withdraw: (params: {\n sessionId: bigint | string;\n tokenId: number;\n amount: number;\n }) => Promise<void>;\n\n transfer: (params: {\n sessionId: bigint | string;\n fromAccountId: number;\n toAccountId?: number;\n tokenId: number;\n tokenDecimals: number;\n amount: number | string;\n }) => Promise<number | undefined>;\n\n // Blockchain information\n getTimestamp: () => Promise<bigint>;\n getActionNonce: () => Promise<number>;\n\n // Block and action queries\n queryBlock: (query: any) => Promise<any>;\n queryLastNBlocks: () => Promise<any>;\n queryRecentBlocks: (last_n: number) => Promise<any>;\n queryAction: (query: any) => Promise<any>;\n queryRecentActions: (last_n: number) => Promise<any>;\n getActions: (fromActionId: number, toActionId: number) => Promise<any>;\n}\n\nexport interface N1WalletState {\n address: string;\n appId: string | null;\n balances: Balance[];\n chain: string;\n isConnected: boolean;\n sessionMode: N1SessionMode;\n sessionPubKey: Uint8Array | null;\n setShowLogin: (show: boolean) => void;\n startDepositFlow: () => boolean;\n setViewMode: (mode: N1ModalViewMode) => void;\n showLogin: boolean;\n signMessageWithSessionKey: ((message: any) => Promise<any>) | null;\n signMessageWithWalletKey: ((message: any) => Promise<any>) | null;\n signTransactionWithWalletKey: ((transaction: any) => Promise<any>) | null;\n userChain: string | null;\n username: string;\n viewMode: N1ModalViewMode;\n walletPubKey: Uint8Array | null;\n throwTestError: () => Promise<void>;\n nord?: Nord | null;\n nordUser?: any;\n disconnectWallet: () => void;\n}\n\nexport interface N1InternalWalletState {\n dynamicHandleLogOut: any;\n dynamicWallet: any;\n loading: boolean;\n dynamicSdkHasLoaded: any;\n handleError: (error: WalletError) => void;\n setDynamicSdkHasLoaded: (loaded: any) => void;\n setAddress: (address: string) => void;\n setBalances: (balances: Balance[]) => void;\n setChain: (chain: string) => void;\n setDynamicHandleLogOut: (handler: any) => void;\n setDynamicWallet: (wallet: any) => void;\n setIsConnected: (connected: boolean) => void;\n setLoading: (loading: boolean) => void;\n blockModalReopen: (duration?: number) => void;\n setSessionPubKey: (key: Uint8Array | null) => void;\n setSignMessageWithSessionKey: React.Dispatch<\n React.SetStateAction<((message: any) => Promise<any>) | null>\n >;\n setSignMessageWithWalletKey: React.Dispatch<\n React.SetStateAction<((message: any) => Promise<any>) | null>\n >;\n setSignTransactionWithWalletKey: React.Dispatch<\n React.SetStateAction<((transaction: any) => Promise<any>) | null>\n >;\n setStartClosingLogin: (closing: boolean) => void;\n setUsername: (username: string) => void;\n setUserChain: (chain: string | null) => void;\n setViewMode: (mode: N1ModalViewMode) => void;\n setWalletPubKey: (key: Uint8Array | null) => void;\n setNordUser: (user: any) => void;\n setDisconnectWalletHandler: (handler: () => void) => void;\n startClosingLogin: boolean;\n showDynamicWidget: any;\n setShowDynamicWidget: (show: any) => void;\n sessionMode: N1SessionMode;\n skipFinalScreen?: boolean;\n depositFlowRequestId: number;\n}\n"]}
@@ -1,31 +0,0 @@
1
- export declare const ANIMATION_EASE = "cubic-bezier(0.16, 1, 0.3, 1)";
2
- export declare const TYPING_INTERVAL = 50;
3
- export declare const ANIMATION_DURATION = 3000;
4
- export declare const MIN_DEPOSIT = 10000;
5
- export declare const MAX_DEPOSIT = 10000;
6
- export declare const INITIAL_APPS: {
7
- name: string;
8
- color: string;
9
- progress: number;
10
- }[];
11
- /**
12
- * Available chains for deposit
13
- */
14
- export declare const AVAILABLE_CHAINS: {
15
- id: string;
16
- name: string;
17
- logo: string;
18
- }[];
19
- export declare const CHAINS: {
20
- id: string;
21
- name: string;
22
- logo: string;
23
- }[];
24
- /**
25
- * Local storage key for persisting flow state
26
- */
27
- export declare const FLOW_STATE_STORAGE_KEY = "n1_wallet_connection_flow_state";
28
- /**
29
- * Time in milliseconds after which a persisted state is considered stale
30
- */
31
- export declare const STATE_EXPIRY_TIME: number;
@@ -1,56 +0,0 @@
1
- export var ANIMATION_EASE = 'cubic-bezier(0.16, 1, 0.3, 1)';
2
- export var TYPING_INTERVAL = 50;
3
- export var ANIMATION_DURATION = 3000;
4
- export var MIN_DEPOSIT = 10000;
5
- export var MAX_DEPOSIT = 10000;
6
- export var INITIAL_APPS = Array.from({ length: 20 }, function (_, i) { return ({
7
- name: "App".concat(i + 1),
8
- color: '#ff2b1f',
9
- progress: 0,
10
- }); });
11
- /**
12
- * Available chains for deposit
13
- */
14
- export var AVAILABLE_CHAINS = [
15
- {
16
- id: 'ethereum',
17
- name: 'Ethereum',
18
- logo: 'ethereum-logo.svg',
19
- },
20
- {
21
- id: 'solana',
22
- name: 'Solana',
23
- logo: 'solana-logo.svg',
24
- },
25
- ];
26
- export var CHAINS = [
27
- {
28
- id: 'ethereum',
29
- name: 'Ethereum',
30
- logo: '/images/chains/ethereum.svg',
31
- },
32
- {
33
- id: 'polygon',
34
- name: 'Polygon',
35
- logo: '/images/chains/polygon.svg',
36
- },
37
- {
38
- id: 'arbitrum',
39
- name: 'Arbitrum',
40
- logo: '/images/chains/arbitrum.svg',
41
- },
42
- {
43
- id: 'optimism',
44
- name: 'Optimism',
45
- logo: '/images/chains/optimism.svg',
46
- },
47
- ];
48
- /**
49
- * Local storage key for persisting flow state
50
- */
51
- export var FLOW_STATE_STORAGE_KEY = 'n1_wallet_connection_flow_state';
52
- /**
53
- * Time in milliseconds after which a persisted state is considered stale
54
- */
55
- export var STATE_EXPIRY_TIME = 30 * 60 * 1000; // 30 minutes
56
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/wallet/state/flow/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,cAAc,GAAG,+BAA+B,CAAC;AAC9D,MAAM,CAAC,IAAM,eAAe,GAAG,EAAE,CAAC;AAClC,MAAM,CAAC,IAAM,kBAAkB,GAAG,IAAI,CAAC;AAEvC,MAAM,CAAC,IAAM,WAAW,GAAG,KAAK,CAAC;AACjC,MAAM,CAAC,IAAM,WAAW,GAAG,KAAK,CAAC;AAEjC,MAAM,CAAC,IAAM,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,UAAC,CAAC,EAAE,CAAC,IAAK,OAAA,CAAC;IAChE,IAAI,EAAE,aAAM,CAAC,GAAG,CAAC,CAAE;IACnB,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,CAAC;CACZ,CAAC,EAJ+D,CAI/D,CAAC,CAAC;AAEJ;;GAEG;AACH,MAAM,CAAC,IAAM,gBAAgB,GAAG;IAC9B;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,mBAAmB;KAC1B;IACD;QACE,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,iBAAiB;KACxB;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,MAAM,GAAG;IACpB;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,6BAA6B;KACpC;IACD;QACE,EAAE,EAAE,SAAS;QACb,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,4BAA4B;KACnC;IACD;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,6BAA6B;KACpC;IACD;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,6BAA6B;KACpC;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,IAAM,sBAAsB,GAAG,iCAAiC,CAAC;AAExE;;GAEG;AACH,MAAM,CAAC,IAAM,iBAAiB,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,aAAa","sourcesContent":["export const ANIMATION_EASE = 'cubic-bezier(0.16, 1, 0.3, 1)';\nexport const TYPING_INTERVAL = 50;\nexport const ANIMATION_DURATION = 3000;\n\nexport const MIN_DEPOSIT = 10000;\nexport const MAX_DEPOSIT = 10000;\n\nexport const INITIAL_APPS = Array.from({ length: 20 }, (_, i) => ({\n name: `App${i + 1}`,\n color: '#ff2b1f',\n progress: 0,\n}));\n\n/**\n * Available chains for deposit\n */\nexport const AVAILABLE_CHAINS = [\n {\n id: 'ethereum',\n name: 'Ethereum',\n logo: 'ethereum-logo.svg',\n },\n {\n id: 'solana',\n name: 'Solana',\n logo: 'solana-logo.svg',\n },\n];\n\nexport const CHAINS = [\n {\n id: 'ethereum',\n name: 'Ethereum',\n logo: '/images/chains/ethereum.svg',\n },\n {\n id: 'polygon',\n name: 'Polygon',\n logo: '/images/chains/polygon.svg',\n },\n {\n id: 'arbitrum',\n name: 'Arbitrum',\n logo: '/images/chains/arbitrum.svg',\n },\n {\n id: 'optimism',\n name: 'Optimism',\n logo: '/images/chains/optimism.svg',\n },\n];\n\n/**\n * Local storage key for persisting flow state\n */\nexport const FLOW_STATE_STORAGE_KEY = 'n1_wallet_connection_flow_state';\n\n/**\n * Time in milliseconds after which a persisted state is considered stale\n */\nexport const STATE_EXPIRY_TIME = 30 * 60 * 1000; // 30 minutes\n"]}
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import { TransactionResult } from '@wallet/state/utils/transactionManager';
3
- type DepositProgressPhase = 'solana' | 'nord';
4
- export interface DepositContextValue {
5
- amount: string;
6
- isDepositing: boolean;
7
- depositProgressPhase: DepositProgressPhase;
8
- transactionId: string | null;
9
- transactionResult: TransactionResult | null;
10
- authStatus: 'loading' | 'success' | 'error';
11
- authErrorMessage: string | null;
12
- authStatusMessage: string | null;
13
- updateAmount: (newAmount: string) => void;
14
- startDeposit: () => Promise<void>;
15
- completeDeposit: () => void;
16
- performAuth: () => Promise<void>;
17
- }
18
- interface DepositProviderProps {
19
- children: React.ReactNode;
20
- }
21
- /**
22
- * Provider component for the deposit context
23
- */
24
- export declare const DepositProvider: React.FC<DepositProviderProps>;
25
- /**
26
- * Hook to use the deposit context
27
- */
28
- export declare const useDepositContext: () => DepositContextValue;
29
- export {};
@@ -1,525 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- var __generator = (this && this.__generator) || function (thisArg, body) {
11
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
12
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
- function verb(n) { return function (v) { return step([n, v]); }; }
14
- function step(op) {
15
- if (f) throw new TypeError("Generator is already executing.");
16
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
- if (y = 0, t) op = [op[0] & 2, t.value];
19
- switch (op[0]) {
20
- case 0: case 1: t = op; break;
21
- case 4: _.label++; return { value: op[1], done: false };
22
- case 5: _.label++; y = op[1]; op = [0]; continue;
23
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
24
- default:
25
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
26
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
27
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
28
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29
- if (t[2]) _.ops.pop();
30
- _.trys.pop(); continue;
31
- }
32
- op = body.call(thisArg, _);
33
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
34
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
- }
36
- };
37
- import React, { createContext, useCallback, useContext, useEffect, useRef, useState } from 'react';
38
- import { PublicKey } from '@solana/web3.js';
39
- import { getExplorerUrl, } from '@wallet/state/utils/transactionManager';
40
- import { useN1WalletContext } from '@wallet/provider/hooks';
41
- import { logger } from '@shared/utils/logger';
42
- import { AVAILABLE_CHAINS } from '@wallet/state/flow/constants';
43
- import { FlowState } from '@wallet/state/flow/types';
44
- import { useFlowStateContext } from '@wallet/state/flow/context/FlowContext';
45
- import { clearLastDepositRecord, saveLastDepositRecord } from '@wallet/state/flow/utils/depositStorage';
46
- var DEPOSIT_POLL_INTERVAL_MS = 5000;
47
- var SLOT_LOOKUP_TIMEOUT_MS = 2 * 60 * 1000;
48
- var DEPOSIT_EVENT_TIMEOUT_MS = 5 * 60 * 1000;
49
- var NORD_ACK_TIMEOUT_MS = 5 * 60 * 1000;
50
- // Create the context with a default value
51
- var DepositContext = createContext(undefined);
52
- /**
53
- * Provider component for the deposit context
54
- */
55
- export var DepositProvider = function (_a) {
56
- var children = _a.children;
57
- // Get flow state context
58
- var _b = useFlowStateContext(), state = _b.state, context = _b.context, flowActions = _b.actions, updateContext = _b.updateContext, isDebugOverride = _b.isDebugOverride;
59
- // Get wallet context
60
- var _c = useN1WalletContext(), address = _c.address, nord = _c.nord, nordUser = _c.nordUser;
61
- // chain
62
- var _d = useState(context.selectedChain), selectedChain = _d[0], setSelectedChain = _d[1];
63
- // transaction & deposit
64
- var _e = useState(context.amount), amount = _e[0], setAmount = _e[1];
65
- var _f = useState(false), isDepositing = _f[0], setIsDepositing = _f[1];
66
- var _g = useState('solana'), depositProgressPhase = _g[0], setDepositProgressPhase = _g[1];
67
- var _h = useState(context.transactionId), transactionId = _h[0], setTransactionId = _h[1];
68
- var _j = useState(null), transactionResult = _j[0], setTransactionResult = _j[1];
69
- // auth
70
- var _k = useState('loading'), authStatus = _k[0], setAuthStatus = _k[1];
71
- var _l = useState(null), authErrorMessage = _l[0], setAuthErrorMessage = _l[1];
72
- var _m = useState(null), authStatusMessage = _m[0], setAuthStatusMessage = _m[1];
73
- // Use refs to track previous values
74
- var prevContextRef = useRef(context);
75
- /**
76
- * Handle an error by transitioning to error state
77
- */
78
- var handleError = useCallback(function (error) {
79
- logger.error('Flow error:', error);
80
- flowActions.setErrorState(error);
81
- }, [flowActions]);
82
- var authInFlightRef = useRef(false);
83
- var waitingForNordUserRef = useRef(false);
84
- /**
85
- * Authenticate session
86
- */
87
- var performAuth = useCallback(function () { return __awaiter(void 0, void 0, void 0, function () {
88
- var sessionPubKey, sessionId, sessionIdKey, error_1;
89
- return __generator(this, function (_a) {
90
- switch (_a.label) {
91
- case 0:
92
- if (authInFlightRef.current) {
93
- return [2 /*return*/];
94
- }
95
- authInFlightRef.current = true;
96
- _a.label = 1;
97
- case 1:
98
- _a.trys.push([1, 4, 5, 6]);
99
- // Step 1: Tell user to sign transaction
100
- setAuthStatusMessage('Please sign the transaction to authenticate your session');
101
- if (!nordUser) {
102
- waitingForNordUserRef.current = true;
103
- setAuthStatus('loading');
104
- setAuthStatusMessage('Preparing your Nord session…');
105
- return [2 /*return*/];
106
- }
107
- waitingForNordUserRef.current = false;
108
- // Step 2: Call nordUser.refreshSession and get sessionId
109
- setAuthStatusMessage('Session is being authenticated...');
110
- sessionPubKey = nordUser.sessionPubKey;
111
- if (!sessionPubKey) {
112
- throw new Error('Session public key is not available');
113
- }
114
- // Refresh the session
115
- return [4 /*yield*/, nordUser.refreshSession()];
116
- case 2:
117
- // Refresh the session
118
- _a.sent();
119
- return [4 /*yield*/, nordUser.updateAccountId()];
120
- case 3:
121
- _a.sent();
122
- console.log('nordUser', nordUser);
123
- sessionId = nordUser.sessionId;
124
- if (!sessionId) {
125
- throw new Error('Failed to get session ID after refresh');
126
- }
127
- logger.debug('Session refreshed successfully', {
128
- sessionId: sessionId.toString(),
129
- });
130
- // Step 3: Store sessionId in localStorage
131
- if (address) {
132
- sessionIdKey = "n1_sessionId_".concat(address);
133
- localStorage.setItem(sessionIdKey, sessionId.toString());
134
- logger.debug('Stored sessionId in localStorage', { key: sessionIdKey });
135
- }
136
- // Step 4: Update status to success
137
- setAuthStatus('success');
138
- // updateContext({ hasActiveSession: true });
139
- flowActions.completeFlow({
140
- hasActiveSession: true,
141
- hasNordAccount: true,
142
- });
143
- return [3 /*break*/, 6];
144
- case 4:
145
- error_1 = _a.sent();
146
- console.error('Authentication error:', error_1);
147
- setAuthStatus('error');
148
- setAuthErrorMessage(error_1 instanceof Error ? error_1.message : 'Unknown error occurred');
149
- return [3 /*break*/, 6];
150
- case 5:
151
- authInFlightRef.current = false;
152
- return [7 /*endfinally*/];
153
- case 6: return [2 /*return*/];
154
- }
155
- });
156
- }); }, [
157
- updateContext,
158
- flowActions,
159
- address,
160
- nordUser,
161
- setAuthStatus,
162
- setAuthStatusMessage,
163
- setAuthErrorMessage,
164
- ]);
165
- useEffect(function () {
166
- if (waitingForNordUserRef.current && nordUser) {
167
- performAuth();
168
- }
169
- }, [nordUser, performAuth]);
170
- /**
171
- * Update amount for deposit
172
- */
173
- var updateAmount = useCallback(function (newAmount) {
174
- setAmount(newAmount);
175
- updateContext({ amount: newAmount });
176
- }, [updateContext]);
177
- /**
178
- * Start deposit process
179
- */
180
- var startDeposit = useCallback(function () { return __awaiter(void 0, void 0, void 0, function () {
181
- var protonClient, solanaConnection, recipientKey, usdcToken, normalizedAmount, txId, depositResponse, slot, eventIndex, result, depositRecord, depositError_1, errorMessage;
182
- var _a, _b, _c;
183
- return __generator(this, function (_d) {
184
- switch (_d.label) {
185
- case 0:
186
- if (isDepositing)
187
- return [2 /*return*/];
188
- logger.debug('Starting deposit process');
189
- if (!amount || parseFloat(amount) <= 0) {
190
- handleError(new Error('Invalid amount'));
191
- return [2 /*return*/];
192
- }
193
- if (!nord) {
194
- handleError(new Error('Nord client is unavailable. Please check your configuration and try again.'));
195
- return [2 /*return*/];
196
- }
197
- if (!nordUser) {
198
- handleError(new Error('Your Nord session is not ready yet. Reconnect your wallet to retry.'));
199
- return [2 /*return*/];
200
- }
201
- if (!address) {
202
- handleError(new Error('We were unable to determine your wallet address. Please reconnect your wallet and try again.'));
203
- return [2 /*return*/];
204
- }
205
- protonClient = nord.protonClient;
206
- solanaConnection = nord.solanaConnection;
207
- if (!protonClient || !solanaConnection) {
208
- handleError(new Error('Nord client is missing Solana or Proton configuration. Verify your Nord deployment.'));
209
- return [2 /*return*/];
210
- }
211
- recipientKey = new PublicKey(address);
212
- usdcToken = Array.isArray(nord.tokens)
213
- ? nord.tokens.find(function (t) { return t.symbol === 'USDC'; })
214
- : null;
215
- if (!usdcToken) {
216
- handleError(new Error('Nord token configuration is missing USDC. Verify your Nord deployment.'));
217
- return [2 /*return*/];
218
- }
219
- setIsDepositing(true);
220
- setDepositProgressPhase('solana');
221
- flowActions.startDeposit();
222
- _d.label = 1;
223
- case 1:
224
- _d.trys.push([1, 9, 10, 11]);
225
- normalizedAmount = parseFloat(amount);
226
- txId = null;
227
- if (!(typeof nordUser.deposit === 'function')) return [3 /*break*/, 3];
228
- return [4 /*yield*/, nordUser.deposit({
229
- amount: normalizedAmount,
230
- tokenId: usdcToken.tokenId,
231
- })];
232
- case 2:
233
- depositResponse = _d.sent();
234
- if (depositResponse) {
235
- if (typeof depositResponse === 'string') {
236
- txId = depositResponse;
237
- }
238
- else if (typeof depositResponse === 'object' &&
239
- 'signature' in depositResponse &&
240
- typeof depositResponse.signature === 'string') {
241
- txId = depositResponse.signature;
242
- }
243
- }
244
- _d.label = 3;
245
- case 3:
246
- if (!!txId) return [3 /*break*/, 5];
247
- return [4 /*yield*/, nordUser.depositSpl(normalizedAmount, usdcToken.tokenId)];
248
- case 4:
249
- txId = _d.sent();
250
- _d.label = 5;
251
- case 5:
252
- if (!txId) {
253
- throw new Error('Failed to submit deposit transaction.');
254
- }
255
- logger.debug('Deposit transaction submitted', { txId: txId });
256
- return [4 /*yield*/, waitForTransactionSlot(solanaConnection, txId)];
257
- case 6:
258
- slot = _d.sent();
259
- logger.debug('Solana slot detected for deposit', { slot: slot });
260
- return [4 /*yield*/, waitForDepositEventIndex(protonClient, recipientKey, slot)];
261
- case 7:
262
- eventIndex = _d.sent();
263
- logger.debug('Deposit event indexed', { eventIndex: eventIndex });
264
- setDepositProgressPhase('nord');
265
- return [4 /*yield*/, waitForNordAcknowledgement(nord, eventIndex)];
266
- case 8:
267
- _d.sent();
268
- logger.debug('Nord acknowledged deposit event', { eventIndex: eventIndex });
269
- result = {
270
- success: true,
271
- transactionId: txId,
272
- amount: amount,
273
- tokenSymbol: 'USDC',
274
- fromAddress: address || 'Your Wallet',
275
- toAddress: 'Exchange Account',
276
- networkName: selectedChain,
277
- status: 'Completed',
278
- explorerUrl: getExplorerUrl(txId),
279
- };
280
- depositRecord = {
281
- transactionId: txId,
282
- amount: amount,
283
- tokenSymbol: 'USDC',
284
- chainId: (_a = context.selectedChainId) !== null && _a !== void 0 ? _a : (selectedChain !== null && selectedChain !== void 0 ? selectedChain : 'solana'),
285
- chainName: (_b = context.selectedChain) !== null && _b !== void 0 ? _b : (selectedChain !== null && selectedChain !== void 0 ? selectedChain : 'Solana'),
286
- chainNetwork: (_c = context.selectedChainNetwork) !== null && _c !== void 0 ? _c : null,
287
- timestamp: Date.now(),
288
- };
289
- saveLastDepositRecord(address, depositRecord);
290
- // Update state with transaction result
291
- setTransactionId(txId);
292
- setTransactionResult(result);
293
- logger.debug('Transaction completed successfully');
294
- flowActions.markDepositSuccess({
295
- transactionId: txId,
296
- record: depositRecord,
297
- });
298
- return [3 /*break*/, 11];
299
- case 9:
300
- depositError_1 = _d.sent();
301
- logger.error('Deposit process failed', depositError_1);
302
- errorMessage = depositError_1 instanceof Error
303
- ? depositError_1.message
304
- : 'Failed to process deposit';
305
- flowActions.markDepositFailed(errorMessage);
306
- return [2 /*return*/]; // Exit early
307
- case 10:
308
- setIsDepositing(false);
309
- return [7 /*endfinally*/];
310
- case 11: return [2 /*return*/];
311
- }
312
- });
313
- }); }, [
314
- isDepositing,
315
- selectedChain,
316
- amount,
317
- address,
318
- flowActions,
319
- handleError,
320
- nord,
321
- nordUser,
322
- context.selectedChain,
323
- context.selectedChainId,
324
- context.selectedChainNetwork,
325
- ]);
326
- /**
327
- * Complete the deposit process and move to the next screen
328
- */
329
- var completeDeposit = useCallback(function () {
330
- clearLastDepositRecord(address);
331
- updateContext({ lastDeposit: null });
332
- if (context.isDepositOnlyFlow) {
333
- flowActions.completeFlow({
334
- hasNordAccount: true,
335
- hasActiveSession: true,
336
- });
337
- return;
338
- }
339
- // Check if user has an active session to determine the next state
340
- if (context.hasActiveSession) {
341
- // If user has an active session, go directly to FINAL_SUCCESS
342
- flowActions.completeFlow({
343
- hasNordAccount: true,
344
- hasActiveSession: true,
345
- });
346
- }
347
- else {
348
- // If user doesn't have an active session, go to authentication flow
349
- flowActions.requireAuth({ hasNordAccount: true });
350
- }
351
- }, [context.hasActiveSession, context.isDepositOnlyFlow, flowActions, address, updateContext]);
352
- // Create the context value
353
- var contextValue = {
354
- amount: amount,
355
- isDepositing: isDepositing,
356
- depositProgressPhase: depositProgressPhase,
357
- transactionId: transactionId,
358
- transactionResult: transactionResult,
359
- authStatus: authStatus,
360
- authErrorMessage: authErrorMessage,
361
- authStatusMessage: authStatusMessage,
362
- updateAmount: updateAmount,
363
- startDeposit: startDeposit,
364
- completeDeposit: completeDeposit,
365
- performAuth: performAuth,
366
- };
367
- /**
368
- * Update state based on context changes
369
- */
370
- useEffect(function () {
371
- var prevContext = prevContextRef.current;
372
- // Only update state if the relevant context values have actually changed
373
- if (context.selectedChain !== prevContext.selectedChain) {
374
- setSelectedChain(context.selectedChain);
375
- }
376
- if (context.amount !== prevContext.amount) {
377
- setAmount(context.amount);
378
- }
379
- if (context.transactionId !== prevContext.transactionId) {
380
- setTransactionId(context.transactionId);
381
- }
382
- // Update the ref to the current context
383
- prevContextRef.current = context;
384
- }, [context]);
385
- useEffect(function () {
386
- var _a, _b, _c, _d;
387
- if (!isDebugOverride || state !== FlowState.DEPOSIT_SUCCESS || transactionResult) {
388
- return;
389
- }
390
- var mockTransactionId = (_a = context.transactionId) !== null && _a !== void 0 ? _a : 'debug-tx-12345';
391
- var fallbackChain = (_d = (_b = context.selectedChain) !== null && _b !== void 0 ? _b : (_c = AVAILABLE_CHAINS[0]) === null || _c === void 0 ? void 0 : _c.name) !== null && _d !== void 0 ? _d : 'Solana';
392
- setTransactionId(mockTransactionId);
393
- setTransactionResult({
394
- success: true,
395
- transactionId: mockTransactionId,
396
- amount: context.amount || '1,250',
397
- tokenSymbol: 'USDC',
398
- fromAddress: address || 'Debug Wallet',
399
- toAddress: 'Nord Account',
400
- networkName: fallbackChain,
401
- status: 'Completed',
402
- explorerUrl: getExplorerUrl(mockTransactionId),
403
- });
404
- }, [isDebugOverride, state, transactionResult, context, address]);
405
- return React.createElement(DepositContext.Provider, { value: contextValue }, children);
406
- };
407
- var delay = function (ms) {
408
- return new Promise(function (resolve) {
409
- setTimeout(resolve, ms);
410
- });
411
- };
412
- var waitForTransactionSlot = function (connection, signature) { return __awaiter(void 0, void 0, void 0, function () {
413
- var deadline, status_1, info;
414
- var _a;
415
- return __generator(this, function (_b) {
416
- switch (_b.label) {
417
- case 0:
418
- logger.debug('Waiting for Solana confirmation for deposit', { signature: signature });
419
- deadline = Date.now() + SLOT_LOOKUP_TIMEOUT_MS;
420
- _b.label = 1;
421
- case 1:
422
- if (!(Date.now() < deadline)) return [3 /*break*/, 4];
423
- return [4 /*yield*/, connection.getSignatureStatuses([signature], {
424
- searchTransactionHistory: true,
425
- })];
426
- case 2:
427
- status_1 = _b.sent();
428
- info = (_a = status_1.value) === null || _a === void 0 ? void 0 : _a[0];
429
- if (info === null || info === void 0 ? void 0 : info.err) {
430
- throw new Error('Deposit transaction failed to confirm on Solana.');
431
- }
432
- if (info && typeof info.slot === 'number') {
433
- return [2 /*return*/, info.slot];
434
- }
435
- return [4 /*yield*/, delay(2000)];
436
- case 3:
437
- _b.sent();
438
- return [3 /*break*/, 1];
439
- case 4: throw new Error('Timed out waiting for Solana confirmation of the deposit.');
440
- }
441
- });
442
- }); };
443
- var waitForDepositEventIndex = function (protonClient, recipient, slot) { return __awaiter(void 0, void 0, void 0, function () {
444
- var deadline, deposits, matchingDeposit, rawEventIndex;
445
- return __generator(this, function (_a) {
446
- switch (_a.label) {
447
- case 0:
448
- logger.debug('Polling Proton for deposit entry', { slot: slot });
449
- deadline = Date.now() + DEPOSIT_EVENT_TIMEOUT_MS;
450
- _a.label = 1;
451
- case 1:
452
- if (!(Date.now() < deadline)) return [3 /*break*/, 4];
453
- return [4 /*yield*/, protonClient.depositsForRecipient(recipient, {
454
- startSlot: slot,
455
- order: 'desc',
456
- })];
457
- case 2:
458
- deposits = _a.sent();
459
- if (Array.isArray(deposits)) {
460
- matchingDeposit = deposits.find(function (deposit) {
461
- var depositSlot = typeof deposit.createdAtSlot === 'string'
462
- ? Number(deposit.createdAtSlot)
463
- : deposit.createdAtSlot;
464
- return Number.isFinite(depositSlot) && depositSlot === slot;
465
- });
466
- if (matchingDeposit) {
467
- rawEventIndex = matchingDeposit.eventIndex === undefined ||
468
- matchingDeposit.eventIndex === null
469
- ? null
470
- : Number(matchingDeposit.eventIndex);
471
- if (Number.isFinite(rawEventIndex)) {
472
- return [2 /*return*/, rawEventIndex];
473
- }
474
- }
475
- }
476
- return [4 /*yield*/, delay(DEPOSIT_POLL_INTERVAL_MS)];
477
- case 3:
478
- _a.sent();
479
- return [3 /*break*/, 1];
480
- case 4: throw new Error('Timed out waiting for Nord to index the deposit event.');
481
- }
482
- });
483
- }); };
484
- var waitForNordAcknowledgement = function (nord, targetEventIndex) { return __awaiter(void 0, void 0, void 0, function () {
485
- var deadline, nonce, normalized;
486
- return __generator(this, function (_a) {
487
- switch (_a.label) {
488
- case 0:
489
- logger.debug('Polling Nord for deposit acknowledgement', {
490
- targetEventIndex: targetEventIndex,
491
- });
492
- deadline = Date.now() + NORD_ACK_TIMEOUT_MS;
493
- _a.label = 1;
494
- case 1:
495
- if (!(Date.now() < deadline)) return [3 /*break*/, 4];
496
- return [4 /*yield*/, nord.getActionNonce()];
497
- case 2:
498
- nonce = _a.sent();
499
- normalized = typeof nonce === 'bigint'
500
- ? Number(nonce)
501
- : typeof nonce === 'string'
502
- ? Number(nonce)
503
- : nonce;
504
- if (Number.isFinite(normalized) && normalized >= targetEventIndex) {
505
- return [2 /*return*/];
506
- }
507
- return [4 /*yield*/, delay(DEPOSIT_POLL_INTERVAL_MS)];
508
- case 3:
509
- _a.sent();
510
- return [3 /*break*/, 1];
511
- case 4: throw new Error('Timed out waiting for N1 to process the deposit.');
512
- }
513
- });
514
- }); };
515
- /**
516
- * Hook to use the deposit context
517
- */
518
- export var useDepositContext = function () {
519
- var context = useContext(DepositContext);
520
- if (context === undefined) {
521
- throw new Error('useDepositContext must be used within a DepositProvider');
522
- }
523
- return context;
524
- };
525
- //# sourceMappingURL=DepositContext.js.map