Version 21.1.X
These are the SDK reference docs. If you’re looking for docs to implement SuperTokens, you might want to check out the User Guides
Updates the metadata object of the user by doing a shallow merge of the stored and the update JSONs and removing properties set to null on the root level of the update object. e.g.:
{ "preferences": { "theme":"dark" }, "notifications": { "email": true }, "todos": ["example"] }
{ "notifications": { "sms": true }, "todos": null }
{ "preferences": { "theme":"dark" }, "notifications": { "sms": true } }
Generated using TypeDoc
Updates the metadata object of the user by doing a shallow merge of the stored and the update JSONs and removing properties set to null on the root level of the update object. e.g.:
{ "preferences": { "theme":"dark" }, "notifications": { "email": true }, "todos": ["example"] }
{ "notifications": { "sms": true }, "todos": null }
{ "preferences": { "theme":"dark" }, "notifications": { "sms": true } }