File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/client-side-encryption Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -883,13 +883,13 @@ export interface ClientEncryptionOptions {
883
883
* await clientEncryption.createDataKey('local');
884
884
* ```
885
885
*
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.
888
888
*
889
889
* ```typescript
890
890
* const client = new MongoClient('<uri>', { timeoutMS: 2_000 });
891
891
*
892
- * // timeoutMS is set to 1_000
892
+ * // timeoutMS is set to 1_000 on clientEncryption
893
893
* const clientEncryption = new ClientEncryption(client, {
894
894
* timeoutMS: 1_000
895
895
* kmsProviders: { local: { key: '<KEY>' } }
You can’t perform that action at this time.
0 commit comments