v6.4.0
- [Feature 🎉 ] implemented
Template.fromBuffermethod that much likeTemplate.loadallows to load everything but from a Buffer with ZIP file content. For example:const s3 = new AWS.S3({ apiVersion: "2006-03-01", region: "us-west-2" }); const s3file = await s3 .getObject({ Bucket: "bucket", Key: "pass-template.zip" }) .promise(); const template = await Template.fromBuffer(s3file.Body);
- [Bug 🐛 ] Fixed creation of passes with localizations set in the Template
- [Documentation 📚 ] Updated
README, thank you @nickasd - [Dependencies 📦 ] Replaced
color-string() with
color-nameand custom function ()
- [Dependencies 📦 ] Added
event-iteratorand
yauzlfor
Template.fromBufferimplementation