@varveai/adit-cloud 0.3.5 → 0.3.7
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/sync/auto-sync.d.ts
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* Sync is triggered when any of the following is true:
|
|
8
8
|
* - `options.force` is true (used on session-end to flush all data), OR
|
|
9
9
|
* - The number of unsynced records meets the configured threshold
|
|
10
|
-
* (ADIT_CLOUD_SYNC_THRESHOLD, default
|
|
11
|
-
* - More than syncTimeoutHours (default
|
|
10
|
+
* (ADIT_CLOUD_SYNC_THRESHOLD, default 20), OR
|
|
11
|
+
* - More than syncTimeoutHours (default 2h) have elapsed since
|
|
12
12
|
* the last successful sync (ADIT_CLOUD_SYNC_TIMEOUT_HOURS).
|
|
13
13
|
*
|
|
14
14
|
* The time-based trigger is checked first using the already-loaded
|
package/dist/sync/auto-sync.js
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* Sync is triggered when any of the following is true:
|
|
8
8
|
* - `options.force` is true (used on session-end to flush all data), OR
|
|
9
9
|
* - The number of unsynced records meets the configured threshold
|
|
10
|
-
* (ADIT_CLOUD_SYNC_THRESHOLD, default
|
|
11
|
-
* - More than syncTimeoutHours (default
|
|
10
|
+
* (ADIT_CLOUD_SYNC_THRESHOLD, default 20), OR
|
|
11
|
+
* - More than syncTimeoutHours (default 2h) have elapsed since
|
|
12
12
|
* the last successful sync (ADIT_CLOUD_SYNC_TIMEOUT_HOURS).
|
|
13
13
|
*
|
|
14
14
|
* The time-based trigger is checked first using the already-loaded
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varveai/adit-cloud",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Cloud sync client for ADIT — device auth, incremental push, conflict resolution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@varveai/adit-core": "0.3.
|
|
19
|
-
"@varveai/adit-
|
|
20
|
-
"@varveai/adit-
|
|
18
|
+
"@varveai/adit-core": "0.3.7",
|
|
19
|
+
"@varveai/adit-engine": "0.3.7",
|
|
20
|
+
"@varveai/adit-plans": "0.3.7"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/better-sqlite3": "^7.6.13",
|