@anfenn/dync 1.1.0 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -58,6 +58,8 @@ And see how Dync compares to the alternatives [below](#hasnt-this-already-been-d
58
58
  update: (id, changes) => fetch(`/api/items/${id}`),
59
59
  remove: (id) => fetch(`/api/items/${id}`),
60
60
  list: (since) => fetch(`/api/items?since=${since}`),
61
+ // Optional: Delay calling this endpoint during a pull if slow changing data, to reduce server load
62
+ listExtraIntervalMs: 7 * 24 * 60 * 60 * 1000, // 1 week
61
63
  },
62
64
  },
63
65
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anfenn/dync",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "private": false,
5
5
  "description": "Write once, run IndexedDB & SQLite with sync anywhere - React, React Native, Expo, Capacitor, Electron & Node.js",
6
6
  "keywords": [