Skip to content

Commit f0d9719

Browse files
fix(sdk): Fix new API not setting nano attributes (#679)
1 parent b37e736 commit f0d9719

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/opentdf.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,7 @@ class Collection {
777777
maxKeyIterations: opts.maxKeyIterations,
778778
platformUrl: opts.platformUrl,
779779
});
780+
this.client.dataAttributes = opts.attributes || [];
780781
}
781782

782783
/** Encrypts a source into a NanoTDF stream. */

0 commit comments

Comments
 (0)