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.
This commit is contained in:
odiinnn committed 2025-08-28 13:13:57 +03:00
commit a21ea39c36
19 files changed
+5094

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
export const VARAN_WALLET_LS_KEY = 'VARAN_WALLET';
window.addEventListener('storage', (ev) => {
if (ev.storageArea !== localStorage || ev.key !== VARAN_WALLET_LS_KEY) return;
})