Skip to content

v6.4.0

Compare
Choose a tag to compare
@tinovyatkin tinovyatkin released this 19 May 02:06
· 895 commits to master since this release
v6.4.0
4be4b7f
  • [Feature 🎉 ] implemented Template.fromBuffer method that much like Template.load allows 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 (install size) with color-name and custom function (install size)
  • [Dependencies 📦 ] Added event-iterator install size and yauzl install size for Template.fromBuffer implementation