-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: Web
-
2962
-
SDK FY21-Q2
After the beta launch of Realm Web, we have a few minor refactors that we want to complete:
- [x] Align types between Realm JS and Realm Web
- [x] Expose functions on the User.
- [x] Move the serialize method from services into a transport to make the services more reusable between Realm JS and Realm Web.
- [x] Remove the Remote prefix from the MongoDB Client classes.
- [ ] Add the the missing credentials types to app.d.ts.
- [x] Revisit and potentially align Remote MongoDB API with the Node.js driver.
- [ ] Rename the existing logOut to logOutConfirmed and delete the access and refresh tokens only after session deletion has succeeded.
- [ ] Create a new synchronous logOut which deletes access and refresh tokens and optimistically deletes the session (just console.warn-logging any errors).
- Consider what happens when a different tab invalidates the session ...
- [ ] Make the Credentials type argument default to any.
- split from
-
RJS-517 Merge Stitch and Realm SDKs - Realm Web - phase 2
- Closed