neo4j-driver-bolt-connection
Advanced tools
Comparing version 4.4.0-beta01 to 4.4.0-beta02
@@ -502,3 +502,4 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var connection, connectionProvider, protocolVersion, error_4; | ||
var connection, databaseSpecificErrorHandler, connectionProvider, protocolVersion, error_4; | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
@@ -511,3 +512,7 @@ switch (_a.label) { | ||
connection = _a.sent(); | ||
connectionProvider = new connection_provider_single_1.default(connection); | ||
databaseSpecificErrorHandler = connection_1.ConnectionErrorHandler.create({ | ||
errorCode: SESSION_EXPIRED, | ||
handleAuthorizationExpired: function (error, address) { return _this._handleAuthorizationExpired(error, address); } | ||
}); | ||
connectionProvider = new connection_provider_single_1.default(new connection_1.DelegateConnection(connection, databaseSpecificErrorHandler)); | ||
protocolVersion = connection.protocol().version; | ||
@@ -514,0 +519,0 @@ if (protocolVersion < 4.0) { |
{ | ||
"name": "neo4j-driver-bolt-connection", | ||
"version": "4.4.0-beta01", | ||
"version": "4.4.0-beta02", | ||
"description": "Implements the connection with the Neo4j Database using the Bolt Protocol", | ||
@@ -41,6 +41,6 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"neo4j-driver-core": "^4.4.0-beta01", | ||
"neo4j-driver-core": "^4.4.0-beta02", | ||
"text-encoding-utf-8": "^1.0.2" | ||
}, | ||
"gitHead": "139d14fe8b9d24d70d1e56f53c571e2651192fda" | ||
"gitHead": "cf2272c39d5038f42391a09646ac8241f00b81e5" | ||
} |
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
429383
9383