neo4j-driver 5.17.0 → 5.18.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.
|
@@ -8953,7 +8953,8 @@ var QueryExecutor = /** @class */ (function () {
|
|
|
8953
8953
|
session = this._createSession({
|
|
8954
8954
|
database: config.database,
|
|
8955
8955
|
bookmarkManager: config.bookmarkManager,
|
|
8956
|
-
impersonatedUser: config.impersonatedUser
|
|
8956
|
+
impersonatedUser: config.impersonatedUser,
|
|
8957
|
+
auth: config.auth
|
|
8957
8958
|
});
|
|
8958
8959
|
// @ts-expect-error The method is private for external users
|
|
8959
8960
|
session._configureTransactionExecutor(true, constants_1$1.TELEMETRY_APIS.EXECUTE_QUERY);
|
|
@@ -9136,12 +9137,12 @@ var SessionConfig = /** @class */ (function () {
|
|
|
9136
9137
|
/**
|
|
9137
9138
|
* The {@link AuthToken} which will be used for the duration of the session.
|
|
9138
9139
|
*
|
|
9139
|
-
* By default, the session will use connections authenticated with {@link AuthToken} configured
|
|
9140
|
-
* driver creation. This configuration allows
|
|
9140
|
+
* By default, the session will use connections authenticated with the {@link AuthToken} configured on
|
|
9141
|
+
* driver creation. This configuration allows switching user and/or authorization information for the
|
|
9141
9142
|
* session lifetime.
|
|
9142
9143
|
*
|
|
9143
|
-
* **Warning**: This option is only
|
|
9144
|
-
* which supports Bolt 5.1
|
|
9144
|
+
* **Warning**: This option is only available when the driver is connected to Neo4j Database servers
|
|
9145
|
+
* which supports Bolt 5.1 or newer.
|
|
9145
9146
|
*
|
|
9146
9147
|
* @type {AuthToken|undefined}
|
|
9147
9148
|
* @see {@link driver}
|
|
@@ -9336,6 +9337,20 @@ var QueryConfig = /** @class */ (function () {
|
|
|
9336
9337
|
*
|
|
9337
9338
|
*/
|
|
9338
9339
|
this.transactionConfig = undefined;
|
|
9340
|
+
/**
|
|
9341
|
+
* The {@link AuthToken} which will be used for executing the query.
|
|
9342
|
+
*
|
|
9343
|
+
* By default, the query executor will use connections authenticated with the {@link AuthToken} configured on
|
|
9344
|
+
* driver creation. This configuration allows switching user and/or authorization information for the
|
|
9345
|
+
* underlying transaction's lifetime.
|
|
9346
|
+
*
|
|
9347
|
+
* **Warning**: This option is only available when the driver is connected to Neo4j Database servers
|
|
9348
|
+
* which support Bolt 5.1 or newer.
|
|
9349
|
+
*
|
|
9350
|
+
* @type {AuthToken|undefined}
|
|
9351
|
+
* @see {@link driver}
|
|
9352
|
+
*/
|
|
9353
|
+
this.auth = undefined;
|
|
9339
9354
|
}
|
|
9340
9355
|
return QueryConfig;
|
|
9341
9356
|
}());
|
|
@@ -9491,7 +9506,8 @@ var Driver$1 = /** @class */ (function () {
|
|
|
9491
9506
|
routing: routingConfig,
|
|
9492
9507
|
database: config.database,
|
|
9493
9508
|
impersonatedUser: config.impersonatedUser,
|
|
9494
|
-
transactionConfig: config.transactionConfig
|
|
9509
|
+
transactionConfig: config.transactionConfig,
|
|
9510
|
+
auth: config.auth
|
|
9495
9511
|
}, query, parameters)];
|
|
9496
9512
|
case 1: return [2 /*return*/, _d.sent()];
|
|
9497
9513
|
}
|
|
@@ -19762,7 +19778,7 @@ Object.defineProperty(version$1, "__esModule", { value: true });
|
|
|
19762
19778
|
// This is set up this way to keep the version in the code in
|
|
19763
19779
|
// sync with the npm package version, and to allow the build
|
|
19764
19780
|
// system to control version names at packaging time.
|
|
19765
|
-
version$1.default = '5.
|
|
19781
|
+
version$1.default = '5.18.0';
|
|
19766
19782
|
|
|
19767
19783
|
var lib = {};
|
|
19768
19784
|
|