bitmessage-js/lib/index.js

30 lines
909 B
JavaScript
Raw Normal View History

2014-12-18 17:47:18 +01:00
/**
2014-12-29 20:59:18 +01:00
* Bitmessage library entry point. Just reexports common submodules.
2014-12-18 17:47:18 +01:00
* @module bitmessage
*/
"use strict";
2015-01-31 12:51:35 +01:00
/**
* Current protocol version.
* @constant {number}
*/
exports.PROTOCOL_VERSION = require("./_util").PROTOCOL_VERSION;
2015-01-15 18:13:02 +01:00
2015-01-03 16:58:41 +01:00
/** [Common structures.]{@link module:bitmessage/structs} */
2015-01-03 11:14:39 +01:00
exports.structs = require("./structs");
2015-01-03 16:58:41 +01:00
/** [Messages.]{@link module:bitmessage/messages} */
2015-01-03 11:14:39 +01:00
exports.messages = require("./messages");
2015-01-03 16:58:41 +01:00
/** [Objects.]{@link module:bitmessage/objects} */
2015-01-03 11:14:39 +01:00
exports.objects = require("./objects");
2015-01-02 22:45:56 +01:00
2015-01-03 16:58:41 +01:00
/** [Working with WIF.]{@link module:bitmessage/wif} */
exports.WIF = require("./wif");
2015-01-03 16:58:41 +01:00
/** [Proof of work.]{@link module:bitmessage/pow} */
2015-01-02 22:45:56 +01:00
exports.POW = require("./pow");
2015-01-03 16:58:41 +01:00
/** [Working with addresses.]{@link module:bitmessage/address} */
2014-12-18 17:47:18 +01:00
exports.Address = require("./address");
2015-01-31 12:51:35 +01:00
/** [User agent.]{@link module:bitmessage/user-agent} */
2015-01-11 18:24:39 +01:00
exports.UserAgent = require("./user-agent");