@koolbase/react-native 10.0.0 → 10.1.0

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 +24 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,30 @@ adheres to [Semantic Versioning][semver].
7
7
  [kac]: https://keepachangelog.com/en/1.1.0/
8
8
  [semver]: https://semver.org/
9
9
 
10
+ ## 10.1.0
11
+
12
+ ### Changed
13
+
14
+ - `UploadOptions.file` accepts a `Blob` in addition to `{ uri, name, type }`.
15
+ The React Native path is unchanged; the union exists because the same core
16
+ now serves a browser, where a `File` is the only form the bytes come in.
17
+
18
+ ## 10.0.2
19
+
20
+ ### Fixed
21
+
22
+ - **A Node process that initialized the SDK never exited.** The analytics
23
+ flush interval, and a pending realtime reconnect, counted as work on Node's
24
+ event loop, so a CLI, a test runner or an SSR build step hung after its last
25
+ line. Both timers are now unref'd where the runtime supports it. A browser
26
+ is unaffected: the page keeps itself alive regardless.
27
+
28
+ ## 10.0.1
29
+
30
+ No changes to this package. Released to keep the version aligned with
31
+ `@koolbase/core` and `@koolbase/js`, which carry a fix for running outside a
32
+ browser.
33
+
10
34
  ## 10.0.0
11
35
 
12
36
  ### Read before upgrading
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koolbase/react-native",
3
- "version": "10.0.0",
3
+ "version": "10.1.0",
4
4
  "description": "React Native SDK for Koolbase \u2014 auth, database, storage, realtime, feature flags, and functions in one package.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "url": "https://github.com/koolbase/koolbase-react-native"
25
25
  },
26
26
  "dependencies": {
27
- "@koolbase/core": "10.0.0"
27
+ "@koolbase/core": "10.1.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "@react-native-async-storage/async-storage": "^3.0.2",