diff --git a/src/mongo_client.ts b/src/mongo_client.ts index 1ff310822db..c9f20823837 100644 --- a/src/mongo_client.ts +++ b/src/mongo_client.ts @@ -282,7 +282,10 @@ export interface MongoClientOptions extends BSONSerializeOptions, SupportedNodeC * If an internal MongoClient is created, it is configured with the same options as the parent MongoClient except minPoolSize is set to 0 and AutoEncryptionOptions is omitted. */ autoEncryption?: AutoEncryptionOptions; - /** Allows a wrapping driver to amend the client metadata generated by the driver to include information about the wrapping driver */ + /** + * Allows a wrapping driver to amend the client metadata generated by the driver to include information about the wrapping driver + /* @deprecated - Will be made internal in a future major release. + */ driverInfo?: DriverInfo; /** Configures a Socks5 proxy host used for creating TCP connections. */ proxyHost?: string; @@ -1094,7 +1097,9 @@ export interface MongoOptions dbName: string; /** @deprecated - Will be made internal in a future major release. */ metadata: ClientMetadata; + /** @deprecated - Will be made internal in a future major release. */ extendedMetadata: Promise; + /** @deprecated - Will be made internal in a future major release. */ additionalDriverInfo: DriverInfo[]; /** @internal */ autoEncrypter?: AutoEncrypter;