@n1xyz/wallet-widget 0.0.32 → 0.0.33-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/Logic/getPseudoName.d.ts +0 -1
- package/dist/Logic/getPseudoName.js +0 -5826
- package/dist/Logic/getPseudoName.js.map +0 -1
- package/dist/Logic/sessionManager.d.ts +0 -17
- package/dist/Logic/sessionManager.js +0 -38
- package/dist/Logic/sessionManager.js.map +0 -1
- package/dist/Logic/transactionManager.d.ts +0 -19
- package/dist/Logic/transactionManager.js +0 -8
- package/dist/Logic/transactionManager.js.map +0 -1
- package/dist/Logic/utils.d.ts +0 -19
- package/dist/Logic/utils.js +0 -66
- package/dist/Logic/utils.js.map +0 -1
- package/dist/Logic/words.d.ts +0 -9
- package/dist/Logic/words.js +0 -93572
- package/dist/Logic/words.js.map +0 -1
- package/dist/Modal/LoadingFallback.d.ts +0 -2
- package/dist/Modal/LoadingFallback.js +0 -3
- package/dist/Modal/LoadingFallback.js.map +0 -1
- package/dist/Modal/N1WalletModal.d.ts +0 -2
- package/dist/Modal/N1WalletModal.js +0 -93
- package/dist/Modal/N1WalletModal.js.map +0 -1
- package/dist/Modal/NTSFlow/LoadingFallback.d.ts +0 -2
- package/dist/Modal/NTSFlow/LoadingFallback.js +0 -3
- package/dist/Modal/NTSFlow/LoadingFallback.js.map +0 -1
- package/dist/Modal/NTSFlow/NTSFlow.d.ts +0 -4
- package/dist/Modal/NTSFlow/NTSFlow.js +0 -35
- package/dist/Modal/NTSFlow/NTSFlow.js.map +0 -1
- package/dist/Modal/NTSFlow/components/BackButton.d.ts +0 -3
- package/dist/Modal/NTSFlow/components/BackButton.js +0 -26
- package/dist/Modal/NTSFlow/components/BackButton.js.map +0 -1
- package/dist/Modal/NTSFlow/components/ModalHeader.d.ts +0 -1
- package/dist/Modal/NTSFlow/components/ModalHeader.js +0 -21
- package/dist/Modal/NTSFlow/components/ModalHeader.js.map +0 -1
- package/dist/Modal/NTSFlow/index.d.ts +0 -1
- package/dist/Modal/NTSFlow/index.js +0 -2
- package/dist/Modal/NTSFlow/index.js.map +0 -1
- package/dist/Modal/NTSFlow/views/ConnectView.d.ts +0 -1
- package/dist/Modal/NTSFlow/views/ConnectView.js +0 -68
- package/dist/Modal/NTSFlow/views/ConnectView.js.map +0 -1
- package/dist/Modal/NTSFlow/views/CreateSessionView.d.ts +0 -1
- package/dist/Modal/NTSFlow/views/CreateSessionView.js +0 -246
- package/dist/Modal/NTSFlow/views/CreateSessionView.js.map +0 -1
- package/dist/Modal/NTSFlow/views/CreateUserView.d.ts +0 -1
- package/dist/Modal/NTSFlow/views/CreateUserView.js +0 -106
- package/dist/Modal/NTSFlow/views/CreateUserView.js.map +0 -1
- package/dist/Modal/NTSFlow/views/NoWhitelistView.d.ts +0 -1
- package/dist/Modal/NTSFlow/views/NoWhitelistView.js +0 -43
- package/dist/Modal/NTSFlow/views/NoWhitelistView.js.map +0 -1
- package/dist/Modal/NTSFlow/views/SigningView.d.ts +0 -1
- package/dist/Modal/NTSFlow/views/SigningView.js +0 -6
- package/dist/Modal/NTSFlow/views/SigningView.js.map +0 -1
- package/dist/Modal/NTSFlow/views/SuccessView.d.ts +0 -1
- package/dist/Modal/NTSFlow/views/SuccessView.js +0 -11
- package/dist/Modal/NTSFlow/views/SuccessView.js.map +0 -1
- package/dist/Modal/NordFlow/NordFlow.d.ts +0 -9
- package/dist/Modal/NordFlow/NordFlow.js +0 -98
- package/dist/Modal/NordFlow/NordFlow.js.map +0 -1
- package/dist/Modal/NordFlow/components/ChainButton.d.ts +0 -10
- package/dist/Modal/NordFlow/components/ChainButton.js +0 -21
- package/dist/Modal/NordFlow/components/ChainButton.js.map +0 -1
- package/dist/Modal/NordFlow/components/EVMChainsButton.d.ts +0 -9
- package/dist/Modal/NordFlow/components/EVMChainsButton.js +0 -21
- package/dist/Modal/NordFlow/components/EVMChainsButton.js.map +0 -1
- package/dist/Modal/NordFlow/components/Header.d.ts +0 -12
- package/dist/Modal/NordFlow/components/Header.js +0 -45
- package/dist/Modal/NordFlow/components/Header.js.map +0 -1
- package/dist/Modal/NordFlow/components/ImageWithFallback.d.ts +0 -17
- package/dist/Modal/NordFlow/components/ImageWithFallback.js +0 -33
- package/dist/Modal/NordFlow/components/ImageWithFallback.js.map +0 -1
- package/dist/Modal/NordFlow/components/LoadingSquares.d.ts +0 -1
- package/dist/Modal/NordFlow/components/LoadingSquares.js +0 -6
- package/dist/Modal/NordFlow/components/LoadingSquares.js.map +0 -1
- package/dist/Modal/NordFlow/components/MoreButton.d.ts +0 -8
- package/dist/Modal/NordFlow/components/MoreButton.js +0 -19
- package/dist/Modal/NordFlow/components/MoreButton.js.map +0 -1
- package/dist/Modal/NordFlow/components/TransactionTable.d.ts +0 -13
- package/dist/Modal/NordFlow/components/TransactionTable.js +0 -83
- package/dist/Modal/NordFlow/components/TransactionTable.js.map +0 -1
- package/dist/Modal/NordFlow/components/WaitingMessage.d.ts +0 -8
- package/dist/Modal/NordFlow/components/WaitingMessage.js +0 -17
- package/dist/Modal/NordFlow/components/WaitingMessage.js.map +0 -1
- package/dist/Modal/NordFlow/components/index.d.ts +0 -5
- package/dist/Modal/NordFlow/components/index.js +0 -6
- package/dist/Modal/NordFlow/components/index.js.map +0 -1
- package/dist/Modal/NordFlow/constants.d.ts +0 -31
- package/dist/Modal/NordFlow/constants.js +0 -56
- package/dist/Modal/NordFlow/constants.js.map +0 -1
- package/dist/Modal/NordFlow/context/DepositContext.d.ts +0 -29
- package/dist/Modal/NordFlow/context/DepositContext.js +0 -526
- package/dist/Modal/NordFlow/context/DepositContext.js.map +0 -1
- package/dist/Modal/NordFlow/context/FlowContext.d.ts +0 -50
- package/dist/Modal/NordFlow/context/FlowContext.js +0 -192
- package/dist/Modal/NordFlow/context/FlowContext.js.map +0 -1
- package/dist/Modal/NordFlow/context/NordProvider.d.ts +0 -10
- package/dist/Modal/NordFlow/context/NordProvider.js +0 -14
- package/dist/Modal/NordFlow/context/NordProvider.js.map +0 -1
- package/dist/Modal/NordFlow/context/WalletConnectContext.d.ts +0 -20
- package/dist/Modal/NordFlow/context/WalletConnectContext.js +0 -394
- package/dist/Modal/NordFlow/context/WalletConnectContext.js.map +0 -1
- package/dist/Modal/NordFlow/context/flowMachine.d.ts +0 -48
- package/dist/Modal/NordFlow/context/flowMachine.js +0 -83
- package/dist/Modal/NordFlow/context/flowMachine.js.map +0 -1
- package/dist/Modal/NordFlow/context/index.d.ts +0 -5
- package/dist/Modal/NordFlow/context/index.js +0 -8
- package/dist/Modal/NordFlow/context/index.js.map +0 -1
- package/dist/Modal/NordFlow/hoc/index.d.ts +0 -1
- package/dist/Modal/NordFlow/hoc/index.js +0 -2
- package/dist/Modal/NordFlow/hoc/index.js.map +0 -1
- package/dist/Modal/NordFlow/hoc/withImageFallback.d.ts +0 -7
- package/dist/Modal/NordFlow/hoc/withImageFallback.js +0 -61
- package/dist/Modal/NordFlow/hoc/withImageFallback.js.map +0 -1
- package/dist/Modal/NordFlow/hooks/useTestnetFaucet.d.ts +0 -18
- package/dist/Modal/NordFlow/hooks/useTestnetFaucet.js +0 -181
- package/dist/Modal/NordFlow/hooks/useTestnetFaucet.js.map +0 -1
- package/dist/Modal/NordFlow/index.d.ts +0 -1
- package/dist/Modal/NordFlow/index.js +0 -2
- package/dist/Modal/NordFlow/index.js.map +0 -1
- package/dist/Modal/NordFlow/screens/00-IdleScreen.d.ts +0 -6
- package/dist/Modal/NordFlow/screens/00-IdleScreen.js +0 -9
- package/dist/Modal/NordFlow/screens/00-IdleScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/01-ConnectWalletScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/01-ConnectWalletScreen.js +0 -19
- package/dist/Modal/NordFlow/screens/01-ConnectWalletScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/02-ChainSelectionScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/02-ChainSelectionScreen.js +0 -65
- package/dist/Modal/NordFlow/screens/02-ChainSelectionScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/02-EvmWalletAuthScreen.d.ts +0 -2
- package/dist/Modal/NordFlow/screens/02-EvmWalletAuthScreen.js +0 -45
- package/dist/Modal/NordFlow/screens/02-EvmWalletAuthScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/03-AmountInputScreen.d.ts +0 -4
- package/dist/Modal/NordFlow/screens/03-AmountInputScreen.js +0 -358
- package/dist/Modal/NordFlow/screens/03-AmountInputScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/03-ChainSelectionScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/03-ChainSelectionScreen.js +0 -66
- package/dist/Modal/NordFlow/screens/03-ChainSelectionScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/04-AmountInputScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/04-AmountInputScreen.js +0 -204
- package/dist/Modal/NordFlow/screens/04-AmountInputScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/04-DepositProgressScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/04-DepositProgressScreen.js +0 -26
- package/dist/Modal/NordFlow/screens/04-DepositProgressScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/05-DepositProgressScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/05-DepositProgressScreen.js +0 -51
- package/dist/Modal/NordFlow/screens/05-DepositProgressScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/05-DepositSuccessScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/05-DepositSuccessScreen.js +0 -137
- package/dist/Modal/NordFlow/screens/05-DepositSuccessScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/06-AuthLoadingScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/06-AuthLoadingScreen.js +0 -31
- package/dist/Modal/NordFlow/screens/06-AuthLoadingScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/06-DepositSuccessScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/06-DepositSuccessScreen.js +0 -132
- package/dist/Modal/NordFlow/screens/06-DepositSuccessScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/07-AuthLoadingScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/07-AuthLoadingScreen.js +0 -30
- package/dist/Modal/NordFlow/screens/07-AuthLoadingScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/07-ErrorScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/07-ErrorScreen.js +0 -14
- package/dist/Modal/NordFlow/screens/07-ErrorScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/07-FinalSuccessScreen.d.ts +0 -5
- package/dist/Modal/NordFlow/screens/07-FinalSuccessScreen.js +0 -39
- package/dist/Modal/NordFlow/screens/07-FinalSuccessScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/08-ErrorScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/08-ErrorScreen.js +0 -68
- package/dist/Modal/NordFlow/screens/08-ErrorScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/08-FinalSuccessScreen.d.ts +0 -5
- package/dist/Modal/NordFlow/screens/08-FinalSuccessScreen.js +0 -52
- package/dist/Modal/NordFlow/screens/08-FinalSuccessScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/09-ErrorScreen.d.ts +0 -1
- package/dist/Modal/NordFlow/screens/09-ErrorScreen.js +0 -68
- package/dist/Modal/NordFlow/screens/09-ErrorScreen.js.map +0 -1
- package/dist/Modal/NordFlow/screens/index.d.ts +0 -7
- package/dist/Modal/NordFlow/screens/index.js +0 -8
- package/dist/Modal/NordFlow/screens/index.js.map +0 -1
- package/dist/Modal/NordFlow/types.d.ts +0 -113
- package/dist/Modal/NordFlow/types.js +0 -34
- package/dist/Modal/NordFlow/types.js.map +0 -1
- package/dist/Modal/NordFlow/utils/depositStorage.d.ts +0 -4
- package/dist/Modal/NordFlow/utils/depositStorage.js +0 -48
- package/dist/Modal/NordFlow/utils/depositStorage.js.map +0 -1
- package/dist/Modal/NordFlow/utils/imageUtils.d.ts +0 -21
- package/dist/Modal/NordFlow/utils/imageUtils.js +0 -110
- package/dist/Modal/NordFlow/utils/imageUtils.js.map +0 -1
- package/dist/Modal/NordFlow/utils/index.d.ts +0 -2
- package/dist/Modal/NordFlow/utils/index.js +0 -3
- package/dist/Modal/NordFlow/utils/index.js.map +0 -1
- package/dist/Modal/NordFlow/utils/nordUtils.d.ts +0 -40
- package/dist/Modal/NordFlow/utils/nordUtils.js +0 -64
- package/dist/Modal/NordFlow/utils/nordUtils.js.map +0 -1
- package/dist/Modal/Sidebar/N1Sidebar.d.ts +0 -1
- package/dist/Modal/Sidebar/N1Sidebar.js +0 -203
- package/dist/Modal/Sidebar/N1Sidebar.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketOverview.d.ts +0 -12
- package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketOverview.js +0 -90
- package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketOverview.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketSelector.d.ts +0 -6
- package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketSelector.js +0 -43
- package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketSelector.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketStats.d.ts +0 -11
- package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketStats.js +0 -20
- package/dist/Modal/Sidebar/NordTradingView/MarketOverview/MarketStats.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/NordTradingView.d.ts +0 -1
- package/dist/Modal/Sidebar/NordTradingView/NordTradingView.js +0 -143
- package/dist/Modal/Sidebar/NordTradingView/NordTradingView.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBook.d.ts +0 -0
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBook.js +0 -248
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBook.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookDepthVisualizer.d.ts +0 -10
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookDepthVisualizer.js +0 -62
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookDepthVisualizer.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookHeader.d.ts +0 -7
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookHeader.js +0 -30
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookHeader.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookTable.d.ts +0 -11
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookTable.js +0 -22
- package/dist/Modal/Sidebar/NordTradingView/OrderBook/OrderBookTable.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/AmountInput.d.ts +0 -7
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/AmountInput.js +0 -20
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/AmountInput.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/BuySellTabs.d.ts +0 -7
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/BuySellTabs.js +0 -24
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/BuySellTabs.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/FillModeSelector.d.ts +0 -7
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/FillModeSelector.js +0 -80
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/FillModeSelector.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/OrderTypeSelector.d.ts +0 -9
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/OrderTypeSelector.js +0 -110
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/OrderTypeSelector.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/PriceInput.d.ts +0 -7
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/PriceInput.js +0 -30
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/PriceInput.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/SubmitButton.d.ts +0 -9
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/SubmitButton.js +0 -40
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/SubmitButton.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/TotalCalculator.d.ts +0 -7
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/TotalCalculator.js +0 -10
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/TotalCalculator.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/TradeForm.d.ts +0 -13
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/TradeForm.js +0 -264
- package/dist/Modal/Sidebar/NordTradingView/TradeForm/TradeForm.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/UserBalances/UserBalances.d.ts +0 -5
- package/dist/Modal/Sidebar/NordTradingView/UserBalances/UserBalances.js +0 -113
- package/dist/Modal/Sidebar/NordTradingView/UserBalances/UserBalances.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/UserOrders/UserOrders.d.ts +0 -1
- package/dist/Modal/Sidebar/NordTradingView/UserOrders/UserOrders.js +0 -183
- package/dist/Modal/Sidebar/NordTradingView/UserOrders/UserOrders.js.map +0 -1
- package/dist/Modal/Sidebar/NordTradingView/UserPositions/UserPositions.d.ts +0 -0
- package/dist/Modal/Sidebar/NordTradingView/UserPositions/UserPositions.js +0 -278
- package/dist/Modal/Sidebar/NordTradingView/UserPositions/UserPositions.js.map +0 -1
- package/dist/Provider/LazyWalletProvider.d.ts +0 -1
- package/dist/Provider/LazyWalletProvider.js +0 -230
- package/dist/Provider/LazyWalletProvider.js.map +0 -1
- package/dist/Provider/N1WalletProvider.d.ts +0 -3
- package/dist/Provider/N1WalletProvider.js +0 -266
- package/dist/Provider/N1WalletProvider.js.map +0 -1
- package/dist/Provider/ShadowRootWrapper.d.ts +0 -7
- package/dist/Provider/ShadowRootWrapper.js +0 -7
- package/dist/Provider/ShadowRootWrapper.js.map +0 -1
- package/dist/Provider/WalletErrorBoundary.d.ts +0 -17
- package/dist/Provider/WalletErrorBoundary.js +0 -57
- package/dist/Provider/WalletErrorBoundary.js.map +0 -1
- package/dist/Provider/context.d.ts +0 -5
- package/dist/Provider/context.js +0 -5
- package/dist/Provider/context.js.map +0 -1
- package/dist/Provider/hooks/useNordUserInitialization.d.ts +0 -1
- package/dist/Provider/hooks/useNordUserInitialization.js +0 -306
- package/dist/Provider/hooks/useNordUserInitialization.js.map +0 -1
- package/dist/Provider/hooks.d.ts +0 -2
- package/dist/Provider/hooks.js +0 -17
- package/dist/Provider/hooks.js.map +0 -1
- package/dist/Provider/icons/CoinbaseWalletIcon.d.ts +0 -1
- package/dist/Provider/icons/CoinbaseWalletIcon.js +0 -5
- package/dist/Provider/icons/CoinbaseWalletIcon.js.map +0 -1
- package/dist/Provider/icons/ConnectionDotsSVG.d.ts +0 -1
- package/dist/Provider/icons/ConnectionDotsSVG.js +0 -5
- package/dist/Provider/icons/ConnectionDotsSVG.js.map +0 -1
- package/dist/Provider/icons/MetamaskIcon.d.ts +0 -1
- package/dist/Provider/icons/MetamaskIcon.js +0 -5
- package/dist/Provider/icons/MetamaskIcon.js.map +0 -1
- package/dist/Provider/icons/PhantomIcon.d.ts +0 -1
- package/dist/Provider/icons/PhantomIcon.js +0 -5
- package/dist/Provider/icons/PhantomIcon.js.map +0 -1
- package/dist/Provider/icons/UserIcon.d.ts +0 -1
- package/dist/Provider/icons/UserIcon.js +0 -5
- package/dist/Provider/icons/UserIcon.js.map +0 -1
- package/dist/Provider/icons/WalletConnectIcon.d.ts +0 -1
- package/dist/Provider/icons/WalletConnectIcon.js +0 -5
- package/dist/Provider/icons/WalletConnectIcon.js.map +0 -1
- package/dist/Provider/index.d.ts +0 -3
- package/dist/Provider/index.js +0 -4
- package/dist/Provider/index.js.map +0 -1
- package/dist/Provider/types.d.ts +0 -152
- package/dist/Provider/types.js +0 -21
- package/dist/Provider/types.js.map +0 -1
- package/dist/WidgetButton/N1ConnectButton.d.ts +0 -5
- package/dist/WidgetButton/N1ConnectButton.js +0 -49
- package/dist/WidgetButton/N1ConnectButton.js.map +0 -1
- package/dist/components/QRCodeLoader.d.ts +0 -4
- package/dist/components/QRCodeLoader.js +0 -9
- package/dist/components/QRCodeLoader.js.map +0 -1
- package/dist/components/logos/EVMChainsGroup.d.ts +0 -7
- package/dist/components/logos/EVMChainsGroup.js +0 -19
- package/dist/components/logos/EVMChainsGroup.js.map +0 -1
- package/dist/components/logos/MoreChainsGroup.d.ts +0 -7
- package/dist/components/logos/MoreChainsGroup.js +0 -19
- package/dist/components/logos/MoreChainsGroup.js.map +0 -1
- package/dist/config/nordFlow.d.ts +0 -6
- package/dist/config/nordFlow.js +0 -63
- package/dist/config/nordFlow.js.map +0 -1
- package/dist/embedded-main-css.d.ts +0 -2
- package/dist/embedded-main-css.js +0 -3
- package/dist/embedded-main-css.js.map +0 -1
- package/dist/features/nord-flow/N1WalletModal.d.ts +0 -2
- package/dist/features/nord-flow/N1WalletModal.js +0 -92
- package/dist/features/nord-flow/N1WalletModal.js.map +0 -1
- package/dist/features/nord-flow/NordFlow.d.ts +0 -9
- package/dist/features/nord-flow/NordFlow.js +0 -98
- package/dist/features/nord-flow/NordFlow.js.map +0 -1
- package/dist/features/nord-flow/components/ChainButton.d.ts +0 -10
- package/dist/features/nord-flow/components/ChainButton.js +0 -21
- package/dist/features/nord-flow/components/ChainButton.js.map +0 -1
- package/dist/features/nord-flow/components/Header.d.ts +0 -12
- package/dist/features/nord-flow/components/Header.js +0 -45
- package/dist/features/nord-flow/components/Header.js.map +0 -1
- package/dist/features/nord-flow/components/ImageWithFallback.d.ts +0 -17
- package/dist/features/nord-flow/components/ImageWithFallback.js +0 -33
- package/dist/features/nord-flow/components/ImageWithFallback.js.map +0 -1
- package/dist/features/nord-flow/components/TransactionTable.d.ts +0 -13
- package/dist/features/nord-flow/components/TransactionTable.js +0 -83
- package/dist/features/nord-flow/components/TransactionTable.js.map +0 -1
- package/dist/features/nord-flow/components/WaitingMessage.d.ts +0 -8
- package/dist/features/nord-flow/components/WaitingMessage.js +0 -17
- package/dist/features/nord-flow/components/WaitingMessage.js.map +0 -1
- package/dist/features/nord-flow/components/index.d.ts +0 -5
- package/dist/features/nord-flow/components/index.js +0 -6
- package/dist/features/nord-flow/components/index.js.map +0 -1
- package/dist/features/nord-flow/context/DepositContext.d.ts +0 -29
- package/dist/features/nord-flow/context/DepositContext.js +0 -525
- package/dist/features/nord-flow/context/DepositContext.js.map +0 -1
- package/dist/features/nord-flow/context/FlowContext.d.ts +0 -50
- package/dist/features/nord-flow/context/FlowContext.js +0 -192
- package/dist/features/nord-flow/context/FlowContext.js.map +0 -1
- package/dist/features/nord-flow/context/NordProvider.d.ts +0 -10
- package/dist/features/nord-flow/context/NordProvider.js +0 -14
- package/dist/features/nord-flow/context/NordProvider.js.map +0 -1
- package/dist/features/nord-flow/context/WalletConnectContext.d.ts +0 -21
- package/dist/features/nord-flow/context/WalletConnectContext.js +0 -394
- package/dist/features/nord-flow/context/WalletConnectContext.js.map +0 -1
- package/dist/features/nord-flow/context/debug.d.ts +0 -6
- package/dist/features/nord-flow/context/debug.js +0 -63
- package/dist/features/nord-flow/context/debug.js.map +0 -1
- package/dist/features/nord-flow/context/flowMachine.d.ts +0 -48
- package/dist/features/nord-flow/context/flowMachine.js +0 -83
- package/dist/features/nord-flow/context/flowMachine.js.map +0 -1
- package/dist/features/nord-flow/context/index.d.ts +0 -5
- package/dist/features/nord-flow/context/index.js +0 -8
- package/dist/features/nord-flow/context/index.js.map +0 -1
- package/dist/features/nord-flow/hoc/index.d.ts +0 -1
- package/dist/features/nord-flow/hoc/index.js +0 -2
- package/dist/features/nord-flow/hoc/index.js.map +0 -1
- package/dist/features/nord-flow/hoc/withImageFallback.d.ts +0 -7
- package/dist/features/nord-flow/hoc/withImageFallback.js +0 -61
- package/dist/features/nord-flow/hoc/withImageFallback.js.map +0 -1
- package/dist/features/nord-flow/index.d.ts +0 -1
- package/dist/features/nord-flow/index.js +0 -2
- package/dist/features/nord-flow/index.js.map +0 -1
- package/dist/features/nord-flow/screens/01-ConnectWalletScreen.d.ts +0 -1
- package/dist/features/nord-flow/screens/01-ConnectWalletScreen.js +0 -19
- package/dist/features/nord-flow/screens/01-ConnectWalletScreen.js.map +0 -1
- package/dist/features/nord-flow/screens/02-ChainSelectionScreen.d.ts +0 -31
- package/dist/features/nord-flow/screens/02-ChainSelectionScreen.js +0 -101
- package/dist/features/nord-flow/screens/02-ChainSelectionScreen.js.map +0 -1
- package/dist/features/nord-flow/screens/03-AmountInputScreen.d.ts +0 -6
- package/dist/features/nord-flow/screens/03-AmountInputScreen.js +0 -361
- package/dist/features/nord-flow/screens/03-AmountInputScreen.js.map +0 -1
- package/dist/features/nord-flow/screens/04-DepositProgressScreen.d.ts +0 -3
- package/dist/features/nord-flow/screens/04-DepositProgressScreen.js +0 -31
- package/dist/features/nord-flow/screens/04-DepositProgressScreen.js.map +0 -1
- package/dist/features/nord-flow/screens/05-DepositSuccessScreen.d.ts +0 -1
- package/dist/features/nord-flow/screens/05-DepositSuccessScreen.js +0 -137
- package/dist/features/nord-flow/screens/05-DepositSuccessScreen.js.map +0 -1
- package/dist/features/nord-flow/screens/06-AuthLoadingScreen.d.ts +0 -1
- package/dist/features/nord-flow/screens/06-AuthLoadingScreen.js +0 -31
- package/dist/features/nord-flow/screens/06-AuthLoadingScreen.js.map +0 -1
- package/dist/features/nord-flow/screens/07-ErrorScreen.d.ts +0 -1
- package/dist/features/nord-flow/screens/07-ErrorScreen.js +0 -14
- package/dist/features/nord-flow/screens/07-ErrorScreen.js.map +0 -1
- package/dist/features/nord-flow/screens/index.d.ts +0 -7
- package/dist/features/nord-flow/screens/index.js +0 -8
- package/dist/features/nord-flow/screens/index.js.map +0 -1
- package/dist/features/nord-flow/types.d.ts +0 -113
- package/dist/features/nord-flow/types.js +0 -34
- package/dist/features/nord-flow/types.js.map +0 -1
- package/dist/features/nord-flow/utils/depositStorage.d.ts +0 -4
- package/dist/features/nord-flow/utils/depositStorage.js +0 -48
- package/dist/features/nord-flow/utils/depositStorage.js.map +0 -1
- package/dist/features/nord-flow/utils/imageUtils.d.ts +0 -21
- package/dist/features/nord-flow/utils/imageUtils.js +0 -110
- package/dist/features/nord-flow/utils/imageUtils.js.map +0 -1
- package/dist/features/nord-flow/utils/index.d.ts +0 -2
- package/dist/features/nord-flow/utils/index.js +0 -3
- package/dist/features/nord-flow/utils/index.js.map +0 -1
- package/dist/features/nord-flow/utils/nordUser.d.ts +0 -1
- package/dist/features/nord-flow/utils/nordUser.js +0 -48
- package/dist/features/nord-flow/utils/nordUser.js.map +0 -1
- package/dist/features/nord-flow/utils/nordUtils.d.ts +0 -40
- package/dist/features/nord-flow/utils/nordUtils.js +0 -64
- package/dist/features/nord-flow/utils/nordUtils.js.map +0 -1
- package/dist/features/nord-flow/utils/session.d.ts +0 -17
- package/dist/features/nord-flow/utils/session.js +0 -69
- package/dist/features/nord-flow/utils/session.js.map +0 -1
- package/dist/features/nord-flow/utils/transaction.d.ts +0 -19
- package/dist/features/nord-flow/utils/transaction.js +0 -8
- package/dist/features/nord-flow/utils/transaction.js.map +0 -1
- package/dist/features/nord-flow/utils/utils.d.ts +0 -19
- package/dist/features/nord-flow/utils/utils.js +0 -66
- package/dist/features/nord-flow/utils/utils.js.map +0 -1
- package/dist/features/nord-flow/utils/withImageFallback.d.ts +0 -7
- package/dist/features/nord-flow/utils/withImageFallback.js +0 -61
- package/dist/features/nord-flow/utils/withImageFallback.js.map +0 -1
- package/dist/features/onboarding-flow/providers/FlowStateProvider.d.ts +0 -50
- package/dist/features/onboarding-flow/providers/FlowStateProvider.js +0 -192
- package/dist/features/onboarding-flow/providers/FlowStateProvider.js.map +0 -1
- package/dist/features/onboarding-flow/providers/OnboardingProvider.d.ts +0 -10
- package/dist/features/onboarding-flow/providers/OnboardingProvider.js +0 -14
- package/dist/features/onboarding-flow/providers/OnboardingProvider.js.map +0 -1
- package/dist/features/onboarding-flow/providers/flowMachine.d.ts +0 -48
- package/dist/features/onboarding-flow/providers/flowMachine.js +0 -83
- package/dist/features/onboarding-flow/providers/flowMachine.js.map +0 -1
- package/dist/features/wallet/components/N1ConnectButton.d.ts +0 -5
- package/dist/features/wallet/components/N1ConnectButton.js +0 -49
- package/dist/features/wallet/components/N1ConnectButton.js.map +0 -1
- package/dist/features/wallet/logic/getPseudoName.d.ts +0 -1
- package/dist/features/wallet/logic/getPseudoName.js +0 -5826
- package/dist/features/wallet/logic/getPseudoName.js.map +0 -1
- package/dist/features/wallet/logic/sessionManager.d.ts +0 -17
- package/dist/features/wallet/logic/sessionManager.js +0 -38
- package/dist/features/wallet/logic/sessionManager.js.map +0 -1
- package/dist/features/wallet/logic/transactionManager.d.ts +0 -19
- package/dist/features/wallet/logic/transactionManager.js +0 -8
- package/dist/features/wallet/logic/transactionManager.js.map +0 -1
- package/dist/features/wallet/logic/utils.d.ts +0 -19
- package/dist/features/wallet/logic/utils.js +0 -66
- package/dist/features/wallet/logic/utils.js.map +0 -1
- package/dist/features/wallet/logic/words.d.ts +0 -9
- package/dist/features/wallet/logic/words.js +0 -93572
- package/dist/features/wallet/logic/words.js.map +0 -1
- package/dist/features/wallet/modal/LoadingFallback.d.ts +0 -2
- package/dist/features/wallet/modal/LoadingFallback.js +0 -3
- package/dist/features/wallet/modal/LoadingFallback.js.map +0 -1
- package/dist/features/wallet/modal/N1WalletModal.d.ts +0 -2
- package/dist/features/wallet/modal/N1WalletModal.js +0 -93
- package/dist/features/wallet/modal/N1WalletModal.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/NordFlow.d.ts +0 -9
- package/dist/features/wallet/modal/NordFlow/NordFlow.js +0 -98
- package/dist/features/wallet/modal/NordFlow/NordFlow.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/components/ChainButton.d.ts +0 -10
- package/dist/features/wallet/modal/NordFlow/components/ChainButton.js +0 -21
- package/dist/features/wallet/modal/NordFlow/components/ChainButton.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/components/Header.d.ts +0 -12
- package/dist/features/wallet/modal/NordFlow/components/Header.js +0 -45
- package/dist/features/wallet/modal/NordFlow/components/Header.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/components/ImageWithFallback.d.ts +0 -17
- package/dist/features/wallet/modal/NordFlow/components/ImageWithFallback.js +0 -33
- package/dist/features/wallet/modal/NordFlow/components/ImageWithFallback.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/components/TransactionTable.d.ts +0 -13
- package/dist/features/wallet/modal/NordFlow/components/TransactionTable.js +0 -83
- package/dist/features/wallet/modal/NordFlow/components/TransactionTable.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/components/WaitingMessage.d.ts +0 -8
- package/dist/features/wallet/modal/NordFlow/components/WaitingMessage.js +0 -17
- package/dist/features/wallet/modal/NordFlow/components/WaitingMessage.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/components/index.d.ts +0 -5
- package/dist/features/wallet/modal/NordFlow/components/index.js +0 -6
- package/dist/features/wallet/modal/NordFlow/components/index.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/constants.d.ts +0 -31
- package/dist/features/wallet/modal/NordFlow/constants.js +0 -56
- package/dist/features/wallet/modal/NordFlow/constants.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/context/DepositContext.d.ts +0 -29
- package/dist/features/wallet/modal/NordFlow/context/DepositContext.js +0 -526
- package/dist/features/wallet/modal/NordFlow/context/DepositContext.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/context/FlowContext.d.ts +0 -50
- package/dist/features/wallet/modal/NordFlow/context/FlowContext.js +0 -192
- package/dist/features/wallet/modal/NordFlow/context/FlowContext.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/context/NordProvider.d.ts +0 -10
- package/dist/features/wallet/modal/NordFlow/context/NordProvider.js +0 -14
- package/dist/features/wallet/modal/NordFlow/context/NordProvider.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/context/WalletConnectContext.d.ts +0 -20
- package/dist/features/wallet/modal/NordFlow/context/WalletConnectContext.js +0 -394
- package/dist/features/wallet/modal/NordFlow/context/WalletConnectContext.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/context/flowMachine.d.ts +0 -48
- package/dist/features/wallet/modal/NordFlow/context/flowMachine.js +0 -83
- package/dist/features/wallet/modal/NordFlow/context/flowMachine.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/context/index.d.ts +0 -5
- package/dist/features/wallet/modal/NordFlow/context/index.js +0 -8
- package/dist/features/wallet/modal/NordFlow/context/index.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/hoc/index.d.ts +0 -1
- package/dist/features/wallet/modal/NordFlow/hoc/index.js +0 -2
- package/dist/features/wallet/modal/NordFlow/hoc/index.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/hoc/withImageFallback.d.ts +0 -7
- package/dist/features/wallet/modal/NordFlow/hoc/withImageFallback.js +0 -61
- package/dist/features/wallet/modal/NordFlow/hoc/withImageFallback.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/index.d.ts +0 -1
- package/dist/features/wallet/modal/NordFlow/index.js +0 -2
- package/dist/features/wallet/modal/NordFlow/index.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.d.ts +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js +0 -19
- package/dist/features/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.d.ts +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js +0 -65
- package/dist/features/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/03-AmountInputScreen.d.ts +0 -4
- package/dist/features/wallet/modal/NordFlow/screens/03-AmountInputScreen.js +0 -358
- package/dist/features/wallet/modal/NordFlow/screens/03-AmountInputScreen.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/04-DepositProgressScreen.d.ts +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js +0 -26
- package/dist/features/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.d.ts +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js +0 -137
- package/dist/features/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.d.ts +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js +0 -31
- package/dist/features/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/07-ErrorScreen.d.ts +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/07-ErrorScreen.js +0 -14
- package/dist/features/wallet/modal/NordFlow/screens/07-ErrorScreen.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/screens/index.d.ts +0 -7
- package/dist/features/wallet/modal/NordFlow/screens/index.js +0 -8
- package/dist/features/wallet/modal/NordFlow/screens/index.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/types.d.ts +0 -113
- package/dist/features/wallet/modal/NordFlow/types.js +0 -34
- package/dist/features/wallet/modal/NordFlow/types.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/utils/depositStorage.d.ts +0 -4
- package/dist/features/wallet/modal/NordFlow/utils/depositStorage.js +0 -48
- package/dist/features/wallet/modal/NordFlow/utils/depositStorage.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/utils/imageUtils.d.ts +0 -21
- package/dist/features/wallet/modal/NordFlow/utils/imageUtils.js +0 -110
- package/dist/features/wallet/modal/NordFlow/utils/imageUtils.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/utils/index.d.ts +0 -2
- package/dist/features/wallet/modal/NordFlow/utils/index.js +0 -3
- package/dist/features/wallet/modal/NordFlow/utils/index.js.map +0 -1
- package/dist/features/wallet/modal/NordFlow/utils/nordUtils.d.ts +0 -40
- package/dist/features/wallet/modal/NordFlow/utils/nordUtils.js +0 -64
- package/dist/features/wallet/modal/NordFlow/utils/nordUtils.js.map +0 -1
- package/dist/features/wallet/provider/LazyWalletProvider.d.ts +0 -1
- package/dist/features/wallet/provider/LazyWalletProvider.js +0 -230
- package/dist/features/wallet/provider/LazyWalletProvider.js.map +0 -1
- package/dist/features/wallet/provider/N1WalletProvider.d.ts +0 -3
- package/dist/features/wallet/provider/N1WalletProvider.js +0 -266
- package/dist/features/wallet/provider/N1WalletProvider.js.map +0 -1
- package/dist/features/wallet/provider/ShadowRootWrapper.d.ts +0 -7
- package/dist/features/wallet/provider/ShadowRootWrapper.js +0 -7
- package/dist/features/wallet/provider/ShadowRootWrapper.js.map +0 -1
- package/dist/features/wallet/provider/WalletErrorBoundary.d.ts +0 -17
- package/dist/features/wallet/provider/WalletErrorBoundary.js +0 -57
- package/dist/features/wallet/provider/WalletErrorBoundary.js.map +0 -1
- package/dist/features/wallet/provider/context.d.ts +0 -5
- package/dist/features/wallet/provider/context.js +0 -5
- package/dist/features/wallet/provider/context.js.map +0 -1
- package/dist/features/wallet/provider/hooks/useNordUserInitialization.d.ts +0 -1
- package/dist/features/wallet/provider/hooks/useNordUserInitialization.js +0 -306
- package/dist/features/wallet/provider/hooks/useNordUserInitialization.js.map +0 -1
- package/dist/features/wallet/provider/hooks.d.ts +0 -2
- package/dist/features/wallet/provider/hooks.js +0 -17
- package/dist/features/wallet/provider/hooks.js.map +0 -1
- package/dist/features/wallet/provider/index.d.ts +0 -3
- package/dist/features/wallet/provider/index.js +0 -4
- package/dist/features/wallet/provider/index.js.map +0 -1
- package/dist/features/wallet/provider/types.d.ts +0 -152
- package/dist/features/wallet/provider/types.js +0 -21
- package/dist/features/wallet/provider/types.js.map +0 -1
- package/dist/features/wallet/styles/embeddedStyles.d.ts +0 -2
- package/dist/features/wallet/styles/embeddedStyles.js +0 -3
- package/dist/features/wallet/styles/embeddedStyles.js.map +0 -1
- package/dist/lib/nord/index.d.ts +0 -2
- package/dist/lib/nord/index.js +0 -59
- package/dist/lib/nord/index.js.map +0 -1
- package/dist/lib/session/index.d.ts +0 -18
- package/dist/lib/session/index.js +0 -70
- package/dist/lib/session/index.js.map +0 -1
- package/dist/lib/session/utils.d.ts +0 -19
- package/dist/lib/session/utils.js +0 -66
- package/dist/lib/session/utils.js.map +0 -1
- package/dist/lib/transaction/index.d.ts +0 -19
- package/dist/lib/transaction/index.js +0 -8
- package/dist/lib/transaction/index.js.map +0 -1
- package/dist/shared/animations/N1Loader.d.ts +0 -11
- package/dist/shared/animations/N1Loader.js +0 -42
- package/dist/shared/animations/N1Loader.js.map +0 -1
- package/dist/shared/animations/N1Loader.json +0 -1
- package/dist/shared/animations/Processing.d.ts +0 -11
- package/dist/shared/animations/Processing.js +0 -42
- package/dist/shared/animations/Processing.js.map +0 -1
- package/dist/shared/animations/Processing.json +0 -1
- package/dist/shared/config/chains.d.ts +0 -29
- package/dist/shared/config/chains.js +0 -39
- package/dist/shared/config/chains.js.map +0 -1
- package/dist/shared/config/nordFlow.d.ts +0 -9
- package/dist/shared/config/nordFlow.js +0 -71
- package/dist/shared/config/nordFlow.js.map +0 -1
- package/dist/shared/config/public.d.ts +0 -2
- package/dist/shared/config/public.js +0 -3
- package/dist/shared/config/public.js.map +0 -1
- package/dist/shared/config/solana.d.ts +0 -13
- package/dist/shared/config/solana.js +0 -19
- package/dist/shared/config/solana.js.map +0 -1
- package/dist/shared/errors/types.d.ts +0 -25
- package/dist/shared/errors/types.js +0 -77
- package/dist/shared/errors/types.js.map +0 -1
- package/dist/shared/polyfills/windowEthereumGuard.d.ts +0 -6
- package/dist/shared/polyfills/windowEthereumGuard.js +0 -28
- package/dist/shared/polyfills/windowEthereumGuard.js.map +0 -1
- package/dist/shared/ui/Logo.d.ts +0 -8
- package/dist/shared/ui/Logo.js +0 -122
- package/dist/shared/ui/Logo.js.map +0 -1
- package/dist/shared/ui/logos/ArbitrumLogo.d.ts +0 -8
- package/dist/shared/ui/logos/ArbitrumLogo.js +0 -6
- package/dist/shared/ui/logos/ArbitrumLogo.js.map +0 -1
- package/dist/shared/ui/logos/BaseLogo.d.ts +0 -8
- package/dist/shared/ui/logos/BaseLogo.js +0 -6
- package/dist/shared/ui/logos/BaseLogo.js.map +0 -1
- package/dist/shared/ui/logos/BeraLogo.d.ts +0 -8
- package/dist/shared/ui/logos/BeraLogo.js +0 -6
- package/dist/shared/ui/logos/BeraLogo.js.map +0 -1
- package/dist/shared/ui/logos/BitcoinLogo.d.ts +0 -8
- package/dist/shared/ui/logos/BitcoinLogo.js +0 -6
- package/dist/shared/ui/logos/BitcoinLogo.js.map +0 -1
- package/dist/shared/ui/logos/EthereumLogo.d.ts +0 -8
- package/dist/shared/ui/logos/EthereumLogo.js +0 -6
- package/dist/shared/ui/logos/EthereumLogo.js.map +0 -1
- package/dist/shared/ui/logos/HyperliquidLogo.d.ts +0 -8
- package/dist/shared/ui/logos/HyperliquidLogo.js +0 -6
- package/dist/shared/ui/logos/HyperliquidLogo.js.map +0 -1
- package/dist/shared/ui/logos/OptimismLogo.d.ts +0 -8
- package/dist/shared/ui/logos/OptimismLogo.js +0 -6
- package/dist/shared/ui/logos/OptimismLogo.js.map +0 -1
- package/dist/shared/ui/logos/SolanaLogo.d.ts +0 -8
- package/dist/shared/ui/logos/SolanaLogo.js +0 -6
- package/dist/shared/ui/logos/SolanaLogo.js.map +0 -1
- package/dist/shared/ui/logos/ZeroOneLogo.d.ts +0 -8
- package/dist/shared/ui/logos/ZeroOneLogo.js +0 -6
- package/dist/shared/ui/logos/ZeroOneLogo.js.map +0 -1
- package/dist/shared/ui/logos/index.d.ts +0 -9
- package/dist/shared/ui/logos/index.js +0 -10
- package/dist/shared/ui/logos/index.js.map +0 -1
- package/dist/shared/utils/dynamicNord.d.ts +0 -2
- package/dist/shared/utils/dynamicNord.js +0 -59
- package/dist/shared/utils/dynamicNord.js.map +0 -1
- package/dist/shared/utils/ed25519.d.ts +0 -8
- package/dist/shared/utils/ed25519.js +0 -87
- package/dist/shared/utils/ed25519.js.map +0 -1
- package/dist/shared/utils/logger.d.ts +0 -21
- package/dist/shared/utils/logger.js +0 -130
- package/dist/shared/utils/logger.js.map +0 -1
- package/dist/shared/utils/shortenString.d.ts +0 -2
- package/dist/shared/utils/shortenString.js +0 -9
- package/dist/shared/utils/shortenString.js.map +0 -1
- package/dist/utils/dynamicImports.js +0 -42
- package/dist/utils/dynamicImports.js.map +0 -1
- package/dist/utils/dynamicNord.d.ts +0 -2
- package/dist/utils/dynamicNord.js +0 -59
- package/dist/utils/dynamicNord.js.map +0 -1
- package/dist/wallet/components/N1ConnectButton.d.ts +0 -5
- package/dist/wallet/components/N1ConnectButton.js +0 -49
- package/dist/wallet/components/N1ConnectButton.js.map +0 -1
- package/dist/wallet/logic/getPseudoName.d.ts +0 -1
- package/dist/wallet/logic/getPseudoName.js +0 -5826
- package/dist/wallet/logic/getPseudoName.js.map +0 -1
- package/dist/wallet/logic/sessionManager.d.ts +0 -17
- package/dist/wallet/logic/sessionManager.js +0 -38
- package/dist/wallet/logic/sessionManager.js.map +0 -1
- package/dist/wallet/logic/transactionManager.d.ts +0 -19
- package/dist/wallet/logic/transactionManager.js +0 -8
- package/dist/wallet/logic/transactionManager.js.map +0 -1
- package/dist/wallet/logic/utils.d.ts +0 -19
- package/dist/wallet/logic/utils.js +0 -66
- package/dist/wallet/logic/utils.js.map +0 -1
- package/dist/wallet/logic/words.d.ts +0 -9
- package/dist/wallet/logic/words.js +0 -93572
- package/dist/wallet/logic/words.js.map +0 -1
- package/dist/wallet/modal/LoadingFallback.d.ts +0 -2
- package/dist/wallet/modal/LoadingFallback.js +0 -3
- package/dist/wallet/modal/LoadingFallback.js.map +0 -1
- package/dist/wallet/modal/N1WalletModal.d.ts +0 -2
- package/dist/wallet/modal/N1WalletModal.js +0 -93
- package/dist/wallet/modal/N1WalletModal.js.map +0 -1
- package/dist/wallet/modal/NordFlow/NordFlow.d.ts +0 -9
- package/dist/wallet/modal/NordFlow/NordFlow.js +0 -98
- package/dist/wallet/modal/NordFlow/NordFlow.js.map +0 -1
- package/dist/wallet/modal/NordFlow/components/ChainButton.d.ts +0 -10
- package/dist/wallet/modal/NordFlow/components/ChainButton.js +0 -21
- package/dist/wallet/modal/NordFlow/components/ChainButton.js.map +0 -1
- package/dist/wallet/modal/NordFlow/components/Header.d.ts +0 -12
- package/dist/wallet/modal/NordFlow/components/Header.js +0 -45
- package/dist/wallet/modal/NordFlow/components/Header.js.map +0 -1
- package/dist/wallet/modal/NordFlow/components/ImageWithFallback.d.ts +0 -17
- package/dist/wallet/modal/NordFlow/components/ImageWithFallback.js +0 -33
- package/dist/wallet/modal/NordFlow/components/ImageWithFallback.js.map +0 -1
- package/dist/wallet/modal/NordFlow/components/TransactionTable.d.ts +0 -13
- package/dist/wallet/modal/NordFlow/components/TransactionTable.js +0 -83
- package/dist/wallet/modal/NordFlow/components/TransactionTable.js.map +0 -1
- package/dist/wallet/modal/NordFlow/components/WaitingMessage.d.ts +0 -8
- package/dist/wallet/modal/NordFlow/components/WaitingMessage.js +0 -17
- package/dist/wallet/modal/NordFlow/components/WaitingMessage.js.map +0 -1
- package/dist/wallet/modal/NordFlow/components/index.d.ts +0 -5
- package/dist/wallet/modal/NordFlow/components/index.js +0 -6
- package/dist/wallet/modal/NordFlow/components/index.js.map +0 -1
- package/dist/wallet/modal/NordFlow/constants.d.ts +0 -31
- package/dist/wallet/modal/NordFlow/constants.js +0 -56
- package/dist/wallet/modal/NordFlow/constants.js.map +0 -1
- package/dist/wallet/modal/NordFlow/context/DepositContext.d.ts +0 -29
- package/dist/wallet/modal/NordFlow/context/DepositContext.js +0 -526
- package/dist/wallet/modal/NordFlow/context/DepositContext.js.map +0 -1
- package/dist/wallet/modal/NordFlow/context/FlowContext.d.ts +0 -50
- package/dist/wallet/modal/NordFlow/context/FlowContext.js +0 -192
- package/dist/wallet/modal/NordFlow/context/FlowContext.js.map +0 -1
- package/dist/wallet/modal/NordFlow/context/NordProvider.d.ts +0 -10
- package/dist/wallet/modal/NordFlow/context/NordProvider.js +0 -14
- package/dist/wallet/modal/NordFlow/context/NordProvider.js.map +0 -1
- package/dist/wallet/modal/NordFlow/context/WalletConnectContext.d.ts +0 -20
- package/dist/wallet/modal/NordFlow/context/WalletConnectContext.js +0 -394
- package/dist/wallet/modal/NordFlow/context/WalletConnectContext.js.map +0 -1
- package/dist/wallet/modal/NordFlow/context/flowMachine.d.ts +0 -48
- package/dist/wallet/modal/NordFlow/context/flowMachine.js +0 -83
- package/dist/wallet/modal/NordFlow/context/flowMachine.js.map +0 -1
- package/dist/wallet/modal/NordFlow/context/index.d.ts +0 -5
- package/dist/wallet/modal/NordFlow/context/index.js +0 -8
- package/dist/wallet/modal/NordFlow/context/index.js.map +0 -1
- package/dist/wallet/modal/NordFlow/hoc/index.d.ts +0 -1
- package/dist/wallet/modal/NordFlow/hoc/index.js +0 -2
- package/dist/wallet/modal/NordFlow/hoc/index.js.map +0 -1
- package/dist/wallet/modal/NordFlow/hoc/withImageFallback.d.ts +0 -7
- package/dist/wallet/modal/NordFlow/hoc/withImageFallback.js +0 -61
- package/dist/wallet/modal/NordFlow/hoc/withImageFallback.js.map +0 -1
- package/dist/wallet/modal/NordFlow/index.d.ts +0 -1
- package/dist/wallet/modal/NordFlow/index.js +0 -2
- package/dist/wallet/modal/NordFlow/index.js.map +0 -1
- package/dist/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.d.ts +0 -1
- package/dist/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js +0 -19
- package/dist/wallet/modal/NordFlow/screens/01-ConnectWalletScreen.js.map +0 -1
- package/dist/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.d.ts +0 -1
- package/dist/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js +0 -65
- package/dist/wallet/modal/NordFlow/screens/02-ChainSelectionScreen.js.map +0 -1
- package/dist/wallet/modal/NordFlow/screens/03-AmountInputScreen.d.ts +0 -4
- package/dist/wallet/modal/NordFlow/screens/03-AmountInputScreen.js +0 -358
- package/dist/wallet/modal/NordFlow/screens/03-AmountInputScreen.js.map +0 -1
- package/dist/wallet/modal/NordFlow/screens/04-DepositProgressScreen.d.ts +0 -1
- package/dist/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js +0 -26
- package/dist/wallet/modal/NordFlow/screens/04-DepositProgressScreen.js.map +0 -1
- package/dist/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.d.ts +0 -1
- package/dist/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js +0 -137
- package/dist/wallet/modal/NordFlow/screens/05-DepositSuccessScreen.js.map +0 -1
- package/dist/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.d.ts +0 -1
- package/dist/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js +0 -31
- package/dist/wallet/modal/NordFlow/screens/06-AuthLoadingScreen.js.map +0 -1
- package/dist/wallet/modal/NordFlow/screens/07-ErrorScreen.d.ts +0 -1
- package/dist/wallet/modal/NordFlow/screens/07-ErrorScreen.js +0 -14
- package/dist/wallet/modal/NordFlow/screens/07-ErrorScreen.js.map +0 -1
- package/dist/wallet/modal/NordFlow/screens/index.d.ts +0 -7
- package/dist/wallet/modal/NordFlow/screens/index.js +0 -8
- package/dist/wallet/modal/NordFlow/screens/index.js.map +0 -1
- package/dist/wallet/modal/NordFlow/types.d.ts +0 -113
- package/dist/wallet/modal/NordFlow/types.js +0 -34
- package/dist/wallet/modal/NordFlow/types.js.map +0 -1
- package/dist/wallet/modal/NordFlow/utils/depositStorage.d.ts +0 -4
- package/dist/wallet/modal/NordFlow/utils/depositStorage.js +0 -48
- package/dist/wallet/modal/NordFlow/utils/depositStorage.js.map +0 -1
- package/dist/wallet/modal/NordFlow/utils/imageUtils.d.ts +0 -21
- package/dist/wallet/modal/NordFlow/utils/imageUtils.js +0 -110
- package/dist/wallet/modal/NordFlow/utils/imageUtils.js.map +0 -1
- package/dist/wallet/modal/NordFlow/utils/index.d.ts +0 -2
- package/dist/wallet/modal/NordFlow/utils/index.js +0 -3
- package/dist/wallet/modal/NordFlow/utils/index.js.map +0 -1
- package/dist/wallet/modal/NordFlow/utils/nordUtils.d.ts +0 -40
- package/dist/wallet/modal/NordFlow/utils/nordUtils.js +0 -64
- package/dist/wallet/modal/NordFlow/utils/nordUtils.js.map +0 -1
- package/dist/wallet/modal/flow/NordFlow.d.ts +0 -9
- package/dist/wallet/modal/flow/NordFlow.js +0 -98
- package/dist/wallet/modal/flow/NordFlow.js.map +0 -1
- package/dist/wallet/modal/flow/components/ChainButton.d.ts +0 -10
- package/dist/wallet/modal/flow/components/ChainButton.js +0 -21
- package/dist/wallet/modal/flow/components/ChainButton.js.map +0 -1
- package/dist/wallet/modal/flow/components/Header.d.ts +0 -12
- package/dist/wallet/modal/flow/components/Header.js +0 -45
- package/dist/wallet/modal/flow/components/Header.js.map +0 -1
- package/dist/wallet/modal/flow/components/ImageWithFallback.d.ts +0 -17
- package/dist/wallet/modal/flow/components/ImageWithFallback.js +0 -33
- package/dist/wallet/modal/flow/components/ImageWithFallback.js.map +0 -1
- package/dist/wallet/modal/flow/components/TransactionTable.d.ts +0 -13
- package/dist/wallet/modal/flow/components/TransactionTable.js +0 -83
- package/dist/wallet/modal/flow/components/TransactionTable.js.map +0 -1
- package/dist/wallet/modal/flow/components/WaitingMessage.d.ts +0 -8
- package/dist/wallet/modal/flow/components/WaitingMessage.js +0 -17
- package/dist/wallet/modal/flow/components/WaitingMessage.js.map +0 -1
- package/dist/wallet/modal/flow/components/index.d.ts +0 -5
- package/dist/wallet/modal/flow/components/index.js +0 -6
- package/dist/wallet/modal/flow/components/index.js.map +0 -1
- package/dist/wallet/modal/flow/constants.d.ts +0 -31
- package/dist/wallet/modal/flow/constants.js +0 -56
- package/dist/wallet/modal/flow/constants.js.map +0 -1
- package/dist/wallet/modal/flow/context/DepositContext.d.ts +0 -29
- package/dist/wallet/modal/flow/context/DepositContext.js +0 -526
- package/dist/wallet/modal/flow/context/DepositContext.js.map +0 -1
- package/dist/wallet/modal/flow/context/FlowContext.d.ts +0 -50
- package/dist/wallet/modal/flow/context/FlowContext.js +0 -192
- package/dist/wallet/modal/flow/context/FlowContext.js.map +0 -1
- package/dist/wallet/modal/flow/context/NordProvider.d.ts +0 -10
- package/dist/wallet/modal/flow/context/NordProvider.js +0 -14
- package/dist/wallet/modal/flow/context/NordProvider.js.map +0 -1
- package/dist/wallet/modal/flow/context/WalletConnectContext.d.ts +0 -20
- package/dist/wallet/modal/flow/context/WalletConnectContext.js +0 -394
- package/dist/wallet/modal/flow/context/WalletConnectContext.js.map +0 -1
- package/dist/wallet/modal/flow/context/flowMachine.d.ts +0 -48
- package/dist/wallet/modal/flow/context/flowMachine.js +0 -83
- package/dist/wallet/modal/flow/context/flowMachine.js.map +0 -1
- package/dist/wallet/modal/flow/context/index.d.ts +0 -5
- package/dist/wallet/modal/flow/context/index.js +0 -8
- package/dist/wallet/modal/flow/context/index.js.map +0 -1
- package/dist/wallet/modal/flow/hoc/index.d.ts +0 -1
- package/dist/wallet/modal/flow/hoc/index.js +0 -2
- package/dist/wallet/modal/flow/hoc/index.js.map +0 -1
- package/dist/wallet/modal/flow/hoc/withImageFallback.d.ts +0 -7
- package/dist/wallet/modal/flow/hoc/withImageFallback.js +0 -61
- package/dist/wallet/modal/flow/hoc/withImageFallback.js.map +0 -1
- package/dist/wallet/modal/flow/index.d.ts +0 -1
- package/dist/wallet/modal/flow/index.js +0 -2
- package/dist/wallet/modal/flow/index.js.map +0 -1
- package/dist/wallet/modal/flow/screens/01-ConnectWalletScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/screens/01-ConnectWalletScreen.js +0 -19
- package/dist/wallet/modal/flow/screens/01-ConnectWalletScreen.js.map +0 -1
- package/dist/wallet/modal/flow/screens/02-ChainSelectionScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/screens/02-ChainSelectionScreen.js +0 -65
- package/dist/wallet/modal/flow/screens/02-ChainSelectionScreen.js.map +0 -1
- package/dist/wallet/modal/flow/screens/03-AmountInputScreen.d.ts +0 -4
- package/dist/wallet/modal/flow/screens/03-AmountInputScreen.js +0 -358
- package/dist/wallet/modal/flow/screens/03-AmountInputScreen.js.map +0 -1
- package/dist/wallet/modal/flow/screens/04-DepositProgressScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/screens/04-DepositProgressScreen.js +0 -26
- package/dist/wallet/modal/flow/screens/04-DepositProgressScreen.js.map +0 -1
- package/dist/wallet/modal/flow/screens/05-DepositSuccessScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/screens/05-DepositSuccessScreen.js +0 -137
- package/dist/wallet/modal/flow/screens/05-DepositSuccessScreen.js.map +0 -1
- package/dist/wallet/modal/flow/screens/06-AuthLoadingScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/screens/06-AuthLoadingScreen.js +0 -31
- package/dist/wallet/modal/flow/screens/06-AuthLoadingScreen.js.map +0 -1
- package/dist/wallet/modal/flow/screens/07-ErrorScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/screens/07-ErrorScreen.js +0 -14
- package/dist/wallet/modal/flow/screens/07-ErrorScreen.js.map +0 -1
- package/dist/wallet/modal/flow/screens/index.d.ts +0 -7
- package/dist/wallet/modal/flow/screens/index.js +0 -8
- package/dist/wallet/modal/flow/screens/index.js.map +0 -1
- package/dist/wallet/modal/flow/state/constants.d.ts +0 -31
- package/dist/wallet/modal/flow/state/constants.js +0 -56
- package/dist/wallet/modal/flow/state/constants.js.map +0 -1
- package/dist/wallet/modal/flow/state/context/DepositContext.d.ts +0 -29
- package/dist/wallet/modal/flow/state/context/DepositContext.js +0 -526
- package/dist/wallet/modal/flow/state/context/DepositContext.js.map +0 -1
- package/dist/wallet/modal/flow/state/context/FlowContext.d.ts +0 -50
- package/dist/wallet/modal/flow/state/context/FlowContext.js +0 -192
- package/dist/wallet/modal/flow/state/context/FlowContext.js.map +0 -1
- package/dist/wallet/modal/flow/state/context/NordProvider.d.ts +0 -10
- package/dist/wallet/modal/flow/state/context/NordProvider.js +0 -14
- package/dist/wallet/modal/flow/state/context/NordProvider.js.map +0 -1
- package/dist/wallet/modal/flow/state/context/WalletConnectContext.d.ts +0 -20
- package/dist/wallet/modal/flow/state/context/WalletConnectContext.js +0 -394
- package/dist/wallet/modal/flow/state/context/WalletConnectContext.js.map +0 -1
- package/dist/wallet/modal/flow/state/context/flowMachine.d.ts +0 -48
- package/dist/wallet/modal/flow/state/context/flowMachine.js +0 -83
- package/dist/wallet/modal/flow/state/context/flowMachine.js.map +0 -1
- package/dist/wallet/modal/flow/state/context/index.d.ts +0 -5
- package/dist/wallet/modal/flow/state/context/index.js +0 -8
- package/dist/wallet/modal/flow/state/context/index.js.map +0 -1
- package/dist/wallet/modal/flow/state/types.d.ts +0 -113
- package/dist/wallet/modal/flow/state/types.js +0 -34
- package/dist/wallet/modal/flow/state/types.js.map +0 -1
- package/dist/wallet/modal/flow/state/utils/depositStorage.d.ts +0 -4
- package/dist/wallet/modal/flow/state/utils/depositStorage.js +0 -48
- package/dist/wallet/modal/flow/state/utils/depositStorage.js.map +0 -1
- package/dist/wallet/modal/flow/state/utils/nordUtils.d.ts +0 -40
- package/dist/wallet/modal/flow/state/utils/nordUtils.js +0 -64
- package/dist/wallet/modal/flow/state/utils/nordUtils.js.map +0 -1
- package/dist/wallet/modal/flow/types.d.ts +0 -113
- package/dist/wallet/modal/flow/types.js +0 -34
- package/dist/wallet/modal/flow/types.js.map +0 -1
- package/dist/wallet/modal/flow/ui/NordFlow.d.ts +0 -9
- package/dist/wallet/modal/flow/ui/NordFlow.js +0 -98
- package/dist/wallet/modal/flow/ui/NordFlow.js.map +0 -1
- package/dist/wallet/modal/flow/ui/components/ChainButton.d.ts +0 -10
- package/dist/wallet/modal/flow/ui/components/ChainButton.js +0 -21
- package/dist/wallet/modal/flow/ui/components/ChainButton.js.map +0 -1
- package/dist/wallet/modal/flow/ui/components/Header.d.ts +0 -12
- package/dist/wallet/modal/flow/ui/components/Header.js +0 -45
- package/dist/wallet/modal/flow/ui/components/Header.js.map +0 -1
- package/dist/wallet/modal/flow/ui/components/ImageWithFallback.d.ts +0 -17
- package/dist/wallet/modal/flow/ui/components/ImageWithFallback.js +0 -33
- package/dist/wallet/modal/flow/ui/components/ImageWithFallback.js.map +0 -1
- package/dist/wallet/modal/flow/ui/components/TransactionTable.d.ts +0 -13
- package/dist/wallet/modal/flow/ui/components/TransactionTable.js +0 -83
- package/dist/wallet/modal/flow/ui/components/TransactionTable.js.map +0 -1
- package/dist/wallet/modal/flow/ui/components/WaitingMessage.d.ts +0 -8
- package/dist/wallet/modal/flow/ui/components/WaitingMessage.js +0 -17
- package/dist/wallet/modal/flow/ui/components/WaitingMessage.js.map +0 -1
- package/dist/wallet/modal/flow/ui/components/index.d.ts +0 -5
- package/dist/wallet/modal/flow/ui/components/index.js +0 -6
- package/dist/wallet/modal/flow/ui/components/index.js.map +0 -1
- package/dist/wallet/modal/flow/ui/hoc/index.d.ts +0 -1
- package/dist/wallet/modal/flow/ui/hoc/index.js +0 -2
- package/dist/wallet/modal/flow/ui/hoc/index.js.map +0 -1
- package/dist/wallet/modal/flow/ui/hoc/withImageFallback.d.ts +0 -7
- package/dist/wallet/modal/flow/ui/hoc/withImageFallback.js +0 -61
- package/dist/wallet/modal/flow/ui/hoc/withImageFallback.js.map +0 -1
- package/dist/wallet/modal/flow/ui/screens/01-ConnectWalletScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/ui/screens/01-ConnectWalletScreen.js +0 -19
- package/dist/wallet/modal/flow/ui/screens/01-ConnectWalletScreen.js.map +0 -1
- package/dist/wallet/modal/flow/ui/screens/02-ChainSelectionScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/ui/screens/02-ChainSelectionScreen.js +0 -65
- package/dist/wallet/modal/flow/ui/screens/02-ChainSelectionScreen.js.map +0 -1
- package/dist/wallet/modal/flow/ui/screens/03-AmountInputScreen.d.ts +0 -4
- package/dist/wallet/modal/flow/ui/screens/03-AmountInputScreen.js +0 -358
- package/dist/wallet/modal/flow/ui/screens/03-AmountInputScreen.js.map +0 -1
- package/dist/wallet/modal/flow/ui/screens/04-DepositProgressScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/ui/screens/04-DepositProgressScreen.js +0 -26
- package/dist/wallet/modal/flow/ui/screens/04-DepositProgressScreen.js.map +0 -1
- package/dist/wallet/modal/flow/ui/screens/05-DepositSuccessScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/ui/screens/05-DepositSuccessScreen.js +0 -137
- package/dist/wallet/modal/flow/ui/screens/05-DepositSuccessScreen.js.map +0 -1
- package/dist/wallet/modal/flow/ui/screens/06-AuthLoadingScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/ui/screens/06-AuthLoadingScreen.js +0 -31
- package/dist/wallet/modal/flow/ui/screens/06-AuthLoadingScreen.js.map +0 -1
- package/dist/wallet/modal/flow/ui/screens/07-ErrorScreen.d.ts +0 -1
- package/dist/wallet/modal/flow/ui/screens/07-ErrorScreen.js +0 -14
- package/dist/wallet/modal/flow/ui/screens/07-ErrorScreen.js.map +0 -1
- package/dist/wallet/modal/flow/ui/screens/index.d.ts +0 -7
- package/dist/wallet/modal/flow/ui/screens/index.js +0 -8
- package/dist/wallet/modal/flow/ui/screens/index.js.map +0 -1
- package/dist/wallet/modal/flow/ui/utils/imageUtils.d.ts +0 -21
- package/dist/wallet/modal/flow/ui/utils/imageUtils.js +0 -110
- package/dist/wallet/modal/flow/ui/utils/imageUtils.js.map +0 -1
- package/dist/wallet/modal/flow/utils/depositStorage.d.ts +0 -4
- package/dist/wallet/modal/flow/utils/depositStorage.js +0 -48
- package/dist/wallet/modal/flow/utils/depositStorage.js.map +0 -1
- package/dist/wallet/modal/flow/utils/imageUtils.d.ts +0 -21
- package/dist/wallet/modal/flow/utils/imageUtils.js +0 -110
- package/dist/wallet/modal/flow/utils/imageUtils.js.map +0 -1
- package/dist/wallet/modal/flow/utils/index.d.ts +0 -2
- package/dist/wallet/modal/flow/utils/index.js +0 -3
- package/dist/wallet/modal/flow/utils/index.js.map +0 -1
- package/dist/wallet/modal/flow/utils/nordUtils.d.ts +0 -40
- package/dist/wallet/modal/flow/utils/nordUtils.js +0 -64
- package/dist/wallet/modal/flow/utils/nordUtils.js.map +0 -1
- package/dist/wallet/provider/LazyWalletProvider.d.ts +0 -1
- package/dist/wallet/provider/LazyWalletProvider.js +0 -230
- package/dist/wallet/provider/LazyWalletProvider.js.map +0 -1
- package/dist/wallet/provider/N1WalletProvider.d.ts +0 -3
- package/dist/wallet/provider/N1WalletProvider.js +0 -266
- package/dist/wallet/provider/N1WalletProvider.js.map +0 -1
- package/dist/wallet/provider/ShadowRootWrapper.d.ts +0 -7
- package/dist/wallet/provider/ShadowRootWrapper.js +0 -7
- package/dist/wallet/provider/ShadowRootWrapper.js.map +0 -1
- package/dist/wallet/provider/WalletErrorBoundary.d.ts +0 -17
- package/dist/wallet/provider/WalletErrorBoundary.js +0 -57
- package/dist/wallet/provider/WalletErrorBoundary.js.map +0 -1
- package/dist/wallet/provider/context.d.ts +0 -3
- package/dist/wallet/provider/context.js +0 -5
- package/dist/wallet/provider/context.js.map +0 -1
- package/dist/wallet/provider/hooks/useNordUserInitialization.d.ts +0 -1
- package/dist/wallet/provider/hooks/useNordUserInitialization.js +0 -306
- package/dist/wallet/provider/hooks/useNordUserInitialization.js.map +0 -1
- package/dist/wallet/provider/hooks.d.ts +0 -2
- package/dist/wallet/provider/hooks.js +0 -17
- package/dist/wallet/provider/hooks.js.map +0 -1
- package/dist/wallet/provider/index.d.ts +0 -3
- package/dist/wallet/provider/index.js +0 -4
- package/dist/wallet/provider/index.js.map +0 -1
- package/dist/wallet/provider/types.d.ts +0 -152
- package/dist/wallet/provider/types.js +0 -21
- package/dist/wallet/provider/types.js.map +0 -1
- package/dist/wallet/state/flow/constants.d.ts +0 -31
- package/dist/wallet/state/flow/constants.js +0 -56
- package/dist/wallet/state/flow/constants.js.map +0 -1
- package/dist/wallet/state/flow/context/DepositContext.d.ts +0 -29
- package/dist/wallet/state/flow/context/DepositContext.js +0 -525
- package/dist/wallet/state/flow/context/DepositContext.js.map +0 -1
- package/dist/wallet/state/flow/context/FlowContext.d.ts +0 -50
- package/dist/wallet/state/flow/context/FlowContext.js +0 -191
- package/dist/wallet/state/flow/context/FlowContext.js.map +0 -1
- package/dist/wallet/state/flow/context/NordProvider.d.ts +0 -10
- package/dist/wallet/state/flow/context/NordProvider.js +0 -14
- package/dist/wallet/state/flow/context/NordProvider.js.map +0 -1
- package/dist/wallet/state/flow/context/WalletConnectContext.d.ts +0 -20
- package/dist/wallet/state/flow/context/WalletConnectContext.js +0 -393
- package/dist/wallet/state/flow/context/WalletConnectContext.js.map +0 -1
- package/dist/wallet/state/flow/context/flowMachine.d.ts +0 -48
- package/dist/wallet/state/flow/context/flowMachine.js +0 -83
- package/dist/wallet/state/flow/context/flowMachine.js.map +0 -1
- package/dist/wallet/state/flow/context/index.d.ts +0 -5
- package/dist/wallet/state/flow/context/index.js +0 -8
- package/dist/wallet/state/flow/context/index.js.map +0 -1
- package/dist/wallet/state/flow/types.d.ts +0 -113
- package/dist/wallet/state/flow/types.js +0 -34
- package/dist/wallet/state/flow/types.js.map +0 -1
- package/dist/wallet/state/flow/utils/depositStorage.d.ts +0 -4
- package/dist/wallet/state/flow/utils/depositStorage.js +0 -48
- package/dist/wallet/state/flow/utils/depositStorage.js.map +0 -1
- package/dist/wallet/state/flow/utils/nordUtils.d.ts +0 -40
- package/dist/wallet/state/flow/utils/nordUtils.js +0 -64
- package/dist/wallet/state/flow/utils/nordUtils.js.map +0 -1
- package/dist/wallet/state/logic/getPseudoName.d.ts +0 -1
- package/dist/wallet/state/logic/getPseudoName.js +0 -5826
- package/dist/wallet/state/logic/getPseudoName.js.map +0 -1
- package/dist/wallet/state/logic/sessionManager.d.ts +0 -17
- package/dist/wallet/state/logic/sessionManager.js +0 -38
- package/dist/wallet/state/logic/sessionManager.js.map +0 -1
- package/dist/wallet/state/logic/transactionManager.d.ts +0 -19
- package/dist/wallet/state/logic/transactionManager.js +0 -8
- package/dist/wallet/state/logic/transactionManager.js.map +0 -1
- package/dist/wallet/state/logic/utils.d.ts +0 -19
- package/dist/wallet/state/logic/utils.js +0 -66
- package/dist/wallet/state/logic/utils.js.map +0 -1
- package/dist/wallet/state/logic/words.d.ts +0 -9
- package/dist/wallet/state/logic/words.js +0 -93572
- package/dist/wallet/state/logic/words.js.map +0 -1
- package/dist/wallet/state/provider/LazyWalletProvider.d.ts +0 -1
- package/dist/wallet/state/provider/LazyWalletProvider.js +0 -230
- package/dist/wallet/state/provider/LazyWalletProvider.js.map +0 -1
- package/dist/wallet/state/provider/N1WalletProvider.d.ts +0 -3
- package/dist/wallet/state/provider/N1WalletProvider.js +0 -266
- package/dist/wallet/state/provider/N1WalletProvider.js.map +0 -1
- package/dist/wallet/state/provider/WalletErrorBoundary.d.ts +0 -17
- package/dist/wallet/state/provider/WalletErrorBoundary.js +0 -57
- package/dist/wallet/state/provider/WalletErrorBoundary.js.map +0 -1
- package/dist/wallet/state/provider/context.d.ts +0 -5
- package/dist/wallet/state/provider/context.js +0 -5
- package/dist/wallet/state/provider/context.js.map +0 -1
- package/dist/wallet/state/provider/hooks/useNordUserInitialization.d.ts +0 -1
- package/dist/wallet/state/provider/hooks/useNordUserInitialization.js +0 -306
- package/dist/wallet/state/provider/hooks/useNordUserInitialization.js.map +0 -1
- package/dist/wallet/state/provider/hooks.d.ts +0 -2
- package/dist/wallet/state/provider/hooks.js +0 -17
- package/dist/wallet/state/provider/hooks.js.map +0 -1
- package/dist/wallet/state/provider/index.d.ts +0 -3
- package/dist/wallet/state/provider/index.js +0 -4
- package/dist/wallet/state/provider/index.js.map +0 -1
- package/dist/wallet/state/provider/types.d.ts +0 -152
- package/dist/wallet/state/provider/types.js +0 -21
- package/dist/wallet/state/provider/types.js.map +0 -1
- package/dist/wallet/state/utils/getPseudoName.d.ts +0 -1
- package/dist/wallet/state/utils/getPseudoName.js +0 -5826
- package/dist/wallet/state/utils/getPseudoName.js.map +0 -1
- package/dist/wallet/state/utils/sessionManager.d.ts +0 -17
- package/dist/wallet/state/utils/sessionManager.js +0 -38
- package/dist/wallet/state/utils/sessionManager.js.map +0 -1
- package/dist/wallet/state/utils/transactionManager.d.ts +0 -19
- package/dist/wallet/state/utils/transactionManager.js +0 -8
- package/dist/wallet/state/utils/transactionManager.js.map +0 -1
- package/dist/wallet/state/utils/utils.d.ts +0 -18
- package/dist/wallet/state/utils/utils.js +0 -66
- package/dist/wallet/state/utils/utils.js.map +0 -1
- package/dist/wallet/state/utils/words.d.ts +0 -9
- package/dist/wallet/state/utils/words.js +0 -93572
- package/dist/wallet/state/utils/words.js.map +0 -1
- package/dist/wallet/styles/embeddedStyles.d.ts +0 -2
- package/dist/wallet/styles/embeddedStyles.js +0 -3
- package/dist/wallet/styles/embeddedStyles.js.map +0 -1
- package/dist/wallet/ui/N1ConnectButton.d.ts +0 -5
- package/dist/wallet/ui/N1ConnectButton.js +0 -49
- package/dist/wallet/ui/N1ConnectButton.js.map +0 -1
- package/dist/wallet/ui/ShadowRootWrapper.d.ts +0 -7
- package/dist/wallet/ui/ShadowRootWrapper.js +0 -7
- package/dist/wallet/ui/ShadowRootWrapper.js.map +0 -1
- package/dist/wallet/ui/modal/LoadingFallback.d.ts +0 -2
- package/dist/wallet/ui/modal/LoadingFallback.js +0 -3
- package/dist/wallet/ui/modal/LoadingFallback.js.map +0 -1
- package/dist/wallet/ui/modal/N1WalletModal.d.ts +0 -2
- package/dist/wallet/ui/modal/N1WalletModal.js +0 -93
- package/dist/wallet/ui/modal/N1WalletModal.js.map +0 -1
- package/dist/wallet/ui/modal/flow/NordFlow.d.ts +0 -9
- package/dist/wallet/ui/modal/flow/NordFlow.js +0 -98
- package/dist/wallet/ui/modal/flow/NordFlow.js.map +0 -1
- package/dist/wallet/ui/modal/flow/components/ChainButton.d.ts +0 -10
- package/dist/wallet/ui/modal/flow/components/ChainButton.js +0 -21
- package/dist/wallet/ui/modal/flow/components/ChainButton.js.map +0 -1
- package/dist/wallet/ui/modal/flow/components/Header.d.ts +0 -12
- package/dist/wallet/ui/modal/flow/components/Header.js +0 -45
- package/dist/wallet/ui/modal/flow/components/Header.js.map +0 -1
- package/dist/wallet/ui/modal/flow/components/ImageWithFallback.d.ts +0 -17
- package/dist/wallet/ui/modal/flow/components/ImageWithFallback.js +0 -33
- package/dist/wallet/ui/modal/flow/components/ImageWithFallback.js.map +0 -1
- package/dist/wallet/ui/modal/flow/components/TransactionTable.d.ts +0 -13
- package/dist/wallet/ui/modal/flow/components/TransactionTable.js +0 -83
- package/dist/wallet/ui/modal/flow/components/TransactionTable.js.map +0 -1
- package/dist/wallet/ui/modal/flow/components/WaitingMessage.d.ts +0 -8
- package/dist/wallet/ui/modal/flow/components/WaitingMessage.js +0 -17
- package/dist/wallet/ui/modal/flow/components/WaitingMessage.js.map +0 -1
- package/dist/wallet/ui/modal/flow/components/index.d.ts +0 -5
- package/dist/wallet/ui/modal/flow/components/index.js +0 -6
- package/dist/wallet/ui/modal/flow/components/index.js.map +0 -1
- package/dist/wallet/ui/modal/flow/hoc/index.d.ts +0 -1
- package/dist/wallet/ui/modal/flow/hoc/index.js +0 -2
- package/dist/wallet/ui/modal/flow/hoc/index.js.map +0 -1
- package/dist/wallet/ui/modal/flow/hoc/withImageFallback.d.ts +0 -7
- package/dist/wallet/ui/modal/flow/hoc/withImageFallback.js +0 -61
- package/dist/wallet/ui/modal/flow/hoc/withImageFallback.js.map +0 -1
- package/dist/wallet/ui/modal/flow/index.d.ts +0 -1
- package/dist/wallet/ui/modal/flow/index.js +0 -2
- package/dist/wallet/ui/modal/flow/index.js.map +0 -1
- package/dist/wallet/ui/modal/flow/screens/01-ConnectWalletScreen.d.ts +0 -1
- package/dist/wallet/ui/modal/flow/screens/01-ConnectWalletScreen.js +0 -19
- package/dist/wallet/ui/modal/flow/screens/01-ConnectWalletScreen.js.map +0 -1
- package/dist/wallet/ui/modal/flow/screens/02-ChainSelectionScreen.d.ts +0 -1
- package/dist/wallet/ui/modal/flow/screens/02-ChainSelectionScreen.js +0 -65
- package/dist/wallet/ui/modal/flow/screens/02-ChainSelectionScreen.js.map +0 -1
- package/dist/wallet/ui/modal/flow/screens/03-AmountInputScreen.d.ts +0 -4
- package/dist/wallet/ui/modal/flow/screens/03-AmountInputScreen.js +0 -358
- package/dist/wallet/ui/modal/flow/screens/03-AmountInputScreen.js.map +0 -1
- package/dist/wallet/ui/modal/flow/screens/04-DepositProgressScreen.d.ts +0 -1
- package/dist/wallet/ui/modal/flow/screens/04-DepositProgressScreen.js +0 -26
- package/dist/wallet/ui/modal/flow/screens/04-DepositProgressScreen.js.map +0 -1
- package/dist/wallet/ui/modal/flow/screens/05-DepositSuccessScreen.d.ts +0 -1
- package/dist/wallet/ui/modal/flow/screens/05-DepositSuccessScreen.js +0 -137
- package/dist/wallet/ui/modal/flow/screens/05-DepositSuccessScreen.js.map +0 -1
- package/dist/wallet/ui/modal/flow/screens/06-AuthLoadingScreen.d.ts +0 -1
- package/dist/wallet/ui/modal/flow/screens/06-AuthLoadingScreen.js +0 -31
- package/dist/wallet/ui/modal/flow/screens/06-AuthLoadingScreen.js.map +0 -1
- package/dist/wallet/ui/modal/flow/screens/07-ErrorScreen.d.ts +0 -1
- package/dist/wallet/ui/modal/flow/screens/07-ErrorScreen.js +0 -14
- package/dist/wallet/ui/modal/flow/screens/07-ErrorScreen.js.map +0 -1
- package/dist/wallet/ui/modal/flow/screens/index.d.ts +0 -7
- package/dist/wallet/ui/modal/flow/screens/index.js +0 -8
- package/dist/wallet/ui/modal/flow/screens/index.js.map +0 -1
- package/dist/wallet/ui/modal/flow/utils/imageUtils.d.ts +0 -21
- package/dist/wallet/ui/modal/flow/utils/imageUtils.js +0 -110
- package/dist/wallet/ui/modal/flow/utils/imageUtils.js.map +0 -1
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Bold-Italic-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Bold-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Extra-Bold-Italic-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Extra-Bold-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Light-Italic-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Light-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Medium-Italic-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Medium-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Regular-Italic-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Regular-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Semi-Bold-Italic-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Semi-Bold-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Thin-Italic-Trial.otf +0 -0
- /package/dist/{fonts → assets/fonts}/apk-galeria/APK-Galeria-Thin-Trial.otf +0 -0
- /package/dist/{main.css → styles/main.css} +0 -0
package/dist/lib/nord/index.d.ts
DELETED
package/dist/lib/nord/index.js
DELETED
|
@@ -1,59 +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
|
-
var nordUserCtorPromise = null;
|
|
38
|
-
var nordCtorPromise = null;
|
|
39
|
-
export function dynamicImportNordUser() {
|
|
40
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
41
|
-
return __generator(this, function (_a) {
|
|
42
|
-
if (!nordUserCtorPromise) {
|
|
43
|
-
nordUserCtorPromise = import('@n1xyz/nord-ts').then(function (module) { return module.NordUser; });
|
|
44
|
-
}
|
|
45
|
-
return [2 /*return*/, nordUserCtorPromise];
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
export function dynamicImportNord() {
|
|
50
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
51
|
-
return __generator(this, function (_a) {
|
|
52
|
-
if (!nordCtorPromise) {
|
|
53
|
-
nordCtorPromise = import('@n1xyz/nord-ts').then(function (module) { return module.Nord; });
|
|
54
|
-
}
|
|
55
|
-
return [2 /*return*/, nordCtorPromise];
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/nord/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAI,mBAAmB,GAAwB,IAAI,CAAC;AACpD,IAAI,eAAe,GAAwB,IAAI,CAAC;AAEhD,MAAM,UAAgB,qBAAqB;;;YACzC,IAAI,CAAC,mBAAmB,EAAE,CAAC;gBACzB,mBAAmB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,QAAQ,EAAf,CAAe,CAAC,CAAC;YACnF,CAAC;YACD,sBAAO,mBAAmB,EAAC;;;CAC5B;AAED,MAAM,UAAgB,iBAAiB;;;YACrC,IAAI,CAAC,eAAe,EAAE,CAAC;gBACrB,eAAe,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,UAAC,MAAM,IAAK,OAAA,MAAM,CAAC,IAAI,EAAX,CAAW,CAAC,CAAC;YAC3E,CAAC;YACD,sBAAO,eAAe,EAAC;;;CACxB","sourcesContent":["let nordUserCtorPromise: Promise<any> | null = null;\nlet nordCtorPromise: Promise<any> | null = null;\n\nexport async function dynamicImportNordUser() {\n if (!nordUserCtorPromise) {\n nordUserCtorPromise = import('@n1xyz/nord-ts').then((module) => module.NordUser);\n }\n return nordUserCtorPromise;\n}\n\nexport async function dynamicImportNord() {\n if (!nordCtorPromise) {\n nordCtorPromise = import('@n1xyz/nord-ts').then((module) => module.Nord);\n }\n return nordCtorPromise;\n}\n"]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { N1SessionMode } from '../../types/wallet';
|
|
2
|
-
export * from './utils';
|
|
3
|
-
/**
|
|
4
|
-
* Interface for session key data stored in local storage
|
|
5
|
-
*/
|
|
6
|
-
export interface SessionKeyData {
|
|
7
|
-
ed25519PrivateKey: Uint8Array;
|
|
8
|
-
walletPublicKey: string;
|
|
9
|
-
chainName: string;
|
|
10
|
-
createdAt: string;
|
|
11
|
-
sessionMode: N1SessionMode;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Retrieve session keys from storage
|
|
15
|
-
* @param walletPublicKey The wallet public key to retrieve session keys for
|
|
16
|
-
* @returns The session key data or null if not found
|
|
17
|
-
*/
|
|
18
|
-
export declare function getSessionKeys(walletPublicKey: string): SessionKeyData | null;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { N1SessionMode } from '../../types/wallet';
|
|
2
|
-
import { logger } from '../../utils/logger';
|
|
3
|
-
import { base64ToUint8Array } from './utils';
|
|
4
|
-
export * from './utils';
|
|
5
|
-
/**
|
|
6
|
-
* Default secure storage adapter (currently wraps localStorage but warns about security)
|
|
7
|
-
* TODO: Implement a more secure storage mechanism (e.g. encrypted storage or in-memory only with regular re-auth)
|
|
8
|
-
*/
|
|
9
|
-
var defaultStorage = {
|
|
10
|
-
getItem: function (key) {
|
|
11
|
-
try {
|
|
12
|
-
return localStorage.getItem(key);
|
|
13
|
-
}
|
|
14
|
-
catch (e) {
|
|
15
|
-
logger.error('Failed to access storage', e);
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
setItem: function (key, value) {
|
|
20
|
-
try {
|
|
21
|
-
localStorage.setItem(key, value);
|
|
22
|
-
}
|
|
23
|
-
catch (e) {
|
|
24
|
-
logger.error('Failed to write to storage', e);
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
removeItem: function (key) {
|
|
28
|
-
try {
|
|
29
|
-
localStorage.removeItem(key);
|
|
30
|
-
}
|
|
31
|
-
catch (e) {
|
|
32
|
-
logger.error('Failed to remove from storage', e);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Retrieve session keys from storage
|
|
38
|
-
* @param walletPublicKey The wallet public key to retrieve session keys for
|
|
39
|
-
* @returns The session key data or null if not found
|
|
40
|
-
*/
|
|
41
|
-
export function getSessionKeys(walletPublicKey) {
|
|
42
|
-
var storageKey = "n1_sessionKey_".concat(walletPublicKey);
|
|
43
|
-
var data = defaultStorage.getItem(storageKey);
|
|
44
|
-
if (!data) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
try {
|
|
48
|
-
var parsedData = JSON.parse(data);
|
|
49
|
-
if (parsedData.ed25519PrivateKey) {
|
|
50
|
-
parsedData.ed25519PrivateKey = base64ToUint8Array(parsedData.ed25519PrivateKey);
|
|
51
|
-
}
|
|
52
|
-
// Convert sessionMode string to enum value
|
|
53
|
-
var storedSessionMode = parsedData.sessionMode;
|
|
54
|
-
if (storedSessionMode === N1SessionMode.Nord ||
|
|
55
|
-
storedSessionMode === N1SessionMode.Nord.toString() ||
|
|
56
|
-
storedSessionMode === 'Nord') {
|
|
57
|
-
parsedData.sessionMode = N1SessionMode.Nord;
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
logger.warn('Encountered legacy session mode. Defaulting to Nord session mode.');
|
|
61
|
-
parsedData.sessionMode = N1SessionMode.Nord;
|
|
62
|
-
}
|
|
63
|
-
return parsedData;
|
|
64
|
-
}
|
|
65
|
-
catch (error) {
|
|
66
|
-
logger.error('Failed to parse session key data', error);
|
|
67
|
-
return null;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/session/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,cAAc,SAAS,CAAC;AAsBxB;;;GAGG;AACH,IAAM,cAAc,GAAmB;IACrC,OAAO,EAAE,UAAC,GAAG;QACX,IAAI,CAAC;YACH,OAAO,YAAY,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACnC,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,CAAC,KAAK,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;YAC5C,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,EAAE,UAAC,GAAG,EAAE,KAAK;QAClB,IAAI,CAAC;YACH,YAAY,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QACnC,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,CAAC,KAAK,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC;QAChD,CAAC;IACH,CAAC;IACD,UAAU,EAAE,UAAC,GAAG;QACd,IAAI,CAAC;YACH,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAC/B,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,CAAC,KAAK,CAAC,+BAA+B,EAAE,CAAC,CAAC,CAAC;QACnD,CAAC;IACH,CAAC;CACF,CAAC;AAEF;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAAC,eAAuB;IACpD,IAAM,UAAU,GAAG,wBAAiB,eAAe,CAAE,CAAC;IAEtD,IAAM,IAAI,GAAG,cAAc,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAChD,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,CAAC;QACH,IAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACpC,IAAI,UAAU,CAAC,iBAAiB,EAAE,CAAC;YACjC,UAAU,CAAC,iBAAiB,GAAG,kBAAkB,CAC/C,UAAU,CAAC,iBAAiB,CAC7B,CAAC;QACJ,CAAC;QAED,2CAA2C;QAC3C,IAAM,iBAAiB,GAAG,UAAU,CAAC,WAAW,CAAC;QACjD,IACE,iBAAiB,KAAK,aAAa,CAAC,IAAI;YACxC,iBAAiB,KAAK,aAAa,CAAC,IAAI,CAAC,QAAQ,EAAE;YACnD,iBAAiB,KAAK,MAAM,EAC5B,CAAC;YACD,UAAU,CAAC,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC;QAC9C,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,IAAI,CACT,mEAAmE,CACpE,CAAC;YACF,UAAU,CAAC,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC;QAC9C,CAAC;QAED,OAAO,UAA4B,CAAC;IACtC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,CAAC,KAAK,CAAC,kCAAkC,EAAE,KAAK,CAAC,CAAC;QACxD,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC","sourcesContent":["import { N1SessionMode } from '../../types/wallet';\nimport { logger } from '../../utils/logger';\nimport { base64ToUint8Array } from './utils';\n\nexport * from './utils';\n\n/**\n * Interface for session key data stored in local storage\n */\nexport interface SessionKeyData {\n ed25519PrivateKey: Uint8Array;\n walletPublicKey: string;\n chainName: string;\n createdAt: string;\n sessionMode: N1SessionMode;\n}\n\n/**\n * Abstract storage adapter to allow switching implementations\n */\ninterface StorageAdapter {\n getItem(key: string): string | null;\n setItem(key: string, value: string): void;\n removeItem(key: string): void;\n}\n\n/**\n * Default secure storage adapter (currently wraps localStorage but warns about security)\n * TODO: Implement a more secure storage mechanism (e.g. encrypted storage or in-memory only with regular re-auth)\n */\nconst defaultStorage: StorageAdapter = {\n getItem: (key) => {\n try {\n return localStorage.getItem(key);\n } catch (e) {\n logger.error('Failed to access storage', e);\n return null;\n }\n },\n setItem: (key, value) => {\n try {\n localStorage.setItem(key, value);\n } catch (e) {\n logger.error('Failed to write to storage', e);\n }\n },\n removeItem: (key) => {\n try {\n localStorage.removeItem(key);\n } catch (e) {\n logger.error('Failed to remove from storage', e);\n }\n }\n};\n\n/**\n * Retrieve session keys from storage\n * @param walletPublicKey The wallet public key to retrieve session keys for\n * @returns The session key data or null if not found\n */\nexport function getSessionKeys(walletPublicKey: string): SessionKeyData | null {\n const storageKey = `n1_sessionKey_${walletPublicKey}`;\n\n const data = defaultStorage.getItem(storageKey);\n if (!data) {\n return null;\n }\n\n try {\n const parsedData = JSON.parse(data);\n if (parsedData.ed25519PrivateKey) {\n parsedData.ed25519PrivateKey = base64ToUint8Array(\n parsedData.ed25519PrivateKey\n );\n }\n\n // Convert sessionMode string to enum value\n const storedSessionMode = parsedData.sessionMode;\n if (\n storedSessionMode === N1SessionMode.Nord ||\n storedSessionMode === N1SessionMode.Nord.toString() ||\n storedSessionMode === 'Nord'\n ) {\n parsedData.sessionMode = N1SessionMode.Nord;\n } else {\n logger.warn(\n 'Encountered legacy session mode. Defaulting to Nord session mode.'\n );\n parsedData.sessionMode = N1SessionMode.Nord;\n }\n\n return parsedData as SessionKeyData;\n } catch (error) {\n logger.error('Failed to parse session key data', error);\n return null;\n }\n}\n"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { generateEd25519KeyPair, generateRandomUint8Array as createRandomUint8Array } from '../../utils/ed25519';
|
|
2
|
-
export declare const generateSessionKeyPair: typeof generateEd25519KeyPair;
|
|
3
|
-
export declare const generateRandomUint8Array: typeof createRandomUint8Array;
|
|
4
|
-
export declare function arrayBufferToBase64(buffer: Uint8Array): string;
|
|
5
|
-
export declare function base64ToUint8Array(base64String: string): Uint8Array<ArrayBuffer>;
|
|
6
|
-
export declare function storeSessionKeysInLocalStorage({ privKey, publicKey, walletPublicKey, chainName, }: {
|
|
7
|
-
privKey: Uint8Array;
|
|
8
|
-
publicKey: Uint8Array;
|
|
9
|
-
walletPublicKey: string;
|
|
10
|
-
chainName: string;
|
|
11
|
-
}): void;
|
|
12
|
-
export declare function getSessionKeysFromLocalStorage(walletPublicKey: string): {
|
|
13
|
-
ed25519PrivateKey: Uint8Array;
|
|
14
|
-
ed25519PublicKey: Uint8Array | null;
|
|
15
|
-
walletPublicKey: string;
|
|
16
|
-
chainName: string;
|
|
17
|
-
createdAt: string;
|
|
18
|
-
} | null;
|
|
19
|
-
export declare function removeKeysFromLocalStorage(walletPublicKey: string): void;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { generateEd25519KeyPair, generateRandomUint8Array as createRandomUint8Array, } from '../../utils/ed25519';
|
|
2
|
-
export var generateSessionKeyPair = generateEd25519KeyPair;
|
|
3
|
-
export var generateRandomUint8Array = createRandomUint8Array;
|
|
4
|
-
export function arrayBufferToBase64(buffer) {
|
|
5
|
-
var binary = '';
|
|
6
|
-
var bytes = new Uint8Array(buffer);
|
|
7
|
-
for (var i = 0; i < bytes.length; i++) {
|
|
8
|
-
binary += String.fromCharCode(bytes[i]);
|
|
9
|
-
}
|
|
10
|
-
return btoa(binary);
|
|
11
|
-
}
|
|
12
|
-
// Convert Base64 string back to Uint8Array
|
|
13
|
-
export function base64ToUint8Array(base64String) {
|
|
14
|
-
var binaryString = atob(base64String);
|
|
15
|
-
var length = binaryString.length;
|
|
16
|
-
var bytes = new Uint8Array(length);
|
|
17
|
-
for (var i = 0; i < length; i++) {
|
|
18
|
-
bytes[i] = binaryString.charCodeAt(i);
|
|
19
|
-
}
|
|
20
|
-
return bytes;
|
|
21
|
-
}
|
|
22
|
-
// Function to store keys with a custom ID format in local storage, including private key
|
|
23
|
-
export function storeSessionKeysInLocalStorage(_a) {
|
|
24
|
-
var privKey = _a.privKey, publicKey = _a.publicKey, walletPublicKey = _a.walletPublicKey, chainName = _a.chainName;
|
|
25
|
-
var storageKey = "n1_sessionKey_".concat(walletPublicKey);
|
|
26
|
-
var data = {
|
|
27
|
-
ed25519PrivateKey: arrayBufferToBase64(privKey),
|
|
28
|
-
ed25519PublicKey: arrayBufferToBase64(publicKey),
|
|
29
|
-
walletPublicKey: walletPublicKey,
|
|
30
|
-
chainName: chainName,
|
|
31
|
-
createdAt: new Date().toISOString(),
|
|
32
|
-
};
|
|
33
|
-
localStorage.setItem(storageKey, JSON.stringify(data));
|
|
34
|
-
}
|
|
35
|
-
// Retrieve data from local storage by wallet key and convert the private and public key back to Uint8Array
|
|
36
|
-
export function getSessionKeysFromLocalStorage(walletPublicKey) {
|
|
37
|
-
var storageKey = "n1_sessionKey_".concat(walletPublicKey);
|
|
38
|
-
var data = localStorage.getItem(storageKey);
|
|
39
|
-
if (data) {
|
|
40
|
-
var parsedData = JSON.parse(data);
|
|
41
|
-
if (parsedData.ed25519PrivateKey) {
|
|
42
|
-
parsedData.ed25519PrivateKey = base64ToUint8Array(parsedData.ed25519PrivateKey);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
throw new Error('Missing ed25519PrivateKey in session storage');
|
|
46
|
-
}
|
|
47
|
-
if (parsedData.ed25519PublicKey) {
|
|
48
|
-
parsedData.ed25519PublicKey = base64ToUint8Array(parsedData.ed25519PublicKey);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
throw new Error('Missing ed25519PublicKey in session storage');
|
|
52
|
-
}
|
|
53
|
-
// Validate keys: check that public key is present and is Uint8Array of length 32
|
|
54
|
-
if (!parsedData.ed25519PublicKey || !(parsedData.ed25519PublicKey instanceof Uint8Array) || parsedData.ed25519PublicKey.length !== 32) {
|
|
55
|
-
throw new Error('Invalid public key in session storage');
|
|
56
|
-
}
|
|
57
|
-
return parsedData;
|
|
58
|
-
}
|
|
59
|
-
return null;
|
|
60
|
-
}
|
|
61
|
-
// Function to remove data from local storage by wallet key
|
|
62
|
-
export function removeKeysFromLocalStorage(walletPublicKey) {
|
|
63
|
-
var storageKey = "n1_sessionKey_".concat(walletPublicKey);
|
|
64
|
-
localStorage.removeItem(storageKey);
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/lib/session/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,wBAAwB,IAAI,sBAAsB,GACnD,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,IAAM,sBAAsB,GAAG,sBAAsB,CAAC;AAC7D,MAAM,CAAC,IAAM,wBAAwB,GAAG,sBAAsB,CAAC;AAE/D,MAAM,UAAU,mBAAmB,CAAC,MAAkB;IACpD,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,IAAM,KAAK,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACtC,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC;AACtB,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,kBAAkB,CAAC,YAAoB;IACrD,IAAM,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC,CAAC;IACxC,IAAM,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;IACnC,IAAM,KAAK,GAAG,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;IACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAChC,KAAK,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IACxC,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,yFAAyF;AACzF,MAAM,UAAU,8BAA8B,CAAC,EAU9C;QATC,OAAO,aAAA,EACP,SAAS,eAAA,EACT,eAAe,qBAAA,EACf,SAAS,eAAA;IAOT,IAAM,UAAU,GAAG,wBAAiB,eAAe,CAAE,CAAC;IAEtD,IAAM,IAAI,GAAG;QACX,iBAAiB,EAAE,mBAAmB,CAAC,OAAO,CAAC;QAC/C,gBAAgB,EAAE,mBAAmB,CAAC,SAAS,CAAC;QAChD,eAAe,iBAAA;QACf,SAAS,WAAA;QACT,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;KACpC,CAAC;IAEF,YAAY,CAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AACzD,CAAC;AAED,2GAA2G;AAC3G,MAAM,UAAU,8BAA8B,CAAC,eAAuB;IAOpE,IAAM,UAAU,GAAG,wBAAiB,eAAe,CAAE,CAAC;IAEtD,IAAM,IAAI,GAAG,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC9C,IAAI,IAAI,EAAE,CAAC;QACT,IAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACpC,IAAI,UAAU,CAAC,iBAAiB,EAAE,CAAC;YACjC,UAAU,CAAC,iBAAiB,GAAG,kBAAkB,CAC/C,UAAU,CAAC,iBAAiB,CAC7B,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;QAClE,CAAC;QACD,IAAI,UAAU,CAAC,gBAAgB,EAAE,CAAC;YAChC,UAAU,CAAC,gBAAgB,GAAG,kBAAkB,CAC9C,UAAU,CAAC,gBAAgB,CAC5B,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;QACjE,CAAC;QACD,iFAAiF;QACjF,IAAI,CAAC,UAAU,CAAC,gBAAgB,IAAI,CAAC,CAAC,UAAU,CAAC,gBAAgB,YAAY,UAAU,CAAC,IAAI,UAAU,CAAC,gBAAgB,CAAC,MAAM,KAAK,EAAE,EAAE,CAAC;YACtI,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;QAC3D,CAAC;QACD,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,2DAA2D;AAC3D,MAAM,UAAU,0BAA0B,CAAC,eAAuB;IAChE,IAAM,UAAU,GAAG,wBAAiB,eAAe,CAAE,CAAC;IAEtD,YAAY,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AACtC,CAAC","sourcesContent":["import {\n generateEd25519KeyPair,\n generateRandomUint8Array as createRandomUint8Array,\n} from '../../utils/ed25519';\n\nexport const generateSessionKeyPair = generateEd25519KeyPair;\nexport const generateRandomUint8Array = createRandomUint8Array;\n\nexport function arrayBufferToBase64(buffer: Uint8Array) {\n let binary = '';\n const bytes = new Uint8Array(buffer);\n for (let i = 0; i < bytes.length; i++) {\n binary += String.fromCharCode(bytes[i]);\n }\n return btoa(binary);\n}\n\n// Convert Base64 string back to Uint8Array\nexport function base64ToUint8Array(base64String: string) {\n const binaryString = atob(base64String);\n const length = binaryString.length;\n const bytes = new Uint8Array(length);\n for (let i = 0; i < length; i++) {\n bytes[i] = binaryString.charCodeAt(i);\n }\n return bytes;\n}\n\n// Function to store keys with a custom ID format in local storage, including private key\nexport function storeSessionKeysInLocalStorage({\n privKey,\n publicKey,\n walletPublicKey,\n chainName,\n}: {\n privKey: Uint8Array;\n publicKey: Uint8Array;\n walletPublicKey: string;\n chainName: string;\n}) {\n const storageKey = `n1_sessionKey_${walletPublicKey}`;\n\n const data = {\n ed25519PrivateKey: arrayBufferToBase64(privKey),\n ed25519PublicKey: arrayBufferToBase64(publicKey),\n walletPublicKey,\n chainName,\n createdAt: new Date().toISOString(),\n };\n\n localStorage.setItem(storageKey, JSON.stringify(data));\n}\n\n// Retrieve data from local storage by wallet key and convert the private and public key back to Uint8Array\nexport function getSessionKeysFromLocalStorage(walletPublicKey: string): {\n ed25519PrivateKey: Uint8Array;\n ed25519PublicKey: Uint8Array | null;\n walletPublicKey: string;\n chainName: string;\n createdAt: string;\n} | null {\n const storageKey = `n1_sessionKey_${walletPublicKey}`;\n\n const data = localStorage.getItem(storageKey);\n if (data) {\n const parsedData = JSON.parse(data);\n if (parsedData.ed25519PrivateKey) {\n parsedData.ed25519PrivateKey = base64ToUint8Array(\n parsedData.ed25519PrivateKey\n );\n } else {\n throw new Error('Missing ed25519PrivateKey in session storage');\n }\n if (parsedData.ed25519PublicKey) {\n parsedData.ed25519PublicKey = base64ToUint8Array(\n parsedData.ed25519PublicKey\n );\n } else {\n throw new Error('Missing ed25519PublicKey in session storage');\n }\n // Validate keys: check that public key is present and is Uint8Array of length 32\n if (!parsedData.ed25519PublicKey || !(parsedData.ed25519PublicKey instanceof Uint8Array) || parsedData.ed25519PublicKey.length !== 32) {\n throw new Error('Invalid public key in session storage');\n }\n return parsedData;\n }\n return null;\n}\n\n// Function to remove data from local storage by wallet key\nexport function removeKeysFromLocalStorage(walletPublicKey: string) {\n const storageKey = `n1_sessionKey_${walletPublicKey}`;\n\n localStorage.removeItem(storageKey);\n}\n"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Interface for transaction result
|
|
3
|
-
*/
|
|
4
|
-
export interface TransactionResult {
|
|
5
|
-
success: boolean;
|
|
6
|
-
transactionId: string;
|
|
7
|
-
amount: string;
|
|
8
|
-
tokenSymbol: string;
|
|
9
|
-
fromAddress: string;
|
|
10
|
-
toAddress: string;
|
|
11
|
-
networkName: string;
|
|
12
|
-
status: 'Completed' | 'Failed' | 'Pending';
|
|
13
|
-
explorerUrl?: string;
|
|
14
|
-
error?: Error;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Get explorer URL for a transaction
|
|
18
|
-
*/
|
|
19
|
-
export declare function getExplorerUrl(transactionId: string): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/transaction/index.ts"],"names":[],"mappings":"AAgBA;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,aAAqB;IAClD,IAAM,OAAO,GAAG,iCAAiC,CAAC;IAClD,OAAO,UAAG,OAAO,SAAG,aAAa,oBAAiB,CAAC;AACrD,CAAC","sourcesContent":["/**\n * Interface for transaction result\n */\nexport interface TransactionResult {\n success: boolean;\n transactionId: string;\n amount: string;\n tokenSymbol: string;\n fromAddress: string;\n toAddress: string;\n networkName: string;\n status: 'Completed' | 'Failed' | 'Pending';\n explorerUrl?: string;\n error?: Error;\n}\n\n/**\n * Get explorer URL for a transaction\n */\nexport function getExplorerUrl(transactionId: string) {\n const baseUrl = 'https://explorer.solana.com/tx/';\n return `${baseUrl}${transactionId}?cluster=devnet`;\n}\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
export interface N1LoaderAnimationProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
size?: number;
|
|
4
|
-
loop?: boolean;
|
|
5
|
-
autoplay?: boolean;
|
|
6
|
-
speed?: number;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* N1 loader rendered via the original Lottie JSON animation.
|
|
10
|
-
*/
|
|
11
|
-
export declare function N1LoaderAnimation({ size, loop, autoplay, speed, className, style, ...rest }: N1LoaderAnimationProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
|
-
import { useEffect, useRef } from 'react';
|
|
26
|
-
import Lottie from 'lottie-react';
|
|
27
|
-
import animationData from './N1Loader.json';
|
|
28
|
-
/**
|
|
29
|
-
* N1 loader rendered via the original Lottie JSON animation.
|
|
30
|
-
*/
|
|
31
|
-
export function N1LoaderAnimation(_a) {
|
|
32
|
-
var _b = _a.size, size = _b === void 0 ? 96 : _b, _c = _a.loop, loop = _c === void 0 ? true : _c, _d = _a.autoplay, autoplay = _d === void 0 ? true : _d, _e = _a.speed, speed = _e === void 0 ? 1 : _e, className = _a.className, style = _a.style, rest = __rest(_a, ["size", "loop", "autoplay", "speed", "className", "style"]);
|
|
33
|
-
var lottieRef = useRef(null);
|
|
34
|
-
var containerStyle = __assign({ width: size, height: size }, style);
|
|
35
|
-
useEffect(function () {
|
|
36
|
-
if (lottieRef.current) {
|
|
37
|
-
lottieRef.current.setSpeed(speed);
|
|
38
|
-
}
|
|
39
|
-
}, [speed]);
|
|
40
|
-
return (_jsx("div", __assign({ className: className, style: containerStyle }, rest, { children: _jsx(Lottie, { lottieRef: lottieRef, animationData: animationData, loop: loop, autoplay: autoplay, style: { width: '100%', height: '100%' } }) })));
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=N1Loader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"N1Loader.js","sourceRoot":"","sources":["../../../src/shared/animations/N1Loader.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAGb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAS5C;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAQT;IAPvB,IAAA,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EACf,aAAS,EAAT,KAAK,mBAAG,CAAC,KAAA,EACT,SAAS,eAAA,EACT,KAAK,WAAA,EACF,IAAI,cAPyB,2DAQjC,CADQ;IAEP,IAAM,SAAS,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IACtD,IAAM,cAAc,cAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,IACT,KAAK,CACT,CAAC;IAEF,SAAS,CAAC;QACR,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,uBAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,IAAM,IAAI,cACxD,KAAC,MAAM,IACL,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GACxC,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nimport type { CSSProperties, HTMLAttributes } from 'react';\nimport { useEffect, useRef } from 'react';\nimport Lottie, { type LottieRefCurrentProps } from 'lottie-react';\n\nimport animationData from './N1Loader.json';\n\nexport interface N1LoaderAnimationProps extends HTMLAttributes<HTMLDivElement> {\n size?: number;\n loop?: boolean;\n autoplay?: boolean;\n speed?: number;\n}\n\n/**\n * N1 loader rendered via the original Lottie JSON animation.\n */\nexport function N1LoaderAnimation({\n size = 96,\n loop = true,\n autoplay = true,\n speed = 1,\n className,\n style,\n ...rest\n}: N1LoaderAnimationProps) {\n const lottieRef = useRef<LottieRefCurrentProps>(null);\n const containerStyle: CSSProperties = {\n width: size,\n height: size,\n ...style,\n };\n\n useEffect(() => {\n if (lottieRef.current) {\n lottieRef.current.setSpeed(speed);\n }\n }, [speed]);\n\n return (\n <div className={className} style={containerStyle} {...rest}>\n <Lottie\n lottieRef={lottieRef}\n animationData={animationData}\n loop={loop}\n autoplay={autoplay}\n style={{ width: '100%', height: '100%' }}\n />\n </div>\n );\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{ "v": "5.12.1", "fr": 60, "ip": 0, "op": 300, "w": 156, "h": 156, "nm": "N1 Loader", "ddd": 0, "assets": [{ "id": "comp_0", "nm": "Frame 147", "fr": 60, "layers": [{ "ddd": 0, "ind": 1, "ty": 0, "nm": "Frame 159", "refId": "comp_1", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [42, 42, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "w": 84, "h": 84, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 4, "nm": "Frame 147", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ty": "rc", "d": 1, "s": { "a": 0, "k": [28, 28], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "r": { "a": 0, "k": 4, "ix": 4 }, "nm": "Rectangle Path 1", "mn": "ADBE Vector Shape - Rect", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Frame 147", "np": 1, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }] }, { "id": "comp_1", "nm": "Frame 159", "fr": 60, "layers": [{ "ddd": 0, "ind": 1, "ty": 3, "nm": "▽ Group", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [41.547, 41.25, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [24.453, 12.96, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 3, "nm": "▽ Layer_1", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [24.453, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [24.453, 12.96, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 3, "ty": 3, "nm": "▽ Layer_2", "parent": 2, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [24.453, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [24.453, 12.96, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 4, "ty": 3, "nm": "▽ Layer_1-2", "parent": 3, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [24.453, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [24.453, 12.96, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 5, "ty": 4, "nm": "Vector", "parent": 4, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [45.852, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[-1.018, 4.32], [-1.018, -2.278], [1.018, -4.32], [1.018, -3.344], [1.018, -2.278], [1.018, 4.32]], "c": true }, "ix": 2 }, "nm": "Path 1", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Vector", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 6, "ty": 4, "nm": "Vector", "parent": 4, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [18.831, 12.96, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[-4.241, -4.32], [-2.335, -4.32], [-0.299, -2.278], [6.277, 4.32], [3.398, 4.32], [-3.178, -2.278], [-4.241, -2.278], [-4.241, 4.32], [-6.277, 4.32], [-6.277, -2.278]], "c": true }, "ix": 2 }, "nm": "Path 1", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Vector", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 7, "ty": 4, "nm": "Vector", "parent": 4, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [34.608, 3.063, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0]], "v": [[1.018, -1.021], [-1.018, -1.021], [-1.018, 1.021], [1.018, 1.021]], "c": true }, "ix": 2 }, "nm": "Path 1", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Vector", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 8, "ty": 4, "nm": "Rectangle 2", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ty": "rc", "d": 1, "s": { "a": 0, "k": [28, 28], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "r": { "a": 0, "k": 29, "ix": 4 }, "nm": "Rectangle Path 1", "mn": "ADBE Vector Shape - Rect", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [0.10478515923, 0.10478515923, 0.10478515923, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Rectangle 2", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 9, "ty": 4, "nm": "Frame 159", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ty": "rc", "d": 1, "s": { "a": 0, "k": [28, 28], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 4 }, "nm": "Rectangle Path 1", "mn": "ADBE Vector Shape - Rect", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Frame 159", "np": 1, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }] }], "layers": [{ "ddd": 0, "ind": 1, "ty": 3, "nm": "▽ Group 155", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [78, 78, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [72, 72, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 4, "nm": "Ellipse 64", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [72, 72, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [48, 48], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "st", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 3 }, "o": { "a": 0, "k": 100, "ix": 4 }, "w": { "a": 0, "k": 1, "ix": 5 }, "lc": 1, "lj": 1, "ml": 4, "bm": 0, "nm": "Stroke 1", "mn": "ADBE Vector Graphic - Stroke", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 64", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 3, "ty": 4, "nm": "Ellipse 63", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [72, 72, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [38, 38], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "st", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 3 }, "o": { "a": 0, "k": 100, "ix": 4 }, "w": { "a": 0, "k": 1, "ix": 5 }, "lc": 1, "lj": 1, "ml": 4, "bm": 0, "nm": "Stroke 1", "mn": "ADBE Vector Graphic - Stroke", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 63", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 4, "ty": 4, "nm": "Ellipse 60", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 1, "k": [{ "i": { "x": [0.41], "y": [1] }, "o": { "x": [0.59], "y": [0] }, "t": 0, "s": [0] }, { "t": 299, "s": [360] }], "ix": 10 }, "p": { "a": 0, "k": [71.996, 71.985, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [49.543, -52.444, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [4, 4], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 60", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 5, "ty": 3, "nm": "▽ Group 152", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [72, 72, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [42, 42, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 6, "ty": 0, "nm": "Frame 147", "parent": 5, "refId": "comp_0", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [42, 42, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [42, 42, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "w": 84, "h": 84, "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 7, "ty": 4, "nm": "Ellipse 62", "parent": 1, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 1, "k": [{ "i": { "x": [0.41], "y": [1] }, "o": { "x": [0.59], "y": [0] }, "t": 0, "s": [0] }, { "t": 299, "s": [360] }], "ix": 10 }, "p": { "a": 0, "k": [71.993, 71.997, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [-39.007, 60.458, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [4, 4], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 62", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 8, "ty": 4, "nm": "Ellipse 65", "parent": 3, "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 1, "k": [{ "i": { "x": [0.41], "y": [1] }, "o": { "x": [0.59], "y": [0] }, "t": 0, "s": [0] }, { "t": 299, "s": [-360] }], "ix": 10 }, "p": { "a": 0, "k": [0.007, -0.007, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [-43.207, -36.721, 0], "ix": 1, "l": 2 }, "s": { "a": 0, "k": [100, 100, 100], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [4, 4], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 65", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }], "markers": [], "props": {} }
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from 'react';
|
|
2
|
-
export interface ProcessingAnimationProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
size?: number;
|
|
4
|
-
loop?: boolean;
|
|
5
|
-
autoplay?: boolean;
|
|
6
|
-
speed?: number;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Processing animation powered by the original Lottie JSON asset.
|
|
10
|
-
*/
|
|
11
|
-
export declare function ProcessingAnimation({ size, loop, autoplay, speed, className, style, ...rest }: ProcessingAnimationProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
|
-
import { useEffect, useRef } from 'react';
|
|
26
|
-
import Lottie from 'lottie-react';
|
|
27
|
-
import animationData from './Processing.json';
|
|
28
|
-
/**
|
|
29
|
-
* Processing animation powered by the original Lottie JSON asset.
|
|
30
|
-
*/
|
|
31
|
-
export function ProcessingAnimation(_a) {
|
|
32
|
-
var _b = _a.size, size = _b === void 0 ? 120 : _b, _c = _a.loop, loop = _c === void 0 ? true : _c, _d = _a.autoplay, autoplay = _d === void 0 ? true : _d, _e = _a.speed, speed = _e === void 0 ? 1 : _e, className = _a.className, style = _a.style, rest = __rest(_a, ["size", "loop", "autoplay", "speed", "className", "style"]);
|
|
33
|
-
var lottieRef = useRef(null);
|
|
34
|
-
var containerStyle = __assign({ width: size, height: size }, style);
|
|
35
|
-
useEffect(function () {
|
|
36
|
-
if (lottieRef.current) {
|
|
37
|
-
lottieRef.current.setSpeed(speed);
|
|
38
|
-
}
|
|
39
|
-
}, [speed]);
|
|
40
|
-
return (_jsx("div", __assign({ className: className, style: containerStyle }, rest, { children: _jsx(Lottie, { lottieRef: lottieRef, animationData: animationData, loop: loop, autoplay: autoplay, style: { width: '100%', height: '100%' } }) })));
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=Processing.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Processing.js","sourceRoot":"","sources":["../../../src/shared/animations/Processing.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAGb,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,MAAsC,MAAM,cAAc,CAAC;AAElE,OAAO,aAAa,MAAM,mBAAmB,CAAC;AAS9C;;GAEG;AACH,MAAM,UAAU,mBAAmB,CAAC,EAQT;IAPzB,IAAA,YAAU,EAAV,IAAI,mBAAG,GAAG,KAAA,EACV,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,gBAAe,EAAf,QAAQ,mBAAG,IAAI,KAAA,EACf,aAAS,EAAT,KAAK,mBAAG,CAAC,KAAA,EACT,SAAS,eAAA,EACT,KAAK,WAAA,EACF,IAAI,cAP2B,2DAQnC,CADQ;IAEP,IAAM,SAAS,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IACtD,IAAM,cAAc,cAClB,KAAK,EAAE,IAAI,EACX,MAAM,EAAE,IAAI,IACT,KAAK,CACT,CAAC;IAEF,SAAS,CAAC;QACR,IAAI,SAAS,CAAC,OAAO,EAAE,CAAC;YACtB,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpC,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,OAAO,CACL,uBAAK,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,IAAM,IAAI,cACxD,KAAC,MAAM,IACL,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GACxC,IACE,CACP,CAAC;AACJ,CAAC","sourcesContent":["'use client';\n\nimport type { CSSProperties, HTMLAttributes } from 'react';\nimport { useEffect, useRef } from 'react';\nimport Lottie, { type LottieRefCurrentProps } from 'lottie-react';\n\nimport animationData from './Processing.json';\n\nexport interface ProcessingAnimationProps extends HTMLAttributes<HTMLDivElement> {\n size?: number;\n loop?: boolean;\n autoplay?: boolean;\n speed?: number;\n}\n\n/**\n * Processing animation powered by the original Lottie JSON asset.\n */\nexport function ProcessingAnimation({\n size = 120,\n loop = true,\n autoplay = true,\n speed = 1,\n className,\n style,\n ...rest\n}: ProcessingAnimationProps) {\n const lottieRef = useRef<LottieRefCurrentProps>(null);\n const containerStyle: CSSProperties = {\n width: size,\n height: size,\n ...style,\n };\n\n useEffect(() => {\n if (lottieRef.current) {\n lottieRef.current.setSpeed(speed);\n }\n }, [speed]);\n\n return (\n <div className={className} style={containerStyle} {...rest}>\n <Lottie\n lottieRef={lottieRef}\n animationData={animationData}\n loop={loop}\n autoplay={autoplay}\n style={{ width: '100%', height: '100%' }}\n />\n </div>\n );\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{ "v": "5.12.1", "fr": 60, "ip": 0, "op": 170, "w": 98, "h": 16, "nm": "Processing 3", "ddd": 0, "assets": [], "layers": [{ "ddd": 0, "ind": 1, "ty": 4, "nm": "Ellipse 58", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [91, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 60, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 80, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 100, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 130, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 150, "s": [190, 190, 100] }, { "t": 170, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 58", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 4, "nm": "Ellipse 62", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [77, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 50, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 70, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 90, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 120, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 140, "s": [190, 190, 100] }, { "t": 160, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 55", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 3, "ty": 4, "nm": "Ellipse 61", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [63, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 40, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 60, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 80, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 110, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 130, "s": [190, 190, 100] }, { "t": 150, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 55", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 4, "ty": 4, "nm": "Ellipse 60", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [49, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 30, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 50, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 70, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 100, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 120, "s": [190, 190, 100] }, { "t": 140, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 55", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 5, "ty": 4, "nm": "Ellipse 55", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [35, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 20, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 40, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 60, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 90, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 110, "s": [190, 190, 100] }, { "t": 130, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 55", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 6, "ty": 4, "nm": "Ellipse 59", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [21, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 10, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 30, "s": [190, 190, 100] }, { "i": { "x": [0.833, 0.833, 0.833], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 50, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 80, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 100, "s": [190, 190, 100] }, { "t": 120, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 59", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }, { "ddd": 0, "ind": 7, "ty": 4, "nm": "Ellipse 53", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [7, 8, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [0, 0, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 0, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 20, "s": [190, 190, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.167, 0.167, 0.167], "y": [0, 0, 0] }, "t": 40, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 70, "s": [100, 100, 100] }, { "i": { "x": [0.41, 0.41, 0.41], "y": [1, 1, 1] }, "o": { "x": [0.59, 0.59, 0.59], "y": [0, 0, 0] }, "t": 90, "s": [190, 190, 100] }, { "t": 110, "s": [100, 100, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "d": 1, "ty": "el", "s": { "a": 0, "k": [2, 2], "ix": 2 }, "p": { "a": 0, "k": [0, 0], "ix": 3 }, "nm": "Ellipse Path 1", "mn": "ADBE Vector Shape - Ellipse", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [1, 0.265000015497, 0.10000000149, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [0, 0], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [300, 300], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Ellipse 53", "np": 2, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 0, "op": 300, "st": 0, "ct": 1, "bm": 0 }], "markers": [], "props": {} }
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare const CHAINS_WITH_NETWORK_INFO: readonly [{
|
|
2
|
-
readonly id: "solana";
|
|
3
|
-
readonly name: "Solana";
|
|
4
|
-
readonly subtitle: "~1 minute deposit time";
|
|
5
|
-
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
readonly network: any;
|
|
7
|
-
readonly soon: false;
|
|
8
|
-
}, {
|
|
9
|
-
readonly id: "hyperliquid";
|
|
10
|
-
readonly name: "Hyperliquid";
|
|
11
|
-
readonly subtitle: undefined;
|
|
12
|
-
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
readonly network: "";
|
|
14
|
-
readonly soon: true;
|
|
15
|
-
}, {
|
|
16
|
-
readonly id: "arbitrum";
|
|
17
|
-
readonly name: "Arbitrum";
|
|
18
|
-
readonly subtitle: undefined;
|
|
19
|
-
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
readonly network: "";
|
|
21
|
-
readonly soon: true;
|
|
22
|
-
}, {
|
|
23
|
-
readonly id: "ethereum";
|
|
24
|
-
readonly name: "Ethereum";
|
|
25
|
-
readonly subtitle: undefined;
|
|
26
|
-
readonly logo: import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
readonly network: "";
|
|
28
|
-
readonly soon: true;
|
|
29
|
-
}];
|