Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/cmap/auth/mongo_credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface AuthMechanismProperties extends Document {
SERVICE_NAME?: string;
SERVICE_REALM?: string;
CANONICALIZE_HOST_NAME?: GSSAPICanonicalizationValue;
/** @deprecated Will be removed in the next major version. */
AWS_SESSION_TOKEN?: string;
/** A user provided OIDC machine callback function. */
OIDC_CALLBACK?: OIDCCallbackFunction;
Expand Down
2 changes: 2 additions & 0 deletions src/cmap/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export interface CommandOptions extends BSONSerializeOptions {
/** Session to use for the operation */
session?: ClientSession;
documentsReturnedIn?: string;
/** @deprecated Will be removed in the next major version. */
noResponse?: boolean;
omitMaxTimeMS?: boolean;

Expand Down Expand Up @@ -139,6 +140,7 @@ export interface ConnectionOptions
tls: boolean;
noDelay?: boolean;
socketTimeoutMS?: number;
/** @deprecated Will be removed in the next major version */
cancellationToken?: CancellationToken;
metadata: ClientMetadata;
/** @internal */
Expand Down
7 changes: 5 additions & 2 deletions src/cursor/abstract_cursor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,12 @@ export const CURSOR_FLAGS = [
'partial'
] as const;

/** @public */
/**
* @public
* @deprecated Will be removed in the next major version
*/
export interface CursorStreamOptions {
/** A transformation method applied to each document emitted by the stream */
/** @deprecated Will be removed in the next major version */
transform?(this: void, doc: Document): Document;
}

Expand Down