@openmnemo/sync 0.2.0 → 0.2.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/dist/index.d.ts +1 -5
- package/dist/index.js +0 -4
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -111,9 +111,5 @@ declare function setupLogging(logLevel?: LogLevel): Logger;
|
|
|
111
111
|
* the logger is auto-created with default settings (`info` level).
|
|
112
112
|
*/
|
|
113
113
|
declare function getLogger(): Logger;
|
|
114
|
-
/**
|
|
115
|
-
* Reset the singleton — primarily useful for tests.
|
|
116
|
-
*/
|
|
117
|
-
declare function _resetLogger(): void;
|
|
118
114
|
|
|
119
|
-
export { ALERT_TYPES, type Alert, FAILURE_THRESHOLD, type LogLevel, type Logger, MAX_ALERTS,
|
|
115
|
+
export { ALERT_TYPES, type Alert, FAILURE_THRESHOLD, type LogLevel, type Logger, MAX_ALERTS, acquireLock, alertsPath, clearAlerts, configPath, formatAlertsForDisplay, getLogger, gitCommitAndPush, main as heartbeatMain, intervalToSeconds, isProcessAlive, loadConfig, lockPath, memorytreeRoot, processProject, readAlerts, readLockPid, registerProject, releaseLock, resetFailureCount, runHeartbeat, saveConfig, scanSensitive, setupLogging, tryPush, writeAlert, writeAlertWithThreshold };
|
package/dist/index.js
CHANGED
|
@@ -500,9 +500,6 @@ function getLogger() {
|
|
|
500
500
|
}
|
|
501
501
|
return singleton;
|
|
502
502
|
}
|
|
503
|
-
function _resetLogger() {
|
|
504
|
-
singleton = void 0;
|
|
505
|
-
}
|
|
506
503
|
function resolveLevel(level) {
|
|
507
504
|
const lower = level.toLowerCase();
|
|
508
505
|
const mapping = {
|
|
@@ -700,7 +697,6 @@ export {
|
|
|
700
697
|
ALERT_TYPES,
|
|
701
698
|
FAILURE_THRESHOLD,
|
|
702
699
|
MAX_ALERTS,
|
|
703
|
-
_resetLogger,
|
|
704
700
|
acquireLock,
|
|
705
701
|
alertsPath,
|
|
706
702
|
clearAlerts,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmnemo/sync",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Heartbeat daemon, config management, and background sync for OpenMnemo",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"smol-toml": "^1.3.1",
|
|
25
|
-
"@openmnemo/
|
|
26
|
-
"@openmnemo/
|
|
27
|
-
"@openmnemo/
|
|
25
|
+
"@openmnemo/core": "0.2.1",
|
|
26
|
+
"@openmnemo/report": "0.2.1",
|
|
27
|
+
"@openmnemo/types": "0.2.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^20.0.0",
|