Skip to content

0.2.0

Latest
Compare
Choose a tag to compare
@RobinBressan RobinBressan released this 15 Mar 16:00

Add subscription API

The git format has changed, you can migrate old snapshots by running this:

function migrateOldSnapshot(snapshot) {
    return {
        refs: {
            branch: {
                value: snapshot.refs.branch,
            },
            heads: snapshot.refs.heads,
        },
        commits: snapshot.stores.commit,
        trees: snapshot.stores.tree,
    };
}