From 658bb287a8436aa043910f534a3caadcc62f3b5d Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sat, 18 Sep 2021 23:22:06 +0200 Subject: [PATCH] Added comment for PKPass.pack --- src/PKPass.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/PKPass.ts b/src/PKPass.ts index 2505dea..b83799f 100644 --- a/src/PKPass.ts +++ b/src/PKPass.ts @@ -69,7 +69,13 @@ export class PKPass extends Bundle { } /** + * Creates a Bundle made of PKPass to be distributed + * as a `.pkpasses` zip file. Returns a Bundle instance + * so it can be outputted both as stream or as a buffer. * + * Throws if not all the files are instance of PKPass. + * + * @TODO test autofreezing * @param passes */