Skip to content

Commit 8880d55

Browse files
fix(sdk): Fix new API not setting nano attributes (#679)
(cherry picked from commit f0d9719)
1 parent 8e24efc commit 8880d55

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
@@ -703,6 +703,7 @@ class Collection {
703703
maxKeyIterations: opts.maxKeyIterations,
704704
platformUrl: opts.platformUrl,
705705
});
706+
this.client.dataAttributes = opts.attributes || [];
706707
}
707708

708709
async encrypt(source: Source): Promise<DecoratedStream> {

0 commit comments

Comments
 (0)