Skip to content

v1.0.15

Latest
Compare
Choose a tag to compare
@Chalks Chalks released this 20 Jan 19:24

save()

import {save} from 'sjwt';
const example = async () => {
    const user = await save({
        privateData: {},
        publicData: {},
        overwrite: false, // default false
        projectId: <projectid>, // or omit and it will simple use `sjwt.projectId`
    });
}