@koolbase/react-native 11.3.0 → 11.4.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.
- package/CHANGELOG.md +24 -0
- 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
|
+
## 11.4.0
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`auth.resendVerificationEmailToAddress(email)`** — ask for a new
|
|
15
|
+
verification email with no session.
|
|
16
|
+
|
|
17
|
+
A project requiring verified contact issues no session until the account
|
|
18
|
+
verifies, and refuses login until then. So a user whose verification email
|
|
19
|
+
went to spam, or who waited past the 24-hour link expiry, could not sign in
|
|
20
|
+
to ask for another one — `resendVerificationEmail()` needs the session they
|
|
21
|
+
cannot get. There was no way back except contacting the project's
|
|
22
|
+
developer.
|
|
23
|
+
|
|
24
|
+
Returns nothing and throws only on a malformed request. The server answers
|
|
25
|
+
identically whether the address has an account, has none, or is already
|
|
26
|
+
verified, because anything else would let anyone discover who has signed
|
|
27
|
+
up — so show the same "check your email" either way, and never say "we sent
|
|
28
|
+
it". The per-account cooldown and daily cap still apply; they are simply
|
|
29
|
+
not reported, for the same reason.
|
|
30
|
+
|
|
31
|
+
`resendVerificationEmail()` is unchanged, for a signed-in user who can
|
|
32
|
+
safely be told more.
|
|
33
|
+
|
|
10
34
|
## 11.3.0
|
|
11
35
|
|
|
12
36
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koolbase/react-native",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.4.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": "11.
|
|
27
|
+
"@koolbase/core": "11.4.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@react-native-async-storage/async-storage": "^3.0.2",
|