Class VisitorFactory

Usage

const Visitor = new VisitorFactory(myTopiaInstance);

Hierarchy

  • VisitorFactory

Constructors

Properties

Methods

Constructors

Properties

topia: Topia

Methods

  • Summary

    Instantiate a new instance of Visitor class.

    Usage

    const visitorInstance = await Visitor.create(id, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
    

    Parameters

    Returns Visitor

  • Summary

    Instantiate a new instance of Visitor class and retrieve all properties.

    Usage

    const visitorInstance = await Visitor.get(id, urlSlug, { credentials: { interactiveNonce, interactivePublicKey, visitorId } });
    

    Parameters

    Returns Promise<Visitor>