diff --git a/addon/mongocrypt.cc b/addon/mongocrypt.cc index 4d33a10..5997a9d 100644 --- a/addon/mongocrypt.cc +++ b/addon/mongocrypt.cc @@ -585,10 +585,7 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info) : ObjectWrap(info) { mongocrypt_setopt_retry_kms(mongo_crypt(), true); - if (options.Get("enableMultipleCollinfo").ToBoolean()) { - /** TODO(NODE-6793): remove this option and have it always set in the next major */ - mongocrypt_setopt_enable_multiple_collinfo(mongo_crypt()); - } + mongocrypt_setopt_enable_multiple_collinfo(mongo_crypt()); // Initialize after all options are set. if (!mongocrypt_init(mongo_crypt())) { diff --git a/src/index.ts b/src/index.ts index e8752da..eeb6288 100644 --- a/src/index.ts +++ b/src/index.ts @@ -69,8 +69,6 @@ type MongoCryptConstructorOptions = { bypassQueryAnalysis?: boolean; /** Configure the time to expire the DEK from the cache. */ keyExpirationMS?: number; - /** TODO(NODE-6793): remove this option and have it always set in the next major */ - enableMultipleCollinfo?: boolean; }; export interface MongoCryptConstructor {