File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,6 @@ export class Connection extends TypedEventEmitter<ConnectionEvents> {
284284 private get supportsOpMsg ( ) : boolean {
285285 return (
286286 this . description != null &&
287- maxWireVersion ( this ) >= 6 &&
288287 ! this . description . __nodejs_mock_server__
289288 ) ;
290289 }
@@ -880,12 +879,6 @@ export class CryptoConnection extends Connection {
880879 return await super . command < T > ( ns , cmd , options , responseType ) ;
881880 }
882881
883- if ( serverWireVersion < 8 ) {
884- throw new MongoCompatibilityError (
885- 'Auto-encryption requires a minimum MongoDB version of 4.2'
886- ) ;
887- }
888-
889882 // Save sort or indexKeys based on the command being run
890883 // the encrypt API serializes our JS objects to BSON to pass to the native code layer
891884 // and then deserializes the encrypted result, the protocol level components
You can’t perform that action at this time.
0 commit comments