neo4j-driver 5.28.0 → 5.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22093,7 +22093,7 @@ Object.defineProperty(version$1, "__esModule", { value: true });
22093
22093
  // This is set up this way to keep the version in the code in
22094
22094
  // sync with the npm package version, and to allow the build
22095
22095
  // system to control version names at packaging time.
22096
- version$1.default = '5.28.0';
22096
+ version$1.default = '5.28.1';
22097
22097
 
22098
22098
  var lib = {};
22099
22099
 
@@ -26640,7 +26640,7 @@ Object.defineProperty(handshake$1, "__esModule", { value: true });
26640
26640
  var channel_1$4 = channel;
26641
26641
  var neo4j_driver_core_1$E = lib$1;
26642
26642
  var BOLT_MAGIC_PREAMBLE = 0x6060b017;
26643
- var AVAILABLE_BOLT_PROTOCOLS = [5.8, 5.7, 5.6, 5.4, 5.3, 5.2, 5.1, 5.0, 4.4, 4.3, 4.2, 3.0]; // bolt protocols the client will accept, ordered by preference
26643
+ var AVAILABLE_BOLT_PROTOCOLS = ['5.8', '5.7', '5.6', '5.4', '5.3', '5.2', '5.1', '5.0', '4.4', '4.3', '4.2', '3.0']; // bolt protocols the client will accept, ordered by preference
26644
26644
  var DESIRED_CAPABILITES = 0;
26645
26645
  function version(major, minor) {
26646
26646
  return {
@@ -26709,7 +26709,7 @@ function handshakeNegotiationV2(channel, buffer, log) {
26709
26709
  });
26710
26710
  for (var i = 0; i < versions.length; i++) {
26711
26711
  var version_1 = versions[i];
26712
- if (AVAILABLE_BOLT_PROTOCOLS.includes(Number(version_1.major + '.' + version_1.minor))) {
26712
+ if (AVAILABLE_BOLT_PROTOCOLS.includes(version_1.major + '.' + version_1.minor)) {
26713
26713
  major = version_1.major;
26714
26714
  minor = version_1.minor;
26715
26715
  break;