Skip to content

Deprecate clientId #404

Open
Open
@alecgibson

Description

@alecgibson

sharedb/lib/agent.js

Lines 22 to 28 in 346eb0c

this.clientId = hat();
// src is a client-configurable "id" which the client will set in its handshake,
// and attach to its ops. This should take precedence over clientId if set.
// Only legacy clients, or new clients connecting for the first time will use the
// Agent-provided clientId. Ideally we'll deprecate clientId in favour of src
// in the next breaking change.
this.src = null;

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeBreaking change that we may want to pull into a future major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions