nolimit-x 1.0.72 → 1.0.74
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/package.json +1 -1
- package/src/engine-config.js +1 -1
- package/src/rust-backend.js +2 -9
package/package.json
CHANGED
package/src/engine-config.js
CHANGED
|
@@ -65,7 +65,7 @@ class EngineConfig {
|
|
|
65
65
|
} else {
|
|
66
66
|
// Create default engine config file
|
|
67
67
|
fs.writeFileSync(engineConfigPath, JSON.stringify(defaultConfig, null, 2));
|
|
68
|
-
|
|
68
|
+
// default engine config created silently
|
|
69
69
|
return defaultConfig;
|
|
70
70
|
}
|
|
71
71
|
} catch (error) {
|
package/src/rust-backend.js
CHANGED
|
@@ -54,18 +54,9 @@ class RustBackend {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
async initialize() {
|
|
57
|
-
|
|
58
|
-
|
|
59
57
|
try {
|
|
60
|
-
// Initialize DKIM replay service
|
|
61
|
-
this.dkimReplayService = new DKIMReplayService(this.config.dkimReplayConfig);
|
|
62
|
-
await this.dkimReplayService.initialize();
|
|
63
|
-
|
|
64
58
|
// Start Rust process
|
|
65
59
|
await this.startRustProcess();
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
60
|
} catch (error) {
|
|
70
61
|
console.error('[RUST-BACKEND] Initialization failed:', error.message);
|
|
71
62
|
throw error;
|
|
@@ -218,6 +209,8 @@ class RustBackend {
|
|
|
218
209
|
const { type, id, data, error, success, message: msg } = message;
|
|
219
210
|
|
|
220
211
|
if (error) {
|
|
212
|
+
// Suppress non-critical errors (e.g. ping on old Rust binary)
|
|
213
|
+
if (typeof error === 'string' && error.includes('Unknown command: ping')) return;
|
|
221
214
|
console.error(`[RUST-BACKEND] Rust error:`, error);
|
|
222
215
|
return;
|
|
223
216
|
}
|