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) {
585
585
586
586
mongocrypt_setopt_retry_kms (mongo_crypt (), true );
587
587
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 ());
592
589
593
590
// Initialize after all options are set.
594
591
if (!mongocrypt_init (mongo_crypt ())) {
Original file line number Diff line number Diff line change @@ -69,12 +69,10 @@ type MongoCryptConstructorOptions = {
69
69
bypassQueryAnalysis ?: boolean ;
70
70
/** Configure the time to expire the DEK from the cache. */
71
71
keyExpirationMS ?: number ;
72
- /** TODO(NODE-6793): remove this option and have it always set in the next major */
73
- enableMultipleCollinfo ?: boolean ;
74
72
} ;
75
73
76
74
export interface MongoCryptConstructor {
77
- new ( options : MongoCryptConstructorOptions ) : MongoCrypt ;
75
+ new ( options : MongoCryptConstructorOptions ) : MongoCrypt ;
78
76
libmongocryptVersion : string ;
79
77
}
80
78
@@ -137,6 +135,6 @@ export const MongoCrypt: MongoCryptConstructor = class MongoCrypt extends mc.Mon
137
135
138
136
/** exported for testing only. */
139
137
interface MongoCryptContextCtor {
140
- new ( ) : MongoCryptContext ;
138
+ new ( ) : MongoCryptContext ;
141
139
}
142
140
export const MongoCryptContextCtor : MongoCryptContextCtor = mc . MongoCryptContextCtor ;
You can’t perform that action at this time.
0 commit comments