mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 04:35:49 +00:00
Expose SJCL so the client doesn't have to include a second copy.
This commit is contained in:
@@ -1,4 +1,13 @@
|
|||||||
exports.Remote = require('./remote').Remote;
|
exports.Remote = require('./remote').Remote;
|
||||||
exports.Amount = require('./amount').Amount;
|
exports.Amount = require('./amount').Amount;
|
||||||
exports.UInt160 = require('./amount').UInt160;
|
exports.UInt160 = require('./amount').UInt160;
|
||||||
exports.Seed = require('./amount').Seed;
|
exports.Seed = require('./amount').Seed;
|
||||||
|
|
||||||
|
// Important: We do not guarantee any specific version of SJCL or for any
|
||||||
|
// specific features to be included. The version and configuration may change at
|
||||||
|
// any time without warning.
|
||||||
|
//
|
||||||
|
// However, for programs that are tied to a specific version of ripple.js like
|
||||||
|
// the official client, it makes sense to expose the SJCL instance so we don't
|
||||||
|
// have to include it twice.
|
||||||
|
exports.sjcl = require('../../build/sjcl');
|
||||||
|
|||||||
Reference in New Issue
Block a user