bitmessage-js/lib/index.js
2015-01-15 20:27:52 +03:00

27 lines
849 B
JavaScript

/**
* Bitmessage library entry point. Just reexports common submodules.
* @module bitmessage
*/
"use strict";
/** Current protocol version. */
exports.PROTOCOL_VERSION = 3;
/** [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");