Can a Realm Instance be created in a Realm Function?


I am trying to explore if it is possible for a Realm Function to include app = New Realm.App(“appid”) ?

Can I manually upload an external dependency based on the realm npm package or is it already accessible.

I’m looking to hide the app id from the client side, and one way I can think of (if possible) is to have the client side fetch a webhook on Realm which then triggers a long function including a Realm Instance.