Skip to content

Commit 9d16be0

Browse files
committed
refactor: change encryptionKey type from string to Uint8Array in SimpleEncryption
1 parent 78046b3 commit 9d16be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@ export type CustomEncryption = {
178178
decrypt: (model: string, field: FieldInfo, cipher: string) => Promise<string>;
179179
};
180180

181-
export type SimpleEncryption = { encryptionKey: string };
181+
export type SimpleEncryption = { encryptionKey: Uint8Array };

0 commit comments

Comments
 (0)