neo4j-driver 5.26.0 → 5.27.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.
|
@@ -3221,6 +3221,7 @@ Object.defineProperty(UnboundRelationship.prototype, UNBOUND_RELATIONSHIP_IDENTI
|
|
|
3221
3221
|
* Test if given object is an instance of {@link UnboundRelationship} class.
|
|
3222
3222
|
* @param {Object} obj the object to test.
|
|
3223
3223
|
* @return {boolean} `true` if given object is a {@link UnboundRelationship}, `false` otherwise.
|
|
3224
|
+
* @access private
|
|
3224
3225
|
*/
|
|
3225
3226
|
function isUnboundRelationship(obj) {
|
|
3226
3227
|
return hasIdentifierProperty(obj, UNBOUND_RELATIONSHIP_IDENTIFIER_PROPERTY);
|
|
@@ -9136,7 +9137,7 @@ Object.defineProperty(transactionPromise, "__esModule", { value: true });
|
|
|
9136
9137
|
/* eslint-disable @typescript-eslint/promise-function-async */
|
|
9137
9138
|
var transaction_1 = __importDefault$U(transaction);
|
|
9138
9139
|
/**
|
|
9139
|
-
* Represents a {@link
|
|
9140
|
+
* Represents a Promise<{@link Transaction}> object and a {@link Transaction} object.
|
|
9140
9141
|
*
|
|
9141
9142
|
* Resolving this object promise verifies the result of the transaction begin and returns the {@link Transaction} object in case of success.
|
|
9142
9143
|
*
|
|
@@ -9598,7 +9599,7 @@ var Session = /** @class */ (function () {
|
|
|
9598
9599
|
/**
|
|
9599
9600
|
* Return the bookmarks received following the last completed {@link Transaction}.
|
|
9600
9601
|
*
|
|
9601
|
-
* @deprecated This method will be removed in version 6.0. Please, use Session#lastBookmarks instead.
|
|
9602
|
+
* @deprecated This method will be removed in version 6.0. Please, use {@link Session#lastBookmarks} instead.
|
|
9602
9603
|
*
|
|
9603
9604
|
* @return {string[]} A reference to a previous transaction.
|
|
9604
9605
|
* @see {@link Session#lastBookmarks}
|
|
@@ -9639,7 +9640,7 @@ var Session = /** @class */ (function () {
|
|
|
9639
9640
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
9640
9641
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
9641
9642
|
*
|
|
9642
|
-
* @deprecated This method will be removed in version 6.0. Please, use Session#executeRead instead.
|
|
9643
|
+
* @deprecated This method will be removed in version 6.0. Please, use {@link Session#executeRead} instead.
|
|
9643
9644
|
*
|
|
9644
9645
|
* @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against
|
|
9645
9646
|
* a given {@link Transaction}.
|
|
@@ -9660,7 +9661,7 @@ var Session = /** @class */ (function () {
|
|
|
9660
9661
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
9661
9662
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
9662
9663
|
*
|
|
9663
|
-
* @deprecated This method will be removed in version 6.0. Please, use Session#executeWrite instead.
|
|
9664
|
+
* @deprecated This method will be removed in version 6.0. Please, use {@link Session#executeWrite} instead.
|
|
9664
9665
|
*
|
|
9665
9666
|
* @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against
|
|
9666
9667
|
* a given {@link Transaction}.
|
|
@@ -9685,6 +9686,10 @@ var Session = /** @class */ (function () {
|
|
|
9685
9686
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
9686
9687
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
9687
9688
|
*
|
|
9689
|
+
* NOTE: Because it is an explicit transaction from the server point of view, Cypher queries using
|
|
9690
|
+
* "CALL {} IN TRANSACTIONS" or the older "USING PERIODIC COMMIT" construct will not work (call
|
|
9691
|
+
* {@link Session#run} for these).
|
|
9692
|
+
*
|
|
9688
9693
|
* @param {function(tx: ManagedTransaction): Promise} transactionWork - Callback that executes operations against
|
|
9689
9694
|
* a given {@link Transaction}.
|
|
9690
9695
|
* @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work.
|
|
@@ -9703,6 +9708,10 @@ var Session = /** @class */ (function () {
|
|
|
9703
9708
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
9704
9709
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
9705
9710
|
*
|
|
9711
|
+
* NOTE: Because it is an explicit transaction from the server point of view, Cypher queries using
|
|
9712
|
+
* "CALL {} IN TRANSACTIONS" or the older "USING PERIODIC COMMIT" construct will not work (call
|
|
9713
|
+
* {@link Session#run} for these).
|
|
9714
|
+
*
|
|
9706
9715
|
* @param {function(tx: ManagedTransaction): Promise} transactionWork - Callback that executes operations against
|
|
9707
9716
|
* a given {@link Transaction}.
|
|
9708
9717
|
* @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work.
|
|
@@ -12174,7 +12183,7 @@ var Config = /** @class */ (function () {
|
|
|
12174
12183
|
*/
|
|
12175
12184
|
this.resolver = undefined;
|
|
12176
12185
|
/**
|
|
12177
|
-
* Configure filter for Notification objects returned in {@
|
|
12186
|
+
* Configure filter for Notification objects returned in {@link ResultSummary#notifications}.
|
|
12178
12187
|
*
|
|
12179
12188
|
* See {@link SessionConfig#notificationFilter} for usage instructions.
|
|
12180
12189
|
*
|
|
@@ -12223,8 +12232,7 @@ var Config = /** @class */ (function () {
|
|
|
12223
12232
|
* where the {@link ClientCertificate} might change over time.
|
|
12224
12233
|
*
|
|
12225
12234
|
* @type {ClientCertificate|ClientCertificateProvider|undefined}
|
|
12226
|
-
* @
|
|
12227
|
-
* @since 5.19
|
|
12235
|
+
* @since 5.27
|
|
12228
12236
|
*/
|
|
12229
12237
|
this.clientCertificate = undefined;
|
|
12230
12238
|
}
|
|
@@ -12330,8 +12338,7 @@ var json = __importStar$5(json$3);
|
|
|
12330
12338
|
*
|
|
12331
12339
|
* @interface
|
|
12332
12340
|
* @see https://nodejs.org/api/tls.html#tlscreatesecurecontextoptions
|
|
12333
|
-
* @
|
|
12334
|
-
* @since 5.19
|
|
12341
|
+
* @since 5.27
|
|
12335
12342
|
*/
|
|
12336
12343
|
var ClientCertificate = /** @class */ (function () {
|
|
12337
12344
|
function ClientCertificate() {
|
|
@@ -12360,8 +12367,8 @@ clientCertificate.default = ClientCertificate;
|
|
|
12360
12367
|
/**
|
|
12361
12368
|
* Provides a client certificate to the driver for mutual TLS.
|
|
12362
12369
|
*
|
|
12363
|
-
* The driver will call {@link ClientCertificateProvider#hasUpdate
|
|
12364
|
-
* If so, it will call {@link ClientCertificateProvider#
|
|
12370
|
+
* The driver will call {@link ClientCertificateProvider#hasUpdate} to check if the client wants to update the certificate.
|
|
12371
|
+
* If so, it will call {@link ClientCertificateProvider#getClientCertificate} to get the new certificate.
|
|
12365
12372
|
*
|
|
12366
12373
|
* The certificate is only used as a second factor for authentication authenticating the client.
|
|
12367
12374
|
* The DMBS user still needs to authenticate with an authentication token.
|
|
@@ -12373,8 +12380,7 @@ clientCertificate.default = ClientCertificate;
|
|
|
12373
12380
|
* Should fetching the certificate be particularly slow, it might be necessary to increase the timeout.
|
|
12374
12381
|
*
|
|
12375
12382
|
* @interface
|
|
12376
|
-
* @
|
|
12377
|
-
* @since 5.19
|
|
12383
|
+
* @since 5.27
|
|
12378
12384
|
*/
|
|
12379
12385
|
var ClientCertificateProvider = /** @class */ (function () {
|
|
12380
12386
|
function ClientCertificateProvider() {
|
|
@@ -12390,7 +12396,7 @@ var ClientCertificateProvider = /** @class */ (function () {
|
|
|
12390
12396
|
/**
|
|
12391
12397
|
* Returns the certificate to use for new connections.
|
|
12392
12398
|
*
|
|
12393
|
-
* Will be called by the driver after {@link ClientCertificateProvider#hasUpdate
|
|
12399
|
+
* Will be called by the driver after {@link ClientCertificateProvider#hasUpdate} returned true
|
|
12394
12400
|
* or when the driver establishes the first connection.
|
|
12395
12401
|
*
|
|
12396
12402
|
* @returns {Promise<ClientCertificate>|ClientCertificate} the certificate to use for new connections
|
|
@@ -12404,8 +12410,7 @@ clientCertificate.ClientCertificateProvider = ClientCertificateProvider;
|
|
|
12404
12410
|
/**
|
|
12405
12411
|
* Interface for {@link ClientCertificateProvider} which provides update certificate function.
|
|
12406
12412
|
* @interface
|
|
12407
|
-
* @
|
|
12408
|
-
* @since 5.19
|
|
12413
|
+
* @since 5.27
|
|
12409
12414
|
*/
|
|
12410
12415
|
var RotatingClientCertificateProvider = /** @class */ (function (_super) {
|
|
12411
12416
|
__extends$M(RotatingClientCertificateProvider, _super);
|
|
@@ -12429,8 +12434,7 @@ clientCertificate.RotatingClientCertificateProvider = RotatingClientCertificateP
|
|
|
12429
12434
|
/**
|
|
12430
12435
|
* Defines the object which holds the common {@link ClientCertificateProviders} used in the Driver
|
|
12431
12436
|
*
|
|
12432
|
-
* @
|
|
12433
|
-
* @since 5.19
|
|
12437
|
+
* @since 5.27
|
|
12434
12438
|
*/
|
|
12435
12439
|
var ClientCertificateProviders = /** @class */ (function () {
|
|
12436
12440
|
function ClientCertificateProviders() {
|
|
@@ -12456,8 +12460,7 @@ var ClientCertificateProviders = /** @class */ (function () {
|
|
|
12456
12460
|
/**
|
|
12457
12461
|
* Holds the common {@link ClientCertificateProviders} used in the Driver.
|
|
12458
12462
|
*
|
|
12459
|
-
* @
|
|
12460
|
-
* @since 5.19
|
|
12463
|
+
* @since 5.27
|
|
12461
12464
|
*/
|
|
12462
12465
|
var clientCertificateProviders = new ClientCertificateProviders();
|
|
12463
12466
|
clientCertificate.clientCertificateProviders = clientCertificateProviders;
|
|
@@ -20959,7 +20962,7 @@ var RxResult = /** @class */ (function () {
|
|
|
20959
20962
|
*
|
|
20960
20963
|
* This method won't need to be called in normal stream operation. It only applies to the case when the stream is paused.
|
|
20961
20964
|
*
|
|
20962
|
-
* This method is method won't start the consuming records if the
|
|
20965
|
+
* This method is method won't start the consuming records if the {@link records} stream didn't get subscribed.
|
|
20963
20966
|
* @experimental
|
|
20964
20967
|
* @returns {Promise<void>} - A promise that resolves when the stream is resumed.
|
|
20965
20968
|
*/
|
|
@@ -21856,7 +21859,7 @@ Object.defineProperty(version$1, "__esModule", { value: true });
|
|
|
21856
21859
|
// This is set up this way to keep the version in the code in
|
|
21857
21860
|
// sync with the npm package version, and to allow the build
|
|
21858
21861
|
// system to control version names at packaging time.
|
|
21859
|
-
version$1.default = '5.
|
|
21862
|
+
version$1.default = '5.27.0';
|
|
21860
21863
|
|
|
21861
21864
|
var lib = {};
|
|
21862
21865
|
|