UNPKG

js-nacl

Version:

High-level API to libsodium.

17 lines (13 loc) 498 B
nacl.nacl_raw = nacl_raw; if (on_ready_call_needed) { on_ready(nacl); } return "nacl_factory API has changed -- see js-nacl README"; })((typeof window !== 'undefined') ? window : undefined_reference_value, (typeof document !== 'undefined') ? document : undefined_reference_value); } }; // export common.js module to allow one js file for browser and node.js if (typeof module !== 'undefined' && module.exports) { module.exports = nacl_factory; }