Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

Add setIdentity method #57

@oed

Description

@oed

Feature request

Right now the identity of the store is set when it's opened. It would be great if it was possible to change the identity after the store has been initialized. A use case for this might be if you want to sync the data of the store before the user has been authenticated, if so a temporary identity could be used until that happens.

How it would work

Add a new method called setIdentity. This method would change this.identity of the store to the identity that is passed to the method. It would also update the identity in the ipfs-log so a change is needed there as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions