@koolbase/js 12.38.0 → 12.38.2

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/CHANGELOG.md +13 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,19 @@ is based on [Keep a Changelog][kac], and this project adheres to
7
7
  [kac]: https://keepachangelog.com/en/1.1.0/
8
8
  [semver]: https://semver.org/
9
9
 
10
+ ## 12.38.2
11
+
12
+ Discarding a refused change shows the server's version (R125). Same contract as koolbase_flutter 12.52.8.
13
+
14
+ - **`resolveWithServer` and `abandon`** put the server's version in the device's saved copy and tell what shows the collection, so a shown record or list stops showing the discarded change -- offline too.
15
+
16
+ ## 12.38.1
17
+
18
+ A shown record follows the app's own writes (R125). Same contract as koolbase_flutter 12.52.7.
19
+
20
+ - **`useRecord` / `KoolbaseRecordController`**: after the app updates the record -- or anything in its collection -- it shows the device's saved copy at once (which holds the change, made online or queued offline), then the server's, without `refreshing`. Before, a shown record kept its old values until the screen was opened again.
21
+ - **An offline `update`** now tells what shows its collection, as an online one does.
22
+
10
23
  ## 12.33.0
11
24
 
12
25
  Search by meaning takes the typed filter (#173). Same contract as koolbase_flutter 12.43.0.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koolbase/js",
3
- "version": "12.38.0",
3
+ "version": "12.38.2",
4
4
  "description": "Koolbase SDK for the browser \u2014 auth, database, storage, realtime, functions, flags and offline sync in one package.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "url": "https://github.com/koolbase/koolbase-react-native"
27
27
  },
28
28
  "dependencies": {
29
- "@koolbase/core": "^12.38.0"
29
+ "@koolbase/core": "^12.38.2"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"