Skip to content

Export all symbols #62

Description

@bedeho

Background

We are currently exporting the following symbols

module.exports = {
  // Libtorrent Interaction mode
  LibtorrentInteraction: joystream.LibtorrentInteraction,

  // Connection State
  ConnectionInnerState: joystream.InnerStateType,

  // Session Mode and State
  SessionMode: joystream.SessionMode,
  SessionState: joystream.SessionState,
  BuyingState: joystream.BuyingState,
  SellingState: joystream.SellingState,

  // Torrent State
  TorrentState: libtorrent.TorrentState,

  // Classes
  TorrentInfo: libtorrent.TorrentInfo,
  Session: Session,

  // Payment channel, helper methods
  paymentChannel: {
    commitmentToOutput: joystream.commitmentToOutput
  }
}

https://github.com/JoyStream/joystream-node/blob/development/index.js.

Problem

There are useful symbols that we want to make more accessible, e.g BEPSupportStatus

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions