diff --git a/src/collection.ts b/src/collection.ts index 3229b0b27e..039d2ecffa 100644 --- a/src/collection.ts +++ b/src/collection.ts @@ -288,7 +288,7 @@ export class Collection { options = {}; } - // CSFLE passes in { w: 'majority' } to ensure the lib works in both 3.x and 4.x + // In use encryption passes in { w: 'majority' } to ensure the lib works in both 3.x and 4.x // we support that option style here only if (options && Reflect.get(options, 'w')) { options.writeConcern = WriteConcern.fromOptions(Reflect.get(options, 'w')); diff --git a/src/error.ts b/src/error.ts index d6abfec879..34dd0a1218 100644 --- a/src/error.ts +++ b/src/error.ts @@ -111,7 +111,7 @@ export interface ErrorDescription extends Document { * @category Error * * @privateRemarks - * CSFLE has a dependency on this error, it uses the constructor with a string argument + * In use encryption has a dependency on this error, it uses the constructor with a string argument */ export class MongoError extends Error { /** @internal */ @@ -568,7 +568,7 @@ export class MongoNetworkError extends MongoError { * @category Error * * @privateRemarks - * CSFLE has a dependency on this error with an instanceof check + * In use encryption has a dependency on this error with an instanceof check */ export class MongoNetworkTimeoutError extends MongoNetworkError { constructor(message: string, options?: MongoNetworkErrorOptions) { diff --git a/src/sdam/topology.ts b/src/sdam/topology.ts index 48bf9f7bdb..01936cbfa3 100644 --- a/src/sdam/topology.ts +++ b/src/sdam/topology.ts @@ -252,7 +252,7 @@ export class Topology extends TypedEventEmitter { ) => this.selectServer(selector, options, callback as any) ); - // Legacy CSFLE support + // Legacy in use encryption support this.bson = Object.create(null); this.bson.serialize = serialize; this.bson.deserialize = deserialize;