Docs discrepencies between different pages, which one is right?

In the ref page here, the method signature is AuthenticateDevice but in the tutorial here it is called authenticaterequest_device.

In the tutorial here, the method to change the wallet is: pcall(nk.wallet_update, user_id, content) but in the tutorial here it is: nk.wallet_update(context.user_id, changeset, metadata, true).

My question is, which ones are more up to date and which ones are the obsolete pages?

For the first one the reference page is correct. We’ll fix the tutorial example.

The second one both are correct. One is wrapped in a pcall for error handling and the other overrides some default arguments, but at a glance both are valid.


Thank you :smile: