@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,204 +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 { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
38
- import { useCallback, useEffect, useRef, useState } from 'react';
39
- import { useN1WalletContext, useN1WalletInternalContext, } from '../../../Provider/hooks';
40
- import { ImageWithFallback } from '../components';
41
- import { ANIMATION_EASE } from '../constants';
42
- import { formatAmount, isNordConfigured } from '../utils/nordUtils';
43
- import { useDepositContext } from '../context/DepositContext';
44
- import { useFlowStateContext } from '../context/FlowContext';
45
- import { LoadingSquares } from '../components/LoadingSquares';
46
- export function AmountInputScreen() {
47
- var _this = this;
48
- var context = useFlowStateContext().context;
49
- var _a = useDepositContext(), updateAmount = _a.updateAmount, startDeposit = _a.startDeposit;
50
- var _b = useN1WalletContext(), address = _b.address, nord = _b.nord;
51
- var contextFaucetUrl = useN1WalletInternalContext().faucetUrl;
52
- // Hard code amount to 100
53
- var amount = '100';
54
- // Hard code balance to 0 to allow faucet to trigger
55
- var balance = 100;
56
- // Force the amount to be 100 on component mount only, not on every render
57
- useEffect(function () {
58
- updateAmount('100');
59
- // Empty dependency array ensures this only runs once on mount
60
- }, [updateAmount]);
61
- var _c = useState(false), isHovered = _c[0], setIsHovered = _c[1];
62
- var _d = useState(false), isFaucetLoading = _d[0], setIsFaucetLoading = _d[1];
63
- var _e = useState(null), faucetError = _e[0], setFaucetError = _e[1];
64
- var _f = useState(false), tokensObtained = _f[0], setTokensObtained = _f[1];
65
- var _g = useState(false), showFaucetSuccess = _g[0], setShowFaucetSuccess = _g[1];
66
- var prevBalanceRef = useRef(balance);
67
- var faucetFiredRef = useRef(false); // session-wide gate
68
- var faucetUrl = contextFaucetUrl;
69
- // Get token information from Nord if available
70
- var _h = useState('USDC'), tokenSymbol = _h[0], setTokenSymbol = _h[1];
71
- var _j = useState('https://res.cloudinary.com/dl3ia3pko/image/upload/v1745874373/usdc_ma4igc.svg'), tokenLogo = _j[0], setTokenLogo = _j[1];
72
- var _k = useState(6), tokenDecimals = _k[0], setTokenDecimals = _k[1];
73
- // Try to get token information from Nord
74
- useEffect(function () {
75
- if (nord && isNordConfigured(nord)) {
76
- try {
77
- // Find the USDC token or the first token
78
- var usdcToken = nord.tokens.find(function (t) { return t.symbol === 'USDC'; }) || nord.tokens[0];
79
- if (usdcToken) {
80
- setTokenSymbol(usdcToken.symbol);
81
- // Use a default logo if not available
82
- // setTokenLogo(`/images/tokens/${usdcToken.symbol.toLowerCase()}.svg`);
83
- setTokenLogo('https://res.cloudinary.com/dl3ia3pko/image/upload/v1745874373/usdc_ma4igc.svg');
84
- setTokenDecimals(usdcToken.decimals);
85
- }
86
- }
87
- catch (error) {
88
- console.warn('Error getting token information from Nord:', error);
89
- }
90
- }
91
- }, [nord]);
92
- // Removed handleAmountChange since we don't want user to edit the amount
93
- // todo:fix
94
- var isValidAmount = true;
95
- var hardcodedMinDeposit = 100;
96
- // Check if faucet is enabled and balance is low
97
- var shouldShowFaucet = faucetUrl && !tokensObtained;
98
- // Determine if we should show the faucet overlay
99
- var showFaucetOverlay = (shouldShowFaucet && (isFaucetLoading || faucetError)) || showFaucetSuccess;
100
- // Function to refresh balances
101
- var refreshBalance = useCallback(function () { return __awaiter(_this, void 0, void 0, function () {
102
- return __generator(this, function (_a) {
103
- return [2 /*return*/];
104
- });
105
- }); }, [nord]);
106
- // Function to request tokens from faucet
107
- var requestTestnetTokens = useCallback(function () { return __awaiter(_this, void 0, void 0, function () {
108
- var response, errorData, error_1;
109
- return __generator(this, function (_a) {
110
- switch (_a.label) {
111
- case 0:
112
- if (!faucetUrl || !address)
113
- return [2 /*return*/];
114
- // Early-out if we already fired once
115
- if (faucetFiredRef.current)
116
- return [2 /*return*/];
117
- faucetFiredRef.current = true; // lock it
118
- _a.label = 1;
119
- case 1:
120
- _a.trys.push([1, 7, 8, 9]);
121
- setIsFaucetLoading(true);
122
- setFaucetError(null);
123
- setShowFaucetSuccess(false);
124
- return [4 /*yield*/, fetch(faucetUrl, {
125
- method: 'POST',
126
- headers: {
127
- 'Content-Type': 'application/json',
128
- },
129
- body: JSON.stringify({ address: address }),
130
- })];
131
- case 2:
132
- response = _a.sent();
133
- if (!!response.ok) return [3 /*break*/, 4];
134
- return [4 /*yield*/, response
135
- .json()
136
- .catch(function () { return ({ error: 'Failed to request tokens' }); })];
137
- case 3:
138
- errorData = _a.sent();
139
- throw new Error(errorData.error || 'Failed to request tokens');
140
- case 4: return [4 /*yield*/, response.json()];
141
- case 5:
142
- _a.sent();
143
- // Mark tokens as obtained to prevent further requests
144
- setTokensObtained(true);
145
- // Show success message
146
- setShowFaucetSuccess(true);
147
- // Refresh balance
148
- return [4 /*yield*/, refreshBalance()];
149
- case 6:
150
- // Refresh balance
151
- _a.sent();
152
- setShowFaucetSuccess(false);
153
- return [3 /*break*/, 9];
154
- case 7:
155
- error_1 = _a.sent();
156
- console.error('Faucet error:', error_1);
157
- setFaucetError(error_1 instanceof Error ? error_1.message : 'Failed to request tokens');
158
- return [3 /*break*/, 9];
159
- case 8:
160
- setIsFaucetLoading(false);
161
- return [7 /*endfinally*/];
162
- case 9: return [2 /*return*/];
163
- }
164
- });
165
- }); }, [faucetUrl, address, refreshBalance]);
166
- // Request tokens automatically when faucet is enabled and balance is low
167
- useEffect(function () {
168
- if (!shouldShowFaucet || // faucet enabled & balance low
169
- isFaucetLoading || // already loading
170
- faucetError || // previous error
171
- showFaucetSuccess || // success overlay visible
172
- context.depositError != null || // deposit flow error
173
- faucetFiredRef.current // already fired in this session
174
- ) {
175
- return;
176
- }
177
- requestTestnetTokens();
178
- }, [shouldShowFaucet, isFaucetLoading, faucetError, showFaucetSuccess, context.depositError, requestTestnetTokens]);
179
- // Reset tokensObtained state if balance changes to a higher value
180
- useEffect(function () {
181
- // If balance has increased and is now sufficient, reset the tokensObtained flag
182
- if (balance > prevBalanceRef.current && balance >= hardcodedMinDeposit) {
183
- setTokensObtained(false);
184
- setShowFaucetSuccess(false);
185
- }
186
- else if (balance < hardcodedMinDeposit / 2) {
187
- faucetFiredRef.current = false; // allow a future request
188
- setTokensObtained(false);
189
- }
190
- // Update the previous balance reference
191
- prevBalanceRef.current = balance;
192
- }, [balance, hardcodedMinDeposit]);
193
- // Format the balance with the appropriate number of decimal places
194
- var formattedBalance = formatAmount(balance, tokenDecimals);
195
- return (_jsxs("div", { className: "overflow-hidden relative", children: [showFaucetOverlay && (_jsx("div", { className: "absolute inset-0 z-10 bg-white/70 dark:bg-neutral-900/80 backdrop-blur-md flex flex-col items-center justify-center p-6", children: isFaucetLoading ? (_jsxs(_Fragment, { children: [_jsx(LoadingSquares, {}), _jsxs("div", { className: "space-y-2 text-center mt-4", children: [_jsx("h3", { className: "text-xl text-n1-ww-gray-800 dark:text-white font-semibold", children: "Obtaining Testnet Tokens" }), _jsx("p", { className: "text-sm text-n1-ww-gray-500 dark:text-neutral-400", children: "Please wait while we request testnet tokens for your wallet..." })] })] })) : showFaucetSuccess ? (_jsxs(_Fragment, { children: [_jsx("div", { className: "text-green-500 text-5xl mb-4 n1-ww-animate-fade-up", children: "\u2713" }), _jsxs("div", { className: "space-y-2 text-center", children: [_jsx("h3", { className: "text-xl text-n1-ww-gray-800 dark:text-white font-semibold", children: "Tokens Obtained Successfully" }), _jsx("p", { className: "text-sm text-green-500 dark:text-green-400", children: "Your wallet has been funded with testnet tokens." }), _jsx("p", { className: "text-sm text-n1-ww-gray-500 dark:text-neutral-400 mt-2", children: "Please wait while your balance updates..." })] })] })) : faucetError ? (_jsxs(_Fragment, { children: [_jsx("div", { className: "text-red-500 text-5xl mb-4 n1-ww-animate-fade-up", children: "\u26A0\uFE0F" }), _jsxs("div", { className: "space-y-2 text-center", children: [_jsx("h3", { className: "text-xl text-n1-ww-gray-800 dark:text-white font-semibold", children: "Failed to Get Tokens" }), _jsx("p", { className: "text-sm text-red-500 dark:text-red-400", children: faucetError }), _jsx("button", { onClick: requestTestnetTokens, className: "mt-4 px-4 py-2 bg-n1-ww-main text-white rounded-sm hover:bg-n1-ww-main/90 transition-colors", children: "Try Again" })] })] })) : null })), _jsx("h2", { className: "text-xl text-n1-ww-gray-800 dark:text-white font-semibold mb-6 text-center", children: "Enter Amount" }), _jsxs("div", { className: "space-y-6", children: [_jsxs("div", { className: "relative border-2 border-n1-ww-gray-200 dark:border-n1-ww-gray-800 bg-n1-ww-gray-100 dark:bg-n1-ww-gray-900 rounded-sm p-0 overflow-hidden n1-ww-animate-fade-up", style: { animationDelay: '0.1s' }, children: [_jsxs("div", { className: "flex items-center justify-between p-4 border-b border-n1-ww-gray-200 dark:border-n1-ww-gray-800 bg-white/30 dark:bg-black/10", children: [_jsxs("div", { className: "flex items-center space-x-3", children: [_jsx("div", { className: "w-8 h-8 rounded-full overflow-hidden bg-white dark:bg-n1-ww-gray-800 flex items-center justify-center shadow-sm", children: _jsx(ImageWithFallback, { src: tokenLogo, alt: tokenSymbol, width: 24, height: 24, fallbackText: tokenSymbol.charAt(0), fallbackClassName: "w-6 h-6 rounded-full flex items-center justify-center", fallbackBgColor: "bg-blue-100 dark:bg-blue-900", fallbackTextColor: "text-blue-500 dark:text-blue-300" }) }), _jsx("span", { className: "text-n1-ww-gray-800 dark:text-white font-medium", children: tokenSymbol })] }), _jsx("div", { className: "text-xs rounded-sm bg-n1-ww-gray-200 dark:bg-n1-ww-gray-800 px-2 py-1 text-n1-ww-gray-600 dark:text-n1-ww-gray-300", children: "Fixed Amount" })] }), _jsx("div", { className: "mb-4 w-full flex items-center justify-center", children: _jsxs("div", { className: "bg-yellow-50 dark:bg-yellow-900/40 border border-yellow-200 dark:border-yellow-700 text-yellow-800 dark:text-yellow-200 rounded px-3 py-2 text-sm text-center max-w-xl mx-auto shadow-sm", children: [_jsx("span", { className: "font-semibold", children: "Testnet Only:" }), " Please make sure your wallet is set to ", _jsx("span", { className: "font-semibold", children: "testnet mode" }), " before proceeding. ", _jsx("a", { href: "https://docs.phantom.com/developer-powertools/testnet-mode", target: "_blank", rel: "noopener noreferrer", className: "underline text-yellow-700 dark:text-yellow-200 hover:text-yellow-900 dark:hover:text-yellow-100 transition-colors", children: "Learn how to switch to testnet" }), "."] }) }), _jsxs("div", { className: "relative p-6 flex flex-col items-center", children: [_jsxs("div", { className: "relative flex items-baseline justify-center w-full", children: [_jsx("span", { className: "text-4xl font-bold text-n1-ww-gray-800 dark:text-white mr-1 n1-ww-animate-fade-up", style: { animationDelay: '0.2s' }, children: amount }), _jsx("span", { className: "text-xl text-n1-ww-gray-500 dark:text-neutral-400 ml-1 n1-ww-animate-fade-up", style: { animationDelay: '0.3s' }, children: tokenSymbol })] }), _jsx("div", { className: "w-16 h-1 bg-n1-ww-gray-200 dark:bg-n1-ww-gray-800 rounded-full mt-4 mb-2" }), _jsx("div", { className: "flex justify-center items-center text-sm mt-2 w-full n1-ww-animate-fade-up", style: { animationDelay: '0.4s' }, children: _jsxs("span", { className: "text-n1-ww-gray-500 dark:text-neutral-400", children: ["Balance: ", formattedBalance, " ", tokenSymbol] }) })] })] }), context.depositError && (_jsx("div", { className: "bg-red-100 dark:bg-red-900/30 text-red-600 dark:text-red-400 p-3 rounded-sm text-sm border border-red-200 dark:border-red-800 n1-ww-animate-fade-up", style: { animationDelay: '0.5s' }, children: context.depositError })), _jsx("button", { onClick: startDeposit, disabled: !isValidAmount, onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, className: "\n group relative w-full overflow-hidden rounded-sm border-2 bg-n1-ww-gray-100 dark:bg-neutral-950 py-4 text-center\n transition-all duration-300 ".concat(ANIMATION_EASE, " n1-ww-animate-fade-up\n ").concat(isValidAmount
196
- ? 'cursor-pointer border-n1-ww-gray-200 dark:border-n1-ww-gray-800 hover:border-n1-ww-gray-400 dark:hover:border-white/60'
197
- : 'cursor-not-allowed border-n1-gray-200 dark:border-n1-gray-800 opacity-50', "\n "), style: {
198
- transform: isHovered && isValidAmount ? 'scale(0.99)' : 'scale(1)',
199
- animationDelay: '0.6s'
200
- }, children: _jsx("span", { className: "\n text-base font-medium tracking-wide transition-colors duration-300 ".concat(ANIMATION_EASE, "\n ").concat(isValidAmount
201
- ? 'text-n1-ww-gray-700 dark:text-n1-ww-gray-300 group-hover:text-n1-ww-gray-900 dark:group-hover:text-white'
202
- : 'text-n1-ww-gray-400 dark:text-n1-ww-gray-600', "\n "), children: "Continue" }) })] })] }));
203
- }
204
- //# sourceMappingURL=04-AmountInputScreen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"04-AmountInputScreen.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/screens/04-AmountInputScreen.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EACL,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,yBAAyB,CAAC;AACjC,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GACP,IACH,EAGN,cAAK,SAAS,EAAC,0EAA0E,GAAO,EAGhG,cAAK,SAAS,EAAC,4EAA4E,EAAC,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,YAC3H,gBAAM,SAAS,EAAC,2CAA2C,0BAC/C,gBAAgB,OAAG,WAAW,IACnC,GACH,IACF,IACF,EAGL,OAAO,CAAC,YAAY,IAAI,CACvB,cAAK,SAAS,EAAC,qJAAqJ,EAAC,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,EAAE,YACnM,OAAO,CAAC,YAAY,GACjB,CACP,EAGD,iBACE,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,CAAC,aAAa,EACxB,YAAY,EAAE,cAAM,OAAA,YAAY,CAAC,IAAI,CAAC,EAAlB,CAAkB,EACtC,YAAY,EAAE,cAAM,OAAA,YAAY,CAAC,KAAK,CAAC,EAAnB,CAAmB,EACvC,SAAS,EAAE,kLAEqB,cAAc,iDAC1C,aAAa;4BACb,CAAC,CAAC,wHAAwH;4BAC1H,CAAC,CAAC,0EAA0E,iBAE/E,EACD,KAAK,EAAE;4BACL,SAAS,EAAE,SAAS,IAAI,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU;4BAClE,cAAc,EAAE,MAAM;yBACvB,YAED,eACE,SAAS,EAAE,6FAC4D,cAAc,6BACjF,aAAa;gCACb,CAAC,CAAC,0GAA0G;gCAC5G,CAAC,CAAC,8CAA8C,mBAEnD,yBAGI,GACA,IACL,IACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { useCallback, useEffect, useRef, useState } from 'react';\nimport {\n useN1WalletContext,\n useN1WalletInternalContext,\n} from '../../../Provider/hooks';\nimport { ImageWithFallback } from '../components';\nimport { ANIMATION_EASE } from '../constants';\nimport { formatAmount, isNordConfigured } from '../utils/nordUtils';\nimport { useDepositContext } from '../context/DepositContext';\nimport { useFlowStateContext } from '../context/FlowContext';\nimport { LoadingSquares } from '../components/LoadingSquares';\n\nexport function AmountInputScreen() {\n const { context } = useFlowStateContext();\n const { updateAmount, startDeposit } = useDepositContext();\n const { address, nord } = useN1WalletContext();\n const { faucetUrl: contextFaucetUrl } = useN1WalletInternalContext();\n\n // Hard code amount to 100\n const amount = '100';\n // Hard code balance to 0 to allow faucet to trigger\n const balance = 100;\n\n // Force the amount to be 100 on component mount only, not on every render\n useEffect(() => {\n updateAmount('100');\n // Empty dependency array ensures this only runs once on mount\n }, [updateAmount]);\n\n const [isHovered, setIsHovered] = useState(false);\n const [isFaucetLoading, setIsFaucetLoading] = useState(false);\n const [faucetError, setFaucetError] = useState<string | null>(null);\n const [tokensObtained, setTokensObtained] = useState(false);\n const [showFaucetSuccess, setShowFaucetSuccess] = useState(false);\n const prevBalanceRef = useRef(balance);\n const faucetFiredRef = useRef(false); // session-wide gate\n\n const faucetUrl = contextFaucetUrl;\n\n // Get token information from Nord if available\n const [tokenSymbol, setTokenSymbol] = useState('USDC');\n const [tokenLogo, setTokenLogo] = useState('https://res.cloudinary.com/dl3ia3pko/image/upload/v1745874373/usdc_ma4igc.svg');\n const [tokenDecimals, setTokenDecimals] = useState(6);\n\n // Try to get token information from Nord\n useEffect(() => {\n if (nord && isNordConfigured(nord)) {\n try {\n // Find the USDC token or the first token\n const usdcToken =\n nord.tokens.find((t: any) => t.symbol === 'USDC') || nord.tokens[0];\n if (usdcToken) {\n setTokenSymbol(usdcToken.symbol);\n // Use a default logo if not available\n // setTokenLogo(`/images/tokens/${usdcToken.symbol.toLowerCase()}.svg`);\n setTokenLogo('https://res.cloudinary.com/dl3ia3pko/image/upload/v1745874373/usdc_ma4igc.svg');\n setTokenDecimals(usdcToken.decimals);\n }\n } catch (error) {\n console.warn('Error getting token information from Nord:', error);\n }\n }\n }, [nord]);\n\n // Removed handleAmountChange since we don't want user to edit the amount\n\n // todo:fix\n const isValidAmount = true;\n\n const hardcodedMinDeposit = 100;\n\n // Check if faucet is enabled and balance is low\n const shouldShowFaucet = faucetUrl && !tokensObtained;\n\n // Determine if we should show the faucet overlay\n const showFaucetOverlay =\n (shouldShowFaucet && (isFaucetLoading || faucetError)) || showFaucetSuccess;\n\n // Function to refresh balances\n const refreshBalance = useCallback(async () => {\n // \n }, [nord]);\n\n // Function to request tokens from faucet\n const requestTestnetTokens = useCallback(async () => {\n if (!faucetUrl || !address) return;\n \n // Early-out if we already fired once\n if (faucetFiredRef.current) return;\n faucetFiredRef.current = true; // lock it\n\n try {\n setIsFaucetLoading(true);\n setFaucetError(null);\n setShowFaucetSuccess(false);\n\n const response = await fetch(faucetUrl, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ address }),\n });\n\n if (!response.ok) {\n const errorData = await response\n .json()\n .catch(() => ({ error: 'Failed to request tokens' }));\n throw new Error(errorData.error || 'Failed to request tokens');\n }\n\n await response.json();\n\n // Mark tokens as obtained to prevent further requests\n setTokensObtained(true);\n\n // Show success message\n setShowFaucetSuccess(true);\n\n // Refresh balance\n await refreshBalance();\n\n setShowFaucetSuccess(false);\n } catch (error) {\n console.error('Faucet error:', error);\n setFaucetError(\n error instanceof Error ? error.message : 'Failed to request tokens'\n );\n } finally {\n setIsFaucetLoading(false);\n }\n }, [faucetUrl, address, refreshBalance]);\n\n // Request tokens automatically when faucet is enabled and balance is low\n useEffect(() => {\n if (\n !shouldShowFaucet || // faucet enabled & balance low\n isFaucetLoading || // already loading\n faucetError || // previous error\n showFaucetSuccess || // success overlay visible\n context.depositError != null || // deposit flow error\n faucetFiredRef.current // already fired in this session\n ) {\n return;\n }\n\n requestTestnetTokens();\n }, [shouldShowFaucet, isFaucetLoading, faucetError, showFaucetSuccess, context.depositError, requestTestnetTokens]);\n\n // Reset tokensObtained state if balance changes to a higher value\n useEffect(() => {\n // If balance has increased and is now sufficient, reset the tokensObtained flag\n if (balance > prevBalanceRef.current && balance >= hardcodedMinDeposit) {\n setTokensObtained(false);\n setShowFaucetSuccess(false);\n } else if (balance < hardcodedMinDeposit / 2) {\n faucetFiredRef.current = false; // allow a future request\n setTokensObtained(false);\n }\n\n // Update the previous balance reference\n prevBalanceRef.current = balance;\n }, [balance, hardcodedMinDeposit]);\n\n // Format the balance with the appropriate number of decimal places\n const formattedBalance = formatAmount(balance, tokenDecimals);\n\n return (\n <div className=\"overflow-hidden relative\">\n {/* Faucet Overlay */}\n {showFaucetOverlay && (\n <div className=\"absolute inset-0 z-10 bg-white/70 dark:bg-neutral-900/80 backdrop-blur-md flex flex-col items-center justify-center p-6\">\n {isFaucetLoading ? (\n <>\n <LoadingSquares />\n <div className=\"space-y-2 text-center mt-4\">\n <h3 className=\"text-xl text-n1-ww-gray-800 dark:text-white font-semibold\">\n Obtaining Testnet Tokens\n </h3>\n <p className=\"text-sm text-n1-ww-gray-500 dark:text-neutral-400\">\n Please wait while we request testnet tokens for your wallet...\n </p>\n </div>\n </>\n ) : showFaucetSuccess ? (\n <>\n <div className=\"text-green-500 text-5xl mb-4 n1-ww-animate-fade-up\">✓</div>\n <div className=\"space-y-2 text-center\">\n <h3 className=\"text-xl text-n1-ww-gray-800 dark:text-white font-semibold\">\n Tokens Obtained Successfully\n </h3>\n <p className=\"text-sm text-green-500 dark:text-green-400\">\n Your wallet has been funded with testnet tokens.\n </p>\n <p className=\"text-sm text-n1-ww-gray-500 dark:text-neutral-400 mt-2\">\n Please wait while your balance updates...\n </p>\n </div>\n </>\n ) : faucetError ? (\n <>\n <div className=\"text-red-500 text-5xl mb-4 n1-ww-animate-fade-up\">⚠️</div>\n <div className=\"space-y-2 text-center\">\n <h3 className=\"text-xl text-n1-ww-gray-800 dark:text-white font-semibold\">\n Failed to Get Tokens\n </h3>\n <p className=\"text-sm text-red-500 dark:text-red-400\">\n {faucetError}\n </p>\n <button\n onClick={requestTestnetTokens}\n className=\"mt-4 px-4 py-2 bg-n1-ww-main text-white rounded-sm hover:bg-n1-ww-main/90 transition-colors\"\n >\n Try Again\n </button>\n </div>\n </>\n ) : null}\n </div>\n )}\n\n <h2 className=\"text-xl text-n1-ww-gray-800 dark:text-white font-semibold mb-6 text-center\">\n Enter Amount\n </h2>\n\n {/* Amount Input */}\n <div className=\"space-y-6\">\n {/* Token Selection and Amount Input */}\n <div className=\"relative border-2 border-n1-ww-gray-200 dark:border-n1-ww-gray-800 bg-n1-ww-gray-100 dark:bg-n1-ww-gray-900 rounded-sm p-0 overflow-hidden n1-ww-animate-fade-up\" style={{ animationDelay: '0.1s' }}>\n {/* Token Selection Header */}\n <div className=\"flex items-center justify-between p-4 border-b border-n1-ww-gray-200 dark:border-n1-ww-gray-800 bg-white/30 dark:bg-black/10\">\n <div className=\"flex items-center space-x-3\">\n <div className=\"w-8 h-8 rounded-full overflow-hidden bg-white dark:bg-n1-ww-gray-800 flex items-center justify-center shadow-sm\">\n <ImageWithFallback\n src={tokenLogo}\n alt={tokenSymbol}\n width={24}\n height={24}\n fallbackText={tokenSymbol.charAt(0)}\n fallbackClassName=\"w-6 h-6 rounded-full flex items-center justify-center\"\n fallbackBgColor=\"bg-blue-100 dark:bg-blue-900\"\n fallbackTextColor=\"text-blue-500 dark:text-blue-300\"\n />\n </div>\n <span className=\"text-n1-ww-gray-800 dark:text-white font-medium\">\n {tokenSymbol}\n </span>\n </div>\n <div className=\"text-xs rounded-sm bg-n1-ww-gray-200 dark:bg-n1-ww-gray-800 px-2 py-1 text-n1-ww-gray-600 dark:text-n1-ww-gray-300\">\n Fixed Amount\n </div>\n </div>\n\n {/* NOTE: Testnet Wallet Mode Reminder */}\n <div className=\"mb-4 w-full flex items-center justify-center\">\n <div className=\"bg-yellow-50 dark:bg-yellow-900/40 border border-yellow-200 dark:border-yellow-700 text-yellow-800 dark:text-yellow-200 rounded px-3 py-2 text-sm text-center max-w-xl mx-auto shadow-sm\">\n <span className=\"font-semibold\">Testnet Only:</span> Please make sure your wallet is set to <span className=\"font-semibold\">testnet mode</span> before proceeding. <a href=\"https://docs.phantom.com/developer-powertools/testnet-mode\" target=\"_blank\" rel=\"noopener noreferrer\" className=\"underline text-yellow-700 dark:text-yellow-200 hover:text-yellow-900 dark:hover:text-yellow-100 transition-colors\">Learn how to switch to testnet</a>.\n </div>\n </div>\n\n {/* Amount Input - Hardcoded to 100 */}\n <div className=\"relative p-6 flex flex-col items-center\">\n <div className=\"relative flex items-baseline justify-center w-full\">\n <span className=\"text-4xl font-bold text-n1-ww-gray-800 dark:text-white mr-1 n1-ww-animate-fade-up\" style={{ animationDelay: '0.2s' }}>\n {amount}\n </span>\n <span className=\"text-xl text-n1-ww-gray-500 dark:text-neutral-400 ml-1 n1-ww-animate-fade-up\" style={{ animationDelay: '0.3s' }}>\n {tokenSymbol}\n </span>\n </div>\n\n {/* Decorative element */}\n <div className=\"w-16 h-1 bg-n1-ww-gray-200 dark:bg-n1-ww-gray-800 rounded-full mt-4 mb-2\"></div>\n\n {/* Balance Display */}\n <div className=\"flex justify-center items-center text-sm mt-2 w-full n1-ww-animate-fade-up\" style={{ animationDelay: '0.4s' }}>\n <span className=\"text-n1-ww-gray-500 dark:text-neutral-400\">\n Balance: {formattedBalance} {tokenSymbol}\n </span>\n </div>\n </div>\n </div>\n\n {/* Error Message */}\n {context.depositError && (\n <div className=\"bg-red-100 dark:bg-red-900/30 text-red-600 dark:text-red-400 p-3 rounded-sm text-sm border border-red-200 dark:border-red-800 n1-ww-animate-fade-up\" style={{ animationDelay: '0.5s' }}>\n {context.depositError}\n </div>\n )}\n\n {/* Continue Button */}\n <button\n onClick={startDeposit}\n disabled={!isValidAmount}\n onMouseEnter={() => setIsHovered(true)}\n onMouseLeave={() => setIsHovered(false)}\n className={`\n group relative w-full overflow-hidden rounded-sm border-2 bg-n1-ww-gray-100 dark:bg-neutral-950 py-4 text-center\n transition-all duration-300 ${ANIMATION_EASE} n1-ww-animate-fade-up\n ${isValidAmount\n ? 'cursor-pointer border-n1-ww-gray-200 dark:border-n1-ww-gray-800 hover:border-n1-ww-gray-400 dark:hover:border-white/60'\n : 'cursor-not-allowed border-n1-gray-200 dark:border-n1-gray-800 opacity-50'\n }\n `}\n style={{\n transform: isHovered && isValidAmount ? 'scale(0.99)' : 'scale(1)',\n animationDelay: '0.6s'\n }}\n >\n <span\n className={`\n text-base font-medium tracking-wide transition-colors duration-300 ${ANIMATION_EASE}\n ${isValidAmount\n ? 'text-n1-ww-gray-700 dark:text-n1-ww-gray-300 group-hover:text-n1-ww-gray-900 dark:group-hover:text-white'\n : 'text-n1-ww-gray-400 dark:text-n1-ww-gray-600'\n }\n `}\n >\n Continue\n </span>\n </button>\n </div>\n </div>\n );\n}\n"]}
@@ -1 +0,0 @@
1
- export declare function DepositProgressScreen(): import("react/jsx-runtime").JSX.Element;
@@ -1,26 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import { WaitingMessage } from "../components/WaitingMessage";
14
- import { DEPOSIT_PROGRESS_MESSAGE } from "../../../config/nordFlow";
15
- import { useDepositContext } from "../context/DepositContext";
16
- var SUBTITLES = {
17
- solana: 'Please sign the transaction in your wallet to continue',
18
- nord: 'Waiting for N1 to process the deposit...',
19
- };
20
- export function DepositProgressScreen() {
21
- var _a;
22
- var depositProgressPhase = useDepositContext().depositProgressPhase;
23
- var message = __assign(__assign({}, DEPOSIT_PROGRESS_MESSAGE), { subtitle: (_a = SUBTITLES[depositProgressPhase]) !== null && _a !== void 0 ? _a : SUBTITLES.solana });
24
- return (_jsx("div", { className: "overflow-hidden relative", children: _jsx(WaitingMessage, { message: message, animation: "transfer" }) }));
25
- }
26
- //# sourceMappingURL=04-DepositProgressScreen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"04-DepositProgressScreen.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/screens/04-DepositProgressScreen.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAE9D,IAAM,SAAS,GAAsC;IACnD,MAAM,EAAE,wDAAwD;IAChE,IAAI,EAAE,0CAA0C;CACjD,CAAC;AAEF,MAAM,UAAU,qBAAqB;;IAC3B,IAAA,oBAAoB,GAAK,iBAAiB,EAAE,qBAAxB,CAAyB;IACrD,IAAM,OAAO,yBACR,wBAAwB,KAC3B,QAAQ,EAAE,MAAA,SAAS,CAAC,oBAAoB,CAAC,mCAAI,SAAS,CAAC,MAAM,GAC9D,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,0BAA0B,YACvC,KAAC,cAAc,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,UAAU,GAAG,GACrD,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { WaitingMessage } from \"../components/WaitingMessage\";\nimport { DEPOSIT_PROGRESS_MESSAGE } from \"../../../config/nordFlow\";\nimport { useDepositContext } from \"../context/DepositContext\";\n\nconst SUBTITLES: Record<'solana' | 'nord', string> = {\n solana: 'Please sign the transaction in your wallet to continue',\n nord: 'Waiting for N1 to process the deposit...',\n};\n\nexport function DepositProgressScreen() {\n const { depositProgressPhase } = useDepositContext();\n const message = {\n ...DEPOSIT_PROGRESS_MESSAGE,\n subtitle: SUBTITLES[depositProgressPhase] ?? SUBTITLES.solana,\n };\n\n return (\n <div className=\"overflow-hidden relative\">\n <WaitingMessage message={message} animation=\"transfer\" />\n </div>\n );\n}\n"]}
@@ -1 +0,0 @@
1
- export declare function DepositProgressScreen(): JSX.Element;
@@ -1,51 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { WaitingMessage } from '../components/WaitingMessage';
14
- import { useN1WalletInternalContext } from '../../../Provider/hooks';
15
- import { N1SessionMode } from '../../../Provider/types';
16
- import { useState, useEffect } from 'react';
17
- export function DepositProgressScreen() {
18
- var sessionMode = useN1WalletInternalContext().sessionMode;
19
- var _a = useState(0), elapsedTime = _a[0], setElapsedTime = _a[1];
20
- var maxTime = 300; // Maximum time in seconds
21
- var message = {
22
- visible: true,
23
- title: 'Processing Deposit',
24
- subtitle: 'Please wait while we process your deposit',
25
- isTyping: false,
26
- };
27
- // Start timer when component mounts
28
- useEffect(function () {
29
- var timer = setInterval(function () {
30
- setElapsedTime(function (prevTime) {
31
- if (prevTime >= maxTime) {
32
- clearInterval(timer);
33
- return maxTime;
34
- }
35
- return prevTime + 1;
36
- });
37
- }, 1000);
38
- // Clean up timer on unmount
39
- return function () { return clearInterval(timer); };
40
- }, []);
41
- // Determine the appropriate message based on session mode
42
- var getSessionSpecificMessage = function () {
43
- var currentSessionMode = sessionMode !== null && sessionMode !== void 0 ? sessionMode : N1SessionMode.NTS;
44
- var accountType = currentSessionMode === N1SessionMode.Nord ? 'Nord' : 'NTS';
45
- return __assign(__assign({}, message), { title: message.title || "Processing ".concat(accountType, " Deposit"), subtitle: message.subtitle ||
46
- "Please wait while we process your ".concat(accountType, " deposit") });
47
- };
48
- var sessionMessage = getSessionSpecificMessage();
49
- return (_jsxs("div", { className: "overflow-hidden relative", children: [_jsx(WaitingMessage, { message: sessionMessage }), _jsxs("div", { className: "text-center mt-4 text-sm text-n1-ww-gray-500", children: ["Time elapsed: ", elapsedTime, "s / ", maxTime, "s"] })] }));
50
- }
51
- //# sourceMappingURL=05-DepositProgressScreen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"05-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CAAC;QAC5D,IAAM,WAAW,GACf,kBAAkB,KAAK,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC;QAE7D,6BACK,OAAO,KACV,KAAK,EAAE,OAAO,CAAC,KAAK,IAAI,qBAAc,WAAW,aAAU,EAC3D,QAAQ,EACN,OAAO,CAAC,QAAQ;gBAChB,4CAAqC,WAAW,aAAU,IAC5D;IACJ,CAAC,CAAC;IAEF,IAAM,cAAc,GAAG,yBAAyB,EAAE,CAAC;IAEnD,OAAO,CACL,eAAK,SAAS,EAAC,0BAA0B,aACvC,KAAC,cAAc,IAAC,OAAO,EAAE,cAAc,GAAI,EAC3C,eAAK,SAAS,EAAC,8CAA8C,+BAC5C,WAAW,UAAM,OAAO,SACnC,IACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { WaitingMessage } from '../components/WaitingMessage';\nimport { WaitingMessageState } from '../types';\nimport { useN1WalletInternalContext } from '../../../Provider/hooks';\nimport { N1SessionMode } from '../../../Provider/types';\nimport { useState, useEffect } from 'react';\n\n\nexport function DepositProgressScreen() {\n const { sessionMode } = useN1WalletInternalContext();\n const [elapsedTime, setElapsedTime] = useState(0);\n const maxTime = 300; // Maximum time in seconds\n\n const message = {\n visible: true,\n title: 'Processing Deposit',\n subtitle: 'Please wait while we process your deposit',\n isTyping: false,\n }\n\n // Start timer when component mounts\n useEffect(() => {\n const timer = setInterval(() => {\n setElapsedTime((prevTime) => {\n if (prevTime >= maxTime) {\n clearInterval(timer);\n return maxTime;\n }\n return prevTime + 1;\n });\n }, 1000);\n\n // Clean up timer on unmount\n return () => clearInterval(timer);\n }, []);\n\n // Determine the appropriate message based on session mode\n const getSessionSpecificMessage = () => {\n const currentSessionMode = sessionMode ?? N1SessionMode.NTS;\n const accountType =\n currentSessionMode === N1SessionMode.Nord ? 'Nord' : 'NTS';\n\n return {\n ...message,\n title: message.title || `Processing ${accountType} Deposit`,\n subtitle:\n message.subtitle ||\n `Please wait while we process your ${accountType} deposit`,\n };\n };\n\n const sessionMessage = getSessionSpecificMessage();\n\n return (\n <div className=\"overflow-hidden relative\">\n <WaitingMessage message={sessionMessage} />\n <div className=\"text-center mt-4 text-sm text-n1-ww-gray-500\">\n Time elapsed: {elapsedTime}s / {maxTime}s\n </div>\n </div>\n );\n}\n"]}
@@ -1 +0,0 @@
1
- export declare function DepositSuccessScreen(): import("react/jsx-runtime").JSX.Element;
@@ -1,137 +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 { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
38
- import { useEffect, useState } from "react";
39
- import { useN1WalletContext } from "../../../Provider/hooks";
40
- import { isNordConfigured, shortenAddress } from "../utils/nordUtils";
41
- import { useDepositContext } from "../context/DepositContext";
42
- import { useFlowStateContext } from "../context/FlowContext";
43
- import { getExplorerUrl } from "../../../Logic/transactionManager";
44
- // Share icon component reused from Header.tsx
45
- var ShareIcon = function (_a) {
46
- var className = _a.className;
47
- return (_jsxs("svg", { className: className || "h-full w-full", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("path", { d: "M5.93066 8.06944L12.3473 1.65277", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round" }), _jsx("path", { d: "M8.06958 1.65277H12.3474V5.93055", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round" }), _jsx("path", { d: "M10.7431 7.80207V12.3472H1.65283V3.25693H6.19797", stroke: "currentColor", strokeWidth: "1.2", strokeLinecap: "round" })] }));
48
- };
49
- export function DepositSuccessScreen() {
50
- var _this = this;
51
- var _a = useDepositContext(), amount = _a.amount, completeDeposit = _a.completeDeposit, transactionResult = _a.transactionResult, transactionId = _a.transactionId;
52
- var nord = useN1WalletContext().nord;
53
- var context = useFlowStateContext().context;
54
- var isContinueEnabled = useState(true)[0];
55
- var _b = useState("USDC"), tokenSymbol = _b[0], setTokenSymbol = _b[1];
56
- var _c = useState(false), copiedAddress = _c[0], setCopiedAddress = _c[1];
57
- var _d = useState(false), showCopyTooltip = _d[0], setShowCopyTooltip = _d[1];
58
- var fallbackTransaction = transactionResult !== null && transactionResult !== void 0 ? transactionResult : {
59
- success: true,
60
- transactionId: transactionId !== null && transactionId !== void 0 ? transactionId : "pending-transaction",
61
- amount: amount || "0",
62
- tokenSymbol: "USDC",
63
- fromAddress: "Debug Wallet",
64
- toAddress: "Exchange Account",
65
- networkName: "Devnet",
66
- status: "Completed",
67
- explorerUrl: transactionId ? getExplorerUrl(transactionId) : "",
68
- };
69
- // Get token information from Nord if available
70
- useEffect(function () {
71
- if (nord && isNordConfigured(nord)) {
72
- try {
73
- var usdcToken = nord.tokens.find(function (t) { return t.symbol === "USDC"; }) || nord.tokens[0];
74
- if (usdcToken) {
75
- setTokenSymbol(usdcToken.symbol);
76
- }
77
- }
78
- catch (error) {
79
- console.warn("Error getting token information from Nord:", error);
80
- }
81
- }
82
- }, [nord]);
83
- // Solana transaction ID (from depositSpl)
84
- var solanaTransactionId = transactionId || fallbackTransaction.transactionId;
85
- var solanaTransactionIdShort = shortenAddress(solanaTransactionId, 5, 4);
86
- var solanaExplorerUrl = solanaTransactionId
87
- ? getExplorerUrl(solanaTransactionId)
88
- : "";
89
- // N1 transaction ID (could be derived from transactionResult or generated)
90
- // For now, using a formatted version or placeholder
91
- var n1TransactionId = (transactionResult === null || transactionResult === void 0 ? void 0 : transactionResult.transactionId)
92
- ? "n1_".concat(transactionResult.transactionId.substring(0, 8))
93
- : "n1_".concat(solanaTransactionId.substring(0, 8));
94
- var n1TransactionIdShort = shortenAddress(n1TransactionId, 5, 4);
95
- // N1 explorer URL (placeholder - adjust based on actual N1 explorer)
96
- var n1ExplorerUrl = "https://explorer.n1.network/tx/".concat(n1TransactionId);
97
- var fromAddressShort = shortenAddress(fallbackTransaction.fromAddress, 5, 4);
98
- var fromAddressFull = fallbackTransaction.fromAddress;
99
- // Handle copy to clipboard for wallet address
100
- var handleCopyAddress = function () { return __awaiter(_this, void 0, void 0, function () {
101
- var nav, error_1;
102
- var _a;
103
- return __generator(this, function (_b) {
104
- switch (_b.label) {
105
- case 0:
106
- if (!fromAddressFull || typeof navigator === "undefined")
107
- return [2 /*return*/];
108
- nav = navigator;
109
- if (!((_a = nav.clipboard) === null || _a === void 0 ? void 0 : _a.writeText)) return [3 /*break*/, 4];
110
- _b.label = 1;
111
- case 1:
112
- _b.trys.push([1, 3, , 4]);
113
- return [4 /*yield*/, nav.clipboard.writeText(fromAddressFull)];
114
- case 2:
115
- _b.sent();
116
- setCopiedAddress(true);
117
- setTimeout(function () {
118
- setCopiedAddress(false);
119
- }, 1000);
120
- return [3 /*break*/, 4];
121
- case 3:
122
- error_1 = _b.sent();
123
- console.warn("Failed to copy address:", error_1);
124
- return [3 /*break*/, 4];
125
- case 4: return [2 /*return*/];
126
- }
127
- });
128
- }); };
129
- return (_jsx("div", { className: "relative w-full", children: _jsxs("div", { className: "flex flex-col space-y-4", children: [_jsx("div", { className: "w-full py-4", children: _jsx("div", { className: "flex items-center justify-center", children: _jsxs("div", { className: "text-center flex items-end", children: [_jsx("div", { className: "text-5xl md:text-6xl tracking-tight text-n1-ww-main font-medium", children: Number(amount).toLocaleString() }), _jsx("div", { className: "h-5 inline-flex items-center justify-center border border-n1-ww-border rounded px-1 py-1 ml-2 mb-1", children: _jsx("span", { className: "text-white text-xs font-light", children: tokenSymbol }) })] }) }) }), _jsxs("div", { className: "space-y-3 mb-4", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-white text-xs font-light", children: "Amount:" }), _jsxs("span", { className: "text-white text-xs font-light", children: [Number(amount).toLocaleString(), " ", tokenSymbol] })] }), _jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-white text-xs font-light", children: "Status:" }), _jsxs("div", { className: "flex items-center gap-2", children: [_jsxs("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: "text-n1-ww-accent-neon", children: [_jsx("rect", { x: "0.5", y: "0.5", width: "13", height: "13", rx: "6.5", stroke: "currentColor" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.7917 4.83199L6.54647 9.9756L6.27917 10.2995L5.97635 10.0059L3.5 7.60561L4.0421 7.0879L6.21563 9.19473L10.1935 4.375L10.7917 4.83199Z", fill: "currentColor", stroke: "currentColor", strokeWidth: "0.5" })] }), _jsx("span", { className: "text-n1-ww-accent-neon text-xs font-light", children: fallbackTransaction.status })] })] }), _jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-white text-xs font-light", children: "From:" }), _jsxs("div", { className: "relative flex items-center gap-1 group", children: [_jsx("button", { onClick: handleCopyAddress, onMouseEnter: function () { return !copiedAddress && setShowCopyTooltip(true); }, onMouseLeave: function () { return setShowCopyTooltip(false); }, className: "text-white text-xs font-light underline cursor-pointer hover:text-n1-ww-main transition-colors", children: fromAddressShort }), (copiedAddress || showCopyTooltip) && (_jsx("div", { className: "absolute top-full mt-1 left-1/2 -translate-x-1/2 px-2 py-1 bg-n1-ww-gray-800 border border-n1-ww-border rounded text-xs text-white whitespace-nowrap z-10 pointer-events-none ".concat(copiedAddress
130
- ? "opacity-100"
131
- : showCopyTooltip
132
- ? "opacity-100"
133
- : "opacity-0", " transition-opacity duration-200"), children: copiedAddress ? "Copied!" : "Click to copy" }))] })] }), _jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-white text-xs font-light", children: "N1 Transaction ID:" }), _jsxs("div", { className: "flex items-center gap-1", children: [_jsx("span", { className: "text-white text-xs font-light underline", children: n1TransactionIdShort }), n1ExplorerUrl && (_jsx("a", { href: n1ExplorerUrl, target: "_blank", rel: "noopener noreferrer", className: "flex h-4 w-4 flex-shrink-0 items-center justify-center text-n1-ww-main hover:text-white transition-colors", "aria-label": "View N1 transaction on explorer", children: _jsx(ShareIcon, {}) }))] })] }), _jsxs("div", { className: "flex items-center justify-between", children: [_jsx("span", { className: "text-white text-xs font-light", children: "Solana Transaction ID:" }), _jsxs("div", { className: "flex items-center gap-1", children: [_jsx("span", { className: "text-white text-xs font-light underline", children: solanaTransactionIdShort }), solanaExplorerUrl && (_jsx("a", { href: solanaExplorerUrl, target: "_blank", rel: "noopener noreferrer", className: "flex h-4 w-4 flex-shrink-0 items-center justify-center text-n1-ww-main hover:text-white transition-colors", "aria-label": "View transaction on explorer", children: _jsx(ShareIcon, {}) }))] })] })] }), _jsx("div", { className: "h-px bg-n1-ww-border mb-4" }), _jsx("button", { onClick: isContinueEnabled ? completeDeposit : undefined, disabled: !isContinueEnabled, className: "\n w-full h-8 rounded border bg-transparent flex font-medium items-center justify-center\n transition-all duration-200 transform\n ".concat(isContinueEnabled
134
- ? "border-n1-ww-main hover:bg-n1-ww-gray-900 cursor-pointer text-n1-ww-main"
135
- : "border-n1-ww-border opacity-50 cursor-not-allowed text-n1-ww-gray-600", "\n "), children: _jsx("span", { className: "font-medium text-sm opacity-90", children: context.isDepositOnlyFlow ? "Close" : "Continue" }) })] }) }));
136
- }
137
- //# sourceMappingURL=05-DepositSuccessScreen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"05-DepositSuccessScreen.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/screens/05-DepositSuccessScreen.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,E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AAS,EAAC,2BAA2B,GAAO,EAGjD,iBACE,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,EACxD,QAAQ,EAAE,CAAC,iBAAiB,EAC5B,SAAS,EAAE,8KAIP,iBAAiB;wBACf,CAAC,CAAC,0EAA0E;wBAC5E,CAAC,CAAC,uEAAuE,iBAE9E,YAED,eAAM,SAAS,EAAC,gCAAgC,YAC7C,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,UAAU,GAC5C,GACA,IACL,GACF,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { useEffect, useState } from \"react\";\nimport { useN1WalletContext } from \"../../../Provider/hooks\";\nimport { isNordConfigured, shortenAddress } from \"../utils/nordUtils\";\nimport { useDepositContext } from \"../context/DepositContext\";\nimport { useFlowStateContext } from \"../context/FlowContext\";\nimport { getExplorerUrl } from \"../../../Logic/transactionManager\";\n\n// Share icon component reused from Header.tsx\nconst ShareIcon = ({ className }: { className?: string }) => (\n <svg\n className={className || \"h-full w-full\"}\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M5.93066 8.06944L12.3473 1.65277\"\n stroke=\"currentColor\"\n strokeWidth=\"1.2\"\n strokeLinecap=\"round\"\n />\n <path\n d=\"M8.06958 1.65277H12.3474V5.93055\"\n stroke=\"currentColor\"\n strokeWidth=\"1.2\"\n strokeLinecap=\"round\"\n />\n <path\n d=\"M10.7431 7.80207V12.3472H1.65283V3.25693H6.19797\"\n stroke=\"currentColor\"\n strokeWidth=\"1.2\"\n strokeLinecap=\"round\"\n />\n </svg>\n);\n\nexport function DepositSuccessScreen() {\n const { amount, completeDeposit, transactionResult, transactionId } =\n useDepositContext();\n const { nord } = useN1WalletContext();\n const { context } = useFlowStateContext();\n const [isContinueEnabled] = useState(true);\n const [tokenSymbol, setTokenSymbol] = useState(\"USDC\");\n const [copiedAddress, setCopiedAddress] = useState(false);\n const [showCopyTooltip, setShowCopyTooltip] = useState(false);\n\n const fallbackTransaction = transactionResult ?? {\n success: true,\n transactionId: transactionId ?? \"pending-transaction\",\n amount: amount || \"0\",\n tokenSymbol: \"USDC\",\n fromAddress: \"Debug Wallet\",\n toAddress: \"Exchange Account\",\n networkName: \"Devnet\",\n status: \"Completed\",\n explorerUrl: transactionId ? getExplorerUrl(transactionId) : \"\",\n };\n\n // Get token information from Nord if available\n useEffect(() => {\n if (nord && isNordConfigured(nord)) {\n try {\n const usdcToken =\n nord.tokens.find((t) => t.symbol === \"USDC\") || nord.tokens[0];\n if (usdcToken) {\n setTokenSymbol(usdcToken.symbol);\n }\n } catch (error) {\n console.warn(\"Error getting token information from Nord:\", error);\n }\n }\n }, [nord]);\n\n // Solana transaction ID (from depositSpl)\n const solanaTransactionId =\n transactionId || fallbackTransaction.transactionId;\n const solanaTransactionIdShort = shortenAddress(solanaTransactionId, 5, 4);\n const solanaExplorerUrl = solanaTransactionId\n ? getExplorerUrl(solanaTransactionId)\n : \"\";\n\n // N1 transaction ID (could be derived from transactionResult or generated)\n // For now, using a formatted version or placeholder\n const n1TransactionId = transactionResult?.transactionId\n ? `n1_${transactionResult.transactionId.substring(0, 8)}`\n : `n1_${solanaTransactionId.substring(0, 8)}`;\n const n1TransactionIdShort = shortenAddress(n1TransactionId, 5, 4);\n // N1 explorer URL (placeholder - adjust based on actual N1 explorer)\n const n1ExplorerUrl = `https://explorer.n1.network/tx/${n1TransactionId}`;\n\n const fromAddressShort = shortenAddress(\n fallbackTransaction.fromAddress,\n 5,\n 4\n );\n const fromAddressFull = fallbackTransaction.fromAddress;\n\n // Handle copy to clipboard for wallet address\n const handleCopyAddress = async () => {\n if (!fromAddressFull || typeof navigator === \"undefined\") return;\n\n const nav = navigator as Navigator & {\n clipboard?: { writeText: (text: string) => Promise<void> };\n };\n\n if (nav.clipboard?.writeText) {\n try {\n await nav.clipboard.writeText(fromAddressFull);\n setCopiedAddress(true);\n setTimeout(() => {\n setCopiedAddress(false);\n }, 1000);\n } catch (error) {\n console.warn(\"Failed to copy address:\", error);\n }\n }\n };\n\n return (\n <div className=\"relative w-full\">\n <div className=\"flex flex-col space-y-4\">\n {/* Amount display */}\n <div className=\"w-full py-4\">\n <div className=\"flex items-center justify-center\">\n <div className=\"text-center flex items-end\">\n <div className=\"text-5xl md:text-6xl tracking-tight text-n1-ww-main font-medium\">\n {Number(amount).toLocaleString()}\n </div>\n <div className=\"h-5 inline-flex items-center justify-center border border-n1-ww-border rounded px-1 py-1 ml-2 mb-1\">\n <span className=\"text-white text-xs font-light\">\n {tokenSymbol}\n </span>\n </div>\n </div>\n </div>\n </div>\n\n {/* Transaction details */}\n <div className=\"space-y-3 mb-4\">\n <div className=\"flex items-center justify-between\">\n <span className=\"text-white text-xs font-light\">Amount:</span>\n <span className=\"text-white text-xs font-light\">\n {Number(amount).toLocaleString()} {tokenSymbol}\n </span>\n </div>\n\n <div className=\"flex items-center justify-between\">\n <span className=\"text-white text-xs font-light\">Status:</span>\n <div className=\"flex items-center gap-2\">\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className=\"text-n1-ww-accent-neon\"\n >\n <rect\n x=\"0.5\"\n y=\"0.5\"\n width=\"13\"\n height=\"13\"\n rx=\"6.5\"\n stroke=\"currentColor\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M10.7917 4.83199L6.54647 9.9756L6.27917 10.2995L5.97635 10.0059L3.5 7.60561L4.0421 7.0879L6.21563 9.19473L10.1935 4.375L10.7917 4.83199Z\"\n fill=\"currentColor\"\n stroke=\"currentColor\"\n strokeWidth=\"0.5\"\n />\n </svg>\n <span className=\"text-n1-ww-accent-neon text-xs font-light\">\n {fallbackTransaction.status}\n </span>\n </div>\n </div>\n\n <div className=\"flex items-center justify-between\">\n <span className=\"text-white text-xs font-light\">From:</span>\n <div className=\"relative flex items-center gap-1 group\">\n <button\n onClick={handleCopyAddress}\n onMouseEnter={() => !copiedAddress && setShowCopyTooltip(true)}\n onMouseLeave={() => setShowCopyTooltip(false)}\n className=\"text-white text-xs font-light underline cursor-pointer hover:text-n1-ww-main transition-colors\"\n >\n {fromAddressShort}\n </button>\n {(copiedAddress || showCopyTooltip) && (\n <div\n className={`absolute top-full mt-1 left-1/2 -translate-x-1/2 px-2 py-1 bg-n1-ww-gray-800 border border-n1-ww-border rounded text-xs text-white whitespace-nowrap z-10 pointer-events-none ${\n copiedAddress\n ? \"opacity-100\"\n : showCopyTooltip\n ? \"opacity-100\"\n : \"opacity-0\"\n } transition-opacity duration-200`}\n >\n {copiedAddress ? \"Copied!\" : \"Click to copy\"}\n </div>\n )}\n </div>\n </div>\n\n <div className=\"flex items-center justify-between\">\n <span className=\"text-white text-xs font-light\">\n N1 Transaction ID:\n </span>\n <div className=\"flex items-center gap-1\">\n <span className=\"text-white text-xs font-light underline\">\n {n1TransactionIdShort}\n </span>\n {n1ExplorerUrl && (\n <a\n href={n1ExplorerUrl}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"flex h-4 w-4 flex-shrink-0 items-center justify-center text-n1-ww-main hover:text-white transition-colors\"\n aria-label=\"View N1 transaction on explorer\"\n >\n <ShareIcon />\n </a>\n )}\n </div>\n </div>\n\n <div className=\"flex items-center justify-between\">\n <span className=\"text-white text-xs font-light\">\n Solana Transaction ID:\n </span>\n <div className=\"flex items-center gap-1\">\n <span className=\"text-white text-xs font-light underline\">\n {solanaTransactionIdShort}\n </span>\n {solanaExplorerUrl && (\n <a\n href={solanaExplorerUrl}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"flex h-4 w-4 flex-shrink-0 items-center justify-center text-n1-ww-main hover:text-white transition-colors\"\n aria-label=\"View transaction on explorer\"\n >\n <ShareIcon />\n </a>\n )}\n </div>\n </div>\n </div>\n\n {/* Separator */}\n <div className=\"h-px bg-n1-ww-border mb-4\"></div>\n\n {/* Continue / Close button */}\n <button\n onClick={isContinueEnabled ? completeDeposit : undefined}\n disabled={!isContinueEnabled}\n className={`\n w-full h-8 rounded border bg-transparent flex font-medium items-center justify-center\n transition-all duration-200 transform\n ${\n isContinueEnabled\n ? \"border-n1-ww-main hover:bg-n1-ww-gray-900 cursor-pointer text-n1-ww-main\"\n : \"border-n1-ww-border opacity-50 cursor-not-allowed text-n1-ww-gray-600\"\n }\n `}\n >\n <span className=\"font-medium text-sm opacity-90\">\n {context.isDepositOnlyFlow ? \"Close\" : \"Continue\"}\n </span>\n </button>\n </div>\n </div>\n );\n}\n"]}
@@ -1 +0,0 @@
1
- export declare function AuthLoadingScreen(): import("react/jsx-runtime").JSX.Element;
@@ -1,31 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useEffect, useRef, useState } from 'react';
3
- import { useDepositContext } from '../context/DepositContext';
4
- import { WaitingMessage } from '../components/WaitingMessage';
5
- export function AuthLoadingScreen() {
6
- var _a = useState(false), isHovered = _a[0], setIsHovered = _a[1];
7
- var authInitiatedRef = useRef(false);
8
- // Get auth-related state and functions from DepositContext
9
- var _b = useDepositContext(), performAuth = _b.performAuth, authStatus = _b.authStatus, authErrorMessage = _b.authErrorMessage, authStatusMessage = _b.authStatusMessage;
10
- useEffect(function () {
11
- if (!authInitiatedRef.current) {
12
- authInitiatedRef.current = true;
13
- performAuth();
14
- }
15
- }, [performAuth]);
16
- var handleRetry = function () {
17
- // Reset and retry authentication
18
- authInitiatedRef.current = false;
19
- performAuth();
20
- };
21
- var loadingMessage = {
22
- visible: true,
23
- title: 'Authenticating',
24
- subtitle: authStatusMessage || 'Please wait while we create your Nord account',
25
- isTyping: false,
26
- };
27
- return (_jsx("div", { className: "overflow-hidden relative", children: authStatus !== 'error' ? (_jsx(WaitingMessage, { loaderSize: 52, message: loadingMessage })) : (_jsxs("div", { className: "flex flex-col items-center text-center space-y-2 ", children: [_jsx("h3", { className: "text-xl text-white font-semibold", children: "Authentication Failed" }), _jsx("p", { className: "text-sm text-neutral-400", children: "There was an error during authentication. Please try again." }), authErrorMessage && (_jsx("p", { className: "text-xs text-red-400", children: authErrorMessage })), _jsx("div", { className: "pt-4 w-full", children: _jsx("button", { onClick: handleRetry, onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, className: "\n w-full h-8 rounded border bg-transparent flex items-center justify-center font-medium text-sm\n transition-all duration-200 transform\n border-n1-ww-main text-n1-ww-main hover:bg-n1-ww-gray-900 cursor-pointer\n ", style: {
28
- transform: isHovered ? 'scale(0.99)' : 'scale(1)',
29
- }, children: "Try Again" }) })] })) }));
30
- }
31
- //# sourceMappingURL=06-AuthLoadingScreen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"06-AuthLoadingScreen.js","sourceRoot":"","sources":["../../../../src/Modal/NordFlow/screens/06-AuthLoadingScreen.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,MAAM,UAAU,iBAAiB;IACzB,IAAA,KAA4B,QAAQ,CAAU,KAAK,CAAC,EAAnD,SAAS,QAAA,EAAE,YAAY,QAA4B,CAAC;IAC3D,IAAM,gBAAgB,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAEvC,2DAA2D;IACrD,IAAA,KAKF,iBAAiB,EAAE,EAJrB,WAAW,iBAAA,EACX,UAAU,gBAAA,EACV,gBAAgB,sBAAA,EAChB,iBAAiB,uBACI,CAAC;IAExB,SAAS,CAAC;QACR,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC;YAC9B,gBAAgB,CAAC,OAAO,GAAG,IAAI,CAAC;YAChC,WAAW,EAAE,CAAC;QAChB,CAAC;IACH,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,IAAM,WAAW,GAAG;QAClB,iCAAiC;QACjC,gBAAgB,CAAC,OAAO,GAAG,KAAK,CAAC;QACjC,WAAW,EAAE,CAAC;IAChB,CAAC,CAAC;IAEF,IAAM,cAAc,GAAG;QACrB,OAAO,EAAE,IAAI;QACb,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EACN,iBAAiB,IAAI,+CAA+C;QACtE,QAAQ,EAAE,KAAK;KAChB,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,0BAA0B,YACtC,UAAU,KAAK,OAAO,CAAC,CAAC,CAAC,CACxB,KAAC,cAAc,IAAC,UAAU,EAAE,EAAE,EAAE,OAAO,EAAE,cAAc,GAAI,CAC5D,CAAC,CAAC,CAAC,CACF,eAAK,SAAS,EAAC,mDAAmD,aAChE,aAAI,SAAS,EAAC,kCAAkC,sCAE3C,EACL,YAAG,SAAS,EAAC,0BAA0B,4EAEnC,EACH,gBAAgB,IAAI,CACnB,YAAG,SAAS,EAAC,sBAAsB,YAAE,gBAAgB,GAAK,CAC3D,EACD,cAAK,SAAS,EAAC,aAAa,YAC1B,iBACE,OAAO,EAAE,WAAW,EACpB,YAAY,EAAE,cAAM,OAAA,YAAY,CAAC,IAAI,CAAC,EAAlB,CAAkB,EACtC,YAAY,EAAE,cAAM,OAAA,YAAY,CAAC,KAAK,CAAC,EAAnB,CAAmB,EACvC,SAAS,EAAE,0RAIR,EACH,KAAK,EAAE;4BACL,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,UAAU;yBAClD,0BAGM,GACL,IACF,CACP,GACG,CACP,CAAC;AACJ,CAAC","sourcesContent":["import { useEffect, useRef, useState } from 'react';\nimport { useDepositContext } from '../context/DepositContext';\nimport { WaitingMessage } from '../components/WaitingMessage';\n\nexport function AuthLoadingScreen() {\n const [isHovered, setIsHovered] = useState<boolean>(false);\n const authInitiatedRef = useRef(false);\n \n // Get auth-related state and functions from DepositContext\n const { \n performAuth,\n authStatus, \n authErrorMessage, \n authStatusMessage\n } = useDepositContext();\n\n useEffect(() => {\n if (!authInitiatedRef.current) {\n authInitiatedRef.current = true;\n performAuth();\n }\n }, [performAuth]);\n\n const handleRetry = () => {\n // Reset and retry authentication\n authInitiatedRef.current = false;\n performAuth();\n };\n\n const loadingMessage = {\n visible: true,\n title: 'Authenticating',\n subtitle:\n authStatusMessage || 'Please wait while we create your Nord account',\n isTyping: false,\n };\n\n return (\n <div className=\"overflow-hidden relative\">\n {authStatus !== 'error' ? (\n <WaitingMessage loaderSize={52} message={loadingMessage} />\n ) : (\n <div className=\"flex flex-col items-center text-center space-y-2 \">\n <h3 className=\"text-xl text-white font-semibold\">\n Authentication Failed\n </h3>\n <p className=\"text-sm text-neutral-400\">\n There was an error during authentication. Please try again.\n </p>\n {authErrorMessage && (\n <p className=\"text-xs text-red-400\">{authErrorMessage}</p>\n )}\n <div className=\"pt-4 w-full\">\n <button\n onClick={handleRetry}\n onMouseEnter={() => setIsHovered(true)}\n onMouseLeave={() => setIsHovered(false)}\n className={`\n w-full h-8 rounded border bg-transparent flex items-center justify-center font-medium text-sm\n transition-all duration-200 transform\n border-n1-ww-main text-n1-ww-main hover:bg-n1-ww-gray-900 cursor-pointer\n `}\n style={{\n transform: isHovered ? 'scale(0.99)' : 'scale(1)',\n }}\n >\n Try Again\n </button>\n </div>\n </div>\n )}\n </div>\n );\n}\n"]}