We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c63adb0 commit 1dfa1a8Copy full SHA for 1dfa1a8
1 file changed
service/src/sdk.ts
@@ -68,8 +68,8 @@ class ChatE2EE implements IChatE2EE {
68
constructor(config?: Partial<configType>, encryptionStrategy?: EncryptionStrategy) {
69
config && setConfig(config);
70
const defaults = EncryptionFactory.create();
71
- this.symEncryption = encryptionStrategy?.symmetric ?? defaults.symmetric!;
72
- this.asymEncryption = encryptionStrategy?.asymmetric ?? defaults.asymmetric!;
+ this.symEncryption = encryptionStrategy?.symmetric ?? defaults.symmetric;
+ this.asymEncryption = encryptionStrategy?.asymmetric ?? defaults.asymmetric;
73
}
74
75
public async init(): Promise<void> {
0 commit comments