Commit Graph
3 Commits
Author SHA1 Message Date
odiinnn 38574daace Refactor wallet storage and subscription handling
- Updated WalletStore to manage localStorage and handle storage events more effectively.
- Introduced mockAccountsSubscribe in constants for better account subscription handling.
- Removed unnecessary storage subscription from InjectionConfig.
- Enhanced Wallet class to utilize new account and metadata management methods.
2025-09-01 10:42:55 +03:00
odiinnn 267d56cee1 Refactor callback URL handling in injectVaranWallet function
- Changed callbackUrl in defaultInjectionConfig to an empty string.
- Updated injectVaranWallet to throw an error if callbackUrl is not provided in the config, ensuring proper error handling.
2025-09-01 09:42:54 +03:00
odiinnn a21ea39c36 Initialize TypeScript library for Telegram Web App wallet integration
- Added configuration files: .eslintrc.js, .gitignore, .npmrc, .prettierrc, and multiple tsconfig files for different module systems.
- Created package.json with dependencies and scripts for building, testing, and publishing.
- Implemented core functionality in src/ directory, including wallet management, encryption, and storage handling.
- Added README.md for documentation on installation, usage, and development setup.
- Introduced initial types and constants for better type safety and code organization.
2025-08-28 13:13:57 +03:00