neo4j-driver 5.4.0-alpha01 → 5.4.1
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/README.md
CHANGED
|
@@ -86,10 +86,10 @@ It can be imported from a module using the following statements:
|
|
|
86
86
|
import neo4j from 'lib/browser/neo4j-web.esm.min.js'
|
|
87
87
|
|
|
88
88
|
// unpkg CDN non-minified , version X.Y.Z where X.Y.Z >= 5.4.0
|
|
89
|
-
import neo4j from 'https://unpkg.com/
|
|
89
|
+
import neo4j from 'https://unpkg.com/neo4j-driver@X.Y.Z/lib/browser/neo4j-web.esm.js'
|
|
90
90
|
|
|
91
91
|
// unpkg CDN minified for production use, version X.Y.Z where X.Y.Z >= 5.4.0
|
|
92
|
-
import neo4j from 'https://unpkg.com/
|
|
92
|
+
import neo4j from 'https://unpkg.com/neo4j-driver@X.Y.Z/lib/browser/neo4j-web.esm.min.js'
|
|
93
93
|
|
|
94
94
|
// jsDelivr CDN non-minified, version X.Y.Z where X.Y.Z >= 5.4.0
|
|
95
95
|
import neo4j from 'https://cdn.jsdelivr.net/npm/neo4j-driver@X.Y.Z/lib/browser/neo4j-web.esm.js'
|
|
@@ -349,6 +349,20 @@ var Integer = /** @class */ (function () {
|
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
|
+
/**
|
|
353
|
+
* Converts the Integer to it primitive value.
|
|
354
|
+
*
|
|
355
|
+
* @since 5.4.0
|
|
356
|
+
* @returns {bigint}
|
|
357
|
+
*
|
|
358
|
+
* @see {@link Integer#toBigInt}
|
|
359
|
+
* @see {@link Integer#toInt}
|
|
360
|
+
* @see {@link Integer#toNumber}
|
|
361
|
+
* @see {@link Integer#toString}
|
|
362
|
+
*/
|
|
363
|
+
Integer.prototype.valueOf = function () {
|
|
364
|
+
return this.toBigInt();
|
|
365
|
+
};
|
|
352
366
|
/**
|
|
353
367
|
* Gets the high 32 bits as a signed integer.
|
|
354
368
|
* @returns {number} Signed high bits
|
|
@@ -7631,9 +7645,10 @@ var Session = /** @class */ (function () {
|
|
|
7631
7645
|
/**
|
|
7632
7646
|
* Return the bookmarks received following the last completed {@link Transaction}.
|
|
7633
7647
|
*
|
|
7634
|
-
* @deprecated This method will be removed in version 6.0. Please, use
|
|
7648
|
+
* @deprecated This method will be removed in version 6.0. Please, use Session#lastBookmarks instead.
|
|
7635
7649
|
*
|
|
7636
7650
|
* @return {string[]} A reference to a previous transaction.
|
|
7651
|
+
* @see {@link Session#lastBookmarks}
|
|
7637
7652
|
*/
|
|
7638
7653
|
Session.prototype.lastBookmark = function () {
|
|
7639
7654
|
return this.lastBookmarks();
|
|
@@ -7671,13 +7686,14 @@ var Session = /** @class */ (function () {
|
|
|
7671
7686
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
7672
7687
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
7673
7688
|
*
|
|
7674
|
-
* @deprecated This method will be removed in version 6.0. Please, use
|
|
7689
|
+
* @deprecated This method will be removed in version 6.0. Please, use Session#executeRead instead.
|
|
7675
7690
|
*
|
|
7676
7691
|
* @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against
|
|
7677
7692
|
* a given {@link Transaction}.
|
|
7678
7693
|
* @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work.
|
|
7679
7694
|
* @return {Promise} Resolved promise as returned by the given function or rejected promise when given
|
|
7680
7695
|
* function or commit fails.
|
|
7696
|
+
* @see {@link Session#executeRead}
|
|
7681
7697
|
*/
|
|
7682
7698
|
Session.prototype.readTransaction = function (transactionWork, transactionConfig) {
|
|
7683
7699
|
var config = new tx_config_1.TxConfig(transactionConfig);
|
|
@@ -7691,13 +7707,14 @@ var Session = /** @class */ (function () {
|
|
|
7691
7707
|
* delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
|
|
7692
7708
|
* `maxTransactionRetryTime` property in milliseconds.
|
|
7693
7709
|
*
|
|
7694
|
-
* @deprecated This method will be removed in version 6.0. Please, use
|
|
7710
|
+
* @deprecated This method will be removed in version 6.0. Please, use Session#executeWrite instead.
|
|
7695
7711
|
*
|
|
7696
7712
|
* @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against
|
|
7697
7713
|
* a given {@link Transaction}.
|
|
7698
7714
|
* @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work.
|
|
7699
7715
|
* @return {Promise} Resolved promise as returned by the given function or rejected promise when given
|
|
7700
7716
|
* function or commit fails.
|
|
7717
|
+
* @see {@link Session#executeWrite}
|
|
7701
7718
|
*/
|
|
7702
7719
|
Session.prototype.writeTransaction = function (transactionWork, transactionConfig) {
|
|
7703
7720
|
var config = new tx_config_1.TxConfig(transactionConfig);
|
|
@@ -17927,7 +17944,7 @@ Object.defineProperty(version$1, "__esModule", { value: true });
|
|
|
17927
17944
|
// This is set up this way to keep the version in the code in
|
|
17928
17945
|
// sync with the npm package version, and to allow the build
|
|
17929
17946
|
// system to control version names at packaging time.
|
|
17930
|
-
version$1.default = '5.4.
|
|
17947
|
+
version$1.default = '5.4.1';
|
|
17931
17948
|
|
|
17932
17949
|
var lib = {};
|
|
17933
17950
|
|