neo4j-driver 5.5.0 → 5.6.0

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.
@@ -8405,7 +8405,10 @@ var ResultTransformers = /** @class */ (function () {
8405
8405
  },
8406
8406
  onNext: function (record) {
8407
8407
  if (config.map != null) {
8408
- state.records.push(config.map(record));
8408
+ var mappedRecord = config.map(record);
8409
+ if (mappedRecord !== undefined) {
8410
+ state.records.push(mappedRecord);
8411
+ }
8409
8412
  }
8410
8413
  else {
8411
8414
  state.records.push(record);
@@ -8803,7 +8806,7 @@ var QueryConfig = /** @class */ (function () {
8803
8806
  * A BookmarkManager is a piece of software responsible for keeping casual consistency between different pieces of work by sharing bookmarks
8804
8807
  * between the them.
8805
8808
  *
8806
- * By default, it uses the driver's non mutable driver level bookmark manager. See, {@link Driver.queryBookmarkManager}
8809
+ * By default, it uses the driver's non mutable driver level bookmark manager. See, {@link Driver.defaultExecuteQueryBookmarkManager}
8807
8810
  *
8808
8811
  * Can be set to null to disable causal chaining.
8809
8812
  * @type {BookmarkManager|null}
@@ -8846,7 +8849,7 @@ var Driver$1 = /** @class */ (function () {
8846
8849
  this._log = log;
8847
8850
  this._createConnectionProvider = createConnectionProvider;
8848
8851
  this._createSession = createSession;
8849
- this._queryBookmarkManager = (0, bookmark_manager_1.bookmarkManager)();
8852
+ this._defaultExecuteQueryBookmarkManager = (0, bookmark_manager_1.bookmarkManager)();
8850
8853
  this._queryExecutor = createQueryExecutor(this.session.bind(this));
8851
8854
  /**
8852
8855
  * Reference to the connection provider. Initialized lazily by {@link _getOrCreateConnectionProvider}.
@@ -8856,7 +8859,7 @@ var Driver$1 = /** @class */ (function () {
8856
8859
  this._connectionProvider = null;
8857
8860
  this._afterConstruction();
8858
8861
  }
8859
- Object.defineProperty(Driver.prototype, "queryBookmarkManager", {
8862
+ Object.defineProperty(Driver.prototype, "defaultExecuteQueryBookmarkManager", {
8860
8863
  /**
8861
8864
  * The bookmark managed used by {@link Driver.executeQuery}
8862
8865
  *
@@ -8865,7 +8868,7 @@ var Driver$1 = /** @class */ (function () {
8865
8868
  * @returns {BookmarkManager}
8866
8869
  */
8867
8870
  get: function () {
8868
- return this._queryBookmarkManager;
8871
+ return this._defaultExecuteQueryBookmarkManager;
8869
8872
  },
8870
8873
  enumerable: false,
8871
8874
  configurable: true
@@ -8956,7 +8959,7 @@ var Driver$1 = /** @class */ (function () {
8956
8959
  return __generator$9(this, function (_d) {
8957
8960
  switch (_d.label) {
8958
8961
  case 0:
8959
- bookmarkManager = config.bookmarkManager === null ? undefined : ((_a = config.bookmarkManager) !== null && _a !== void 0 ? _a : this.queryBookmarkManager);
8962
+ bookmarkManager = config.bookmarkManager === null ? undefined : ((_a = config.bookmarkManager) !== null && _a !== void 0 ? _a : this.defaultExecuteQueryBookmarkManager);
8960
8963
  resultTransformer = ((_b = config.resultTransformer) !== null && _b !== void 0 ? _b : result_transformers_1.default.eagerResultTransformer());
8961
8964
  routingConfig = (_c = config.routing) !== null && _c !== void 0 ? _c : routing.WRITERS;
8962
8965
  if (routingConfig !== routing.READERS && routingConfig !== routing.WRITERS) {
@@ -18581,7 +18584,7 @@ Object.defineProperty(version$1, "__esModule", { value: true });
18581
18584
  // This is set up this way to keep the version in the code in
18582
18585
  // sync with the npm package version, and to allow the build
18583
18586
  // system to control version names at packaging time.
18584
- version$1.default = '5.5.0';
18587
+ version$1.default = '5.6.0';
18585
18588
 
18586
18589
  var lib = {};
18587
18590