bitmessage-js/lib/index.js
2015-01-22 03:14:21 +03:00

27 lines
883 B
JavaScript

/**
* Bitmessage library entry point. Just reexports common submodules.
* @module bitmessage
*/
"use strict";
/** Current protocol version. */
exports.PROTOCOL_VERSION = require("./_util").PROTOCOL_VERSION;
/** [Common structures.]{@link module:bitmessage/structs} */
exports.structs = require("./structs");
/** [Messages.]{@link module:bitmessage/messages} */
exports.messages = require("./messages");
/** [Objects.]{@link module:bitmessage/objects} */
exports.objects = require("./objects");
/** [Working with WIF.]{@link module:bitmessage/wif} */
exports.WIF = require("./wif");
/** [Proof of work.]{@link module:bitmessage/pow} */
exports.POW = require("./pow");
/** [Working with addresses.]{@link module:bitmessage/address} */
exports.Address = require("./address");
/** [User Agent.]{@link module:bitmessage/user-agent} */
exports.UserAgent = require("./user-agent");