UNPKG

@a1motion/aws-cloudfront-sign

Version:

Utility module for signing AWS CloudFront URLs

57 lines (47 loc) 2.58 kB
[jasonsims]: https://github.com/jasonsims [mpalmerlee]: https://github.com/mpalmerlee [gregt590]: https://github.com/gregt590 [tbuchok]: https://github.com/tbuchok [alexsaves]: https://github.com/alexsaves [fponticelli]: https://github.com/fponticelli [darrendao]: https://github.com/darrendao [benburkhart1]: https://github.com/benburkhart1 [dnjohnson]: https://github.com/dnjohnson [clarkie]: https://github.com/clarkie [caub]: https://github.com/caub [joelwass]: https://github.com/joelwass ## 2.2.0 (2016-11-09) * development: [@caub][caub]: Simplified expiry and normalization logic * development: [@joelwass][joelwass]: Added additional error handling for private key string ## 2.1.2 (2016-02-26) * bugfix: [@clarkie][clarkie]: Fix undeclared variable * development: [@jasonsims][jasonsims]: Update jshintrc to error on undeclared variables ## 2.1.1 (2016-02-24) * feature: [@jasonsims][jasonsims]: Added support for NPM tonic examples ## 2.1.0 (2016-02-24) * feature: [@benburkhart1][benburkhart1]: Added `ipRange` option to support source IP restrictions * feature: [@darrendao][darrendao]: Added `getSignedCookies` API * feature: [@dnjohnson][dnjohnson]: Updated the signed URL to also include the policy ## 2.0.1 (2015-04-21) * develop: [@fponticelli][fponticelli]: Fix typo in usage examples * develop: [@jasonsims][jasonsims]: Switch to TravisCI * develop: [@jasonsims][jasonsims]: Add more descriptive usage examples ## 2.0.0 (2015-03-29) * feature: [@jasonsims][jasonsims]: Add support for momentjs * bugfix: [@jasonsims][jasonsims]: Fix malformed query param issue * develop: [@jasonsims][jasonsims]: Misc API refactors * develop: [@jasonsims][jasonsims]: Refactor of the test suite * develop: [@jasonsims][jasonsims]: Add more description to API options in README.md ## 1.2.0 (2014-12-31) * development: [@alexsaves][alexsaves]: Supporting JavaScript dates for expireTime * development: [@alexsaves][alexsaves]: Added range and type checking * development: [@alexsaves][alexsaves]: Added `getSignedRTMPUrl` for conveniently generating RTMP style urls ## 1.1.0 (2014-11-26) * bugfix: [@gregt590][gregt590]: Normalize AWS signature strings * development: [@tbuchok][tbuchok]: Add initial unit tests * development: [@jasonsims][jasonsims]: Add tests for AWS signature * development: [@jasonsims][jasonsims]: Cleanup code style ## 1.0.0 (2014-06-07) * bugfix: [@mpalmerlee][mpalmerlee]: Fix issue with `expireTime` param * development: [@mpalmerlee][mpalmerlee]: Make `gitSignedUrl` synchronous * development: [@mpalmerlee][mpalmerlee]: Remove moment dependency