We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89c9d1b commit faf3acfCopy full SHA for faf3acf
1 file changed
service/src/public/types.ts
@@ -42,11 +42,11 @@ export interface IUtils {
42
43
/**
44
* Pluggable encryption strategy passed to createChatInstance().
45
- * Omit either field to keep the default implementation.
+ * Both fields are required.
46
*/
47
export interface EncryptionStrategy {
48
- symmetric?: ISymmetricEncryption;
49
- asymmetric?: IAsymmetricEncryption;
+ symmetric: ISymmetricEncryption;
+ asymmetric: IAsymmetricEncryption;
50
}
51
52
export type { ISymmetricEncryption, IAsymmetricEncryption };
0 commit comments