File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -585,10 +585,7 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info) : ObjectWrap(info) {
585585
586586 mongocrypt_setopt_retry_kms (mongo_crypt (), true );
587587
588- if (options.Get (" enableMultipleCollinfo" ).ToBoolean ()) {
589- /* * TODO(NODE-6793): remove this option and have it always set in the next major */
590- mongocrypt_setopt_enable_multiple_collinfo (mongo_crypt ());
591- }
588+ mongocrypt_setopt_enable_multiple_collinfo (mongo_crypt ());
592589
593590 // Initialize after all options are set.
594591 if (!mongocrypt_init (mongo_crypt ())) {
Original file line number Diff line number Diff line change @@ -69,12 +69,10 @@ type MongoCryptConstructorOptions = {
6969 bypassQueryAnalysis ?: boolean ;
7070 /** Configure the time to expire the DEK from the cache. */
7171 keyExpirationMS ?: number ;
72- /** TODO(NODE-6793): remove this option and have it always set in the next major */
73- enableMultipleCollinfo ?: boolean ;
7472} ;
7573
7674export interface MongoCryptConstructor {
77- new ( options : MongoCryptConstructorOptions ) : MongoCrypt ;
75+ new ( options : MongoCryptConstructorOptions ) : MongoCrypt ;
7876 libmongocryptVersion : string ;
7977}
8078
@@ -137,6 +135,6 @@ export const MongoCrypt: MongoCryptConstructor = class MongoCrypt extends mc.Mon
137135
138136/** exported for testing only. */
139137interface MongoCryptContextCtor {
140- new ( ) : MongoCryptContext ;
138+ new ( ) : MongoCryptContext ;
141139}
142140export const MongoCryptContextCtor : MongoCryptContextCtor = mc . MongoCryptContextCtor ;
You can’t perform that action at this time.
0 commit comments