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.
package/lib/browser/neo4j-web.js
CHANGED
|
@@ -8411,7 +8411,10 @@
|
|
|
8411
8411
|
},
|
|
8412
8412
|
onNext: function (record) {
|
|
8413
8413
|
if (config.map != null) {
|
|
8414
|
-
|
|
8414
|
+
var mappedRecord = config.map(record);
|
|
8415
|
+
if (mappedRecord !== undefined) {
|
|
8416
|
+
state.records.push(mappedRecord);
|
|
8417
|
+
}
|
|
8415
8418
|
}
|
|
8416
8419
|
else {
|
|
8417
8420
|
state.records.push(record);
|
|
@@ -8809,7 +8812,7 @@
|
|
|
8809
8812
|
* A BookmarkManager is a piece of software responsible for keeping casual consistency between different pieces of work by sharing bookmarks
|
|
8810
8813
|
* between the them.
|
|
8811
8814
|
*
|
|
8812
|
-
* By default, it uses the driver's non mutable driver level bookmark manager. See, {@link Driver.
|
|
8815
|
+
* By default, it uses the driver's non mutable driver level bookmark manager. See, {@link Driver.defaultExecuteQueryBookmarkManager}
|
|
8813
8816
|
*
|
|
8814
8817
|
* Can be set to null to disable causal chaining.
|
|
8815
8818
|
* @type {BookmarkManager|null}
|
|
@@ -8852,7 +8855,7 @@
|
|
|
8852
8855
|
this._log = log;
|
|
8853
8856
|
this._createConnectionProvider = createConnectionProvider;
|
|
8854
8857
|
this._createSession = createSession;
|
|
8855
|
-
this.
|
|
8858
|
+
this._defaultExecuteQueryBookmarkManager = (0, bookmark_manager_1.bookmarkManager)();
|
|
8856
8859
|
this._queryExecutor = createQueryExecutor(this.session.bind(this));
|
|
8857
8860
|
/**
|
|
8858
8861
|
* Reference to the connection provider. Initialized lazily by {@link _getOrCreateConnectionProvider}.
|
|
@@ -8862,7 +8865,7 @@
|
|
|
8862
8865
|
this._connectionProvider = null;
|
|
8863
8866
|
this._afterConstruction();
|
|
8864
8867
|
}
|
|
8865
|
-
Object.defineProperty(Driver.prototype, "
|
|
8868
|
+
Object.defineProperty(Driver.prototype, "defaultExecuteQueryBookmarkManager", {
|
|
8866
8869
|
/**
|
|
8867
8870
|
* The bookmark managed used by {@link Driver.executeQuery}
|
|
8868
8871
|
*
|
|
@@ -8871,7 +8874,7 @@
|
|
|
8871
8874
|
* @returns {BookmarkManager}
|
|
8872
8875
|
*/
|
|
8873
8876
|
get: function () {
|
|
8874
|
-
return this.
|
|
8877
|
+
return this._defaultExecuteQueryBookmarkManager;
|
|
8875
8878
|
},
|
|
8876
8879
|
enumerable: false,
|
|
8877
8880
|
configurable: true
|
|
@@ -8962,7 +8965,7 @@
|
|
|
8962
8965
|
return __generator$9(this, function (_d) {
|
|
8963
8966
|
switch (_d.label) {
|
|
8964
8967
|
case 0:
|
|
8965
|
-
bookmarkManager = config.bookmarkManager === null ? undefined : ((_a = config.bookmarkManager) !== null && _a !== void 0 ? _a : this.
|
|
8968
|
+
bookmarkManager = config.bookmarkManager === null ? undefined : ((_a = config.bookmarkManager) !== null && _a !== void 0 ? _a : this.defaultExecuteQueryBookmarkManager);
|
|
8966
8969
|
resultTransformer = ((_b = config.resultTransformer) !== null && _b !== void 0 ? _b : result_transformers_1.default.eagerResultTransformer());
|
|
8967
8970
|
routingConfig = (_c = config.routing) !== null && _c !== void 0 ? _c : routing.WRITERS;
|
|
8968
8971
|
if (routingConfig !== routing.READERS && routingConfig !== routing.WRITERS) {
|
|
@@ -18587,7 +18590,7 @@
|
|
|
18587
18590
|
// This is set up this way to keep the version in the code in
|
|
18588
18591
|
// sync with the npm package version, and to allow the build
|
|
18589
18592
|
// system to control version names at packaging time.
|
|
18590
|
-
version$1.default = '5.
|
|
18593
|
+
version$1.default = '5.6.0';
|
|
18591
18594
|
|
|
18592
18595
|
var lib = {};
|
|
18593
18596
|
|