Deleted the 'limits.cpu_ms' setting from wrangler.jsonc to allow default CPU usage. This may be to enable longer execution times or to rely on platform defaults.
Refactored src/index.js to modularize and simplify Telegram file and photo upload handling to Google Drive. Enhanced Google authentication and file upload logic, improved error handling, and added unit tests in test/index.test.js. Updated package.json with metadata and made the package public. Adjusted wrangler.jsonc to set CPU limits and add environment variables.
Enhanced the uploadToDrive function to support resumable uploads for files larger than 20MB, improving reliability for large file transfers. Also updated wrangler.jsonc to enable smart placement and cleaned up configuration comments.