sjcl
sjcl copied to clipboard
About the main file
Hi, I'm going to host this lib on cdnjs.
I don't know which files should be added. Could you help me? Thanks! https://github.com/cdnjs/cdnjs/issues/8853
Hey,
you could add the sjcl.js
file in the main repo directory, which has the basic configuration necessary for encryption,decryption and hashing.
Or you could build a full version and add that one, which would require you to download the repo and manually trigger make:
./configure --with-all
make
@Nilos Another question. Could you update the latest version on npm? Because we prefer to use npm auto-update to added your all version.
Done! (at least for https://www.npmjs.com/package/sjcl )
Hi @Nilos, between 1.0.3
and 1.0.5
I have an issue with the public API of sjcl
(cf. https://github.com/TailorDev/monod/pull/206). It looks like I cannot use sjcl.encrypt()
anymore for instance, but I don't find anything in the range of commits between those two versions.
(Edit: actually, I cannot import the lib using ES6 import
, which used to work in 1.0.3
)
Are the NPM packages compiled with the same options?
Hmm all tests are green on our side: https://travis-ci.org/bitwiseshiftleft/sjcl I guess it is an import problem of some kind. They are compiled with the same options but we changed the closure compiler to a more recent version, which might be at fault.
See #316