dist/index.esm.js
function pluginState () {
    return {
        _sync: {
            signedIn: false,
            userId: null,
            unsubscribe: {},
            pathVariables: {},
            patching: false,
            syncStack: {
                inserts: [],
                updates: {},
                propDeletions: {},
                deletions: [],
                debounceTimer: null,
            },
            fetched: {},
            stopPatchingTimeout: null
        }
    };
}
function pluginState () {
    return {
        _sync: {
            signedIn: false,
            userId: null,
            unsubscribe: {},
            pathVariables: {},
            patching: false,
            syncStack: {
                inserts: [],
                updates: {},
                propDeletions: {},
                deletions: [],
                debounceTimer: null,
            },
            fetched: {},
            stopPatchingTimeout: null
        }
    };
}
a function returning the state object

@export
@returns {IState} the state object