Commit Graph
9 Commits
Author SHA1 Message Date
odiinnn e2c815caca Remove isDev property from InjectionConfig and defaultInjectionConfig, simplifying wallet configuration. Update Wallet class to reflect these changes, ensuring consistent handling of callbackUrl and connectTimeout. 2025-09-17 12:40:02 +03:00
odiinnn 42bbb746a1 1.0.4 2025-09-01 10:48:55 +03:00
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 1966988769 1.0.3 2025-09-01 09:43:01 +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 06f4b5c82f 1.0.2 2025-08-28 13:20:38 +03:00
odiinnn f622b17b69 Update prepublishOnly script in package.json to remove test command 2025-08-28 13:20:28 +03:00
odiinnn 117936353c 1.0.1 2025-08-28 13:19:07 +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