From 0a347bd2c1094a644bab029f74d633e279f14a90 Mon Sep 17 00:00:00 2001 From: Eugene Yakhnenko Date: Thu, 14 Aug 2025 08:31:21 -0700 Subject: [PATCH] chore: make source optional in collection --- lib/src/opentdf.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/opentdf.ts b/lib/src/opentdf.ts index 69b51be2..b6957b6c 100644 --- a/lib/src/opentdf.ts +++ b/lib/src/opentdf.ts @@ -100,6 +100,8 @@ export type CreateNanoTDFCollectionOptions = CreateNanoTDFOptions & { platformUrl: string; /** The maximum number of key iterations to use for a single DEK. */ maxKeyIterations?: number; + /** Optional source. TODO: check if it can be removed from create options */ + source?: Source; }; /** Metadata for a TDF object. */