@anfenn/dync 1.0.11 → 1.0.13

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@ Start with a Website or PWA using IndexedDB, sync with your existing REST API, a
10
10
 
11
11
  1. Frictionless upgrade path from an offline-first PWA targeting IndexedDB, to when:
12
12
 
13
- **A) Full text search is required on many records** (IndexedDB doesn't support this so will do a full table scan in the JS VM, which is slow on many records)
13
+ **A) Substring search is required on many records** (IndexedDB doesn't support this so will do a full table scan in the JS VM, which is both slow and will spike memory)
14
14
 
15
15
  **_and/or_**
16
16
 
@@ -31,7 +31,7 @@ And see how Dync compares to the alternatives [below](#hasnt-this-already-been-d
31
31
  - Storage agnostic. Comes with `Memory`, `IndexedDB` and `Sqlite` adapters (for CapacitorJs & React Native), and extendable with your own custom adapters
32
32
  - Lazy loaded data keeps it in native storage, allowing low memory and fast app response, even with >100K records
33
33
  - Fast React Native Sqlite access via JSI
34
- - Dexie.js style collection based api, with query() escape hatch, and native storage performance e.g.:
34
+ - Single collection based api for both SQLite & IndexedDB, plus query() escape hatch for native storage api e.g.:
35
35
  - `db.myTable.add()` | `.update()` | `.where('myField').equals(42).first()`
36
36
  - `db.query()` is only intended to retrieve records, any mutations will be ignored by the sync engine:
37
37
  ```js
@@ -120,7 +120,7 @@ And see how Dync compares to the alternatives [below](#hasnt-this-already-been-d
120
120
 
121
121
  ## Non-Goals
122
122
 
123
- - IndexedDB & SQL unified query language:
123
+ - Full IndexedDB & SQL unified query language:
124
124
  - Using IndexedDB functions or raw SQL will always be more expressive independently
125
125
  - No need to learn another api when you might only need one storage type
126
126
  - Would greatly increase complexity of this library
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anfenn/dync",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
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": [