File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ const NODE_DRIVER_VERSION = require('../../../package.json').version;
11
11
12
12
/**
13
13
* @public
14
+ * @deprecated This interface will be made internal in the next major release.
14
15
* @see https://github.com/mongodb/specifications/blob/master/source/mongodb-handshake/handshake.md#hello-command
15
16
*/
16
17
export interface ClientMetadata {
@@ -38,7 +39,10 @@ export interface ClientMetadata {
38
39
} ;
39
40
}
40
41
41
- /** @public */
42
+ /**
43
+ * @public
44
+ * @deprecated This interface will be made internal in the next major release.
45
+ */
42
46
export interface ClientMetadataOptions {
43
47
driverInfo ?: {
44
48
name ?: string ;
Original file line number Diff line number Diff line change @@ -1035,6 +1035,7 @@ export interface MongoOptions
1035
1035
compressors : CompressorName [ ] ;
1036
1036
writeConcern : WriteConcern ;
1037
1037
dbName : string ;
1038
+ /** @deprecated - Will be made internal in a future major release. */
1038
1039
metadata : ClientMetadata ;
1039
1040
/** @internal */
1040
1041
extendedMetadata : Promise < Document > ;
Original file line number Diff line number Diff line change @@ -472,7 +472,10 @@ export class TypedEventEmitter<Events extends EventsDescription> extends EventEm
472
472
}
473
473
}
474
474
475
- /** @public */
475
+ /**
476
+ * @public
477
+ * @deprecated Will be removed in favor of `AbortSignal` in the next major release.
478
+ */
476
479
export class CancellationToken extends TypedEventEmitter < { cancel ( ) : void } > {
477
480
constructor ( ...args : any [ ] ) {
478
481
super ( ...args ) ;
You can’t perform that action at this time.
0 commit comments