@@ -350,7 +350,7 @@ export function constructShellBson<
350350 // Generate a new UUID and format it.
351351 hexstr = new bson . UUID ( ) . toHexString ( ) ;
352352 }
353- assertArgsDefinedType ( [ hexstr ] , [ 'string' ] , 'UUID ' ) ;
353+ assertArgsDefinedType ( [ hexstr ] , [ 'string' ] , 'LegacyJavaUUID ' ) ;
354354
355355 let hex : string = String . prototype . replace . call (
356356 hexstr ,
@@ -390,7 +390,7 @@ export function constructShellBson<
390390 // Generate a new UUID and format it.
391391 hexstr = new bson . UUID ( ) . toHexString ( ) ;
392392 }
393- assertArgsDefinedType ( [ hexstr ] , [ 'string' ] , 'UUID ' ) ;
393+ assertArgsDefinedType ( [ hexstr ] , [ 'string' ] , 'LegacyCSharpUUID ' ) ;
394394
395395 let hex : string = String . prototype . replace . call (
396396 hexstr ,
@@ -421,7 +421,7 @@ export function constructShellBson<
421421 if ( hexstr === undefined ) {
422422 hexstr = new bson . UUID ( ) . toString ( ) ;
423423 }
424- assertArgsDefinedType ( [ hexstr ] , [ 'string' ] , 'UUID ' ) ;
424+ assertArgsDefinedType ( [ hexstr ] , [ 'string' ] , 'LegacyPythonUUID ' ) ;
425425 // Strip any dashes, as they occur in the standard UUID formatting
426426 // (e.g. 01234567-89ab-cdef-0123-456789abcdef).
427427 const buffer = Buffer . from ( hexstr . replace ( / - / g, '' ) , 'hex' ) ;
0 commit comments