Skip to content

Commit f2125de

Browse files
feat(NODE-7216)! remove support for enableMultipleCollInfo (#101)
1 parent aa61a35 commit f2125de

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

addon/mongocrypt.cc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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())) {

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ 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

7674
export interface MongoCryptConstructor {

0 commit comments

Comments
 (0)