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.
package/lib/browser/neo4j-web.js
CHANGED
|
@@ -3227,6 +3227,7 @@
|
|
|
3227
3227
|
* Test if given object is an instance of {@link UnboundRelationship} class.
|
|
3228
3228
|
* @param {Object} obj the object to test.
|
|
3229
3229
|
* @return {boolean} `true` if given object is a {@link UnboundRelationship}, `false` otherwise.
|
|
3230
|
+
* @access private
|
|
3230
3231
|
*/
|
|
3231
3232
|
function isUnboundRelationship(obj) {
|
|
3232
3233
|
return hasIdentifierProperty(obj, UNBOUND_RELATIONSHIP_IDENTIFIER_PROPERTY);
|
|
@@ -9142,7 +9143,7 @@
|
|
|
9142
9143
|
/* eslint-disable @typescript-eslint/promise-function-async */
|
|
9143
9144
|
var transaction_1 = __importDefault$U(transaction);
|
|
9144
9145
|
/**
|
|
9145
|
-
* Represents a {@link
|
|
9146
|
+
* Represents a Promise<{@link Transaction}> object and a {@link Transaction} object.
|
|
9146
9147
|
*
|
|
9147
9148
|
* Resolving this object promise verifies the result of the transaction begin and returns the {@link Transaction} object in case of success.
|
|
9148
9149
|
*
|
|
@@ -9604,7 +9605,7 @@
|
|
|
9604
9605
|
/**
|
|
9605
9606
|
* Return the bookmarks received following the last completed {@link Transaction}.
|
|
9606
9607
|
*
|
|
9607
|
-
* @deprecated This method will be removed in version 6.0. Please, use Session#lastBookmarks instead.
|
|
9608
|
+
* @deprecated This method will be removed in version 6.0. Please, use {@link Session#lastBookmarks} instead.
|
|
9608
9609
|
*
|
|
9609
9610
|
* @return {string[]} A reference to a previous transaction.
|
|
9610
9611
|
* @see {@link Session#lastBookmarks}
|
|
@@ -9645,7 +9646,7 @@
|
|
|
9645
9646
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
9646
9647
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
9647
9648
|
*
|
|
9648
|
-
* @deprecated This method will be removed in version 6.0. Please, use Session#executeRead instead.
|
|
9649
|
+
* @deprecated This method will be removed in version 6.0. Please, use {@link Session#executeRead} instead.
|
|
9649
9650
|
*
|
|
9650
9651
|
* @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against
|
|
9651
9652
|
* a given {@link Transaction}.
|
|
@@ -9666,7 +9667,7 @@
|
|
|
9666
9667
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
9667
9668
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
9668
9669
|
*
|
|
9669
|
-
* @deprecated This method will be removed in version 6.0. Please, use Session#executeWrite instead.
|
|
9670
|
+
* @deprecated This method will be removed in version 6.0. Please, use {@link Session#executeWrite} instead.
|
|
9670
9671
|
*
|
|
9671
9672
|
* @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against
|
|
9672
9673
|
* a given {@link Transaction}.
|
|
@@ -9691,6 +9692,10 @@
|
|
|
9691
9692
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
9692
9693
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
9693
9694
|
*
|
|
9695
|
+
* NOTE: Because it is an explicit transaction from the server point of view, Cypher queries using
|
|
9696
|
+
* "CALL {} IN TRANSACTIONS" or the older "USING PERIODIC COMMIT" construct will not work (call
|
|
9697
|
+
* {@link Session#run} for these).
|
|
9698
|
+
*
|
|
9694
9699
|
* @param {function(tx: ManagedTransaction): Promise} transactionWork - Callback that executes operations against
|
|
9695
9700
|
* a given {@link Transaction}.
|
|
9696
9701
|
* @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work.
|
|
@@ -9709,6 +9714,10 @@
|
|
|
9709
9714
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
9710
9715
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
9711
9716
|
*
|
|
9717
|
+
* NOTE: Because it is an explicit transaction from the server point of view, Cypher queries using
|
|
9718
|
+
* "CALL {} IN TRANSACTIONS" or the older "USING PERIODIC COMMIT" construct will not work (call
|
|
9719
|
+
* {@link Session#run} for these).
|
|
9720
|
+
*
|
|
9712
9721
|
* @param {function(tx: ManagedTransaction): Promise} transactionWork - Callback that executes operations against
|
|
9713
9722
|
* a given {@link Transaction}.
|
|
9714
9723
|
* @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work.
|
|
@@ -12180,7 +12189,7 @@
|
|
|
12180
12189
|
*/
|
|
12181
12190
|
this.resolver = undefined;
|
|
12182
12191
|
/**
|
|
12183
|
-
* Configure filter for Notification objects returned in {@
|
|
12192
|
+
* Configure filter for Notification objects returned in {@link ResultSummary#notifications}.
|
|
12184
12193
|
*
|
|
12185
12194
|
* See {@link SessionConfig#notificationFilter} for usage instructions.
|
|
12186
12195
|
*
|
|
@@ -12229,8 +12238,7 @@
|
|
|
12229
12238
|
* where the {@link ClientCertificate} might change over time.
|
|
12230
12239
|
*
|
|
12231
12240
|
* @type {ClientCertificate|ClientCertificateProvider|undefined}
|
|
12232
|
-
* @
|
|
12233
|
-
* @since 5.19
|
|
12241
|
+
* @since 5.27
|
|
12234
12242
|
*/
|
|
12235
12243
|
this.clientCertificate = undefined;
|
|
12236
12244
|
}
|
|
@@ -12336,8 +12344,7 @@
|
|
|
12336
12344
|
*
|
|
12337
12345
|
* @interface
|
|
12338
12346
|
* @see https://nodejs.org/api/tls.html#tlscreatesecurecontextoptions
|
|
12339
|
-
* @
|
|
12340
|
-
* @since 5.19
|
|
12347
|
+
* @since 5.27
|
|
12341
12348
|
*/
|
|
12342
12349
|
var ClientCertificate = /** @class */ (function () {
|
|
12343
12350
|
function ClientCertificate() {
|
|
@@ -12366,8 +12373,8 @@
|
|
|
12366
12373
|
/**
|
|
12367
12374
|
* Provides a client certificate to the driver for mutual TLS.
|
|
12368
12375
|
*
|
|
12369
|
-
* The driver will call {@link ClientCertificateProvider#hasUpdate
|
|
12370
|
-
* If so, it will call {@link ClientCertificateProvider#
|
|
12376
|
+
* The driver will call {@link ClientCertificateProvider#hasUpdate} to check if the client wants to update the certificate.
|
|
12377
|
+
* If so, it will call {@link ClientCertificateProvider#getClientCertificate} to get the new certificate.
|
|
12371
12378
|
*
|
|
12372
12379
|
* The certificate is only used as a second factor for authentication authenticating the client.
|
|
12373
12380
|
* The DMBS user still needs to authenticate with an authentication token.
|
|
@@ -12379,8 +12386,7 @@
|
|
|
12379
12386
|
* Should fetching the certificate be particularly slow, it might be necessary to increase the timeout.
|
|
12380
12387
|
*
|
|
12381
12388
|
* @interface
|
|
12382
|
-
* @
|
|
12383
|
-
* @since 5.19
|
|
12389
|
+
* @since 5.27
|
|
12384
12390
|
*/
|
|
12385
12391
|
var ClientCertificateProvider = /** @class */ (function () {
|
|
12386
12392
|
function ClientCertificateProvider() {
|
|
@@ -12396,7 +12402,7 @@
|
|
|
12396
12402
|
/**
|
|
12397
12403
|
* Returns the certificate to use for new connections.
|
|
12398
12404
|
*
|
|
12399
|
-
* Will be called by the driver after {@link ClientCertificateProvider#hasUpdate
|
|
12405
|
+
* Will be called by the driver after {@link ClientCertificateProvider#hasUpdate} returned true
|
|
12400
12406
|
* or when the driver establishes the first connection.
|
|
12401
12407
|
*
|
|
12402
12408
|
* @returns {Promise<ClientCertificate>|ClientCertificate} the certificate to use for new connections
|
|
@@ -12410,8 +12416,7 @@
|
|
|
12410
12416
|
/**
|
|
12411
12417
|
* Interface for {@link ClientCertificateProvider} which provides update certificate function.
|
|
12412
12418
|
* @interface
|
|
12413
|
-
* @
|
|
12414
|
-
* @since 5.19
|
|
12419
|
+
* @since 5.27
|
|
12415
12420
|
*/
|
|
12416
12421
|
var RotatingClientCertificateProvider = /** @class */ (function (_super) {
|
|
12417
12422
|
__extends$M(RotatingClientCertificateProvider, _super);
|
|
@@ -12435,8 +12440,7 @@
|
|
|
12435
12440
|
/**
|
|
12436
12441
|
* Defines the object which holds the common {@link ClientCertificateProviders} used in the Driver
|
|
12437
12442
|
*
|
|
12438
|
-
* @
|
|
12439
|
-
* @since 5.19
|
|
12443
|
+
* @since 5.27
|
|
12440
12444
|
*/
|
|
12441
12445
|
var ClientCertificateProviders = /** @class */ (function () {
|
|
12442
12446
|
function ClientCertificateProviders() {
|
|
@@ -12462,8 +12466,7 @@
|
|
|
12462
12466
|
/**
|
|
12463
12467
|
* Holds the common {@link ClientCertificateProviders} used in the Driver.
|
|
12464
12468
|
*
|
|
12465
|
-
* @
|
|
12466
|
-
* @since 5.19
|
|
12469
|
+
* @since 5.27
|
|
12467
12470
|
*/
|
|
12468
12471
|
var clientCertificateProviders = new ClientCertificateProviders();
|
|
12469
12472
|
clientCertificate.clientCertificateProviders = clientCertificateProviders;
|
|
@@ -20965,7 +20968,7 @@
|
|
|
20965
20968
|
*
|
|
20966
20969
|
* This method won't need to be called in normal stream operation. It only applies to the case when the stream is paused.
|
|
20967
20970
|
*
|
|
20968
|
-
* This method is method won't start the consuming records if the
|
|
20971
|
+
* This method is method won't start the consuming records if the {@link records} stream didn't get subscribed.
|
|
20969
20972
|
* @experimental
|
|
20970
20973
|
* @returns {Promise<void>} - A promise that resolves when the stream is resumed.
|
|
20971
20974
|
*/
|
|
@@ -21862,7 +21865,7 @@
|
|
|
21862
21865
|
// This is set up this way to keep the version in the code in
|
|
21863
21866
|
// sync with the npm package version, and to allow the build
|
|
21864
21867
|
// system to control version names at packaging time.
|
|
21865
|
-
version$1.default = '5.
|
|
21868
|
+
version$1.default = '5.27.0';
|
|
21866
21869
|
|
|
21867
21870
|
var lib = {};
|
|
21868
21871
|
|