Apple/Facebook Authentication Realm React Native

Hi all,

I’ve been trying to implement Realm User Authentication in React Native following the docs here: https://docs.mongodb.com/realm/react-native/authenticate/#sign-in-with-apple
The methods to get credentials for Apple:

const credential = Realm.Credentials.apple(identityToken);

and Facebook

const credential = Realm.Credentials.facebook(accessToken);

don’t seem to exist in realm@10.0.0-beta.6 or even in realm@10.0.0-beta.9.

I do see them in the documentation here: https://docs.mongodb.com/realm-sdks/js/10.0.0-beta.9/Realm.Credentials.html#.apple

but the npm package doesn’t seem to have these methods.
Not sure if I’m using the wrong version or something.

Edit: I realize that this might be also might be just a typescript issue

Any help would be appreciated,
Thank you