The `name` property of the schema object is the name of the class (i.e. `Role`
for the role object) rather than the schema name (i.e. `__Role`). This happened
to work if only the predefined schema objects were used and no user-defined
classes had the non-underscore-prefixed names, but broke otherwise.
* Give the app a chance to disable analytics
* Add changelog and stub for getWindowsIdentifier
* Use node-machine-id to get machine identifier for analytics
* Be async-ier
* Update changelog
Currently Realm expects to use nvm. However, (n)[https://github.com/tj/n} is a valid alternative. This change adds support for users using the `n` version manager.
Expanded script content:
```sh
if [[ -d "$HOME/.asdf/shims" ]]; then
export PATH=$HOME/.asdf/shims:$PATH
fi
if [[ -d "$HOME/.n" ]]; then
export N_PREFIX="$HOME/.n"; [[ :$PATH: == *":$N_PREFIX/bin:"* ]] || PATH+=":$N_PREFIX/bin"
fi
if [[ "$(command -v n)" ]]; then
n 7.10.0
else
[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm"
if [[ -s "$HOME/.nvm/nvm.sh" ]]; then
. "$HOME/.nvm/nvm.sh"
elif [[ -x "$(command -v brew)" && -s "$(brew --prefix nvm)/nvm.sh" ]]; then
. "$(brew --prefix nvm)/nvm.sh"
fi
if [[ "$(command -v nvm)" ]]; then
nvm install 7.10.0
else
echo "RealmJS requires a node package manager (n or nvm)."
exit 1
fi
fi
node ../scripts/download-realm.js ios --sync
```
* Add a unit test to verify that the schema of partial Realms gets updated after open
* Add another test that demonstrates the problem
* ensure realm is uploaded
* Add a test to ensure the schema change handler is invoked
* Split the partial sync test into several test cases
* Add a test for using a dynamic schema with query-based sync
* Replace some long sleeps in a test with polling with a timeout
* Update objectstore to latest master
* Update changelog
* Restore support for opening query-based sync Realms with a dynamic schema
* Adjust how the schema is extended for query-based Realms
* Register constructors for permissions types even no schema is supplied
* Remove some cruft from tests
* Fix a use-after-free in dynamic schema mode
* Fix a test
* Auth fixes
- Typescript definitions for User.login
- Exception thrown from registerWithProvider when a userInfo is not specified
* Ensure we don't use adminUser internally