Skip to content

Commit bcbc1de

Browse files
comments
1 parent 026d591 commit bcbc1de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/client-side-encryption/client_encryption.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -883,13 +883,13 @@ export interface ClientEncryptionOptions {
883883
* await clientEncryption.createDataKey('local');
884884
* ```
885885
*
886-
* If `timeoutMS` is configured on the provided client, the client's timeoutMS value
887-
* will be used unless `timeoutMS` is also provided as a separate option.
886+
* If `timeoutMS` is configured on the provided client, the client's `timeoutMS` value
887+
* will be used unless `timeoutMS` is also provided as a client encryption option.
888888
*
889889
* ```typescript
890890
* const client = new MongoClient('<uri>', { timeoutMS: 2_000 });
891891
*
892-
* // timeoutMS is set to 1_000
892+
* // timeoutMS is set to 1_000 on clientEncryption
893893
* const clientEncryption = new ClientEncryption(client, {
894894
* timeoutMS: 1_000
895895
* kmsProviders: { local: { key: '<KEY>' } }

0 commit comments

Comments
 (0)