neo4j-driver
Advanced tools
Comparing version 5.10.0 to 5.11.0
@@ -88,5 +88,7 @@ "use strict"; | ||
bookmarkManager: bookmarkManager, | ||
notificationFilter: notificationFilter | ||
notificationFilter: notificationFilter, | ||
log: this._log | ||
}), | ||
config: this._config | ||
config: this._config, | ||
log: this._log | ||
}); | ||
@@ -93,0 +95,0 @@ }; |
@@ -45,5 +45,6 @@ "use strict"; | ||
function RxSession(_a) { | ||
var _b = _a === void 0 ? {} : _a, session = _b.session, config = _b.config; | ||
var _b = _a === void 0 ? {} : _a, session = _b.session, config = _b.config, log = _b.log; | ||
this._session = session; | ||
this._retryLogic = _createRetryLogic(config); | ||
this._log = log; | ||
} | ||
@@ -195,3 +196,3 @@ /** | ||
if (transactionConfig) { | ||
txConfig = new TxConfig(transactionConfig); | ||
txConfig = new TxConfig(transactionConfig, this._log); | ||
} | ||
@@ -198,0 +199,0 @@ return new rxjs_1.Observable(function (observer) { |
@@ -29,2 +29,2 @@ "use strict"; | ||
// system to control version names at packaging time. | ||
exports.default = '5.10.0'; | ||
exports.default = '5.11.0'; |
{ | ||
"name": "neo4j-driver", | ||
"version": "5.10.0", | ||
"version": "5.11.0", | ||
"description": "The official Neo4j driver for Javascript", | ||
@@ -83,7 +83,7 @@ "author": "Neo4j", | ||
"dependencies": { | ||
"neo4j-driver-bolt-connection": "5.10.0", | ||
"neo4j-driver-core": "5.10.0", | ||
"neo4j-driver-bolt-connection": "5.11.0", | ||
"neo4j-driver-core": "5.11.0", | ||
"rxjs": "^7.8.1" | ||
}, | ||
"gitHead": "7198b57348b8490e350835f49051b62ac0ae9e95" | ||
"gitHead": "f20b9a86650000e8366b22e57520512909b5089f" | ||
} |
@@ -55,2 +55,3 @@ /** | ||
Record, | ||
RecordShape, | ||
ResultSummary, | ||
@@ -90,3 +91,4 @@ Notification, | ||
AuthTokenAndExpiration, | ||
expirationBasedAuthTokenManager | ||
expirationBasedAuthTokenManager, | ||
types as coreTypes | ||
} from 'neo4j-driver-core' | ||
@@ -125,2 +127,14 @@ import { | ||
/** | ||
* Object containing predefined logging configurations. These are expected to be used as values of the driver config's `logging` property. | ||
* @property {function(level: ?string): object} console the function to create a logging config that prints all messages to `console.log` with | ||
* timestamp, level and message. It takes an optional `level` parameter which represents the maximum log level to be logged. Default value is 'info'. | ||
*/ | ||
declare const logging: { | ||
console: (level: coreTypes.LogLevel) => { | ||
level: coreTypes.LogLevel | ||
logger: (level: coreTypes.LogLevel, message: string) => void | ||
} | ||
} | ||
declare function driver ( | ||
@@ -275,2 +289,3 @@ url: string, | ||
expirationBasedAuthTokenManager: typeof expirationBasedAuthTokenManager | ||
logging: typeof logging | ||
} | ||
@@ -350,3 +365,4 @@ | ||
notificationFilterMinimumSeverityLevel, | ||
expirationBasedAuthTokenManager | ||
expirationBasedAuthTokenManager, | ||
logging | ||
} | ||
@@ -360,2 +376,3 @@ | ||
RoutingControl, | ||
RecordShape, | ||
ResultTransformer, | ||
@@ -362,0 +379,0 @@ NotificationCategory, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4201456
69025
+ Addedneo4j-driver-bolt-connection@5.11.0(transitive)
+ Addedneo4j-driver-core@5.11.0(transitive)
+ Addedtslib@2.8.0(transitive)
- Removedneo4j-driver-bolt-connection@5.10.0(transitive)
- Removedneo4j-driver-core@5.10.0(transitive)
- Removedtslib@2.7.0(transitive)
Updatedneo4j-driver-core@5.11.0