neo4j-driver 5.25.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.
@@ -12,6 +12,12 @@ var lib$1 = {};
12
12
 
13
13
  var error = {};
14
14
 
15
+ var json$3 = {};
16
+
17
+ var objectUtil$2 = {};
18
+
19
+ Object.defineProperty(objectUtil$2, "__esModule", { value: true });
20
+ objectUtil$2.getBrokenObjectReason = objectUtil$2.isBrokenObject = objectUtil$2.createBrokenObject = void 0;
15
21
  /**
16
22
  * Copyright (c) "Neo4j"
17
23
  * Neo4j Sweden AB [https://neo4j.com]
@@ -28,7 +34,150 @@ var error = {};
28
34
  * See the License for the specific language governing permissions and
29
35
  * limitations under the License.
30
36
  */
31
- var __extends$Q = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
37
+ // eslint-disable-next-line @typescript-eslint/naming-convention
38
+ var __isBrokenObject__ = '__isBrokenObject__';
39
+ // eslint-disable-next-line @typescript-eslint/naming-convention
40
+ var __reason__ = '__reason__';
41
+ /**
42
+ * Creates a object which all method call will throw the given error
43
+ *
44
+ * @param {Error} error The error
45
+ * @param {any} object The object. Default: {}
46
+ * @returns {any} A broken object
47
+ */
48
+ function createBrokenObject(error, object) {
49
+ if (object === void 0) { object = {}; }
50
+ var fail = function () {
51
+ throw error;
52
+ };
53
+ return new Proxy(object, {
54
+ get: function (_, p) {
55
+ if (p === __isBrokenObject__) {
56
+ return true;
57
+ }
58
+ else if (p === __reason__) {
59
+ return error;
60
+ }
61
+ else if (p === 'toJSON') {
62
+ return undefined;
63
+ }
64
+ fail();
65
+ },
66
+ set: fail,
67
+ apply: fail,
68
+ construct: fail,
69
+ defineProperty: fail,
70
+ deleteProperty: fail,
71
+ getOwnPropertyDescriptor: fail,
72
+ getPrototypeOf: fail,
73
+ has: fail,
74
+ isExtensible: fail,
75
+ ownKeys: fail,
76
+ preventExtensions: fail,
77
+ setPrototypeOf: fail
78
+ });
79
+ }
80
+ objectUtil$2.createBrokenObject = createBrokenObject;
81
+ /**
82
+ * Verifies if it is a Broken Object
83
+ * @param {any} object The object
84
+ * @returns {boolean} If it was created with createBrokenObject
85
+ */
86
+ function isBrokenObject(object) {
87
+ return object !== null && typeof object === 'object' && object[__isBrokenObject__] === true;
88
+ }
89
+ objectUtil$2.isBrokenObject = isBrokenObject;
90
+ /**
91
+ * Returns if the reason the object is broken.
92
+ *
93
+ * This method should only be called with instances create with {@link createBrokenObject}
94
+ *
95
+ * @param {any} object The object
96
+ * @returns {Error} The reason the object is broken
97
+ */
98
+ function getBrokenObjectReason(object) {
99
+ return object[__reason__];
100
+ }
101
+ objectUtil$2.getBrokenObjectReason = getBrokenObjectReason;
102
+
103
+ /**
104
+ * Copyright (c) "Neo4j"
105
+ * Neo4j Sweden AB [https://neo4j.com]
106
+ *
107
+ * Licensed under the Apache License, Version 2.0 (the "License");
108
+ * you may not use this file except in compliance with the License.
109
+ * You may obtain a copy of the License at
110
+ *
111
+ * http://www.apache.org/licenses/LICENSE-2.0
112
+ *
113
+ * Unless required by applicable law or agreed to in writing, software
114
+ * distributed under the License is distributed on an "AS IS" BASIS,
115
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
116
+ * See the License for the specific language governing permissions and
117
+ * limitations under the License.
118
+ */
119
+ Object.defineProperty(json$3, "__esModule", { value: true });
120
+ json$3.stringify = void 0;
121
+ var object_util_1 = objectUtil$2;
122
+ /**
123
+ * Custom version on JSON.stringify that can handle values that normally don't support serialization, such as BigInt.
124
+ * @private
125
+ * @param val A JavaScript value, usually an object or array, to be converted.
126
+ * @returns A JSON string representing the given value.
127
+ */
128
+ function stringify(val, opts) {
129
+ return JSON.stringify(val, function (_, value) {
130
+ if ((0, object_util_1.isBrokenObject)(value)) {
131
+ return {
132
+ __isBrokenObject__: true,
133
+ __reason__: (0, object_util_1.getBrokenObjectReason)(value)
134
+ };
135
+ }
136
+ if (typeof value === 'bigint') {
137
+ return "".concat(value, "n");
138
+ }
139
+ if ((opts === null || opts === void 0 ? void 0 : opts.useCustomToString) === true &&
140
+ typeof value === 'object' &&
141
+ !Array.isArray(value) &&
142
+ typeof value.toString === 'function' &&
143
+ value.toString !== Object.prototype.toString) {
144
+ return value === null || value === void 0 ? void 0 : value.toString();
145
+ }
146
+ return value;
147
+ });
148
+ }
149
+ json$3.stringify = stringify;
150
+
151
+ var gqlConstants = {};
152
+
153
+ (function (exports) {
154
+ Object.defineProperty(exports, "__esModule", { value: true });
155
+ exports.rawPolyfilledDiagnosticRecord = void 0;
156
+ exports.rawPolyfilledDiagnosticRecord = {
157
+ OPERATION: '',
158
+ OPERATION_CODE: '0',
159
+ CURRENT_SCHEMA: '/'
160
+ };
161
+ Object.freeze(exports.rawPolyfilledDiagnosticRecord);
162
+ }(gqlConstants));
163
+
164
+ /**
165
+ * Copyright (c) "Neo4j"
166
+ * Neo4j Sweden AB [https://neo4j.com]
167
+ *
168
+ * Licensed under the Apache License, Version 2.0 (the "License");
169
+ * you may not use this file except in compliance with the License.
170
+ * You may obtain a copy of the License at
171
+ *
172
+ * http://www.apache.org/licenses/LICENSE-2.0
173
+ *
174
+ * Unless required by applicable law or agreed to in writing, software
175
+ * distributed under the License is distributed on an "AS IS" BASIS,
176
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
177
+ * See the License for the specific language governing permissions and
178
+ * limitations under the License.
179
+ */
180
+ var __extends$R = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32
181
  var extendStatics = function (d, b) {
33
182
  extendStatics = Object.setPrototypeOf ||
34
183
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -43,10 +192,47 @@ var __extends$Q = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
43
192
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
44
193
  };
45
194
  })();
195
+ var __createBinding$d = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
196
+ if (k2 === undefined) k2 = k;
197
+ var desc = Object.getOwnPropertyDescriptor(m, k);
198
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
199
+ desc = { enumerable: true, get: function() { return m[k]; } };
200
+ }
201
+ Object.defineProperty(o, k2, desc);
202
+ }) : (function(o, m, k, k2) {
203
+ if (k2 === undefined) k2 = k;
204
+ o[k2] = m[k];
205
+ }));
206
+ var __setModuleDefault$d = (commonjsGlobal && commonjsGlobal.__setModuleDefault) || (Object.create ? (function(o, v) {
207
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
208
+ }) : function(o, v) {
209
+ o["default"] = v;
210
+ });
211
+ var __importStar$d = (commonjsGlobal && commonjsGlobal.__importStar) || function (mod) {
212
+ if (mod && mod.__esModule) return mod;
213
+ var result = {};
214
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding$d(result, mod, k);
215
+ __setModuleDefault$d(result, mod);
216
+ return result;
217
+ };
46
218
  Object.defineProperty(error, "__esModule", { value: true });
47
- error.PROTOCOL_ERROR = error.SESSION_EXPIRED = error.SERVICE_UNAVAILABLE = error.Neo4jError = error.isRetriableError = error.newError = void 0;
219
+ error.PROTOCOL_ERROR = error.SESSION_EXPIRED = error.SERVICE_UNAVAILABLE = error.GQLError = error.Neo4jError = error.isRetriableError = error.newGQLError = error.newError = void 0;
48
220
  // A common place for constructing error objects, to keep them
49
221
  // uniform across the driver surface.
222
+ var json$2 = __importStar$d(json$3);
223
+ var gql_constants_1$1 = gqlConstants;
224
+ /**
225
+ * @typedef { 'DATABASE_ERROR' | 'CLIENT_ERROR' | 'TRANSIENT_ERROR' | 'UNKNOWN' } ErrorClassification
226
+ * @experimental this is part of the preview of GQL-compliant errors
227
+ */
228
+ var errorClassification = {
229
+ DATABASE_ERROR: 'DATABASE_ERROR',
230
+ CLIENT_ERROR: 'CLIENT_ERROR',
231
+ TRANSIENT_ERROR: 'TRANSIENT_ERROR',
232
+ UNKNOWN: 'UNKNOWN'
233
+ };
234
+ Object.freeze(errorClassification);
235
+ var classifications = Object.values(errorClassification);
50
236
  /**
51
237
  * Error code representing complete loss of service. Used by {@link Neo4jError#code}.
52
238
  * @type {string}
@@ -71,30 +257,124 @@ error.PROTOCOL_ERROR = PROTOCOL_ERROR$6;
71
257
  */
72
258
  var NOT_AVAILABLE$1 = 'N/A';
73
259
  /// TODO: Remove definitions of this.constructor and this.__proto__
260
+ /**
261
+ * Class for nested errors, to be used as causes in {@link Neo4jError}
262
+ * @experimental this class is part of the preview of GQL-compliant errors
263
+ */
264
+ var GQLError = /** @class */ (function (_super) {
265
+ __extends$R(GQLError, _super);
266
+ /**
267
+ * @constructor
268
+ * @param {string} message - the error message
269
+ * @param {string} gqlStatus - the GQL status code of the error
270
+ * @param {string} gqlStatusDescription - the GQL status description of the error
271
+ * @param {ErrorDiagnosticRecord} diagnosticRecord - the error diagnostic record
272
+ * @param {Error} cause - Optional nested error, the cause of the error
273
+ */
274
+ function GQLError(message, gqlStatus, gqlStatusDescription, diagnosticRecord, cause) {
275
+ var _this = this;
276
+ var _a;
277
+ // eslint-disable-next-line
278
+ // @ts-ignore: not available in ES6 yet
279
+ _this = _super.call(this, message, cause != null ? { cause: cause } : undefined) || this;
280
+ _this.constructor = GQLError;
281
+ // eslint-disable-next-line no-proto
282
+ _this.__proto__ = GQLError.prototype;
283
+ /**
284
+ * Optional, nested error which caused the error
285
+ *
286
+ * @type {Error?}
287
+ * @public
288
+ */
289
+ _this.cause = cause != null ? cause : undefined;
290
+ /**
291
+ * The GQL Status code
292
+ *
293
+ * @type {string}
294
+ * @experimental this property is part of the preview of GQL-compliant errors
295
+ * @public
296
+ */
297
+ _this.gqlStatus = gqlStatus;
298
+ /**
299
+ * The GQL Status Description
300
+ *
301
+ * @type {string}
302
+ * @experimental this property is part of the preview of GQL-compliant errors
303
+ * @public
304
+ */
305
+ _this.gqlStatusDescription = gqlStatusDescription;
306
+ /**
307
+ * The GQL diagnostic record
308
+ *
309
+ * @type {DiagnosticRecord}
310
+ * @experimental this property is part of the preview of GQL-compliant errors
311
+ * @public
312
+ */
313
+ _this.diagnosticRecord = diagnosticRecord;
314
+ /**
315
+ * The GQL error classification, extracted from the diagnostic record
316
+ *
317
+ * @type {ErrorClassification}
318
+ * @experimental this property is part of the preview of GQL-compliant errors
319
+ * @public
320
+ */
321
+ _this.classification = _extractClassification(_this.diagnosticRecord);
322
+ /**
323
+ * The GQL error classification, extracted from the diagnostic record as a raw string
324
+ *
325
+ * @type {string}
326
+ * @experimental this property is part of the preview of GQL-compliant errors
327
+ * @public
328
+ */
329
+ _this.rawClassification = (_a = diagnosticRecord === null || diagnosticRecord === void 0 ? void 0 : diagnosticRecord._classification) !== null && _a !== void 0 ? _a : undefined;
330
+ _this.name = 'GQLError';
331
+ return _this;
332
+ }
333
+ Object.defineProperty(GQLError.prototype, "diagnosticRecordAsJsonString", {
334
+ /**
335
+ * The json string representation of the diagnostic record.
336
+ * The goal of this method is provide a serialized object for human inspection.
337
+ *
338
+ * @type {string}
339
+ * @experimental this is part of the preview of GQL-compliant errors
340
+ * @public
341
+ */
342
+ get: function () {
343
+ return json$2.stringify(this.diagnosticRecord, { useCustomToString: true });
344
+ },
345
+ enumerable: false,
346
+ configurable: true
347
+ });
348
+ return GQLError;
349
+ }(Error));
350
+ error.GQLError = GQLError;
74
351
  /**
75
352
  * Class for all errors thrown/returned by the driver.
76
353
  */
77
354
  var Neo4jError = /** @class */ (function (_super) {
78
- __extends$Q(Neo4jError, _super);
355
+ __extends$R(Neo4jError, _super);
79
356
  /**
80
357
  * @constructor
81
358
  * @param {string} message - the error message
82
359
  * @param {string} code - Optional error code. Will be populated when error originates in the database.
360
+ * @param {string} gqlStatus - the GQL status code of the error
361
+ * @param {string} gqlStatusDescription - the GQL status description of the error
362
+ * @param {DiagnosticRecord} diagnosticRecord - the error diagnostic record
363
+ * @param {Error} cause - Optional nested error, the cause of the error
83
364
  */
84
- function Neo4jError(message, code, cause) {
85
- var _this =
86
- // eslint-disable-next-line
87
- // @ts-ignore: not available in ES6 yet
88
- _super.call(this, message, cause != null ? { cause: cause } : undefined) || this;
365
+ function Neo4jError(message, code, gqlStatus, gqlStatusDescription, diagnosticRecord, cause) {
366
+ var _this = _super.call(this, message, gqlStatus, gqlStatusDescription, diagnosticRecord, cause) || this;
89
367
  _this.constructor = Neo4jError;
90
368
  // eslint-disable-next-line no-proto
91
369
  _this.__proto__ = Neo4jError.prototype;
92
- _this.code = code;
93
- _this.name = 'Neo4jError';
94
370
  /**
95
- * Indicates if the error is retriable.
96
- * @type {boolean} - true if the error is retriable
371
+ * The Neo4j Error code
372
+ *
373
+ * @type {string}
374
+ * @public
97
375
  */
376
+ _this.code = code;
377
+ _this.name = 'Neo4jError';
98
378
  _this.retriable = _isRetriableCode(code);
99
379
  return _this;
100
380
  }
@@ -111,19 +391,38 @@ var Neo4jError = /** @class */ (function (_super) {
111
391
  error.retriable;
112
392
  };
113
393
  return Neo4jError;
114
- }(Error));
394
+ }(GQLError));
115
395
  error.Neo4jError = Neo4jError;
116
396
  /**
117
- * Create a new error from a message and error code
397
+ * Create a new error from a message and optional data
118
398
  * @param message the error message
119
- * @param code the error code
399
+ * @param {Neo4jErrorCode} [code] the error code
400
+ * @param {Neo4jError} [cause]
401
+ * @param {String} [gqlStatus]
402
+ * @param {String} [gqlStatusDescription]
403
+ * @param {DiagnosticRecord} diagnosticRecord - the error message
120
404
  * @return {Neo4jError} an {@link Neo4jError}
121
405
  * @private
122
406
  */
123
- function newError(message, code, cause) {
124
- return new Neo4jError(message, code !== null && code !== void 0 ? code : NOT_AVAILABLE$1, cause);
407
+ function newError(message, code, cause, gqlStatus, gqlStatusDescription, diagnosticRecord) {
408
+ return new Neo4jError(message, code !== null && code !== void 0 ? code : NOT_AVAILABLE$1, gqlStatus !== null && gqlStatus !== void 0 ? gqlStatus : '50N42', gqlStatusDescription !== null && gqlStatusDescription !== void 0 ? gqlStatusDescription : 'error: general processing exception - unexpected error. ' + message, diagnosticRecord !== null && diagnosticRecord !== void 0 ? diagnosticRecord : gql_constants_1$1.rawPolyfilledDiagnosticRecord, cause);
125
409
  }
126
410
  error.newError = newError;
411
+ /**
412
+ * Create a new GQL error from a message and optional data
413
+ * @param message the error message
414
+ * @param {Neo4jError} [cause]
415
+ * @param {String} [gqlStatus]
416
+ * @param {String} [gqlStatusDescription]
417
+ * @param {DiagnosticRecord} diagnosticRecord - the error message
418
+ * @return {Neo4jError} an {@link Neo4jError}
419
+ * @experimental this is part of the preview of GQL-compliant errors
420
+ * @private
421
+ */
422
+ function newGQLError(message, cause, gqlStatus, gqlStatusDescription, diagnosticRecord) {
423
+ return new GQLError(message, gqlStatus !== null && gqlStatus !== void 0 ? gqlStatus : '50N42', gqlStatusDescription !== null && gqlStatusDescription !== void 0 ? gqlStatusDescription : 'error: general processing exception - unexpected error. ' + message, diagnosticRecord !== null && diagnosticRecord !== void 0 ? diagnosticRecord : gql_constants_1$1.rawPolyfilledDiagnosticRecord, cause);
424
+ }
425
+ error.newGQLError = newGQLError;
127
426
  /**
128
427
  * Verifies if the given error is retriable.
129
428
  *
@@ -160,6 +459,15 @@ function _isTransientError(code) {
160
459
  function _isAuthorizationExpired(code) {
161
460
  return code === 'Neo.ClientError.Security.AuthorizationExpired';
162
461
  }
462
+ /**
463
+ * extracts a typed classification from the diagnostic record.
464
+ */
465
+ function _extractClassification(diagnosticRecord) {
466
+ if (diagnosticRecord === undefined || diagnosticRecord._classification === undefined) {
467
+ return 'UNKNOWN';
468
+ }
469
+ return classifications.includes(diagnosticRecord._classification) ? diagnosticRecord === null || diagnosticRecord === void 0 ? void 0 : diagnosticRecord._classification : 'UNKNOWN';
470
+ }
163
471
 
164
472
  var integer = {};
165
473
 
@@ -1177,142 +1485,6 @@ var temporalUtil$1 = {};
1177
1485
 
1178
1486
  var util$4 = {};
1179
1487
 
1180
- var json$2 = {};
1181
-
1182
- var objectUtil$2 = {};
1183
-
1184
- Object.defineProperty(objectUtil$2, "__esModule", { value: true });
1185
- objectUtil$2.getBrokenObjectReason = objectUtil$2.isBrokenObject = objectUtil$2.createBrokenObject = void 0;
1186
- /**
1187
- * Copyright (c) "Neo4j"
1188
- * Neo4j Sweden AB [https://neo4j.com]
1189
- *
1190
- * Licensed under the Apache License, Version 2.0 (the "License");
1191
- * you may not use this file except in compliance with the License.
1192
- * You may obtain a copy of the License at
1193
- *
1194
- * http://www.apache.org/licenses/LICENSE-2.0
1195
- *
1196
- * Unless required by applicable law or agreed to in writing, software
1197
- * distributed under the License is distributed on an "AS IS" BASIS,
1198
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1199
- * See the License for the specific language governing permissions and
1200
- * limitations under the License.
1201
- */
1202
- // eslint-disable-next-line @typescript-eslint/naming-convention
1203
- var __isBrokenObject__ = '__isBrokenObject__';
1204
- // eslint-disable-next-line @typescript-eslint/naming-convention
1205
- var __reason__ = '__reason__';
1206
- /**
1207
- * Creates a object which all method call will throw the given error
1208
- *
1209
- * @param {Error} error The error
1210
- * @param {any} object The object. Default: {}
1211
- * @returns {any} A broken object
1212
- */
1213
- function createBrokenObject(error, object) {
1214
- if (object === void 0) { object = {}; }
1215
- var fail = function () {
1216
- throw error;
1217
- };
1218
- return new Proxy(object, {
1219
- get: function (_, p) {
1220
- if (p === __isBrokenObject__) {
1221
- return true;
1222
- }
1223
- else if (p === __reason__) {
1224
- return error;
1225
- }
1226
- else if (p === 'toJSON') {
1227
- return undefined;
1228
- }
1229
- fail();
1230
- },
1231
- set: fail,
1232
- apply: fail,
1233
- construct: fail,
1234
- defineProperty: fail,
1235
- deleteProperty: fail,
1236
- getOwnPropertyDescriptor: fail,
1237
- getPrototypeOf: fail,
1238
- has: fail,
1239
- isExtensible: fail,
1240
- ownKeys: fail,
1241
- preventExtensions: fail,
1242
- setPrototypeOf: fail
1243
- });
1244
- }
1245
- objectUtil$2.createBrokenObject = createBrokenObject;
1246
- /**
1247
- * Verifies if it is a Broken Object
1248
- * @param {any} object The object
1249
- * @returns {boolean} If it was created with createBrokenObject
1250
- */
1251
- function isBrokenObject(object) {
1252
- return object !== null && typeof object === 'object' && object[__isBrokenObject__] === true;
1253
- }
1254
- objectUtil$2.isBrokenObject = isBrokenObject;
1255
- /**
1256
- * Returns if the reason the object is broken.
1257
- *
1258
- * This method should only be called with instances create with {@link createBrokenObject}
1259
- *
1260
- * @param {any} object The object
1261
- * @returns {Error} The reason the object is broken
1262
- */
1263
- function getBrokenObjectReason(object) {
1264
- return object[__reason__];
1265
- }
1266
- objectUtil$2.getBrokenObjectReason = getBrokenObjectReason;
1267
-
1268
- /**
1269
- * Copyright (c) "Neo4j"
1270
- * Neo4j Sweden AB [https://neo4j.com]
1271
- *
1272
- * Licensed under the Apache License, Version 2.0 (the "License");
1273
- * you may not use this file except in compliance with the License.
1274
- * You may obtain a copy of the License at
1275
- *
1276
- * http://www.apache.org/licenses/LICENSE-2.0
1277
- *
1278
- * Unless required by applicable law or agreed to in writing, software
1279
- * distributed under the License is distributed on an "AS IS" BASIS,
1280
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1281
- * See the License for the specific language governing permissions and
1282
- * limitations under the License.
1283
- */
1284
- Object.defineProperty(json$2, "__esModule", { value: true });
1285
- json$2.stringify = void 0;
1286
- var object_util_1 = objectUtil$2;
1287
- /**
1288
- * Custom version on JSON.stringify that can handle values that normally don't support serialization, such as BigInt.
1289
- * @private
1290
- * @param val A JavaScript value, usually an object or array, to be converted.
1291
- * @returns A JSON string representing the given value.
1292
- */
1293
- function stringify(val, opts) {
1294
- return JSON.stringify(val, function (_, value) {
1295
- if ((0, object_util_1.isBrokenObject)(value)) {
1296
- return {
1297
- __isBrokenObject__: true,
1298
- __reason__: (0, object_util_1.getBrokenObjectReason)(value)
1299
- };
1300
- }
1301
- if (typeof value === 'bigint') {
1302
- return "".concat(value, "n");
1303
- }
1304
- if ((opts === null || opts === void 0 ? void 0 : opts.useCustomToString) === true &&
1305
- typeof value === 'object' &&
1306
- !Array.isArray(value) &&
1307
- typeof value.toString === 'function' &&
1308
- value.toString !== Object.prototype.toString) {
1309
- return value === null || value === void 0 ? void 0 : value.toString();
1310
- }
1311
- return value;
1312
- });
1313
- }
1314
- json$2.stringify = stringify;
1315
-
1316
1488
  var __createBinding$c = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
1317
1489
  if (k2 === undefined) k2 = k;
1318
1490
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -1367,7 +1539,7 @@ util$4.ENCRYPTION_OFF = util$4.ENCRYPTION_ON = util$4.equals = util$4.validateQu
1367
1539
  */
1368
1540
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1369
1541
  var integer_1$2 = __importStar$c(integer);
1370
- var json_1$1 = json$2;
1542
+ var json_1$1 = json$3;
1371
1543
  var ENCRYPTION_ON$2 = 'ENCRYPTION_ON';
1372
1544
  util$4.ENCRYPTION_ON = ENCRYPTION_ON$2;
1373
1545
  var ENCRYPTION_OFF$2 = 'ENCRYPTION_OFF';
@@ -2788,7 +2960,7 @@ var graphTypes = {};
2788
2960
 
2789
2961
  Object.defineProperty(graphTypes, "__esModule", { value: true });
2790
2962
  graphTypes.isPathSegment = graphTypes.PathSegment = graphTypes.isPath = graphTypes.Path = graphTypes.isUnboundRelationship = graphTypes.UnboundRelationship = graphTypes.isRelationship = graphTypes.Relationship = graphTypes.isNode = graphTypes.Node = void 0;
2791
- var json_1 = json$2;
2963
+ var json_1 = json$3;
2792
2964
  var IDENTIFIER_PROPERTY_ATTRIBUTES = {
2793
2965
  value: true,
2794
2966
  enumerable: false,
@@ -3049,6 +3221,7 @@ Object.defineProperty(UnboundRelationship.prototype, UNBOUND_RELATIONSHIP_IDENTI
3049
3221
  * Test if given object is an instance of {@link UnboundRelationship} class.
3050
3222
  * @param {Object} obj the object to test.
3051
3223
  * @return {boolean} `true` if given object is a {@link UnboundRelationship}, `false` otherwise.
3224
+ * @access private
3052
3225
  */
3053
3226
  function isUnboundRelationship(obj) {
3054
3227
  return hasIdentifierProperty(obj, UNBOUND_RELATIONSHIP_IDENTIFIER_PROPERTY);
@@ -3838,7 +4011,7 @@ var constants$1 = {};
3838
4011
  * limitations under the License.
3839
4012
  */
3840
4013
  Object.defineProperty(constants$1, "__esModule", { value: true });
3841
- constants$1.TELEMETRY_APIS = constants$1.BOLT_PROTOCOL_V5_6 = constants$1.BOLT_PROTOCOL_V5_5 = constants$1.BOLT_PROTOCOL_V5_4 = constants$1.BOLT_PROTOCOL_V5_3 = constants$1.BOLT_PROTOCOL_V5_2 = constants$1.BOLT_PROTOCOL_V5_1 = constants$1.BOLT_PROTOCOL_V5_0 = constants$1.BOLT_PROTOCOL_V4_4 = constants$1.BOLT_PROTOCOL_V4_3 = constants$1.BOLT_PROTOCOL_V4_2 = constants$1.BOLT_PROTOCOL_V4_1 = constants$1.BOLT_PROTOCOL_V4_0 = constants$1.BOLT_PROTOCOL_V3 = constants$1.BOLT_PROTOCOL_V2 = constants$1.BOLT_PROTOCOL_V1 = constants$1.DEFAULT_POOL_MAX_SIZE = constants$1.DEFAULT_POOL_ACQUISITION_TIMEOUT = constants$1.DEFAULT_CONNECTION_TIMEOUT_MILLIS = constants$1.ACCESS_MODE_WRITE = constants$1.ACCESS_MODE_READ = constants$1.FETCH_ALL = void 0;
4014
+ constants$1.TELEMETRY_APIS = constants$1.BOLT_PROTOCOL_V5_7 = constants$1.BOLT_PROTOCOL_V5_6 = constants$1.BOLT_PROTOCOL_V5_5 = constants$1.BOLT_PROTOCOL_V5_4 = constants$1.BOLT_PROTOCOL_V5_3 = constants$1.BOLT_PROTOCOL_V5_2 = constants$1.BOLT_PROTOCOL_V5_1 = constants$1.BOLT_PROTOCOL_V5_0 = constants$1.BOLT_PROTOCOL_V4_4 = constants$1.BOLT_PROTOCOL_V4_3 = constants$1.BOLT_PROTOCOL_V4_2 = constants$1.BOLT_PROTOCOL_V4_1 = constants$1.BOLT_PROTOCOL_V4_0 = constants$1.BOLT_PROTOCOL_V3 = constants$1.BOLT_PROTOCOL_V2 = constants$1.BOLT_PROTOCOL_V1 = constants$1.DEFAULT_POOL_MAX_SIZE = constants$1.DEFAULT_POOL_ACQUISITION_TIMEOUT = constants$1.DEFAULT_CONNECTION_TIMEOUT_MILLIS = constants$1.ACCESS_MODE_WRITE = constants$1.ACCESS_MODE_READ = constants$1.FETCH_ALL = void 0;
3842
4015
  var FETCH_ALL$7 = -1;
3843
4016
  constants$1.FETCH_ALL = FETCH_ALL$7;
3844
4017
  var DEFAULT_POOL_ACQUISITION_TIMEOUT = 60 * 1000; // 60 seconds
@@ -3881,6 +4054,8 @@ var BOLT_PROTOCOL_V5_5$1 = 5.5;
3881
4054
  constants$1.BOLT_PROTOCOL_V5_5 = BOLT_PROTOCOL_V5_5$1;
3882
4055
  var BOLT_PROTOCOL_V5_6$1 = 5.6;
3883
4056
  constants$1.BOLT_PROTOCOL_V5_6 = BOLT_PROTOCOL_V5_6$1;
4057
+ var BOLT_PROTOCOL_V5_7$1 = 5.7;
4058
+ constants$1.BOLT_PROTOCOL_V5_7 = BOLT_PROTOCOL_V5_7$1;
3884
4059
  var TELEMETRY_APIS$1 = {
3885
4060
  MANAGED_TRANSACTION: 0,
3886
4061
  UNMANAGED_TRANSACTION: 1,
@@ -3893,7 +4068,7 @@ var connectionHolder$1 = {};
3893
4068
 
3894
4069
  var logger$1 = {};
3895
4070
 
3896
- var __extends$P = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
4071
+ var __extends$Q = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
3897
4072
  var extendStatics = function (d, b) {
3898
4073
  extendStatics = Object.setPrototypeOf ||
3899
4074
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -4041,7 +4216,7 @@ var Logger$1 = /** @class */ (function () {
4041
4216
  }());
4042
4217
  logger$1.Logger = Logger$1;
4043
4218
  var NoOpLogger = /** @class */ (function (_super) {
4044
- __extends$P(NoOpLogger, _super);
4219
+ __extends$Q(NoOpLogger, _super);
4045
4220
  function NoOpLogger() {
4046
4221
  return _super.call(this, INFO, function (level, message) { }) || this;
4047
4222
  }
@@ -4122,7 +4297,7 @@ function extractConfiguredLogger(loggingConfig) {
4122
4297
  * limitations under the License.
4123
4298
  */
4124
4299
  /* eslint-disable @typescript-eslint/promise-function-async */
4125
- var __extends$O = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
4300
+ var __extends$P = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
4126
4301
  var extendStatics = function (d, b) {
4127
4302
  extendStatics = Object.setPrototypeOf ||
4128
4303
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -4340,7 +4515,7 @@ connectionHolder$1.ConnectionHolder = ConnectionHolder;
4340
4515
  * releasing or initilizing
4341
4516
  */
4342
4517
  var ReadOnlyConnectionHolder = /** @class */ (function (_super) {
4343
- __extends$O(ReadOnlyConnectionHolder, _super);
4518
+ __extends$P(ReadOnlyConnectionHolder, _super);
4344
4519
  /**
4345
4520
  * Constructor
4346
4521
  * @param {ConnectionHolder} connectionHolder the connection holder which will treat the requests
@@ -4395,7 +4570,7 @@ var ReadOnlyConnectionHolder = /** @class */ (function (_super) {
4395
4570
  connectionHolder$1.ReadOnlyConnectionHolder = ReadOnlyConnectionHolder;
4396
4571
  connectionHolder$1.default = ReadOnlyConnectionHolder;
4397
4572
  var EmptyConnectionHolder = /** @class */ (function (_super) {
4398
- __extends$O(EmptyConnectionHolder, _super);
4573
+ __extends$P(EmptyConnectionHolder, _super);
4399
4574
  function EmptyConnectionHolder() {
4400
4575
  return _super.call(this, {
4401
4576
  // Empty logger
@@ -4579,8 +4754,8 @@ function assertValidConfig(config) {
4579
4754
 
4580
4755
  var transactionExecutor$1 = {};
4581
4756
 
4582
- var __assign$r = (commonjsGlobal && commonjsGlobal.__assign) || function () {
4583
- __assign$r = Object.assign || function(t) {
4757
+ var __assign$t = (commonjsGlobal && commonjsGlobal.__assign) || function () {
4758
+ __assign$t = Object.assign || function(t) {
4584
4759
  for (var s, i = 1, n = arguments.length; i < n; i++) {
4585
4760
  s = arguments[i];
4586
4761
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -4588,7 +4763,7 @@ var __assign$r = (commonjsGlobal && commonjsGlobal.__assign) || function () {
4588
4763
  }
4589
4764
  return t;
4590
4765
  };
4591
- return __assign$r.apply(this, arguments);
4766
+ return __assign$t.apply(this, arguments);
4592
4767
  };
4593
4768
  var __awaiter$j = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
4594
4769
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -4756,7 +4931,7 @@ var TransactionExecutor = /** @class */ (function () {
4756
4931
  case 0:
4757
4932
  _b.trys.push([0, 4, , 5]);
4758
4933
  txPromise = transactionCreator((executionContext === null || executionContext === void 0 ? void 0 : executionContext.apiTransactionConfig) != null
4759
- ? __assign$r({}, executionContext === null || executionContext === void 0 ? void 0 : executionContext.apiTransactionConfig) : undefined);
4934
+ ? __assign$t({}, executionContext === null || executionContext === void 0 ? void 0 : executionContext.apiTransactionConfig) : undefined);
4760
4935
  if (!this.pipelineBegin) return [3 /*break*/, 1];
4761
4936
  _a = txPromise;
4762
4937
  return [3 /*break*/, 3];
@@ -4881,8 +5056,8 @@ var urlUtil$2 = {};
4881
5056
  * See the License for the specific language governing permissions and
4882
5057
  * limitations under the License.
4883
5058
  */
4884
- var __assign$q = (commonjsGlobal && commonjsGlobal.__assign) || function () {
4885
- __assign$q = Object.assign || function(t) {
5059
+ var __assign$s = (commonjsGlobal && commonjsGlobal.__assign) || function () {
5060
+ __assign$s = Object.assign || function(t) {
4886
5061
  for (var s, i = 1, n = arguments.length; i < n; i++) {
4887
5062
  s = arguments[i];
4888
5063
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -4890,7 +5065,7 @@ var __assign$q = (commonjsGlobal && commonjsGlobal.__assign) || function () {
4890
5065
  }
4891
5066
  return t;
4892
5067
  };
4893
- return __assign$q.apply(this, arguments);
5068
+ return __assign$s.apply(this, arguments);
4894
5069
  };
4895
5070
  var __read$t = (commonjsGlobal && commonjsGlobal.__read) || function (o, n) {
4896
5071
  var m = typeof Symbol === "function" && o[Symbol.iterator];
@@ -5152,7 +5327,7 @@ function uriJsParse(value) {
5152
5327
  // Parse authority and path
5153
5328
  if (value.startsWith('//')) {
5154
5329
  parts = partition(value.substr(2), '/');
5155
- parsed = __assign$q(__assign$q({}, parsed), parseAuthority(parts[0]));
5330
+ parsed = __assign$s(__assign$s({}, parsed), parseAuthority(parts[0]));
5156
5331
  parsed.path = parts[1] + parts[2];
5157
5332
  }
5158
5333
  else {
@@ -5326,7 +5501,7 @@ var ConfiguredCustomResolver = /** @class */ (function () {
5326
5501
  }());
5327
5502
  configuredCustomResolver.default = ConfiguredCustomResolver;
5328
5503
 
5329
- var __importDefault$X = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
5504
+ var __importDefault$Y = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
5330
5505
  return (mod && mod.__esModule) ? mod : { "default": mod };
5331
5506
  };
5332
5507
  Object.defineProperty(resolver$1, "__esModule", { value: true });
@@ -5347,9 +5522,9 @@ resolver$1.ConfiguredCustomResolver = resolver$1.BaseHostNameResolver = void 0;
5347
5522
  * See the License for the specific language governing permissions and
5348
5523
  * limitations under the License.
5349
5524
  */
5350
- var base_host_name_resolver_1 = __importDefault$X(baseHostNameResolver);
5525
+ var base_host_name_resolver_1 = __importDefault$Y(baseHostNameResolver);
5351
5526
  resolver$1.BaseHostNameResolver = base_host_name_resolver_1.default;
5352
- var configured_custom_resolver_1$1 = __importDefault$X(configuredCustomResolver);
5527
+ var configured_custom_resolver_1$1 = __importDefault$Y(configuredCustomResolver);
5353
5528
  resolver$1.ConfiguredCustomResolver = configured_custom_resolver_1$1.default;
5354
5529
 
5355
5530
  var browser$1 = {};
@@ -5547,11 +5722,11 @@ var __generator$k = (commonjsGlobal && commonjsGlobal.__generator) || function (
5547
5722
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
5548
5723
  }
5549
5724
  };
5550
- var __importDefault$W = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
5725
+ var __importDefault$X = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
5551
5726
  return (mod && mod.__esModule) ? mod : { "default": mod };
5552
5727
  };
5553
5728
  Object.defineProperty(pool$1, "__esModule", { value: true });
5554
- var pool_config_1 = __importDefault$W(poolConfig);
5729
+ var pool_config_1 = __importDefault$X(poolConfig);
5555
5730
  var error_1$5 = error;
5556
5731
  var logger_1$1 = logger$1;
5557
5732
  var Pool$1 = /** @class */ (function () {
@@ -6285,8 +6460,8 @@ internal.pool = pool;
6285
6460
 
6286
6461
  var notification = {};
6287
6462
 
6288
- var __assign$p = (commonjsGlobal && commonjsGlobal.__assign) || function () {
6289
- __assign$p = Object.assign || function(t) {
6463
+ var __assign$r = (commonjsGlobal && commonjsGlobal.__assign) || function () {
6464
+ __assign$r = Object.assign || function(t) {
6290
6465
  for (var s, i = 1, n = arguments.length; i < n; i++) {
6291
6466
  s = arguments[i];
6292
6467
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -6294,7 +6469,7 @@ var __assign$p = (commonjsGlobal && commonjsGlobal.__assign) || function () {
6294
6469
  }
6295
6470
  return t;
6296
6471
  };
6297
- return __assign$p.apply(this, arguments);
6472
+ return __assign$r.apply(this, arguments);
6298
6473
  };
6299
6474
  var __createBinding$6 = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6300
6475
  if (k2 === undefined) k2 = k;
@@ -6362,8 +6537,9 @@ notification.buildNotificationsFromMetadata = notification.buildGqlStatusObjectF
6362
6537
  * See the License for the specific language governing permissions and
6363
6538
  * limitations under the License.
6364
6539
  */
6365
- var json$1 = __importStar$6(json$2);
6540
+ var json$1 = __importStar$6(json$3);
6366
6541
  var internal_1$3 = internal;
6542
+ var gql_constants_1 = gqlConstants;
6367
6543
  var unknownGqlStatus = {
6368
6544
  WARNING: {
6369
6545
  gql_status: '01N42',
@@ -6379,7 +6555,7 @@ var unknownGqlStatus = {
6379
6555
  },
6380
6556
  ERROR: {
6381
6557
  gql_status: '50N42',
6382
- status_description: 'error: general processing exception - unknown error'
6558
+ status_description: 'error: general processing exception - unexpected error'
6383
6559
  }
6384
6560
  };
6385
6561
  /**
@@ -6716,7 +6892,7 @@ function polyfillGqlStatusObject(notification) {
6716
6892
  status_description: (_a = notification.description) !== null && _a !== void 0 ? _a : defaultStatus.status_description,
6717
6893
  neo4j_code: notification.code,
6718
6894
  title: notification.title,
6719
- diagnostic_record: __assign$p({}, rawPolyfilledDiagnosticRecord)
6895
+ diagnostic_record: __assign$r({}, gql_constants_1.rawPolyfilledDiagnosticRecord)
6720
6896
  };
6721
6897
  if (notification.severity != null) {
6722
6898
  polyfilledRawObj.diagnostic_record._severity = notification.severity;
@@ -6730,12 +6906,6 @@ function polyfillGqlStatusObject(notification) {
6730
6906
  return new GqlStatusObject(polyfilledRawObj);
6731
6907
  }
6732
6908
  notification.polyfillGqlStatusObject = polyfillGqlStatusObject;
6733
- var rawPolyfilledDiagnosticRecord = {
6734
- OPERATION: '',
6735
- OPERATION_CODE: '0',
6736
- CURRENT_SCHEMA: '/'
6737
- };
6738
- Object.freeze(rawPolyfilledDiagnosticRecord);
6739
6909
  /**
6740
6910
  * This objects are used for polyfilling the first status on the status list
6741
6911
  *
@@ -6745,18 +6915,18 @@ var staticGqlStatusObjects = {
6745
6915
  SUCCESS: new GqlStatusObject({
6746
6916
  gql_status: '00000',
6747
6917
  status_description: 'note: successful completion',
6748
- diagnostic_record: rawPolyfilledDiagnosticRecord
6918
+ diagnostic_record: gql_constants_1.rawPolyfilledDiagnosticRecord
6749
6919
  }),
6750
6920
  NO_DATA: new GqlStatusObject({
6751
6921
  gql_status: '02000',
6752
6922
  status_description: 'note: no data',
6753
- diagnostic_record: rawPolyfilledDiagnosticRecord
6923
+ diagnostic_record: gql_constants_1.rawPolyfilledDiagnosticRecord
6754
6924
  }),
6755
- NO_DATA_UNKNOWN_SUBCONDITION: new GqlStatusObject(__assign$p(__assign$p({}, unknownGqlStatus.NO_DATA), { diagnostic_record: rawPolyfilledDiagnosticRecord })),
6925
+ NO_DATA_UNKNOWN_SUBCONDITION: new GqlStatusObject(__assign$r(__assign$r({}, unknownGqlStatus.NO_DATA), { diagnostic_record: gql_constants_1.rawPolyfilledDiagnosticRecord })),
6756
6926
  OMITTED_RESULT: new GqlStatusObject({
6757
6927
  gql_status: '00001',
6758
6928
  status_description: 'note: successful completion - omitted result',
6759
- diagnostic_record: rawPolyfilledDiagnosticRecord
6929
+ diagnostic_record: gql_constants_1.rawPolyfilledDiagnosticRecord
6760
6930
  })
6761
6931
  };
6762
6932
  Object.freeze(staticGqlStatusObjects);
@@ -7424,13 +7594,13 @@ var __generator$j = (commonjsGlobal && commonjsGlobal.__generator) || function (
7424
7594
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
7425
7595
  }
7426
7596
  };
7427
- var __importDefault$V = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
7597
+ var __importDefault$W = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
7428
7598
  return (mod && mod.__esModule) ? mod : { "default": mod };
7429
7599
  };
7430
7600
  var _a$g;
7431
7601
  Object.defineProperty(result, "__esModule", { value: true });
7432
7602
  /* eslint-disable @typescript-eslint/promise-function-async */
7433
- var result_summary_1 = __importDefault$V(resultSummary);
7603
+ var result_summary_1 = __importDefault$W(resultSummary);
7434
7604
  var internal_1$1 = internal;
7435
7605
  var error_1$4 = error;
7436
7606
  var EMPTY_CONNECTION_HOLDER = internal_1$1.connectionHolder.EMPTY_CONNECTION_HOLDER;
@@ -8374,7 +8544,7 @@ var __generator$i = (commonjsGlobal && commonjsGlobal.__generator) || function (
8374
8544
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
8375
8545
  }
8376
8546
  };
8377
- var __importDefault$U = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
8547
+ var __importDefault$V = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
8378
8548
  return (mod && mod.__esModule) ? mod : { "default": mod };
8379
8549
  };
8380
8550
  Object.defineProperty(transaction, "__esModule", { value: true });
@@ -8385,7 +8555,7 @@ var bookmarks_1$2 = bookmarks$1;
8385
8555
  var tx_config_1$1 = txConfig$1;
8386
8556
  var observers_1$1 = observers;
8387
8557
  var error_1$3 = error;
8388
- var result_1$1 = __importDefault$U(result);
8558
+ var result_1$1 = __importDefault$V(result);
8389
8559
  /**
8390
8560
  * Represents a transaction in the Neo4j database.
8391
8561
  *
@@ -8933,7 +9103,7 @@ var transactionPromise = {};
8933
9103
  * See the License for the specific language governing permissions and
8934
9104
  * limitations under the License.
8935
9105
  */
8936
- var __extends$N = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
9106
+ var __extends$O = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
8937
9107
  var extendStatics = function (d, b) {
8938
9108
  extendStatics = Object.setPrototypeOf ||
8939
9109
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -8948,8 +9118,8 @@ var __extends$N = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
8948
9118
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8949
9119
  };
8950
9120
  })();
8951
- var __assign$o = (commonjsGlobal && commonjsGlobal.__assign) || function () {
8952
- __assign$o = Object.assign || function(t) {
9121
+ var __assign$q = (commonjsGlobal && commonjsGlobal.__assign) || function () {
9122
+ __assign$q = Object.assign || function(t) {
8953
9123
  for (var s, i = 1, n = arguments.length; i < n; i++) {
8954
9124
  s = arguments[i];
8955
9125
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -8957,17 +9127,17 @@ var __assign$o = (commonjsGlobal && commonjsGlobal.__assign) || function () {
8957
9127
  }
8958
9128
  return t;
8959
9129
  };
8960
- return __assign$o.apply(this, arguments);
9130
+ return __assign$q.apply(this, arguments);
8961
9131
  };
8962
- var __importDefault$T = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
9132
+ var __importDefault$U = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
8963
9133
  return (mod && mod.__esModule) ? mod : { "default": mod };
8964
9134
  };
8965
9135
  var _a$f;
8966
9136
  Object.defineProperty(transactionPromise, "__esModule", { value: true });
8967
9137
  /* eslint-disable @typescript-eslint/promise-function-async */
8968
- var transaction_1 = __importDefault$T(transaction);
9138
+ var transaction_1 = __importDefault$U(transaction);
8969
9139
  /**
8970
- * Represents a {@link Promise<Transaction>} object and a {@link Transaction} object.
9140
+ * Represents a Promise<{@link Transaction}> object and a {@link Transaction} object.
8971
9141
  *
8972
9142
  * Resolving this object promise verifies the result of the transaction begin and returns the {@link Transaction} object in case of success.
8973
9143
  *
@@ -8977,7 +9147,7 @@ var transaction_1 = __importDefault$T(transaction);
8977
9147
  * @access public
8978
9148
  */
8979
9149
  var TransactionPromise = /** @class */ (function (_super) {
8980
- __extends$N(TransactionPromise, _super);
9150
+ __extends$O(TransactionPromise, _super);
8981
9151
  /**
8982
9152
  * @constructor
8983
9153
  * @param {object} args
@@ -9058,7 +9228,7 @@ var TransactionPromise = /** @class */ (function (_super) {
9058
9228
  * @access private
9059
9229
  */
9060
9230
  TransactionPromise.prototype._toTransaction = function () {
9061
- return __assign$o(__assign$o({}, this), { run: _super.prototype.run.bind(this), commit: _super.prototype.commit.bind(this), rollback: _super.prototype.rollback.bind(this), close: _super.prototype.close.bind(this), isOpen: _super.prototype.isOpen.bind(this), _begin: this._begin.bind(this) });
9231
+ return __assign$q(__assign$q({}, this), { run: _super.prototype.run.bind(this), commit: _super.prototype.commit.bind(this), rollback: _super.prototype.rollback.bind(this), close: _super.prototype.close.bind(this), isOpen: _super.prototype.isOpen.bind(this), _begin: this._begin.bind(this) });
9062
9232
  };
9063
9233
  /**
9064
9234
  * @access private
@@ -9173,7 +9343,7 @@ var __spreadArray$l = (commonjsGlobal && commonjsGlobal.__spreadArray) || functi
9173
9343
  }
9174
9344
  return to.concat(ar || Array.prototype.slice.call(from));
9175
9345
  };
9176
- var __importDefault$S = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
9346
+ var __importDefault$T = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
9177
9347
  return (mod && mod.__esModule) ? mod : { "default": mod };
9178
9348
  };
9179
9349
  Object.defineProperty(session, "__esModule", { value: true });
@@ -9182,13 +9352,13 @@ var observers_1 = observers;
9182
9352
  var util_1$1 = util$4;
9183
9353
  var constants_1$2 = constants$1;
9184
9354
  var error_1$2 = error;
9185
- var result_1 = __importDefault$S(result);
9355
+ var result_1 = __importDefault$T(result);
9186
9356
  var connection_holder_1 = connectionHolder$1;
9187
9357
  var transaction_executor_1 = transactionExecutor$1;
9188
9358
  var bookmarks_1$1 = bookmarks$1;
9189
9359
  var tx_config_1 = txConfig$1;
9190
- var transaction_promise_1 = __importDefault$S(transactionPromise);
9191
- var transaction_managed_1 = __importDefault$S(transactionManaged);
9360
+ var transaction_promise_1 = __importDefault$T(transactionPromise);
9361
+ var transaction_managed_1 = __importDefault$T(transactionManaged);
9192
9362
  /**
9193
9363
  * A Session instance is used for handling the connection and
9194
9364
  * sending queries through the connection.
@@ -9429,7 +9599,7 @@ var Session = /** @class */ (function () {
9429
9599
  /**
9430
9600
  * Return the bookmarks received following the last completed {@link Transaction}.
9431
9601
  *
9432
- * @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.
9433
9603
  *
9434
9604
  * @return {string[]} A reference to a previous transaction.
9435
9605
  * @see {@link Session#lastBookmarks}
@@ -9470,7 +9640,7 @@ var Session = /** @class */ (function () {
9470
9640
  * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
9471
9641
  * `maxTransactionRetryTime` property in milliseconds.
9472
9642
  *
9473
- * @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.
9474
9644
  *
9475
9645
  * @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against
9476
9646
  * a given {@link Transaction}.
@@ -9491,7 +9661,7 @@ var Session = /** @class */ (function () {
9491
9661
  * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
9492
9662
  * `maxTransactionRetryTime` property in milliseconds.
9493
9663
  *
9494
- * @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.
9495
9665
  *
9496
9666
  * @param {function(tx: Transaction): Promise} transactionWork - Callback that executes operations against
9497
9667
  * a given {@link Transaction}.
@@ -9516,6 +9686,10 @@ var Session = /** @class */ (function () {
9516
9686
  * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
9517
9687
  * `maxTransactionRetryTime` property in milliseconds.
9518
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
+ *
9519
9693
  * @param {function(tx: ManagedTransaction): Promise} transactionWork - Callback that executes operations against
9520
9694
  * a given {@link Transaction}.
9521
9695
  * @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work.
@@ -9534,6 +9708,10 @@ var Session = /** @class */ (function () {
9534
9708
  * delay of 1 second and maximum retry time of 30 seconds. Maximum retry time is configurable via driver config's
9535
9709
  * `maxTransactionRetryTime` property in milliseconds.
9536
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
+ *
9537
9715
  * @param {function(tx: ManagedTransaction): Promise} transactionWork - Callback that executes operations against
9538
9716
  * a given {@link Transaction}.
9539
9717
  * @param {TransactionConfig} [transactionConfig] - Configuration for all transactions started to execute the unit of work.
@@ -10000,11 +10178,11 @@ var __generator$f = (commonjsGlobal && commonjsGlobal.__generator) || function (
10000
10178
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
10001
10179
  }
10002
10180
  };
10003
- var __importDefault$R = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
10181
+ var __importDefault$S = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
10004
10182
  return (mod && mod.__esModule) ? mod : { "default": mod };
10005
10183
  };
10006
10184
  Object.defineProperty(resultTransformers$1, "__esModule", { value: true });
10007
- var result_eager_1 = __importDefault$R(resultEager);
10185
+ var result_eager_1 = __importDefault$S(resultEager);
10008
10186
  var error_1$1 = error;
10009
10187
  /**
10010
10188
  * Protocol for transforming {@link Result}.
@@ -10513,20 +10691,20 @@ var __generator$d = (commonjsGlobal && commonjsGlobal.__generator) || function (
10513
10691
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
10514
10692
  }
10515
10693
  };
10516
- var __importDefault$Q = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
10694
+ var __importDefault$R = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
10517
10695
  return (mod && mod.__esModule) ? mod : { "default": mod };
10518
10696
  };
10519
10697
  Object.defineProperty(driver, "__esModule", { value: true });
10520
10698
  driver.QueryConfig = driver.SessionConfig = driver.routing = driver.WRITE = driver.READ = driver.Driver = void 0;
10521
10699
  var bookmarks_1 = bookmarks$1;
10522
- var configured_custom_resolver_1 = __importDefault$Q(configuredCustomResolver);
10700
+ var configured_custom_resolver_1 = __importDefault$R(configuredCustomResolver);
10523
10701
  var constants_1 = constants$1;
10524
10702
  var logger_1 = logger$1;
10525
- var session_1 = __importDefault$Q(session);
10703
+ var session_1 = __importDefault$R(session);
10526
10704
  var util_1 = util$4;
10527
10705
  var bookmark_manager_1 = bookmarkManager$1;
10528
- var result_transformers_1 = __importDefault$Q(resultTransformers$1);
10529
- var query_executor_1 = __importDefault$Q(queryExecutor);
10706
+ var result_transformers_1 = __importDefault$R(resultTransformers$1);
10707
+ var query_executor_1 = __importDefault$R(queryExecutor);
10530
10708
  var error_1 = error;
10531
10709
  var DEFAULT_MAX_CONNECTION_LIFETIME = 60 * 60 * 1000; // 1 hour
10532
10710
  /**
@@ -11511,12 +11689,12 @@ var __generator$c = (commonjsGlobal && commonjsGlobal.__generator) || function (
11511
11689
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
11512
11690
  }
11513
11691
  };
11514
- var __importDefault$P = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
11692
+ var __importDefault$Q = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
11515
11693
  return (mod && mod.__esModule) ? mod : { "default": mod };
11516
11694
  };
11517
11695
  Object.defineProperty(authTokenManager, "__esModule", { value: true });
11518
11696
  authTokenManager.staticAuthTokenManager = authTokenManager.authTokenManagers = authTokenManager.AuthTokenAndExpiration = void 0;
11519
- var auth_1 = __importDefault$P(auth$1);
11697
+ var auth_1 = __importDefault$Q(auth$1);
11520
11698
  var internal_1 = internal;
11521
11699
  /**
11522
11700
  * Interface for the piece of software responsible for keeping track of current active {@link AuthToken} across the driver.
@@ -11780,7 +11958,7 @@ var types$1 = {};
11780
11958
  * See the License for the specific language governing permissions and
11781
11959
  * limitations under the License.
11782
11960
  */
11783
- var __extends$M = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
11961
+ var __extends$N = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
11784
11962
  var extendStatics = function (d, b) {
11785
11963
  extendStatics = Object.setPrototypeOf ||
11786
11964
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12005,7 +12183,7 @@ var Config = /** @class */ (function () {
12005
12183
  */
12006
12184
  this.resolver = undefined;
12007
12185
  /**
12008
- * Configure filter for Notification objects returned in {@Link ResultSummary#notifications}.
12186
+ * Configure filter for Notification objects returned in {@link ResultSummary#notifications}.
12009
12187
  *
12010
12188
  * See {@link SessionConfig#notificationFilter} for usage instructions.
12011
12189
  *
@@ -12054,8 +12232,7 @@ var Config = /** @class */ (function () {
12054
12232
  * where the {@link ClientCertificate} might change over time.
12055
12233
  *
12056
12234
  * @type {ClientCertificate|ClientCertificateProvider|undefined}
12057
- * @experimental Exposed as preview feature.
12058
- * @since 5.19
12235
+ * @since 5.27
12059
12236
  */
12060
12237
  this.clientCertificate = undefined;
12061
12238
  }
@@ -12063,7 +12240,7 @@ var Config = /** @class */ (function () {
12063
12240
  }());
12064
12241
  types$1.Config = Config;
12065
12242
  var InternalConfig = /** @class */ (function (_super) {
12066
- __extends$M(InternalConfig, _super);
12243
+ __extends$N(InternalConfig, _super);
12067
12244
  function InternalConfig() {
12068
12245
  return _super !== null && _super.apply(this, arguments) || this;
12069
12246
  }
@@ -12089,7 +12266,7 @@ var clientCertificate = {};
12089
12266
  * See the License for the specific language governing permissions and
12090
12267
  * limitations under the License.
12091
12268
  */
12092
- var __extends$L = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
12269
+ var __extends$M = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
12093
12270
  var extendStatics = function (d, b) {
12094
12271
  extendStatics = Object.setPrototypeOf ||
12095
12272
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12104,8 +12281,8 @@ var __extends$L = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
12104
12281
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12105
12282
  };
12106
12283
  })();
12107
- var __assign$n = (commonjsGlobal && commonjsGlobal.__assign) || function () {
12108
- __assign$n = Object.assign || function(t) {
12284
+ var __assign$p = (commonjsGlobal && commonjsGlobal.__assign) || function () {
12285
+ __assign$p = Object.assign || function(t) {
12109
12286
  for (var s, i = 1, n = arguments.length; i < n; i++) {
12110
12287
  s = arguments[i];
12111
12288
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -12113,7 +12290,7 @@ var __assign$n = (commonjsGlobal && commonjsGlobal.__assign) || function () {
12113
12290
  }
12114
12291
  return t;
12115
12292
  };
12116
- return __assign$n.apply(this, arguments);
12293
+ return __assign$p.apply(this, arguments);
12117
12294
  };
12118
12295
  var __createBinding$5 = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
12119
12296
  if (k2 === undefined) k2 = k;
@@ -12140,7 +12317,7 @@ var __importStar$5 = (commonjsGlobal && commonjsGlobal.__importStar) || function
12140
12317
  };
12141
12318
  Object.defineProperty(clientCertificate, "__esModule", { value: true });
12142
12319
  clientCertificate.resolveCertificateProvider = clientCertificate.clientCertificateProviders = clientCertificate.RotatingClientCertificateProvider = clientCertificate.ClientCertificateProvider = void 0;
12143
- var json = __importStar$5(json$2);
12320
+ var json = __importStar$5(json$3);
12144
12321
  /**
12145
12322
  * Represents KeyFile represented as file.
12146
12323
  *
@@ -12161,8 +12338,7 @@ var json = __importStar$5(json$2);
12161
12338
  *
12162
12339
  * @interface
12163
12340
  * @see https://nodejs.org/api/tls.html#tlscreatesecurecontextoptions
12164
- * @experimental Exposed as preview feature.
12165
- * @since 5.19
12341
+ * @since 5.27
12166
12342
  */
12167
12343
  var ClientCertificate = /** @class */ (function () {
12168
12344
  function ClientCertificate() {
@@ -12191,8 +12367,8 @@ clientCertificate.default = ClientCertificate;
12191
12367
  /**
12192
12368
  * Provides a client certificate to the driver for mutual TLS.
12193
12369
  *
12194
- * The driver will call {@link ClientCertificateProvider#hasUpdate()} to check if the client wants to update the certificate.
12195
- * If so, it will call {@link ClientCertificateProvider#getCertificate()} to get the new certificate.
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.
12196
12372
  *
12197
12373
  * The certificate is only used as a second factor for authentication authenticating the client.
12198
12374
  * The DMBS user still needs to authenticate with an authentication token.
@@ -12204,8 +12380,7 @@ clientCertificate.default = ClientCertificate;
12204
12380
  * Should fetching the certificate be particularly slow, it might be necessary to increase the timeout.
12205
12381
  *
12206
12382
  * @interface
12207
- * @experimental Exposed as preview feature.
12208
- * @since 5.19
12383
+ * @since 5.27
12209
12384
  */
12210
12385
  var ClientCertificateProvider = /** @class */ (function () {
12211
12386
  function ClientCertificateProvider() {
@@ -12221,7 +12396,7 @@ var ClientCertificateProvider = /** @class */ (function () {
12221
12396
  /**
12222
12397
  * Returns the certificate to use for new connections.
12223
12398
  *
12224
- * Will be called by the driver after {@link ClientCertificateProvider#hasUpdate()} returned true
12399
+ * Will be called by the driver after {@link ClientCertificateProvider#hasUpdate} returned true
12225
12400
  * or when the driver establishes the first connection.
12226
12401
  *
12227
12402
  * @returns {Promise<ClientCertificate>|ClientCertificate} the certificate to use for new connections
@@ -12235,11 +12410,10 @@ clientCertificate.ClientCertificateProvider = ClientCertificateProvider;
12235
12410
  /**
12236
12411
  * Interface for {@link ClientCertificateProvider} which provides update certificate function.
12237
12412
  * @interface
12238
- * @experimental Exposed as preview feature.
12239
- * @since 5.19
12413
+ * @since 5.27
12240
12414
  */
12241
12415
  var RotatingClientCertificateProvider = /** @class */ (function (_super) {
12242
- __extends$L(RotatingClientCertificateProvider, _super);
12416
+ __extends$M(RotatingClientCertificateProvider, _super);
12243
12417
  function RotatingClientCertificateProvider() {
12244
12418
  return _super !== null && _super.apply(this, arguments) || this;
12245
12419
  }
@@ -12260,8 +12434,7 @@ clientCertificate.RotatingClientCertificateProvider = RotatingClientCertificateP
12260
12434
  /**
12261
12435
  * Defines the object which holds the common {@link ClientCertificateProviders} used in the Driver
12262
12436
  *
12263
- * @experimental Exposed as preview feature.
12264
- * @since 5.19
12437
+ * @since 5.27
12265
12438
  */
12266
12439
  var ClientCertificateProviders = /** @class */ (function () {
12267
12440
  function ClientCertificateProviders() {
@@ -12279,7 +12452,7 @@ var ClientCertificateProviders = /** @class */ (function () {
12279
12452
  if (initialCertificate == null || !isClientClientCertificate(initialCertificate)) {
12280
12453
  throw new TypeError("initialCertificate should be ClientCertificate, but got ".concat(json.stringify(initialCertificate)));
12281
12454
  }
12282
- var certificate = __assign$n({}, initialCertificate);
12455
+ var certificate = __assign$p({}, initialCertificate);
12283
12456
  return new InternalRotatingClientCertificateProvider(certificate);
12284
12457
  };
12285
12458
  return ClientCertificateProviders;
@@ -12287,8 +12460,7 @@ var ClientCertificateProviders = /** @class */ (function () {
12287
12460
  /**
12288
12461
  * Holds the common {@link ClientCertificateProviders} used in the Driver.
12289
12462
  *
12290
- * @experimental Exposed as preview feature.
12291
- * @since 5.19
12463
+ * @since 5.27
12292
12464
  */
12293
12465
  var clientCertificateProviders = new ClientCertificateProviders();
12294
12466
  clientCertificate.clientCertificateProviders = clientCertificateProviders;
@@ -12312,7 +12484,7 @@ function resolveCertificateProvider(input) {
12312
12484
  return input;
12313
12485
  }
12314
12486
  if (isClientClientCertificate(input)) {
12315
- var certificate_1 = __assign$n({}, input);
12487
+ var certificate_1 = __assign$p({}, input);
12316
12488
  return {
12317
12489
  getClientCertificate: function () { return certificate_1; },
12318
12490
  hasUpdate: function () { return false; }
@@ -12434,7 +12606,7 @@ var InternalRotatingClientCertificateProvider = /** @class */ (function () {
12434
12606
  if (!isClientClientCertificate(certificate)) {
12435
12607
  throw new TypeError("certificate should be ClientCertificate, but got ".concat(json.stringify(certificate)));
12436
12608
  }
12437
- this._certificate = __assign$n({}, certificate);
12609
+ this._certificate = __assign$p({}, certificate);
12438
12610
  this._updated = true;
12439
12611
  };
12440
12612
  return InternalRotatingClientCertificateProvider;
@@ -12484,11 +12656,13 @@ var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || func
12484
12656
  return (mod && mod.__esModule) ? mod : { "default": mod };
12485
12657
  };
12486
12658
  Object.defineProperty(exports, "__esModule", { value: true });
12487
- exports.Releasable = exports.ConnectionProvider = exports.EagerResult = exports.Result = exports.Stats = exports.QueryStatistics = exports.ProfiledPlan = exports.Plan = exports.GqlStatusObject = exports.Notification = exports.ServerInfo = exports.queryType = exports.ResultSummary = exports.Record = exports.isPathSegment = exports.PathSegment = exports.isPath = exports.Path = exports.isUnboundRelationship = exports.UnboundRelationship = exports.isRelationship = exports.Relationship = exports.isNode = exports.Node = exports.Time = exports.LocalTime = exports.LocalDateTime = exports.isTime = exports.isLocalTime = exports.isLocalDateTime = exports.isDuration = exports.isDateTime = exports.isDate = exports.Duration = exports.DateTime = exports.Date = exports.Point = exports.isPoint = exports.internal = exports.toString = exports.toNumber = exports.inSafeRange = exports.isInt = exports.int = exports.Integer = exports.error = exports.isRetriableError = exports.Neo4jError = exports.newError = exports.authTokenManagers = void 0;
12488
- exports.resolveCertificateProvider = exports.clientCertificateProviders = exports.notificationFilterMinimumSeverityLevel = exports.notificationFilterDisabledClassification = exports.notificationFilterDisabledCategory = exports.notificationSeverityLevel = exports.notificationClassification = exports.notificationCategory = exports.resultTransformers = exports.routing = exports.staticAuthTokenManager = exports.bookmarkManager = exports.auth = exports.json = exports.driver = exports.types = exports.Driver = exports.Session = exports.TransactionPromise = exports.ManagedTransaction = exports.Transaction = exports.Connection = void 0;
12659
+ exports.EagerResult = exports.Result = exports.Stats = exports.QueryStatistics = exports.ProfiledPlan = exports.Plan = exports.GqlStatusObject = exports.Notification = exports.ServerInfo = exports.queryType = exports.ResultSummary = exports.Record = exports.isPathSegment = exports.PathSegment = exports.isPath = exports.Path = exports.isUnboundRelationship = exports.UnboundRelationship = exports.isRelationship = exports.Relationship = exports.isNode = exports.Node = exports.Time = exports.LocalTime = exports.LocalDateTime = exports.isTime = exports.isLocalTime = exports.isLocalDateTime = exports.isDuration = exports.isDateTime = exports.isDate = exports.Duration = exports.DateTime = exports.Date = exports.Point = exports.isPoint = exports.internal = exports.toString = exports.toNumber = exports.inSafeRange = exports.isInt = exports.int = exports.Integer = exports.error = exports.isRetriableError = exports.GQLError = exports.newGQLError = exports.Neo4jError = exports.newError = exports.authTokenManagers = void 0;
12660
+ exports.resolveCertificateProvider = exports.clientCertificateProviders = exports.notificationFilterMinimumSeverityLevel = exports.notificationFilterDisabledClassification = exports.notificationFilterDisabledCategory = exports.notificationSeverityLevel = exports.notificationClassification = exports.notificationCategory = exports.resultTransformers = exports.routing = exports.staticAuthTokenManager = exports.bookmarkManager = exports.auth = exports.json = exports.driver = exports.types = exports.Driver = exports.Session = exports.TransactionPromise = exports.ManagedTransaction = exports.Transaction = exports.Connection = exports.Releasable = exports.ConnectionProvider = void 0;
12489
12661
  var error_1 = error;
12490
12662
  Object.defineProperty(exports, "newError", { enumerable: true, get: function () { return error_1.newError; } });
12491
12663
  Object.defineProperty(exports, "Neo4jError", { enumerable: true, get: function () { return error_1.Neo4jError; } });
12664
+ Object.defineProperty(exports, "newGQLError", { enumerable: true, get: function () { return error_1.newGQLError; } });
12665
+ Object.defineProperty(exports, "GQLError", { enumerable: true, get: function () { return error_1.GQLError; } });
12492
12666
  Object.defineProperty(exports, "isRetriableError", { enumerable: true, get: function () { return error_1.isRetriableError; } });
12493
12667
  var integer_1 = __importStar(integer);
12494
12668
  exports.Integer = integer_1.default;
@@ -12575,7 +12749,7 @@ var driver_2 = driver;
12575
12749
  Object.defineProperty(exports, "routing", { enumerable: true, get: function () { return driver_2.routing; } });
12576
12750
  var types = __importStar(types$1);
12577
12751
  exports.types = types;
12578
- var json = __importStar(json$2);
12752
+ var json = __importStar(json$3);
12579
12753
  exports.json = json;
12580
12754
  var result_transformers_1 = __importDefault(resultTransformers$1);
12581
12755
  exports.resultTransformers = result_transformers_1.default;
@@ -12600,6 +12774,8 @@ var forExport = {
12600
12774
  authTokenManagers: auth_token_manager_1.authTokenManagers,
12601
12775
  newError: error_1.newError,
12602
12776
  Neo4jError: error_1.Neo4jError,
12777
+ newGQLError: error_1.newGQLError,
12778
+ GQLError: error_1.GQLError,
12603
12779
  isRetriableError: error_1.isRetriableError,
12604
12780
  error: error$1,
12605
12781
  Integer: integer_1.default,
@@ -13432,7 +13608,7 @@ lift.operate = operate;
13432
13608
 
13433
13609
  var OperatorSubscriber$1 = {};
13434
13610
 
13435
- var __extends$K = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
13611
+ var __extends$L = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
13436
13612
  var extendStatics = function (d, b) {
13437
13613
  extendStatics = Object.setPrototypeOf ||
13438
13614
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13455,7 +13631,7 @@ function createOperatorSubscriber(destination, onNext, onComplete, onError, onFi
13455
13631
  }
13456
13632
  OperatorSubscriber$1.createOperatorSubscriber = createOperatorSubscriber;
13457
13633
  var OperatorSubscriber = (function (_super) {
13458
- __extends$K(OperatorSubscriber, _super);
13634
+ __extends$L(OperatorSubscriber, _super);
13459
13635
  function OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {
13460
13636
  var _this = _super.call(this, destination) || this;
13461
13637
  _this.onFinalize = onFinalize;
@@ -13539,7 +13715,7 @@ function refCount() {
13539
13715
  }
13540
13716
  refCount$1.refCount = refCount;
13541
13717
 
13542
- var __extends$J = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
13718
+ var __extends$K = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
13543
13719
  var extendStatics = function (d, b) {
13544
13720
  extendStatics = Object.setPrototypeOf ||
13545
13721
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13562,7 +13738,7 @@ var refCount_1 = refCount$1;
13562
13738
  var OperatorSubscriber_1$U = OperatorSubscriber$1;
13563
13739
  var lift_1$13 = lift;
13564
13740
  var ConnectableObservable = (function (_super) {
13565
- __extends$J(ConnectableObservable, _super);
13741
+ __extends$K(ConnectableObservable, _super);
13566
13742
  function ConnectableObservable(source, subjectFactory) {
13567
13743
  var _this = _super.call(this) || this;
13568
13744
  _this.source = source;
@@ -13749,7 +13925,7 @@ ObjectUnsubscribedError.ObjectUnsubscribedError = createErrorClass_1$4.createErr
13749
13925
  };
13750
13926
  });
13751
13927
 
13752
- var __extends$I = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
13928
+ var __extends$J = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
13753
13929
  var extendStatics = function (d, b) {
13754
13930
  extendStatics = Object.setPrototypeOf ||
13755
13931
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13783,7 +13959,7 @@ var ObjectUnsubscribedError_1 = ObjectUnsubscribedError;
13783
13959
  var arrRemove_1$6 = arrRemove$1;
13784
13960
  var errorContext_1 = errorContext$1;
13785
13961
  var Subject = (function (_super) {
13786
- __extends$I(Subject, _super);
13962
+ __extends$J(Subject, _super);
13787
13963
  function Subject() {
13788
13964
  var _this = _super.call(this) || this;
13789
13965
  _this.closed = false;
@@ -13911,7 +14087,7 @@ var Subject = (function (_super) {
13911
14087
  }(Observable_1$l.Observable));
13912
14088
  Subject$1.Subject = Subject;
13913
14089
  var AnonymousSubject = (function (_super) {
13914
- __extends$I(AnonymousSubject, _super);
14090
+ __extends$J(AnonymousSubject, _super);
13915
14091
  function AnonymousSubject(destination, source) {
13916
14092
  var _this = _super.call(this) || this;
13917
14093
  _this.destination = destination;
@@ -13940,7 +14116,7 @@ Subject$1.AnonymousSubject = AnonymousSubject;
13940
14116
 
13941
14117
  var BehaviorSubject$1 = {};
13942
14118
 
13943
- var __extends$H = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14119
+ var __extends$I = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
13944
14120
  var extendStatics = function (d, b) {
13945
14121
  extendStatics = Object.setPrototypeOf ||
13946
14122
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13959,7 +14135,7 @@ Object.defineProperty(BehaviorSubject$1, "__esModule", { value: true });
13959
14135
  BehaviorSubject$1.BehaviorSubject = void 0;
13960
14136
  var Subject_1$e = Subject$1;
13961
14137
  var BehaviorSubject = (function (_super) {
13962
- __extends$H(BehaviorSubject, _super);
14138
+ __extends$I(BehaviorSubject, _super);
13963
14139
  function BehaviorSubject(_value) {
13964
14140
  var _this = _super.call(this) || this;
13965
14141
  _this._value = _value;
@@ -14008,7 +14184,7 @@ exports.dateTimestampProvider = {
14008
14184
 
14009
14185
  }(dateTimestampProvider));
14010
14186
 
14011
- var __extends$G = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14187
+ var __extends$H = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14012
14188
  var extendStatics = function (d, b) {
14013
14189
  extendStatics = Object.setPrototypeOf ||
14014
14190
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14028,7 +14204,7 @@ ReplaySubject$1.ReplaySubject = void 0;
14028
14204
  var Subject_1$d = Subject$1;
14029
14205
  var dateTimestampProvider_1$2 = dateTimestampProvider;
14030
14206
  var ReplaySubject = (function (_super) {
14031
- __extends$G(ReplaySubject, _super);
14207
+ __extends$H(ReplaySubject, _super);
14032
14208
  function ReplaySubject(_bufferSize, _windowTime, _timestampProvider) {
14033
14209
  if (_bufferSize === void 0) { _bufferSize = Infinity; }
14034
14210
  if (_windowTime === void 0) { _windowTime = Infinity; }
@@ -14084,7 +14260,7 @@ ReplaySubject$1.ReplaySubject = ReplaySubject;
14084
14260
 
14085
14261
  var AsyncSubject$1 = {};
14086
14262
 
14087
- var __extends$F = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14263
+ var __extends$G = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14088
14264
  var extendStatics = function (d, b) {
14089
14265
  extendStatics = Object.setPrototypeOf ||
14090
14266
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14103,7 +14279,7 @@ Object.defineProperty(AsyncSubject$1, "__esModule", { value: true });
14103
14279
  AsyncSubject$1.AsyncSubject = void 0;
14104
14280
  var Subject_1$c = Subject$1;
14105
14281
  var AsyncSubject = (function (_super) {
14106
- __extends$F(AsyncSubject, _super);
14282
+ __extends$G(AsyncSubject, _super);
14107
14283
  function AsyncSubject() {
14108
14284
  var _this = _super !== null && _super.apply(this, arguments) || this;
14109
14285
  _this._value = null;
@@ -14147,7 +14323,7 @@ var AsyncAction$1 = {};
14147
14323
 
14148
14324
  var Action$1 = {};
14149
14325
 
14150
- var __extends$E = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14326
+ var __extends$F = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14151
14327
  var extendStatics = function (d, b) {
14152
14328
  extendStatics = Object.setPrototypeOf ||
14153
14329
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14166,7 +14342,7 @@ Object.defineProperty(Action$1, "__esModule", { value: true });
14166
14342
  Action$1.Action = void 0;
14167
14343
  var Subscription_1$5 = Subscription$1;
14168
14344
  var Action = (function (_super) {
14169
- __extends$E(Action, _super);
14345
+ __extends$F(Action, _super);
14170
14346
  function Action(scheduler, work) {
14171
14347
  return _super.call(this) || this;
14172
14348
  }
@@ -14224,7 +14400,7 @@ exports.intervalProvider = {
14224
14400
 
14225
14401
  }(intervalProvider));
14226
14402
 
14227
- var __extends$D = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14403
+ var __extends$E = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14228
14404
  var extendStatics = function (d, b) {
14229
14405
  extendStatics = Object.setPrototypeOf ||
14230
14406
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14245,7 +14421,7 @@ var Action_1 = Action$1;
14245
14421
  var intervalProvider_1 = intervalProvider;
14246
14422
  var arrRemove_1$5 = arrRemove$1;
14247
14423
  var AsyncAction = (function (_super) {
14248
- __extends$D(AsyncAction, _super);
14424
+ __extends$E(AsyncAction, _super);
14249
14425
  function AsyncAction(scheduler, work) {
14250
14426
  var _this = _super.call(this, scheduler, work) || this;
14251
14427
  _this.scheduler = scheduler;
@@ -14410,7 +14586,7 @@ exports.immediateProvider = {
14410
14586
 
14411
14587
  }(immediateProvider));
14412
14588
 
14413
- var __extends$C = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14589
+ var __extends$D = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14414
14590
  var extendStatics = function (d, b) {
14415
14591
  extendStatics = Object.setPrototypeOf ||
14416
14592
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14430,7 +14606,7 @@ AsapAction$1.AsapAction = void 0;
14430
14606
  var AsyncAction_1$3 = AsyncAction$1;
14431
14607
  var immediateProvider_1 = immediateProvider;
14432
14608
  var AsapAction = (function (_super) {
14433
- __extends$C(AsapAction, _super);
14609
+ __extends$D(AsapAction, _super);
14434
14610
  function AsapAction(scheduler, work) {
14435
14611
  var _this = _super.call(this, scheduler, work) || this;
14436
14612
  _this.scheduler = scheduler;
@@ -14488,7 +14664,7 @@ var Scheduler = (function () {
14488
14664
  }());
14489
14665
  Scheduler$1.Scheduler = Scheduler;
14490
14666
 
14491
- var __extends$B = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14667
+ var __extends$C = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14492
14668
  var extendStatics = function (d, b) {
14493
14669
  extendStatics = Object.setPrototypeOf ||
14494
14670
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14507,7 +14683,7 @@ Object.defineProperty(AsyncScheduler$1, "__esModule", { value: true });
14507
14683
  AsyncScheduler$1.AsyncScheduler = void 0;
14508
14684
  var Scheduler_1 = Scheduler$1;
14509
14685
  var AsyncScheduler = (function (_super) {
14510
- __extends$B(AsyncScheduler, _super);
14686
+ __extends$C(AsyncScheduler, _super);
14511
14687
  function AsyncScheduler(SchedulerAction, now) {
14512
14688
  if (now === void 0) { now = Scheduler_1.Scheduler.now; }
14513
14689
  var _this = _super.call(this, SchedulerAction, now) || this;
@@ -14540,7 +14716,7 @@ var AsyncScheduler = (function (_super) {
14540
14716
  }(Scheduler_1.Scheduler));
14541
14717
  AsyncScheduler$1.AsyncScheduler = AsyncScheduler;
14542
14718
 
14543
- var __extends$A = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14719
+ var __extends$B = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14544
14720
  var extendStatics = function (d, b) {
14545
14721
  extendStatics = Object.setPrototypeOf ||
14546
14722
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14559,7 +14735,7 @@ Object.defineProperty(AsapScheduler$1, "__esModule", { value: true });
14559
14735
  AsapScheduler$1.AsapScheduler = void 0;
14560
14736
  var AsyncScheduler_1$3 = AsyncScheduler$1;
14561
14737
  var AsapScheduler = (function (_super) {
14562
- __extends$A(AsapScheduler, _super);
14738
+ __extends$B(AsapScheduler, _super);
14563
14739
  function AsapScheduler() {
14564
14740
  return _super !== null && _super.apply(this, arguments) || this;
14565
14741
  }
@@ -14613,7 +14789,7 @@ var queue = {};
14613
14789
 
14614
14790
  var QueueAction$1 = {};
14615
14791
 
14616
- var __extends$z = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14792
+ var __extends$A = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14617
14793
  var extendStatics = function (d, b) {
14618
14794
  extendStatics = Object.setPrototypeOf ||
14619
14795
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14632,7 +14808,7 @@ Object.defineProperty(QueueAction$1, "__esModule", { value: true });
14632
14808
  QueueAction$1.QueueAction = void 0;
14633
14809
  var AsyncAction_1$2 = AsyncAction$1;
14634
14810
  var QueueAction = (function (_super) {
14635
- __extends$z(QueueAction, _super);
14811
+ __extends$A(QueueAction, _super);
14636
14812
  function QueueAction(scheduler, work) {
14637
14813
  var _this = _super.call(this, scheduler, work) || this;
14638
14814
  _this.scheduler = scheduler;
@@ -14666,7 +14842,7 @@ QueueAction$1.QueueAction = QueueAction;
14666
14842
 
14667
14843
  var QueueScheduler$1 = {};
14668
14844
 
14669
- var __extends$y = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14845
+ var __extends$z = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14670
14846
  var extendStatics = function (d, b) {
14671
14847
  extendStatics = Object.setPrototypeOf ||
14672
14848
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14685,7 +14861,7 @@ Object.defineProperty(QueueScheduler$1, "__esModule", { value: true });
14685
14861
  QueueScheduler$1.QueueScheduler = void 0;
14686
14862
  var AsyncScheduler_1$2 = AsyncScheduler$1;
14687
14863
  var QueueScheduler = (function (_super) {
14688
- __extends$y(QueueScheduler, _super);
14864
+ __extends$z(QueueScheduler, _super);
14689
14865
  function QueueScheduler() {
14690
14866
  return _super !== null && _super.apply(this, arguments) || this;
14691
14867
  }
@@ -14707,7 +14883,7 @@ var animationFrame = {};
14707
14883
 
14708
14884
  var AnimationFrameAction$1 = {};
14709
14885
 
14710
- var __extends$x = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14886
+ var __extends$y = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14711
14887
  var extendStatics = function (d, b) {
14712
14888
  extendStatics = Object.setPrototypeOf ||
14713
14889
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14727,7 +14903,7 @@ AnimationFrameAction$1.AnimationFrameAction = void 0;
14727
14903
  var AsyncAction_1$1 = AsyncAction$1;
14728
14904
  var animationFrameProvider_1 = animationFrameProvider;
14729
14905
  var AnimationFrameAction = (function (_super) {
14730
- __extends$x(AnimationFrameAction, _super);
14906
+ __extends$y(AnimationFrameAction, _super);
14731
14907
  function AnimationFrameAction(scheduler, work) {
14732
14908
  var _this = _super.call(this, scheduler, work) || this;
14733
14909
  _this.scheduler = scheduler;
@@ -14761,7 +14937,7 @@ AnimationFrameAction$1.AnimationFrameAction = AnimationFrameAction;
14761
14937
 
14762
14938
  var AnimationFrameScheduler$1 = {};
14763
14939
 
14764
- var __extends$w = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14940
+ var __extends$x = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14765
14941
  var extendStatics = function (d, b) {
14766
14942
  extendStatics = Object.setPrototypeOf ||
14767
14943
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14780,7 +14956,7 @@ Object.defineProperty(AnimationFrameScheduler$1, "__esModule", { value: true });
14780
14956
  AnimationFrameScheduler$1.AnimationFrameScheduler = void 0;
14781
14957
  var AsyncScheduler_1$1 = AsyncScheduler$1;
14782
14958
  var AnimationFrameScheduler = (function (_super) {
14783
- __extends$w(AnimationFrameScheduler, _super);
14959
+ __extends$x(AnimationFrameScheduler, _super);
14784
14960
  function AnimationFrameScheduler() {
14785
14961
  return _super !== null && _super.apply(this, arguments) || this;
14786
14962
  }
@@ -14820,7 +14996,7 @@ exports.animationFrame = exports.animationFrameScheduler;
14820
14996
 
14821
14997
  var VirtualTimeScheduler$1 = {};
14822
14998
 
14823
- var __extends$v = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14999
+ var __extends$w = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
14824
15000
  var extendStatics = function (d, b) {
14825
15001
  extendStatics = Object.setPrototypeOf ||
14826
15002
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14841,7 +15017,7 @@ var AsyncAction_1 = AsyncAction$1;
14841
15017
  var Subscription_1$4 = Subscription$1;
14842
15018
  var AsyncScheduler_1 = AsyncScheduler$1;
14843
15019
  var VirtualTimeScheduler = (function (_super) {
14844
- __extends$v(VirtualTimeScheduler, _super);
15020
+ __extends$w(VirtualTimeScheduler, _super);
14845
15021
  function VirtualTimeScheduler(schedulerActionCtor, maxFrames) {
14846
15022
  if (schedulerActionCtor === void 0) { schedulerActionCtor = VirtualAction; }
14847
15023
  if (maxFrames === void 0) { maxFrames = Infinity; }
@@ -14874,7 +15050,7 @@ var VirtualTimeScheduler = (function (_super) {
14874
15050
  }(AsyncScheduler_1.AsyncScheduler));
14875
15051
  VirtualTimeScheduler$1.VirtualTimeScheduler = VirtualTimeScheduler;
14876
15052
  var VirtualAction = (function (_super) {
14877
- __extends$v(VirtualAction, _super);
15053
+ __extends$w(VirtualAction, _super);
14878
15054
  function VirtualAction(scheduler, work, index) {
14879
15055
  if (index === void 0) { index = (scheduler.index += 1); }
14880
15056
  var _this = _super.call(this, scheduler, work) || this;
@@ -20696,7 +20872,7 @@ Object.defineProperty(resultRx, "__esModule", { value: true });
20696
20872
  * limitations under the License.
20697
20873
  */
20698
20874
  /* eslint-disable-next-line no-unused-vars */
20699
- var neo4j_driver_core_1$K = lib$1;
20875
+ var neo4j_driver_core_1$L = lib$1;
20700
20876
  var rxjs_1$3 = cjs;
20701
20877
  var operators_1$2 = operators;
20702
20878
  var States = {
@@ -20786,7 +20962,7 @@ var RxResult = /** @class */ (function () {
20786
20962
  *
20787
20963
  * This method won't need to be called in normal stream operation. It only applies to the case when the stream is paused.
20788
20964
  *
20789
- * This method is method won't start the consuming records if the ${@link records()} stream didn't get subscribed.
20965
+ * This method is method won't start the consuming records if the {@link records} stream didn't get subscribed.
20790
20966
  * @experimental
20791
20967
  * @returns {Promise<void>} - A promise that resolves when the stream is resumed.
20792
20968
  */
@@ -20830,7 +21006,7 @@ var RxResult = /** @class */ (function () {
20830
21006
  });
20831
21007
  }
20832
21008
  else if (recordsObserver) {
20833
- recordsObserver.error((0, neo4j_driver_core_1$K.newError)('Streaming has already started/consumed with a previous records or summary subscription.'));
21009
+ recordsObserver.error((0, neo4j_driver_core_1$L.newError)('Streaming has already started/consumed with a previous records or summary subscription.'));
20834
21010
  }
20835
21011
  return function () {
20836
21012
  subscriptions.forEach(function (s) { return s.unsubscribe(); });
@@ -21021,7 +21197,7 @@ var StreamControl = /** @class */ (function () {
21021
21197
 
21022
21198
  var transactionRx = {};
21023
21199
 
21024
- var __importDefault$O = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21200
+ var __importDefault$P = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21025
21201
  return (mod && mod.__esModule) ? mod : { "default": mod };
21026
21202
  };
21027
21203
  Object.defineProperty(transactionRx, "__esModule", { value: true });
@@ -21042,9 +21218,9 @@ Object.defineProperty(transactionRx, "__esModule", { value: true });
21042
21218
  * limitations under the License.
21043
21219
  */
21044
21220
  var rxjs_1$2 = cjs;
21045
- var result_rx_1$1 = __importDefault$O(resultRx);
21221
+ var result_rx_1$1 = __importDefault$P(resultRx);
21046
21222
  // eslint-disable-next-line no-unused-vars
21047
- __importDefault$O(lib$1);
21223
+ __importDefault$P(lib$1);
21048
21224
  /**
21049
21225
  * A reactive transaction, which provides the same functionality as {@link Transaction} but through a Reactive API.
21050
21226
  */
@@ -21143,7 +21319,7 @@ transactionRx.default = RxTransaction;
21143
21319
 
21144
21320
  var transactionManagedRx = {};
21145
21321
 
21146
- var __importDefault$N = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21322
+ var __importDefault$O = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21147
21323
  return (mod && mod.__esModule) ? mod : { "default": mod };
21148
21324
  };
21149
21325
  Object.defineProperty(transactionManagedRx, "__esModule", { value: true });
@@ -21164,9 +21340,9 @@ Object.defineProperty(transactionManagedRx, "__esModule", { value: true });
21164
21340
  * limitations under the License.
21165
21341
  */
21166
21342
  // eslint-disable-next-line no-unused-vars
21167
- __importDefault$N(resultRx);
21343
+ __importDefault$O(resultRx);
21168
21344
  // eslint-disable-next-line no-unused-vars
21169
- __importDefault$N(transactionRx);
21345
+ __importDefault$O(transactionRx);
21170
21346
  /**
21171
21347
  * Represents a rx transaction that is managed by the transaction executor.
21172
21348
  *
@@ -21224,13 +21400,13 @@ var retryLogicRx = {};
21224
21400
  * limitations under the License.
21225
21401
  */
21226
21402
  Object.defineProperty(retryLogicRx, "__esModule", { value: true });
21227
- var neo4j_driver_core_1$J = lib$1;
21403
+ var neo4j_driver_core_1$K = lib$1;
21228
21404
  // eslint-disable-next-line no-unused-vars
21229
21405
  var rxjs_1$1 = cjs;
21230
21406
  var operators_1$1 = operators;
21231
21407
  // eslint-disable-next-line no-unused-vars
21232
- neo4j_driver_core_1$J.internal.logger.Logger;
21233
- var SERVICE_UNAVAILABLE$5 = neo4j_driver_core_1$J.error.SERVICE_UNAVAILABLE;
21408
+ neo4j_driver_core_1$K.internal.logger.Logger;
21409
+ var SERVICE_UNAVAILABLE$5 = neo4j_driver_core_1$K.error.SERVICE_UNAVAILABLE;
21234
21410
  var DEFAULT_MAX_RETRY_TIME_MS = 30 * 1000; // 30 seconds
21235
21411
  var DEFAULT_INITIAL_RETRY_DELAY_MS = 1000; // 1 seconds
21236
21412
  var DEFAULT_RETRY_DELAY_MULTIPLIER = 2.0;
@@ -21261,13 +21437,13 @@ var RxRetryLogic = /** @class */ (function () {
21261
21437
  var retryCount = 1;
21262
21438
  var delayDuration = _this._initialDelay;
21263
21439
  return failedWork.pipe((0, operators_1$1.mergeMap)(function (err) {
21264
- if (!(0, neo4j_driver_core_1$J.isRetriableError)(err)) {
21440
+ if (!(0, neo4j_driver_core_1$K.isRetriableError)(err)) {
21265
21441
  return (0, rxjs_1$1.throwError)(function () { return err; });
21266
21442
  }
21267
21443
  handledExceptions.push(err);
21268
21444
  if (retryCount >= 2 &&
21269
21445
  Date.now() - startTime >= _this._maxRetryTimeout) {
21270
- var error_1 = (0, neo4j_driver_core_1$J.newError)("Failed after retried for ".concat(retryCount, " times in ").concat(_this._maxRetryTimeout, " ms. Make sure that your database is online and retry again."), SERVICE_UNAVAILABLE$5);
21446
+ var error_1 = (0, neo4j_driver_core_1$K.newError)("Failed after retried for ".concat(retryCount, " times in ").concat(_this._maxRetryTimeout, " ms. Make sure that your database is online and retry again."), SERVICE_UNAVAILABLE$5);
21271
21447
  error_1.seenErrors = handledExceptions;
21272
21448
  return (0, rxjs_1$1.throwError)(function () { return error_1; });
21273
21449
  }
@@ -21295,7 +21471,7 @@ function valueOrDefault(value, defaultValue) {
21295
21471
  return defaultValue;
21296
21472
  }
21297
21473
 
21298
- var __importDefault$M = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21474
+ var __importDefault$N = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21299
21475
  return (mod && mod.__esModule) ? mod : { "default": mod };
21300
21476
  };
21301
21477
  Object.defineProperty(sessionRx, "__esModule", { value: true });
@@ -21317,13 +21493,13 @@ Object.defineProperty(sessionRx, "__esModule", { value: true });
21317
21493
  */
21318
21494
  var rxjs_1 = cjs;
21319
21495
  var operators_1 = operators;
21320
- var result_rx_1 = __importDefault$M(resultRx);
21496
+ var result_rx_1 = __importDefault$N(resultRx);
21321
21497
  // eslint-disable-next-line no-unused-vars
21322
- var neo4j_driver_core_1$I = lib$1;
21323
- var transaction_rx_1 = __importDefault$M(transactionRx);
21324
- var transaction_managed_rx_1 = __importDefault$M(transactionManagedRx);
21325
- var retry_logic_rx_1 = __importDefault$M(retryLogicRx);
21326
- var _a$e = neo4j_driver_core_1$I.internal.constants, ACCESS_MODE_READ$1 = _a$e.ACCESS_MODE_READ, ACCESS_MODE_WRITE$1 = _a$e.ACCESS_MODE_WRITE, TELEMETRY_APIS = _a$e.TELEMETRY_APIS, TxConfig$3 = neo4j_driver_core_1$I.internal.txConfig.TxConfig;
21498
+ var neo4j_driver_core_1$J = lib$1;
21499
+ var transaction_rx_1 = __importDefault$N(transactionRx);
21500
+ var transaction_managed_rx_1 = __importDefault$N(transactionManagedRx);
21501
+ var retry_logic_rx_1 = __importDefault$N(retryLogicRx);
21502
+ var _a$e = neo4j_driver_core_1$J.internal.constants, ACCESS_MODE_READ$1 = _a$e.ACCESS_MODE_READ, ACCESS_MODE_WRITE$1 = _a$e.ACCESS_MODE_WRITE, TELEMETRY_APIS = _a$e.TELEMETRY_APIS, TxConfig$3 = neo4j_driver_core_1$J.internal.txConfig.TxConfig;
21327
21503
  /**
21328
21504
  * A Reactive session, which provides the same functionality as {@link Session} but through a Reactive API.
21329
21505
  */
@@ -21561,7 +21737,7 @@ function _createRetryLogic(config) {
21561
21737
  * See the License for the specific language governing permissions and
21562
21738
  * limitations under the License.
21563
21739
  */
21564
- var __extends$u = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
21740
+ var __extends$v = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
21565
21741
  var extendStatics = function (d, b) {
21566
21742
  extendStatics = Object.setPrototypeOf ||
21567
21743
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -21576,15 +21752,15 @@ var __extends$u = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
21576
21752
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
21577
21753
  };
21578
21754
  })();
21579
- var __importDefault$L = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21755
+ var __importDefault$M = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21580
21756
  return (mod && mod.__esModule) ? mod : { "default": mod };
21581
21757
  };
21582
21758
  Object.defineProperty(driver$1, "__esModule", { value: true });
21583
21759
  driver$1.WRITE = driver$1.READ = driver$1.Driver = void 0;
21584
- var neo4j_driver_core_1$H = lib$1;
21585
- var session_rx_1 = __importDefault$L(sessionRx);
21586
- var FETCH_ALL$6 = neo4j_driver_core_1$H.internal.constants.FETCH_ALL;
21587
- var READ$2 = neo4j_driver_core_1$H.driver.READ, WRITE$2 = neo4j_driver_core_1$H.driver.WRITE;
21760
+ var neo4j_driver_core_1$I = lib$1;
21761
+ var session_rx_1 = __importDefault$M(sessionRx);
21762
+ var FETCH_ALL$6 = neo4j_driver_core_1$I.internal.constants.FETCH_ALL;
21763
+ var READ$2 = neo4j_driver_core_1$I.driver.READ, WRITE$2 = neo4j_driver_core_1$I.driver.WRITE;
21588
21764
  driver$1.READ = READ$2;
21589
21765
  driver$1.WRITE = WRITE$2;
21590
21766
  /**
@@ -21598,7 +21774,7 @@ driver$1.WRITE = WRITE$2;
21598
21774
  * @access public
21599
21775
  */
21600
21776
  var Driver = /** @class */ (function (_super) {
21601
- __extends$u(Driver, _super);
21777
+ __extends$v(Driver, _super);
21602
21778
  function Driver() {
21603
21779
  return _super !== null && _super.apply(this, arguments) || this;
21604
21780
  }
@@ -21637,7 +21813,7 @@ var Driver = /** @class */ (function (_super) {
21637
21813
  });
21638
21814
  };
21639
21815
  return Driver;
21640
- }(neo4j_driver_core_1$H.Driver));
21816
+ }(neo4j_driver_core_1$I.Driver));
21641
21817
  driver$1.Driver = Driver;
21642
21818
  /**
21643
21819
  * @private
@@ -21683,7 +21859,7 @@ Object.defineProperty(version$1, "__esModule", { value: true });
21683
21859
  // This is set up this way to keep the version in the code in
21684
21860
  // sync with the npm package version, and to allow the build
21685
21861
  // system to control version names at packaging time.
21686
- version$1.default = '5.25.0';
21862
+ version$1.default = '5.27.0';
21687
21863
 
21688
21864
  var lib = {};
21689
21865
 
@@ -21783,7 +21959,7 @@ var RoundRobinArrayIndex = /** @class */ (function () {
21783
21959
  }());
21784
21960
  roundRobinArrayIndex.default = RoundRobinArrayIndex;
21785
21961
 
21786
- var __extends$t = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
21962
+ var __extends$u = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
21787
21963
  var extendStatics = function (d, b) {
21788
21964
  extendStatics = Object.setPrototypeOf ||
21789
21965
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -21798,7 +21974,7 @@ var __extends$t = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
21798
21974
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
21799
21975
  };
21800
21976
  })();
21801
- var __importDefault$K = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21977
+ var __importDefault$L = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21802
21978
  return (mod && mod.__esModule) ? mod : { "default": mod };
21803
21979
  };
21804
21980
  Object.defineProperty(leastConnectedLoadBalancingStrategy, "__esModule", { value: true });
@@ -21818,10 +21994,10 @@ Object.defineProperty(leastConnectedLoadBalancingStrategy, "__esModule", { value
21818
21994
  * See the License for the specific language governing permissions and
21819
21995
  * limitations under the License.
21820
21996
  */
21821
- var round_robin_array_index_1 = __importDefault$K(roundRobinArrayIndex);
21822
- var load_balancing_strategy_1$1 = __importDefault$K(loadBalancingStrategy);
21997
+ var round_robin_array_index_1 = __importDefault$L(roundRobinArrayIndex);
21998
+ var load_balancing_strategy_1$1 = __importDefault$L(loadBalancingStrategy);
21823
21999
  var LeastConnectedLoadBalancingStrategy = /** @class */ (function (_super) {
21824
- __extends$t(LeastConnectedLoadBalancingStrategy, _super);
22000
+ __extends$u(LeastConnectedLoadBalancingStrategy, _super);
21825
22001
  /**
21826
22002
  * @constructor
21827
22003
  * @param {Pool} connectionPool the connection pool of this driver.
@@ -21877,7 +22053,7 @@ var LeastConnectedLoadBalancingStrategy = /** @class */ (function (_super) {
21877
22053
  }(load_balancing_strategy_1$1.default));
21878
22054
  leastConnectedLoadBalancingStrategy.default = LeastConnectedLoadBalancingStrategy;
21879
22055
 
21880
- var __importDefault$J = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
22056
+ var __importDefault$K = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
21881
22057
  return (mod && mod.__esModule) ? mod : { "default": mod };
21882
22058
  };
21883
22059
  Object.defineProperty(loadBalancing, "__esModule", { value: true });
@@ -21898,9 +22074,9 @@ loadBalancing.LeastConnectedLoadBalancingStrategy = loadBalancing.LoadBalancingS
21898
22074
  * See the License for the specific language governing permissions and
21899
22075
  * limitations under the License.
21900
22076
  */
21901
- var load_balancing_strategy_1 = __importDefault$J(loadBalancingStrategy);
22077
+ var load_balancing_strategy_1 = __importDefault$K(loadBalancingStrategy);
21902
22078
  loadBalancing.LoadBalancingStrategy = load_balancing_strategy_1.default;
21903
- var least_connected_load_balancing_strategy_1 = __importDefault$J(leastConnectedLoadBalancingStrategy);
22079
+ var least_connected_load_balancing_strategy_1 = __importDefault$K(leastConnectedLoadBalancingStrategy);
21904
22080
  loadBalancing.LeastConnectedLoadBalancingStrategy = least_connected_load_balancing_strategy_1.default;
21905
22081
  loadBalancing.default = least_connected_load_balancing_strategy_1.default;
21906
22082
 
@@ -24285,7 +24461,7 @@ var baseBuf = {};
24285
24461
  * See the License for the specific language governing permissions and
24286
24462
  * limitations under the License.
24287
24463
  */
24288
- var __extends$s = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
24464
+ var __extends$t = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
24289
24465
  var extendStatics = function (d, b) {
24290
24466
  extendStatics = Object.setPrototypeOf ||
24291
24467
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -24621,7 +24797,7 @@ baseBuf.default = BaseBuffer;
24621
24797
  * @access private
24622
24798
  */
24623
24799
  var SliceBuffer = /** @class */ (function (_super) {
24624
- __extends$s(SliceBuffer, _super);
24800
+ __extends$t(SliceBuffer, _super);
24625
24801
  function SliceBuffer(start, length, inner) {
24626
24802
  var _this = _super.call(this, length) || this;
24627
24803
  _this._start = start;
@@ -24665,12 +24841,12 @@ var SliceBuffer = /** @class */ (function (_super) {
24665
24841
  * See the License for the specific language governing permissions and
24666
24842
  * limitations under the License.
24667
24843
  */
24668
- var __importDefault$I = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
24844
+ var __importDefault$J = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
24669
24845
  return (mod && mod.__esModule) ? mod : { "default": mod };
24670
24846
  };
24671
24847
  Object.defineProperty(buf, "__esModule", { value: true });
24672
24848
  buf.BaseBuffer = void 0;
24673
- var base_buf_1$1 = __importDefault$I(baseBuf);
24849
+ var base_buf_1$1 = __importDefault$J(baseBuf);
24674
24850
  buf.BaseBuffer = base_buf_1$1.default;
24675
24851
  buf.default = base_buf_1$1.default;
24676
24852
 
@@ -24690,7 +24866,7 @@ buf.default = base_buf_1$1.default;
24690
24866
  * See the License for the specific language governing permissions and
24691
24867
  * limitations under the License.
24692
24868
  */
24693
- var __extends$r = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
24869
+ var __extends$s = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
24694
24870
  var extendStatics = function (d, b) {
24695
24871
  extendStatics = Object.setPrototypeOf ||
24696
24872
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -24705,15 +24881,15 @@ var __extends$r = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
24705
24881
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24706
24882
  };
24707
24883
  })();
24708
- var __importDefault$H = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
24884
+ var __importDefault$I = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
24709
24885
  return (mod && mod.__esModule) ? mod : { "default": mod };
24710
24886
  };
24711
24887
  Object.defineProperty(channelBuf, "__esModule", { value: true });
24712
24888
  channelBuf.alloc = void 0;
24713
- var buffer_1$1 = __importDefault$H(buffer);
24714
- var buf_1$1 = __importDefault$H(buf);
24889
+ var buffer_1$1 = __importDefault$I(buffer);
24890
+ var buf_1$1 = __importDefault$I(buf);
24715
24891
  var ChannelBuffer = /** @class */ (function (_super) {
24716
- __extends$r(ChannelBuffer, _super);
24892
+ __extends$s(ChannelBuffer, _super);
24717
24893
  function ChannelBuffer(arg) {
24718
24894
  var _this = this;
24719
24895
  var buffer = newChannelJSBuffer(arg);
@@ -24781,7 +24957,7 @@ function newChannelJSBuffer(arg) {
24781
24957
  }
24782
24958
  }
24783
24959
 
24784
- var __importDefault$G = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
24960
+ var __importDefault$H = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
24785
24961
  return (mod && mod.__esModule) ? mod : { "default": mod };
24786
24962
  };
24787
24963
  Object.defineProperty(browserChannel, "__esModule", { value: true });
@@ -24802,9 +24978,9 @@ Object.defineProperty(browserChannel, "__esModule", { value: true });
24802
24978
  * limitations under the License.
24803
24979
  */
24804
24980
  /* eslint-env browser */
24805
- var channel_buf_1$3 = __importDefault$G(channelBuf);
24806
- var neo4j_driver_core_1$G = lib$1;
24807
- var _a$d = neo4j_driver_core_1$G.internal.util, ENCRYPTION_OFF$1 = _a$d.ENCRYPTION_OFF, ENCRYPTION_ON$1 = _a$d.ENCRYPTION_ON;
24981
+ var channel_buf_1$3 = __importDefault$H(channelBuf);
24982
+ var neo4j_driver_core_1$H = lib$1;
24983
+ var _a$d = neo4j_driver_core_1$H.internal.util, ENCRYPTION_OFF$1 = _a$d.ENCRYPTION_OFF, ENCRYPTION_ON$1 = _a$d.ENCRYPTION_ON;
24808
24984
  var WS_OPEN = 1;
24809
24985
  var WS_CLOSED = 3;
24810
24986
  /**
@@ -24870,7 +25046,7 @@ var WebSocketChannel = /** @class */ (function () {
24870
25046
  WebSocketChannel.prototype._handleConnectionError = function () {
24871
25047
  if (this._connectionTimeoutFired) {
24872
25048
  // timeout fired - not connected within configured time
24873
- this._error = (0, neo4j_driver_core_1$G.newError)("Failed to establish connection in ".concat(this._config.connectionTimeout, "ms"), this._config.connectionErrorCode);
25049
+ this._error = (0, neo4j_driver_core_1$H.newError)("Failed to establish connection in ".concat(this._config.connectionTimeout, "ms"), this._config.connectionErrorCode);
24874
25050
  if (this.onerror) {
24875
25051
  this.onerror(this._error);
24876
25052
  }
@@ -24879,7 +25055,7 @@ var WebSocketChannel = /** @class */ (function () {
24879
25055
  // onerror triggers on websocket close as well.. don't get me started.
24880
25056
  if (this._open && !this._timedout) {
24881
25057
  // http://stackoverflow.com/questions/25779831/how-to-catch-websocket-connection-to-ws-xxxnn-failed-connection-closed-be
24882
- this._error = (0, neo4j_driver_core_1$G.newError)('WebSocket connection failure. Due to security ' +
25058
+ this._error = (0, neo4j_driver_core_1$H.newError)('WebSocket connection failure. Due to security ' +
24883
25059
  'constraints in your web browser, the reason for the failure is not available ' +
24884
25060
  'to this Neo4j Driver. Please use your browsers development console to determine ' +
24885
25061
  'the root cause of the failure. Common reasons include the database being ' +
@@ -24918,7 +25094,7 @@ var WebSocketChannel = /** @class */ (function () {
24918
25094
  }
24919
25095
  }
24920
25096
  else {
24921
- throw (0, neo4j_driver_core_1$G.newError)("Don't know how to send buffer: " + buffer);
25097
+ throw (0, neo4j_driver_core_1$H.newError)("Don't know how to send buffer: " + buffer);
24922
25098
  }
24923
25099
  };
24924
25100
  /**
@@ -24989,7 +25165,7 @@ var WebSocketChannel = /** @class */ (function () {
24989
25165
  _this._receiveTimeoutId = null;
24990
25166
  _this._timedout = true;
24991
25167
  _this.stopReceiveTimeout();
24992
- _this._error = (0, neo4j_driver_core_1$G.newError)("Connection lost. Server didn't respond in ".concat(_this._receiveTimeout, "ms"), _this._config.connectionErrorCode);
25168
+ _this._error = (0, neo4j_driver_core_1$H.newError)("Connection lost. Server didn't respond in ".concat(_this._receiveTimeout, "ms"), _this._config.connectionErrorCode);
24993
25169
  _this.close();
24994
25170
  if (_this.onerror) {
24995
25171
  _this.onerror(_this._error);
@@ -25098,7 +25274,7 @@ function determineWebSocketScheme(config, protocolSupplier) {
25098
25274
  return { scheme: 'wss', error: null };
25099
25275
  }
25100
25276
  else {
25101
- var error = (0, neo4j_driver_core_1$G.newError)('The browser version of this driver only supports one trust ' +
25277
+ var error = (0, neo4j_driver_core_1$H.newError)('The browser version of this driver only supports one trust ' +
25102
25278
  "strategy, 'TRUST_SYSTEM_CA_SIGNED_CERTIFICATES'. " +
25103
25279
  trust +
25104
25280
  ' is not supported. Please ' +
@@ -25173,7 +25349,7 @@ var browserHostNameResolver = {};
25173
25349
  * See the License for the specific language governing permissions and
25174
25350
  * limitations under the License.
25175
25351
  */
25176
- var __extends$q = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
25352
+ var __extends$r = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
25177
25353
  var extendStatics = function (d, b) {
25178
25354
  extendStatics = Object.setPrototypeOf ||
25179
25355
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -25189,10 +25365,10 @@ var __extends$q = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
25189
25365
  };
25190
25366
  })();
25191
25367
  Object.defineProperty(browserHostNameResolver, "__esModule", { value: true });
25192
- var neo4j_driver_core_1$F = lib$1;
25193
- var BaseHostNameResolver = neo4j_driver_core_1$F.internal.resolver.BaseHostNameResolver;
25368
+ var neo4j_driver_core_1$G = lib$1;
25369
+ var BaseHostNameResolver = neo4j_driver_core_1$G.internal.resolver.BaseHostNameResolver;
25194
25370
  var BrowserHostNameResolver = /** @class */ (function (_super) {
25195
- __extends$q(BrowserHostNameResolver, _super);
25371
+ __extends$r(BrowserHostNameResolver, _super);
25196
25372
  function BrowserHostNameResolver() {
25197
25373
  return _super !== null && _super.apply(this, arguments) || this;
25198
25374
  }
@@ -25284,14 +25460,14 @@ browserClientCertificatesLoader.default = {
25284
25460
  * See the License for the specific language governing permissions and
25285
25461
  * limitations under the License.
25286
25462
  */
25287
- var __importDefault$F = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
25463
+ var __importDefault$G = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
25288
25464
  return (mod && mod.__esModule) ? mod : { "default": mod };
25289
25465
  };
25290
25466
  Object.defineProperty(browser, "__esModule", { value: true });
25291
25467
  browser.ClientCertificatesLoader = browser.HostNameResolver = browser.Channel = void 0;
25292
- var browser_channel_1 = __importDefault$F(browserChannel);
25293
- var browser_host_name_resolver_1 = __importDefault$F(browserHostNameResolver);
25294
- var browser_client_certificates_loader_1 = __importDefault$F(browserClientCertificatesLoader);
25468
+ var browser_channel_1 = __importDefault$G(browserChannel);
25469
+ var browser_host_name_resolver_1 = __importDefault$G(browserHostNameResolver);
25470
+ var browser_client_certificates_loader_1 = __importDefault$G(browserClientCertificatesLoader);
25295
25471
  /*
25296
25472
 
25297
25473
  This module exports a set of components to be used in browser environment.
@@ -25326,7 +25502,7 @@ var combinedBuf = {};
25326
25502
  * See the License for the specific language governing permissions and
25327
25503
  * limitations under the License.
25328
25504
  */
25329
- var __extends$p = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
25505
+ var __extends$q = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
25330
25506
  var extendStatics = function (d, b) {
25331
25507
  extendStatics = Object.setPrototypeOf ||
25332
25508
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -25348,7 +25524,7 @@ var channel_buf_1$2 = channelBuf;
25348
25524
  * Buffer that combines multiple buffers, exposing them as one single buffer.
25349
25525
  */
25350
25526
  var CombinedBuffer = /** @class */ (function (_super) {
25351
- __extends$p(CombinedBuffer, _super);
25527
+ __extends$q(CombinedBuffer, _super);
25352
25528
  function CombinedBuffer(buffers) {
25353
25529
  var _this = this;
25354
25530
  var length = 0;
@@ -25414,7 +25590,7 @@ combinedBuf.default = CombinedBuffer;
25414
25590
  * See the License for the specific language governing permissions and
25415
25591
  * limitations under the License.
25416
25592
  */
25417
- var __extends$o = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
25593
+ var __extends$p = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
25418
25594
  var extendStatics = function (d, b) {
25419
25595
  extendStatics = Object.setPrototypeOf ||
25420
25596
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -25429,14 +25605,14 @@ var __extends$o = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
25429
25605
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
25430
25606
  };
25431
25607
  })();
25432
- var __importDefault$E = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
25608
+ var __importDefault$F = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
25433
25609
  return (mod && mod.__esModule) ? mod : { "default": mod };
25434
25610
  };
25435
25611
  Object.defineProperty(chunking, "__esModule", { value: true });
25436
25612
  chunking.Dechunker = chunking.Chunker = void 0;
25437
- var base_buf_1 = __importDefault$E(baseBuf);
25613
+ var base_buf_1 = __importDefault$F(baseBuf);
25438
25614
  var channel_buf_1$1 = channelBuf;
25439
- var combined_buf_1 = __importDefault$E(combinedBuf);
25615
+ var combined_buf_1 = __importDefault$F(combinedBuf);
25440
25616
  var _CHUNK_HEADER_SIZE = 2;
25441
25617
  var _MESSAGE_BOUNDARY = 0x00;
25442
25618
  var _DEFAULT_BUFFER_SIZE = 1400; // http://stackoverflow.com/questions/2613734/maximum-packet-size-for-a-tcp-connection
@@ -25445,7 +25621,7 @@ var _DEFAULT_BUFFER_SIZE = 1400; // http://stackoverflow.com/questions/2613734/m
25445
25621
  * @access private
25446
25622
  */
25447
25623
  var Chunker = /** @class */ (function (_super) {
25448
- __extends$o(Chunker, _super);
25624
+ __extends$p(Chunker, _super);
25449
25625
  function Chunker(channel, bufferSize) {
25450
25626
  var _this = _super.call(this, 0) || this;
25451
25627
  _this._bufferSize = bufferSize || _DEFAULT_BUFFER_SIZE;
@@ -25628,9 +25804,9 @@ var channelConfig = {};
25628
25804
  * limitations under the License.
25629
25805
  */
25630
25806
  Object.defineProperty(channelConfig, "__esModule", { value: true });
25631
- var neo4j_driver_core_1$E = lib$1;
25632
- var _a$c = neo4j_driver_core_1$E.internal.util, ENCRYPTION_OFF = _a$c.ENCRYPTION_OFF, ENCRYPTION_ON = _a$c.ENCRYPTION_ON;
25633
- var SERVICE_UNAVAILABLE$4 = neo4j_driver_core_1$E.error.SERVICE_UNAVAILABLE;
25807
+ var neo4j_driver_core_1$F = lib$1;
25808
+ var _a$c = neo4j_driver_core_1$F.internal.util, ENCRYPTION_OFF = _a$c.ENCRYPTION_OFF, ENCRYPTION_ON = _a$c.ENCRYPTION_ON;
25809
+ var SERVICE_UNAVAILABLE$4 = neo4j_driver_core_1$F.error.SERVICE_UNAVAILABLE;
25634
25810
  var ALLOWED_VALUES_ENCRYPTED = [
25635
25811
  null,
25636
25812
  undefined,
@@ -25670,14 +25846,14 @@ channelConfig.default = ChannelConfig;
25670
25846
  function extractEncrypted(driverConfig) {
25671
25847
  var value = driverConfig.encrypted;
25672
25848
  if (ALLOWED_VALUES_ENCRYPTED.indexOf(value) === -1) {
25673
- throw (0, neo4j_driver_core_1$E.newError)("Illegal value of the encrypted setting ".concat(value, ". Expected one of ").concat(ALLOWED_VALUES_ENCRYPTED));
25849
+ throw (0, neo4j_driver_core_1$F.newError)("Illegal value of the encrypted setting ".concat(value, ". Expected one of ").concat(ALLOWED_VALUES_ENCRYPTED));
25674
25850
  }
25675
25851
  return value;
25676
25852
  }
25677
25853
  function extractTrust(driverConfig) {
25678
25854
  var value = driverConfig.trust;
25679
25855
  if (ALLOWED_VALUES_TRUST.indexOf(value) === -1) {
25680
- throw (0, neo4j_driver_core_1$E.newError)("Illegal value of the trust setting ".concat(value, ". Expected one of ").concat(ALLOWED_VALUES_TRUST));
25856
+ throw (0, neo4j_driver_core_1$F.newError)("Illegal value of the trust setting ".concat(value, ". Expected one of ").concat(ALLOWED_VALUES_TRUST));
25681
25857
  }
25682
25858
  return value;
25683
25859
  }
@@ -26052,13 +26228,13 @@ function simpleEnd(buf) {
26052
26228
  * See the License for the specific language governing permissions and
26053
26229
  * limitations under the License.
26054
26230
  */
26055
- var __importDefault$D = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
26231
+ var __importDefault$E = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
26056
26232
  return (mod && mod.__esModule) ? mod : { "default": mod };
26057
26233
  };
26058
26234
  Object.defineProperty(utf8, "__esModule", { value: true });
26059
- var channel_buf_1 = __importDefault$D(channelBuf);
26060
- var neo4j_driver_core_1$D = lib$1;
26061
- var buffer_1 = __importDefault$D(buffer);
26235
+ var channel_buf_1 = __importDefault$E(channelBuf);
26236
+ var neo4j_driver_core_1$E = lib$1;
26237
+ var buffer_1 = __importDefault$E(buffer);
26062
26238
  var string_decoder_1 = string_decoder;
26063
26239
  var decoder = new string_decoder_1.StringDecoder('utf8');
26064
26240
  function encode(str) {
@@ -26072,7 +26248,7 @@ function decode(buffer, length) {
26072
26248
  return decodeCombinedBuffer(buffer, length);
26073
26249
  }
26074
26250
  else {
26075
- throw (0, neo4j_driver_core_1$D.newError)("Don't know how to decode strings from '".concat(buffer, "'"));
26251
+ throw (0, neo4j_driver_core_1$E.newError)("Don't know how to decode strings from '".concat(buffer, "'"));
26076
26252
  }
26077
26253
  }
26078
26254
  function decodeChannelBuffer(buffer, length) {
@@ -26189,7 +26365,7 @@ Object.defineProperty(exports, "utf8", { enumerable: true, get: function () { re
26189
26365
  */
26190
26366
  Object.defineProperty(handshake$1, "__esModule", { value: true });
26191
26367
  var channel_1$4 = channel;
26192
- var neo4j_driver_core_1$C = lib$1;
26368
+ var neo4j_driver_core_1$D = lib$1;
26193
26369
  var BOLT_MAGIC_PREAMBLE = 0x6060b017;
26194
26370
  function version(major, minor) {
26195
26371
  return {
@@ -26199,7 +26375,7 @@ function version(major, minor) {
26199
26375
  }
26200
26376
  function createHandshakeMessage(versions) {
26201
26377
  if (versions.length > 4) {
26202
- throw (0, neo4j_driver_core_1$C.newError)('It should not have more than 4 versions of the protocol');
26378
+ throw (0, neo4j_driver_core_1$D.newError)('It should not have more than 4 versions of the protocol');
26203
26379
  }
26204
26380
  var handshakeBuffer = (0, channel_1$4.alloc)(5 * 4);
26205
26381
  handshakeBuffer.writeInt32(BOLT_MAGIC_PREAMBLE);
@@ -26227,7 +26403,7 @@ function parseNegotiatedResponse(buffer, log) {
26227
26403
  ];
26228
26404
  if (h[0] === 0x48 && h[1] === 0x54 && h[2] === 0x54 && h[3] === 0x50) {
26229
26405
  log.error('Handshake failed since server responded with HTTP.');
26230
- throw (0, neo4j_driver_core_1$C.newError)('Server responded HTTP. Make sure you are not trying to connect to the http endpoint ' +
26406
+ throw (0, neo4j_driver_core_1$D.newError)('Server responded HTTP. Make sure you are not trying to connect to the http endpoint ' +
26231
26407
  '(HTTP defaults to port 7474 whereas BOLT defaults to port 7687)');
26232
26408
  }
26233
26409
  return Number(h[3] + '.' + h[2]);
@@ -26238,7 +26414,7 @@ function parseNegotiatedResponse(buffer, log) {
26238
26414
  */
26239
26415
  function newHandshakeBuffer() {
26240
26416
  return createHandshakeMessage([
26241
- [version(5, 6), version(5, 0)],
26417
+ [version(5, 7), version(5, 0)],
26242
26418
  [version(4, 4), version(4, 2)],
26243
26419
  version(4, 1),
26244
26420
  version(3, 0)
@@ -26303,7 +26479,7 @@ var streamObservers = {};
26303
26479
 
26304
26480
  var routingTableRaw = {};
26305
26481
 
26306
- var __extends$n = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
26482
+ var __extends$o = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
26307
26483
  var extendStatics = function (d, b) {
26308
26484
  extendStatics = Object.setPrototypeOf ||
26309
26485
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -26318,7 +26494,7 @@ var __extends$n = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
26318
26494
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
26319
26495
  };
26320
26496
  })();
26321
- var __importDefault$C = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
26497
+ var __importDefault$D = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
26322
26498
  return (mod && mod.__esModule) ? mod : { "default": mod };
26323
26499
  };
26324
26500
  Object.defineProperty(routingTableRaw, "__esModule", { value: true });
@@ -26339,7 +26515,7 @@ Object.defineProperty(routingTableRaw, "__esModule", { value: true });
26339
26515
  * limitations under the License.
26340
26516
  */
26341
26517
  // eslint-disable-next-line no-unused-vars
26342
- __importDefault$C(lib$1);
26518
+ __importDefault$D(lib$1);
26343
26519
  /**
26344
26520
  * Represente the raw version of the routing table
26345
26521
  */
@@ -26434,7 +26610,7 @@ routingTableRaw.default = RawRoutingTable;
26434
26610
  * Get the raw routing table information from route message response
26435
26611
  */
26436
26612
  var ResponseRawRoutingTable = /** @class */ (function (_super) {
26437
- __extends$n(ResponseRawRoutingTable, _super);
26613
+ __extends$o(ResponseRawRoutingTable, _super);
26438
26614
  function ResponseRawRoutingTable(response) {
26439
26615
  var _this = _super.call(this) || this;
26440
26616
  _this._response = response;
@@ -26474,7 +26650,7 @@ var ResponseRawRoutingTable = /** @class */ (function (_super) {
26474
26650
  * Null routing table
26475
26651
  */
26476
26652
  var NullRawRoutingTable = /** @class */ (function (_super) {
26477
- __extends$n(NullRawRoutingTable, _super);
26653
+ __extends$o(NullRawRoutingTable, _super);
26478
26654
  function NullRawRoutingTable() {
26479
26655
  return _super !== null && _super.apply(this, arguments) || this;
26480
26656
  }
@@ -26491,7 +26667,7 @@ var NullRawRoutingTable = /** @class */ (function (_super) {
26491
26667
  * Get the raw routing table information from the record
26492
26668
  */
26493
26669
  var RecordRawRoutingTable = /** @class */ (function (_super) {
26494
- __extends$n(RecordRawRoutingTable, _super);
26670
+ __extends$o(RecordRawRoutingTable, _super);
26495
26671
  function RecordRawRoutingTable(record) {
26496
26672
  var _this = _super.call(this) || this;
26497
26673
  _this._record = record;
@@ -26550,7 +26726,7 @@ var functional = {};
26550
26726
  */
26551
26727
  Object.defineProperty(functional, "__esModule", { value: true });
26552
26728
  functional.reuseOngoingRequest = functional.identity = void 0;
26553
- var neo4j_driver_core_1$B = lib$1;
26729
+ var neo4j_driver_core_1$C = lib$1;
26554
26730
  /**
26555
26731
  * Identity function.
26556
26732
  *
@@ -26578,7 +26754,7 @@ function reuseOngoingRequest(func, thisArg) {
26578
26754
  for (var _i = 0; _i < arguments.length; _i++) {
26579
26755
  args[_i] = arguments[_i];
26580
26756
  }
26581
- var key = neo4j_driver_core_1$B.json.stringify(args);
26757
+ var key = neo4j_driver_core_1$C.json.stringify(args);
26582
26758
  if (ongoingRequests.has(key)) {
26583
26759
  return ongoingRequests.get(key);
26584
26760
  }
@@ -26701,7 +26877,7 @@ lang.object = lang.functional = void 0;
26701
26877
  lang.functional = __importStar$4(functional);
26702
26878
  lang.object = __importStar$4(object);
26703
26879
 
26704
- var __extends$m = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
26880
+ var __extends$n = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
26705
26881
  var extendStatics = function (d, b) {
26706
26882
  extendStatics = Object.setPrototypeOf ||
26707
26883
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -26716,7 +26892,7 @@ var __extends$m = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
26716
26892
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
26717
26893
  };
26718
26894
  })();
26719
- var __importDefault$B = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
26895
+ var __importDefault$C = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
26720
26896
  return (mod && mod.__esModule) ? mod : { "default": mod };
26721
26897
  };
26722
26898
  Object.defineProperty(streamObservers, "__esModule", { value: true });
@@ -26737,11 +26913,11 @@ streamObservers.TelemetryObserver = streamObservers.ProcedureRouteObserver = str
26737
26913
  * See the License for the specific language governing permissions and
26738
26914
  * limitations under the License.
26739
26915
  */
26740
- var neo4j_driver_core_1$A = lib$1;
26741
- var routing_table_raw_1 = __importDefault$B(routingTableRaw);
26916
+ var neo4j_driver_core_1$B = lib$1;
26917
+ var routing_table_raw_1 = __importDefault$C(routingTableRaw);
26742
26918
  var lang_1$4 = lang;
26743
- var FETCH_ALL$5 = neo4j_driver_core_1$A.internal.constants.FETCH_ALL;
26744
- var PROTOCOL_ERROR$5 = neo4j_driver_core_1$A.error.PROTOCOL_ERROR;
26919
+ var FETCH_ALL$5 = neo4j_driver_core_1$B.internal.constants.FETCH_ALL;
26920
+ var PROTOCOL_ERROR$5 = neo4j_driver_core_1$B.error.PROTOCOL_ERROR;
26745
26921
  var StreamObserver = /** @class */ (function () {
26746
26922
  function StreamObserver() {
26747
26923
  }
@@ -26762,7 +26938,7 @@ streamObservers.StreamObserver = StreamObserver;
26762
26938
  * @access private
26763
26939
  */
26764
26940
  var ResultStreamObserver = /** @class */ (function (_super) {
26765
- __extends$m(ResultStreamObserver, _super);
26941
+ __extends$n(ResultStreamObserver, _super);
26766
26942
  /**
26767
26943
  *
26768
26944
  * @param {Object} param
@@ -26839,7 +27015,7 @@ var ResultStreamObserver = /** @class */ (function (_super) {
26839
27015
  */
26840
27016
  ResultStreamObserver.prototype.onNext = function (rawRecord) {
26841
27017
  this._haveRecordStreamed = true;
26842
- var record = new neo4j_driver_core_1$A.Record(this._fieldKeys, rawRecord, this._fieldLookup);
27018
+ var record = new neo4j_driver_core_1$B.Record(this._fieldKeys, rawRecord, this._fieldLookup);
26843
27019
  if (this._observers.some(function (o) { return o.onNext; })) {
26844
27020
  this._observers.forEach(function (o) {
26845
27021
  if (o.onNext) {
@@ -26948,7 +27124,7 @@ var ResultStreamObserver = /** @class */ (function (_super) {
26948
27124
  }
26949
27125
  }, meta));
26950
27126
  if (![undefined, null, 'r', 'w', 'rw', 's'].includes(completionMetadata.type)) {
26951
- this.onError((0, neo4j_driver_core_1$A.newError)("Server returned invalid query type. Expected one of [undefined, null, \"r\", \"w\", \"rw\", \"s\"] but got '".concat(completionMetadata.type, "'"), PROTOCOL_ERROR$5));
27127
+ this.onError((0, neo4j_driver_core_1$B.newError)("Server returned invalid query type. Expected one of [undefined, null, \"r\", \"w\", \"rw\", \"s\"] but got '".concat(completionMetadata.type, "'"), PROTOCOL_ERROR$5));
26952
27128
  return;
26953
27129
  }
26954
27130
  this._setState(_states.SUCCEEDED);
@@ -27093,7 +27269,7 @@ var ResultStreamObserver = /** @class */ (function (_super) {
27093
27269
  }(StreamObserver));
27094
27270
  streamObservers.ResultStreamObserver = ResultStreamObserver;
27095
27271
  var LoginObserver = /** @class */ (function (_super) {
27096
- __extends$m(LoginObserver, _super);
27272
+ __extends$n(LoginObserver, _super);
27097
27273
  /**
27098
27274
  *
27099
27275
  * @param {Object} param -
@@ -27108,7 +27284,7 @@ var LoginObserver = /** @class */ (function (_super) {
27108
27284
  return _this;
27109
27285
  }
27110
27286
  LoginObserver.prototype.onNext = function (record) {
27111
- this.onError((0, neo4j_driver_core_1$A.newError)('Received RECORD when initializing ' + neo4j_driver_core_1$A.json.stringify(record)));
27287
+ this.onError((0, neo4j_driver_core_1$B.newError)('Received RECORD when initializing ' + neo4j_driver_core_1$B.json.stringify(record)));
27112
27288
  };
27113
27289
  LoginObserver.prototype.onError = function (error) {
27114
27290
  if (this._onError) {
@@ -27124,7 +27300,7 @@ var LoginObserver = /** @class */ (function (_super) {
27124
27300
  }(StreamObserver));
27125
27301
  streamObservers.LoginObserver = LoginObserver;
27126
27302
  var LogoffObserver = /** @class */ (function (_super) {
27127
- __extends$m(LogoffObserver, _super);
27303
+ __extends$n(LogoffObserver, _super);
27128
27304
  /**
27129
27305
  *
27130
27306
  * @param {Object} param -
@@ -27139,7 +27315,7 @@ var LogoffObserver = /** @class */ (function (_super) {
27139
27315
  return _this;
27140
27316
  }
27141
27317
  LogoffObserver.prototype.onNext = function (record) {
27142
- this.onError((0, neo4j_driver_core_1$A.newError)('Received RECORD when logging off ' + neo4j_driver_core_1$A.json.stringify(record)));
27318
+ this.onError((0, neo4j_driver_core_1$B.newError)('Received RECORD when logging off ' + neo4j_driver_core_1$B.json.stringify(record)));
27143
27319
  };
27144
27320
  LogoffObserver.prototype.onError = function (error) {
27145
27321
  if (this._onError) {
@@ -27155,7 +27331,7 @@ var LogoffObserver = /** @class */ (function (_super) {
27155
27331
  }(StreamObserver));
27156
27332
  streamObservers.LogoffObserver = LogoffObserver;
27157
27333
  var ResetObserver = /** @class */ (function (_super) {
27158
- __extends$m(ResetObserver, _super);
27334
+ __extends$n(ResetObserver, _super);
27159
27335
  /**
27160
27336
  *
27161
27337
  * @param {Object} param -
@@ -27172,8 +27348,8 @@ var ResetObserver = /** @class */ (function (_super) {
27172
27348
  return _this;
27173
27349
  }
27174
27350
  ResetObserver.prototype.onNext = function (record) {
27175
- this.onError((0, neo4j_driver_core_1$A.newError)('Received RECORD when resetting: received record is: ' +
27176
- neo4j_driver_core_1$A.json.stringify(record), PROTOCOL_ERROR$5));
27351
+ this.onError((0, neo4j_driver_core_1$B.newError)('Received RECORD when resetting: received record is: ' +
27352
+ neo4j_driver_core_1$B.json.stringify(record), PROTOCOL_ERROR$5));
27177
27353
  };
27178
27354
  ResetObserver.prototype.onError = function (error) {
27179
27355
  if (error.code === PROTOCOL_ERROR$5 && this._onProtocolError) {
@@ -27192,7 +27368,7 @@ var ResetObserver = /** @class */ (function (_super) {
27192
27368
  }(StreamObserver));
27193
27369
  streamObservers.ResetObserver = ResetObserver;
27194
27370
  var TelemetryObserver = /** @class */ (function (_super) {
27195
- __extends$m(TelemetryObserver, _super);
27371
+ __extends$n(TelemetryObserver, _super);
27196
27372
  /**
27197
27373
  *
27198
27374
  * @param {Object} param -
@@ -27207,7 +27383,7 @@ var TelemetryObserver = /** @class */ (function (_super) {
27207
27383
  return _this;
27208
27384
  }
27209
27385
  TelemetryObserver.prototype.onNext = function (record) {
27210
- this.onError((0, neo4j_driver_core_1$A.newError)('Received RECORD when sending telemetry ' + neo4j_driver_core_1$A.json.stringify(record), PROTOCOL_ERROR$5));
27386
+ this.onError((0, neo4j_driver_core_1$B.newError)('Received RECORD when sending telemetry ' + neo4j_driver_core_1$B.json.stringify(record), PROTOCOL_ERROR$5));
27211
27387
  };
27212
27388
  TelemetryObserver.prototype.onError = function (error) {
27213
27389
  if (this._onError) {
@@ -27223,7 +27399,7 @@ var TelemetryObserver = /** @class */ (function (_super) {
27223
27399
  }(ResultStreamObserver));
27224
27400
  streamObservers.TelemetryObserver = TelemetryObserver;
27225
27401
  var FailedObserver = /** @class */ (function (_super) {
27226
- __extends$m(FailedObserver, _super);
27402
+ __extends$n(FailedObserver, _super);
27227
27403
  function FailedObserver(_a) {
27228
27404
  var error = _a.error, onError = _a.onError;
27229
27405
  var _this = _super.call(this, { beforeError: onError }) || this;
@@ -27234,7 +27410,7 @@ var FailedObserver = /** @class */ (function (_super) {
27234
27410
  }(ResultStreamObserver));
27235
27411
  streamObservers.FailedObserver = FailedObserver;
27236
27412
  var CompletedObserver = /** @class */ (function (_super) {
27237
- __extends$m(CompletedObserver, _super);
27413
+ __extends$n(CompletedObserver, _super);
27238
27414
  function CompletedObserver() {
27239
27415
  var _this = _super.call(this) || this;
27240
27416
  _super.prototype.markCompleted.call(_this);
@@ -27244,7 +27420,7 @@ var CompletedObserver = /** @class */ (function (_super) {
27244
27420
  }(ResultStreamObserver));
27245
27421
  streamObservers.CompletedObserver = CompletedObserver;
27246
27422
  var ProcedureRouteObserver = /** @class */ (function (_super) {
27247
- __extends$m(ProcedureRouteObserver, _super);
27423
+ __extends$n(ProcedureRouteObserver, _super);
27248
27424
  function ProcedureRouteObserver(_a) {
27249
27425
  var resultObserver = _a.resultObserver, onProtocolError = _a.onProtocolError, onError = _a.onError, onCompleted = _a.onCompleted;
27250
27426
  var _this = _super.call(this) || this;
@@ -27269,10 +27445,10 @@ var ProcedureRouteObserver = /** @class */ (function (_super) {
27269
27445
  };
27270
27446
  ProcedureRouteObserver.prototype.onCompleted = function () {
27271
27447
  if (this._records !== null && this._records.length !== 1) {
27272
- this.onError((0, neo4j_driver_core_1$A.newError)('Illegal response from router. Received ' +
27448
+ this.onError((0, neo4j_driver_core_1$B.newError)('Illegal response from router. Received ' +
27273
27449
  this._records.length +
27274
27450
  ' records but expected only one.\n' +
27275
- neo4j_driver_core_1$A.json.stringify(this._records), PROTOCOL_ERROR$5));
27451
+ neo4j_driver_core_1$B.json.stringify(this._records), PROTOCOL_ERROR$5));
27276
27452
  return;
27277
27453
  }
27278
27454
  if (this._onCompleted) {
@@ -27283,7 +27459,7 @@ var ProcedureRouteObserver = /** @class */ (function (_super) {
27283
27459
  }(StreamObserver));
27284
27460
  streamObservers.ProcedureRouteObserver = ProcedureRouteObserver;
27285
27461
  var RouteObserver = /** @class */ (function (_super) {
27286
- __extends$m(RouteObserver, _super);
27462
+ __extends$n(RouteObserver, _super);
27287
27463
  /**
27288
27464
  *
27289
27465
  * @param {Object} param -
@@ -27300,8 +27476,8 @@ var RouteObserver = /** @class */ (function (_super) {
27300
27476
  return _this;
27301
27477
  }
27302
27478
  RouteObserver.prototype.onNext = function (record) {
27303
- this.onError((0, neo4j_driver_core_1$A.newError)('Received RECORD when resetting: received record is: ' +
27304
- neo4j_driver_core_1$A.json.stringify(record), PROTOCOL_ERROR$5));
27479
+ this.onError((0, neo4j_driver_core_1$B.newError)('Received RECORD when resetting: received record is: ' +
27480
+ neo4j_driver_core_1$B.json.stringify(record), PROTOCOL_ERROR$5));
27305
27481
  };
27306
27482
  RouteObserver.prototype.onError = function (error) {
27307
27483
  if (error.code === PROTOCOL_ERROR$5 && this._onProtocolError) {
@@ -27403,7 +27579,7 @@ boltProtocolUtil.assertNotificationFilterIsEmpty = boltProtocolUtil.assertImpers
27403
27579
  * See the License for the specific language governing permissions and
27404
27580
  * limitations under the License.
27405
27581
  */
27406
- var neo4j_driver_core_1$z = lib$1;
27582
+ var neo4j_driver_core_1$A = lib$1;
27407
27583
  /**
27408
27584
  * @param {TxConfig} txConfig the auto-commit transaction configuration.
27409
27585
  * @param {function(error: string)} onProtocolError called when the txConfig is not empty.
@@ -27412,7 +27588,7 @@ var neo4j_driver_core_1$z = lib$1;
27412
27588
  function assertTxConfigIsEmpty(txConfig, onProtocolError, observer) {
27413
27589
  if (onProtocolError === void 0) { onProtocolError = function () { }; }
27414
27590
  if (txConfig && !txConfig.isEmpty()) {
27415
- var error = (0, neo4j_driver_core_1$z.newError)('Driver is connected to the database that does not support transaction configuration. ' +
27591
+ var error = (0, neo4j_driver_core_1$A.newError)('Driver is connected to the database that does not support transaction configuration. ' +
27416
27592
  'Please upgrade to neo4j 3.5.0 or later in order to use this functionality');
27417
27593
  // unsupported API was used, consider this a fatal error for the current connection
27418
27594
  onProtocolError(error.message);
@@ -27429,7 +27605,7 @@ boltProtocolUtil.assertTxConfigIsEmpty = assertTxConfigIsEmpty;
27429
27605
  function assertDatabaseIsEmpty(database, onProtocolError, observer) {
27430
27606
  if (onProtocolError === void 0) { onProtocolError = function () { }; }
27431
27607
  if (database) {
27432
- var error = (0, neo4j_driver_core_1$z.newError)('Driver is connected to the database that does not support multiple databases. ' +
27608
+ var error = (0, neo4j_driver_core_1$A.newError)('Driver is connected to the database that does not support multiple databases. ' +
27433
27609
  'Please upgrade to neo4j 4.0.0 or later in order to use this functionality');
27434
27610
  // unsupported API was used, consider this a fatal error for the current connection
27435
27611
  onProtocolError(error.message);
@@ -27447,7 +27623,7 @@ boltProtocolUtil.assertDatabaseIsEmpty = assertDatabaseIsEmpty;
27447
27623
  function assertImpersonatedUserIsEmpty(impersonatedUser, onProtocolError, observer) {
27448
27624
  if (onProtocolError === void 0) { onProtocolError = function () { }; }
27449
27625
  if (impersonatedUser) {
27450
- var error = (0, neo4j_driver_core_1$z.newError)('Driver is connected to the database that does not support user impersonation. ' +
27626
+ var error = (0, neo4j_driver_core_1$A.newError)('Driver is connected to the database that does not support user impersonation. ' +
27451
27627
  'Please upgrade to neo4j 4.4.0 or later in order to use this functionality. ' +
27452
27628
  "Trying to impersonate ".concat(impersonatedUser, "."));
27453
27629
  // unsupported API was used, consider this a fatal error for the current connection
@@ -27466,9 +27642,9 @@ boltProtocolUtil.assertImpersonatedUserIsEmpty = assertImpersonatedUserIsEmpty;
27466
27642
  function assertNotificationFilterIsEmpty(notificationFilter, onProtocolError, observer) {
27467
27643
  if (onProtocolError === void 0) { onProtocolError = function () { }; }
27468
27644
  if (notificationFilter !== undefined) {
27469
- var error = (0, neo4j_driver_core_1$z.newError)('Driver is connected to a database that does not support user notification filters. ' +
27645
+ var error = (0, neo4j_driver_core_1$A.newError)('Driver is connected to a database that does not support user notification filters. ' +
27470
27646
  'Please upgrade to Neo4j 5.7.0 or later in order to use this functionality. ' +
27471
- "Trying to set notifications to ".concat(neo4j_driver_core_1$z.json.stringify(notificationFilter), "."));
27647
+ "Trying to set notifications to ".concat(neo4j_driver_core_1$A.json.stringify(notificationFilter), "."));
27472
27648
  // unsupported API was used, consider this a fatal error for the current connection
27473
27649
  onProtocolError(error.message);
27474
27650
  observer.onError(error);
@@ -27501,8 +27677,8 @@ var structure$1 = {};
27501
27677
  */
27502
27678
  Object.defineProperty(structure$1, "__esModule", { value: true });
27503
27679
  structure$1.verifyStructSize = structure$1.Structure = void 0;
27504
- var neo4j_driver_core_1$y = lib$1;
27505
- var PROTOCOL_ERROR$4 = neo4j_driver_core_1$y.error.PROTOCOL_ERROR;
27680
+ var neo4j_driver_core_1$z = lib$1;
27681
+ var PROTOCOL_ERROR$4 = neo4j_driver_core_1$z.error.PROTOCOL_ERROR;
27506
27682
  /**
27507
27683
  * A Structure have a signature and fields.
27508
27684
  */
@@ -27536,7 +27712,7 @@ var Structure = /** @class */ (function () {
27536
27712
  structure$1.Structure = Structure;
27537
27713
  function verifyStructSize(structName, expectedSize, actualSize) {
27538
27714
  if (expectedSize !== actualSize) {
27539
- throw (0, neo4j_driver_core_1$y.newError)("Wrong struct size for ".concat(structName, ", expected ").concat(expectedSize, " but was ").concat(actualSize), PROTOCOL_ERROR$4);
27715
+ throw (0, neo4j_driver_core_1$z.newError)("Wrong struct size for ".concat(structName, ", expected ").concat(expectedSize, " but was ").concat(actualSize), PROTOCOL_ERROR$4);
27540
27716
  }
27541
27717
  }
27542
27718
  structure$1.verifyStructSize = verifyStructSize;
@@ -27563,8 +27739,8 @@ packstreamV1.Unpacker = packstreamV1.Packer = void 0;
27563
27739
  var channel_1$3 = channel;
27564
27740
  var lang_1$3 = lang;
27565
27741
  var structure_1 = structure$1;
27566
- var neo4j_driver_core_1$x = lib$1;
27567
- var PROTOCOL_ERROR$3 = neo4j_driver_core_1$x.error.PROTOCOL_ERROR;
27742
+ var neo4j_driver_core_1$y = lib$1;
27743
+ var PROTOCOL_ERROR$3 = neo4j_driver_core_1$y.error.PROTOCOL_ERROR;
27568
27744
  var TINY_STRING = 0x80;
27569
27745
  var TINY_LIST = 0x90;
27570
27746
  var TINY_MAP = 0xa0;
@@ -27634,9 +27810,9 @@ var Packer$1 = /** @class */ (function () {
27634
27810
  return function () { return _this.packString(x); };
27635
27811
  }
27636
27812
  else if (typeof x === 'bigint') {
27637
- return function () { return _this.packInteger((0, neo4j_driver_core_1$x.int)(x)); };
27813
+ return function () { return _this.packInteger((0, neo4j_driver_core_1$y.int)(x)); };
27638
27814
  }
27639
- else if ((0, neo4j_driver_core_1$x.isInt)(x)) {
27815
+ else if ((0, neo4j_driver_core_1$y.isInt)(x)) {
27640
27816
  return function () { return _this.packInteger(x); };
27641
27817
  }
27642
27818
  else if (x instanceof Int8Array) {
@@ -27690,7 +27866,7 @@ var Packer$1 = /** @class */ (function () {
27690
27866
  }
27691
27867
  catch (e) {
27692
27868
  // handle errors from iterable to array conversion
27693
- throw (0, neo4j_driver_core_1$x.newError)("Cannot pack given iterable, ".concat(e.message, ": ").concat(iterable));
27869
+ throw (0, neo4j_driver_core_1$y.newError)("Cannot pack given iterable, ".concat(e.message, ": ").concat(iterable));
27694
27870
  }
27695
27871
  };
27696
27872
  /**
@@ -27760,7 +27936,7 @@ var Packer$1 = /** @class */ (function () {
27760
27936
  this._ch.writeBytes(bytes);
27761
27937
  }
27762
27938
  else {
27763
- throw (0, neo4j_driver_core_1$x.newError)('UTF-8 strings of size ' + size + ' are not supported');
27939
+ throw (0, neo4j_driver_core_1$y.newError)('UTF-8 strings of size ' + size + ' are not supported');
27764
27940
  }
27765
27941
  };
27766
27942
  Packer.prototype.packListHeader = function (size) {
@@ -27784,7 +27960,7 @@ var Packer$1 = /** @class */ (function () {
27784
27960
  this._ch.writeUInt8(size % 256);
27785
27961
  }
27786
27962
  else {
27787
- throw (0, neo4j_driver_core_1$x.newError)('Lists of size ' + size + ' are not supported');
27963
+ throw (0, neo4j_driver_core_1$y.newError)('Lists of size ' + size + ' are not supported');
27788
27964
  }
27789
27965
  };
27790
27966
  Packer.prototype.packBytes = function (array) {
@@ -27795,7 +27971,7 @@ var Packer$1 = /** @class */ (function () {
27795
27971
  }
27796
27972
  }
27797
27973
  else {
27798
- throw (0, neo4j_driver_core_1$x.newError)('Byte arrays are not supported by the database this driver is connected to');
27974
+ throw (0, neo4j_driver_core_1$y.newError)('Byte arrays are not supported by the database this driver is connected to');
27799
27975
  }
27800
27976
  };
27801
27977
  Packer.prototype.packBytesHeader = function (size) {
@@ -27816,7 +27992,7 @@ var Packer$1 = /** @class */ (function () {
27816
27992
  this._ch.writeUInt8(size % 256);
27817
27993
  }
27818
27994
  else {
27819
- throw (0, neo4j_driver_core_1$x.newError)('Byte arrays of size ' + size + ' are not supported');
27995
+ throw (0, neo4j_driver_core_1$y.newError)('Byte arrays of size ' + size + ' are not supported');
27820
27996
  }
27821
27997
  };
27822
27998
  Packer.prototype.packMapHeader = function (size) {
@@ -27840,7 +28016,7 @@ var Packer$1 = /** @class */ (function () {
27840
28016
  this._ch.writeUInt8(size % 256);
27841
28017
  }
27842
28018
  else {
27843
- throw (0, neo4j_driver_core_1$x.newError)('Maps of size ' + size + ' are not supported');
28019
+ throw (0, neo4j_driver_core_1$y.newError)('Maps of size ' + size + ' are not supported');
27844
28020
  }
27845
28021
  };
27846
28022
  Packer.prototype.packStructHeader = function (size, signature) {
@@ -27859,7 +28035,7 @@ var Packer$1 = /** @class */ (function () {
27859
28035
  this._ch.writeUInt8(size % 256);
27860
28036
  }
27861
28037
  else {
27862
- throw (0, neo4j_driver_core_1$x.newError)('Structures of size ' + size + ' are not supported');
28038
+ throw (0, neo4j_driver_core_1$y.newError)('Structures of size ' + size + ' are not supported');
27863
28039
  }
27864
28040
  };
27865
28041
  Packer.prototype.disableByteArrays = function () {
@@ -27867,7 +28043,7 @@ var Packer$1 = /** @class */ (function () {
27867
28043
  };
27868
28044
  Packer.prototype._nonPackableValue = function (message) {
27869
28045
  return function () {
27870
- throw (0, neo4j_driver_core_1$x.newError)(message, PROTOCOL_ERROR$3);
28046
+ throw (0, neo4j_driver_core_1$y.newError)(message, PROTOCOL_ERROR$3);
27871
28047
  };
27872
28048
  };
27873
28049
  return Packer;
@@ -27903,7 +28079,7 @@ var Unpacker$1 = /** @class */ (function () {
27903
28079
  }
27904
28080
  var numberOrInteger = this._unpackNumberOrInteger(marker, buffer);
27905
28081
  if (numberOrInteger !== null) {
27906
- if ((0, neo4j_driver_core_1$x.isInt)(numberOrInteger)) {
28082
+ if ((0, neo4j_driver_core_1$y.isInt)(numberOrInteger)) {
27907
28083
  if (this._useBigInt) {
27908
28084
  return numberOrInteger.toBigInt();
27909
28085
  }
@@ -27933,13 +28109,13 @@ var Unpacker$1 = /** @class */ (function () {
27933
28109
  if (struct !== null) {
27934
28110
  return struct;
27935
28111
  }
27936
- throw (0, neo4j_driver_core_1$x.newError)('Unknown packed value with marker ' + marker.toString(16));
28112
+ throw (0, neo4j_driver_core_1$y.newError)('Unknown packed value with marker ' + marker.toString(16));
27937
28113
  };
27938
28114
  Unpacker.prototype.unpackInteger = function (buffer) {
27939
28115
  var marker = buffer.readUInt8();
27940
28116
  var result = this._unpackInteger(marker, buffer);
27941
28117
  if (result == null) {
27942
- throw (0, neo4j_driver_core_1$x.newError)('Unable to unpack integer value with marker ' + marker.toString(16));
28118
+ throw (0, neo4j_driver_core_1$y.newError)('Unable to unpack integer value with marker ' + marker.toString(16));
27943
28119
  }
27944
28120
  return result;
27945
28121
  };
@@ -27964,25 +28140,25 @@ var Unpacker$1 = /** @class */ (function () {
27964
28140
  };
27965
28141
  Unpacker.prototype._unpackInteger = function (marker, buffer) {
27966
28142
  if (marker >= 0 && marker < 128) {
27967
- return (0, neo4j_driver_core_1$x.int)(marker);
28143
+ return (0, neo4j_driver_core_1$y.int)(marker);
27968
28144
  }
27969
28145
  else if (marker >= 240 && marker < 256) {
27970
- return (0, neo4j_driver_core_1$x.int)(marker - 256);
28146
+ return (0, neo4j_driver_core_1$y.int)(marker - 256);
27971
28147
  }
27972
28148
  else if (marker === INT_8) {
27973
- return (0, neo4j_driver_core_1$x.int)(buffer.readInt8());
28149
+ return (0, neo4j_driver_core_1$y.int)(buffer.readInt8());
27974
28150
  }
27975
28151
  else if (marker === INT_16) {
27976
- return (0, neo4j_driver_core_1$x.int)(buffer.readInt16());
28152
+ return (0, neo4j_driver_core_1$y.int)(buffer.readInt16());
27977
28153
  }
27978
28154
  else if (marker === INT_32) {
27979
28155
  var b = buffer.readInt32();
27980
- return (0, neo4j_driver_core_1$x.int)(b);
28156
+ return (0, neo4j_driver_core_1$y.int)(b);
27981
28157
  }
27982
28158
  else if (marker === INT_64) {
27983
28159
  var high = buffer.readInt32();
27984
28160
  var low = buffer.readInt32();
27985
- return new neo4j_driver_core_1$x.Integer(low, high);
28161
+ return new neo4j_driver_core_1$y.Integer(low, high);
27986
28162
  }
27987
28163
  else {
27988
28164
  return null;
@@ -28125,7 +28301,7 @@ var packstreamV2 = {};
28125
28301
  * See the License for the specific language governing permissions and
28126
28302
  * limitations under the License.
28127
28303
  */
28128
- var __extends$l = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
28304
+ var __extends$m = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
28129
28305
  var extendStatics = function (d, b) {
28130
28306
  extendStatics = Object.setPrototypeOf ||
28131
28307
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -28167,7 +28343,7 @@ Object.defineProperty(packstreamV2, "__esModule", { value: true });
28167
28343
  packstreamV2.Unpacker = packstreamV2.Packer = void 0;
28168
28344
  var v1$1 = __importStar$3(packstreamV1);
28169
28345
  var Packer = /** @class */ (function (_super) {
28170
- __extends$l(Packer, _super);
28346
+ __extends$m(Packer, _super);
28171
28347
  function Packer() {
28172
28348
  return _super !== null && _super.apply(this, arguments) || this;
28173
28349
  }
@@ -28178,7 +28354,7 @@ var Packer = /** @class */ (function (_super) {
28178
28354
  }(v1$1.Packer));
28179
28355
  packstreamV2.Packer = Packer;
28180
28356
  var Unpacker = /** @class */ (function (_super) {
28181
- __extends$l(Unpacker, _super);
28357
+ __extends$m(Unpacker, _super);
28182
28358
  /**
28183
28359
  * @constructor
28184
28360
  * @param {boolean} disableLosslessIntegers if this unpacker should convert all received integers to native JS numbers.
@@ -28262,8 +28438,8 @@ var requestMessage = {};
28262
28438
  */
28263
28439
  Object.defineProperty(requestMessage, "__esModule", { value: true });
28264
28440
  requestMessage.SIGNATURES = void 0;
28265
- var neo4j_driver_core_1$w = lib$1;
28266
- var _a$b = neo4j_driver_core_1$w.internal.constants, ACCESS_MODE_READ = _a$b.ACCESS_MODE_READ, FETCH_ALL$4 = _a$b.FETCH_ALL, assertString = neo4j_driver_core_1$w.internal.util.assertString;
28441
+ var neo4j_driver_core_1$x = lib$1;
28442
+ var _a$b = neo4j_driver_core_1$x.internal.constants, ACCESS_MODE_READ = _a$b.ACCESS_MODE_READ, FETCH_ALL$4 = _a$b.FETCH_ALL, assertString = neo4j_driver_core_1$x.internal.util.assertString;
28267
28443
  /* eslint-disable no-unused-vars */
28268
28444
  // Signature bytes for each request message type
28269
28445
  var INIT = 0x01; // 0000 0001 // INIT <user_agent> <authentication_token>
@@ -28324,7 +28500,7 @@ var RequestMessage = /** @class */ (function () {
28324
28500
  * @return {RequestMessage} new RUN message.
28325
28501
  */
28326
28502
  RequestMessage.run = function (query, parameters) {
28327
- return new RequestMessage(RUN, [query, parameters], function () { return "RUN ".concat(query, " ").concat(neo4j_driver_core_1$w.json.stringify(parameters)); });
28503
+ return new RequestMessage(RUN, [query, parameters], function () { return "RUN ".concat(query, " ").concat(neo4j_driver_core_1$x.json.stringify(parameters)); });
28328
28504
  };
28329
28505
  /**
28330
28506
  * Get a PULL_ALL message.
@@ -28388,7 +28564,7 @@ var RequestMessage = /** @class */ (function () {
28388
28564
  if (routing) {
28389
28565
  metadata.routing = routing;
28390
28566
  }
28391
- return new RequestMessage(HELLO, [metadata], function () { return "HELLO ".concat(neo4j_driver_core_1$w.json.stringify(metadata)); });
28567
+ return new RequestMessage(HELLO, [metadata], function () { return "HELLO ".concat(neo4j_driver_core_1$x.json.stringify(metadata)); });
28392
28568
  };
28393
28569
  /**
28394
28570
  * Create a new HELLO message.
@@ -28417,7 +28593,7 @@ var RequestMessage = /** @class */ (function () {
28417
28593
  if (routing) {
28418
28594
  metadata.routing = routing;
28419
28595
  }
28420
- return new RequestMessage(HELLO, [metadata], function () { return "HELLO ".concat(neo4j_driver_core_1$w.json.stringify(metadata)); });
28596
+ return new RequestMessage(HELLO, [metadata], function () { return "HELLO ".concat(neo4j_driver_core_1$x.json.stringify(metadata)); });
28421
28597
  };
28422
28598
  /**
28423
28599
  * Create a new HELLO message.
@@ -28446,7 +28622,7 @@ var RequestMessage = /** @class */ (function () {
28446
28622
  if (routing) {
28447
28623
  metadata.routing = routing;
28448
28624
  }
28449
- return new RequestMessage(HELLO, [metadata], function () { return "HELLO ".concat(neo4j_driver_core_1$w.json.stringify(metadata)); });
28625
+ return new RequestMessage(HELLO, [metadata], function () { return "HELLO ".concat(neo4j_driver_core_1$x.json.stringify(metadata)); });
28450
28626
  };
28451
28627
  /**
28452
28628
  * Create a new LOGON message.
@@ -28478,7 +28654,7 @@ var RequestMessage = /** @class */ (function () {
28478
28654
  RequestMessage.begin = function (_a) {
28479
28655
  var _b = _a === void 0 ? {} : _a, bookmarks = _b.bookmarks, txConfig = _b.txConfig, database = _b.database, mode = _b.mode, impersonatedUser = _b.impersonatedUser, notificationFilter = _b.notificationFilter;
28480
28656
  var metadata = buildTxMetadata(bookmarks, txConfig, database, mode, impersonatedUser, notificationFilter);
28481
- return new RequestMessage(BEGIN, [metadata], function () { return "BEGIN ".concat(neo4j_driver_core_1$w.json.stringify(metadata)); });
28657
+ return new RequestMessage(BEGIN, [metadata], function () { return "BEGIN ".concat(neo4j_driver_core_1$x.json.stringify(metadata)); });
28482
28658
  };
28483
28659
  /**
28484
28660
  * Create a new BEGIN message.
@@ -28495,7 +28671,7 @@ var RequestMessage = /** @class */ (function () {
28495
28671
  var metadata = buildTxMetadata(bookmarks, txConfig, database, mode, impersonatedUser, notificationFilter, {
28496
28672
  appendNotificationFilter: appendGqlNotificationFilterToMetadata
28497
28673
  });
28498
- return new RequestMessage(BEGIN, [metadata], function () { return "BEGIN ".concat(neo4j_driver_core_1$w.json.stringify(metadata)); });
28674
+ return new RequestMessage(BEGIN, [metadata], function () { return "BEGIN ".concat(neo4j_driver_core_1$x.json.stringify(metadata)); });
28499
28675
  };
28500
28676
  /**
28501
28677
  * Get a COMMIT message.
@@ -28528,7 +28704,7 @@ var RequestMessage = /** @class */ (function () {
28528
28704
  var _b = _a === void 0 ? {} : _a, bookmarks = _b.bookmarks, txConfig = _b.txConfig, database = _b.database, mode = _b.mode, impersonatedUser = _b.impersonatedUser, notificationFilter = _b.notificationFilter;
28529
28705
  var metadata = buildTxMetadata(bookmarks, txConfig, database, mode, impersonatedUser, notificationFilter);
28530
28706
  return new RequestMessage(RUN, [query, parameters, metadata], function () {
28531
- return "RUN ".concat(query, " ").concat(neo4j_driver_core_1$w.json.stringify(parameters), " ").concat(neo4j_driver_core_1$w.json.stringify(metadata));
28707
+ return "RUN ".concat(query, " ").concat(neo4j_driver_core_1$x.json.stringify(parameters), " ").concat(neo4j_driver_core_1$x.json.stringify(metadata));
28532
28708
  });
28533
28709
  };
28534
28710
  /**
@@ -28550,7 +28726,7 @@ var RequestMessage = /** @class */ (function () {
28550
28726
  appendNotificationFilter: appendGqlNotificationFilterToMetadata
28551
28727
  });
28552
28728
  return new RequestMessage(RUN, [query, parameters, metadata], function () {
28553
- return "RUN ".concat(query, " ").concat(neo4j_driver_core_1$w.json.stringify(parameters), " ").concat(neo4j_driver_core_1$w.json.stringify(metadata));
28729
+ return "RUN ".concat(query, " ").concat(neo4j_driver_core_1$x.json.stringify(parameters), " ").concat(neo4j_driver_core_1$x.json.stringify(metadata));
28554
28730
  });
28555
28731
  };
28556
28732
  /**
@@ -28569,7 +28745,7 @@ var RequestMessage = /** @class */ (function () {
28569
28745
  RequestMessage.pull = function (_a) {
28570
28746
  var _b = _a === void 0 ? {} : _a, _c = _b.stmtId, stmtId = _c === void 0 ? NO_STATEMENT_ID : _c, _d = _b.n, n = _d === void 0 ? FETCH_ALL$4 : _d;
28571
28747
  var metadata = buildStreamMetadata(stmtId === null || stmtId === undefined ? NO_STATEMENT_ID : stmtId, n || FETCH_ALL$4);
28572
- return new RequestMessage(PULL, [metadata], function () { return "PULL ".concat(neo4j_driver_core_1$w.json.stringify(metadata)); });
28748
+ return new RequestMessage(PULL, [metadata], function () { return "PULL ".concat(neo4j_driver_core_1$x.json.stringify(metadata)); });
28573
28749
  };
28574
28750
  /**
28575
28751
  * Generates a new DISCARD message with additional metadata.
@@ -28580,11 +28756,11 @@ var RequestMessage = /** @class */ (function () {
28580
28756
  RequestMessage.discard = function (_a) {
28581
28757
  var _b = _a === void 0 ? {} : _a, _c = _b.stmtId, stmtId = _c === void 0 ? NO_STATEMENT_ID : _c, _d = _b.n, n = _d === void 0 ? FETCH_ALL$4 : _d;
28582
28758
  var metadata = buildStreamMetadata(stmtId === null || stmtId === undefined ? NO_STATEMENT_ID : stmtId, n || FETCH_ALL$4);
28583
- return new RequestMessage(DISCARD, [metadata], function () { return "DISCARD ".concat(neo4j_driver_core_1$w.json.stringify(metadata)); });
28759
+ return new RequestMessage(DISCARD, [metadata], function () { return "DISCARD ".concat(neo4j_driver_core_1$x.json.stringify(metadata)); });
28584
28760
  };
28585
28761
  RequestMessage.telemetry = function (_a) {
28586
28762
  var api = _a.api;
28587
- var parsedApi = (0, neo4j_driver_core_1$w.int)(api);
28763
+ var parsedApi = (0, neo4j_driver_core_1$x.int)(api);
28588
28764
  return new RequestMessage(TELEMETRY, [parsedApi], function () { return "TELEMETRY ".concat(parsedApi.toString()); });
28589
28765
  };
28590
28766
  /**
@@ -28600,7 +28776,7 @@ var RequestMessage = /** @class */ (function () {
28600
28776
  if (bookmarks === void 0) { bookmarks = []; }
28601
28777
  if (databaseName === void 0) { databaseName = null; }
28602
28778
  return new RequestMessage(ROUTE, [routingContext, bookmarks, databaseName], function () {
28603
- return "ROUTE ".concat(neo4j_driver_core_1$w.json.stringify(routingContext), " ").concat(neo4j_driver_core_1$w.json.stringify(bookmarks), " ").concat(databaseName);
28779
+ return "ROUTE ".concat(neo4j_driver_core_1$x.json.stringify(routingContext), " ").concat(neo4j_driver_core_1$x.json.stringify(bookmarks), " ").concat(databaseName);
28604
28780
  });
28605
28781
  };
28606
28782
  /**
@@ -28625,7 +28801,7 @@ var RequestMessage = /** @class */ (function () {
28625
28801
  dbContext.imp_user = databaseContext.impersonatedUser;
28626
28802
  }
28627
28803
  return new RequestMessage(ROUTE, [routingContext, bookmarks, dbContext], function () {
28628
- return "ROUTE ".concat(neo4j_driver_core_1$w.json.stringify(routingContext), " ").concat(neo4j_driver_core_1$w.json.stringify(bookmarks), " ").concat(neo4j_driver_core_1$w.json.stringify(dbContext));
28804
+ return "ROUTE ".concat(neo4j_driver_core_1$x.json.stringify(routingContext), " ").concat(neo4j_driver_core_1$x.json.stringify(bookmarks), " ").concat(neo4j_driver_core_1$x.json.stringify(dbContext));
28629
28805
  });
28630
28806
  };
28631
28807
  return RequestMessage;
@@ -28676,9 +28852,9 @@ function buildTxMetadata(bookmarks, txConfig, database, mode, impersonatedUser,
28676
28852
  * @returns {Object} a metadata object.
28677
28853
  */
28678
28854
  function buildStreamMetadata(stmtId, n) {
28679
- var metadata = { n: (0, neo4j_driver_core_1$w.int)(n) };
28855
+ var metadata = { n: (0, neo4j_driver_core_1$x.int)(n) };
28680
28856
  if (stmtId !== NO_STATEMENT_ID) {
28681
- metadata.qid = (0, neo4j_driver_core_1$w.int)(stmtId);
28857
+ metadata.qid = (0, neo4j_driver_core_1$x.int)(stmtId);
28682
28858
  }
28683
28859
  return metadata;
28684
28860
  }
@@ -28738,8 +28914,8 @@ var transformer = {};
28738
28914
  Object.defineProperty(transformer, "__esModule", { value: true });
28739
28915
  transformer.TypeTransformer = void 0;
28740
28916
  var packstream_1$6 = packstream;
28741
- var neo4j_driver_core_1$v = lib$1;
28742
- var objectUtil = neo4j_driver_core_1$v.internal.objectUtil;
28917
+ var neo4j_driver_core_1$w = lib$1;
28918
+ var objectUtil = neo4j_driver_core_1$w.internal.objectUtil;
28743
28919
  /**
28744
28920
  * Class responsible for applying the expected {@link TypeTransformer} to
28745
28921
  * transform the driver types from and to {@link struct.Structure}
@@ -28882,10 +29058,10 @@ var __read$6 = (commonjsGlobal && commonjsGlobal.__read) || function (o, n) {
28882
29058
  return ar;
28883
29059
  };
28884
29060
  Object.defineProperty(boltProtocolV1_transformer, "__esModule", { value: true });
28885
- var neo4j_driver_core_1$u = lib$1;
29061
+ var neo4j_driver_core_1$v = lib$1;
28886
29062
  var packstream_1$5 = packstream;
28887
- var transformer_1$g = transformer;
28888
- var PROTOCOL_ERROR$2 = neo4j_driver_core_1$u.error.PROTOCOL_ERROR;
29063
+ var transformer_1$h = transformer;
29064
+ var PROTOCOL_ERROR$2 = neo4j_driver_core_1$v.error.PROTOCOL_ERROR;
28889
29065
  var NODE = 0x4e;
28890
29066
  var NODE_STRUCT_SIZE$1 = 3;
28891
29067
  var RELATIONSHIP = 0x52;
@@ -28899,16 +29075,16 @@ var PATH_STRUCT_SIZE = 3;
28899
29075
  * @returns {TypeTransformer}
28900
29076
  */
28901
29077
  function createNodeTransformer$1() {
28902
- return new transformer_1$g.TypeTransformer({
29078
+ return new transformer_1$h.TypeTransformer({
28903
29079
  signature: NODE,
28904
- isTypeInstance: function (object) { return object instanceof neo4j_driver_core_1$u.Node; },
29080
+ isTypeInstance: function (object) { return object instanceof neo4j_driver_core_1$v.Node; },
28905
29081
  toStructure: function (object) {
28906
- throw (0, neo4j_driver_core_1$u.newError)("It is not allowed to pass nodes in query parameters, given: ".concat(object), PROTOCOL_ERROR$2);
29082
+ throw (0, neo4j_driver_core_1$v.newError)("It is not allowed to pass nodes in query parameters, given: ".concat(object), PROTOCOL_ERROR$2);
28907
29083
  },
28908
29084
  fromStructure: function (struct) {
28909
29085
  packstream_1$5.structure.verifyStructSize('Node', NODE_STRUCT_SIZE$1, struct.size);
28910
29086
  var _a = __read$6(struct.fields, 3), identity = _a[0], labels = _a[1], properties = _a[2];
28911
- return new neo4j_driver_core_1$u.Node(identity, labels, properties);
29087
+ return new neo4j_driver_core_1$v.Node(identity, labels, properties);
28912
29088
  }
28913
29089
  });
28914
29090
  }
@@ -28917,16 +29093,16 @@ function createNodeTransformer$1() {
28917
29093
  * @returns {TypeTransformer}
28918
29094
  */
28919
29095
  function createRelationshipTransformer$1() {
28920
- return new transformer_1$g.TypeTransformer({
29096
+ return new transformer_1$h.TypeTransformer({
28921
29097
  signature: RELATIONSHIP,
28922
- isTypeInstance: function (object) { return object instanceof neo4j_driver_core_1$u.Relationship; },
29098
+ isTypeInstance: function (object) { return object instanceof neo4j_driver_core_1$v.Relationship; },
28923
29099
  toStructure: function (object) {
28924
- throw (0, neo4j_driver_core_1$u.newError)("It is not allowed to pass relationships in query parameters, given: ".concat(object), PROTOCOL_ERROR$2);
29100
+ throw (0, neo4j_driver_core_1$v.newError)("It is not allowed to pass relationships in query parameters, given: ".concat(object), PROTOCOL_ERROR$2);
28925
29101
  },
28926
29102
  fromStructure: function (struct) {
28927
29103
  packstream_1$5.structure.verifyStructSize('Relationship', RELATIONSHIP_STRUCT_SIZE$1, struct.size);
28928
29104
  var _a = __read$6(struct.fields, 5), identity = _a[0], startNodeIdentity = _a[1], endNodeIdentity = _a[2], type = _a[3], properties = _a[4];
28929
- return new neo4j_driver_core_1$u.Relationship(identity, startNodeIdentity, endNodeIdentity, type, properties);
29105
+ return new neo4j_driver_core_1$v.Relationship(identity, startNodeIdentity, endNodeIdentity, type, properties);
28930
29106
  }
28931
29107
  });
28932
29108
  }
@@ -28935,16 +29111,16 @@ function createRelationshipTransformer$1() {
28935
29111
  * @returns {TypeTransformer}
28936
29112
  */
28937
29113
  function createUnboundRelationshipTransformer$1() {
28938
- return new transformer_1$g.TypeTransformer({
29114
+ return new transformer_1$h.TypeTransformer({
28939
29115
  signature: UNBOUND_RELATIONSHIP,
28940
- isTypeInstance: function (object) { return object instanceof neo4j_driver_core_1$u.UnboundRelationship; },
29116
+ isTypeInstance: function (object) { return object instanceof neo4j_driver_core_1$v.UnboundRelationship; },
28941
29117
  toStructure: function (object) {
28942
- throw (0, neo4j_driver_core_1$u.newError)("It is not allowed to pass unbound relationships in query parameters, given: ".concat(object), PROTOCOL_ERROR$2);
29118
+ throw (0, neo4j_driver_core_1$v.newError)("It is not allowed to pass unbound relationships in query parameters, given: ".concat(object), PROTOCOL_ERROR$2);
28943
29119
  },
28944
29120
  fromStructure: function (struct) {
28945
29121
  packstream_1$5.structure.verifyStructSize('UnboundRelationship', UNBOUND_RELATIONSHIP_STRUCT_SIZE$1, struct.size);
28946
29122
  var _a = __read$6(struct.fields, 3), identity = _a[0], type = _a[1], properties = _a[2];
28947
- return new neo4j_driver_core_1$u.UnboundRelationship(identity, type, properties);
29123
+ return new neo4j_driver_core_1$v.UnboundRelationship(identity, type, properties);
28948
29124
  }
28949
29125
  });
28950
29126
  }
@@ -28953,11 +29129,11 @@ function createUnboundRelationshipTransformer$1() {
28953
29129
  * @returns {TypeTransformer}
28954
29130
  */
28955
29131
  function createPathTransformer() {
28956
- return new transformer_1$g.TypeTransformer({
29132
+ return new transformer_1$h.TypeTransformer({
28957
29133
  signature: PATH,
28958
- isTypeInstance: function (object) { return object instanceof neo4j_driver_core_1$u.Path; },
29134
+ isTypeInstance: function (object) { return object instanceof neo4j_driver_core_1$v.Path; },
28959
29135
  toStructure: function (object) {
28960
- throw (0, neo4j_driver_core_1$u.newError)("It is not allowed to pass paths in query parameters, given: ".concat(object), PROTOCOL_ERROR$2);
29136
+ throw (0, neo4j_driver_core_1$v.newError)("It is not allowed to pass paths in query parameters, given: ".concat(object), PROTOCOL_ERROR$2);
28961
29137
  },
28962
29138
  fromStructure: function (struct) {
28963
29139
  packstream_1$5.structure.verifyStructSize('Path', PATH_STRUCT_SIZE, struct.size);
@@ -28966,11 +29142,11 @@ function createPathTransformer() {
28966
29142
  var prevNode = nodes[0];
28967
29143
  for (var i = 0; i < sequence.length; i += 2) {
28968
29144
  var nextNode = nodes[sequence[i + 1]];
28969
- var relIndex = (0, neo4j_driver_core_1$u.toNumber)(sequence[i]);
29145
+ var relIndex = (0, neo4j_driver_core_1$v.toNumber)(sequence[i]);
28970
29146
  var rel = void 0;
28971
29147
  if (relIndex > 0) {
28972
29148
  rel = rels[relIndex - 1];
28973
- if (rel instanceof neo4j_driver_core_1$u.UnboundRelationship) {
29149
+ if (rel instanceof neo4j_driver_core_1$v.UnboundRelationship) {
28974
29150
  // To avoid duplication, relationships in a path do not contain
28975
29151
  // information about their start and end nodes, that's instead
28976
29152
  // inferred from the path sequence. This is us inferring (and,
@@ -28980,16 +29156,16 @@ function createPathTransformer() {
28980
29156
  }
28981
29157
  else {
28982
29158
  rel = rels[-relIndex - 1];
28983
- if (rel instanceof neo4j_driver_core_1$u.UnboundRelationship) {
29159
+ if (rel instanceof neo4j_driver_core_1$v.UnboundRelationship) {
28984
29160
  // See above
28985
29161
  rels[-relIndex - 1] = rel = rel.bindTo(nextNode, prevNode);
28986
29162
  }
28987
29163
  }
28988
29164
  // Done hydrating one path segment.
28989
- segments.push(new neo4j_driver_core_1$u.PathSegment(prevNode, rel, nextNode));
29165
+ segments.push(new neo4j_driver_core_1$v.PathSegment(prevNode, rel, nextNode));
28990
29166
  prevNode = nextNode;
28991
29167
  }
28992
- return new neo4j_driver_core_1$u.Path(nodes[0], nodes[nodes.length - 1], segments);
29168
+ return new neo4j_driver_core_1$v.Path(nodes[0], nodes[nodes.length - 1], segments);
28993
29169
  }
28994
29170
  });
28995
29171
  }
@@ -29000,6 +29176,17 @@ boltProtocolV1_transformer.default = {
29000
29176
  createPathTransformer: createPathTransformer
29001
29177
  };
29002
29178
 
29179
+ var __assign$o = (commonjsGlobal && commonjsGlobal.__assign) || function () {
29180
+ __assign$o = Object.assign || function(t) {
29181
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
29182
+ s = arguments[i];
29183
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
29184
+ t[p] = s[p];
29185
+ }
29186
+ return t;
29187
+ };
29188
+ return __assign$o.apply(this, arguments);
29189
+ };
29003
29190
  var __createBinding$1 = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
29004
29191
  if (k2 === undefined) k2 = k;
29005
29192
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -29023,7 +29210,7 @@ var __importStar$1 = (commonjsGlobal && commonjsGlobal.__importStar) || function
29023
29210
  __setModuleDefault$1(result, mod);
29024
29211
  return result;
29025
29212
  };
29026
- var __importDefault$A = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
29213
+ var __importDefault$B = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
29027
29214
  return (mod && mod.__esModule) ? mod : { "default": mod };
29028
29215
  };
29029
29216
  Object.defineProperty(boltProtocolV1, "__esModule", { value: true });
@@ -29047,11 +29234,16 @@ var bolt_protocol_util_1$7 = boltProtocolUtil;
29047
29234
  var packstream_1$4 = packstream;
29048
29235
  var request_message_1$b = __importStar$1(requestMessage);
29049
29236
  var stream_observers_1$b = streamObservers;
29050
- var neo4j_driver_core_1$t = lib$1;
29051
- var bolt_protocol_v1_transformer_1$1 = __importDefault$A(boltProtocolV1_transformer);
29052
- var transformer_1$f = __importDefault$A(transformer);
29053
- var Bookmarks$3 = neo4j_driver_core_1$t.internal.bookmarks.Bookmarks, _a$a = neo4j_driver_core_1$t.internal.constants, ACCESS_MODE_WRITE = _a$a.ACCESS_MODE_WRITE, BOLT_PROTOCOL_V1 = _a$a.BOLT_PROTOCOL_V1; neo4j_driver_core_1$t.internal.logger.Logger; var TxConfig$2 = neo4j_driver_core_1$t.internal.txConfig.TxConfig;
29054
- var BoltProtocol$e = /** @class */ (function () {
29237
+ var neo4j_driver_core_1$u = lib$1;
29238
+ var bolt_protocol_v1_transformer_1$1 = __importDefault$B(boltProtocolV1_transformer);
29239
+ var transformer_1$g = __importDefault$B(transformer);
29240
+ var Bookmarks$3 = neo4j_driver_core_1$u.internal.bookmarks.Bookmarks, _a$a = neo4j_driver_core_1$u.internal.constants, ACCESS_MODE_WRITE = _a$a.ACCESS_MODE_WRITE, BOLT_PROTOCOL_V1 = _a$a.BOLT_PROTOCOL_V1; neo4j_driver_core_1$u.internal.logger.Logger; var TxConfig$2 = neo4j_driver_core_1$u.internal.txConfig.TxConfig;
29241
+ var DEFAULT_DIAGNOSTIC_RECORD$3 = Object.freeze({
29242
+ OPERATION: '',
29243
+ OPERATION_CODE: '0',
29244
+ CURRENT_SCHEMA: '/'
29245
+ });
29246
+ var BoltProtocol$f = /** @class */ (function () {
29055
29247
  /**
29056
29248
  * @callback CreateResponseHandler Creates the response handler
29057
29249
  * @param {BoltProtocol} protocol The bolt protocol
@@ -29090,7 +29282,7 @@ var BoltProtocol$e = /** @class */ (function () {
29090
29282
  get: function () {
29091
29283
  var _this = this;
29092
29284
  if (this._transformer === undefined) {
29093
- this._transformer = new transformer_1$f.default(Object.values(bolt_protocol_v1_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
29285
+ this._transformer = new transformer_1$g.default(Object.values(bolt_protocol_v1_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
29094
29286
  }
29095
29287
  return this._transformer;
29096
29288
  },
@@ -29175,6 +29367,9 @@ var BoltProtocol$e = /** @class */ (function () {
29175
29367
  BoltProtocol.prototype.transformMetadata = function (metadata) {
29176
29368
  return metadata;
29177
29369
  };
29370
+ BoltProtocol.prototype.enrichErrorMetadata = function (metadata) {
29371
+ return __assign$o(__assign$o({}, metadata), { diagnostic_record: metadata.diagnostic_record !== null ? __assign$o(__assign$o({}, DEFAULT_DIAGNOSTIC_RECORD$3), metadata.diagnostic_record) : null });
29372
+ };
29178
29373
  /**
29179
29374
  * Perform initialization and authentication of the underlying connection.
29180
29375
  * @param {Object} param
@@ -29214,7 +29409,7 @@ var BoltProtocol$e = /** @class */ (function () {
29214
29409
  onError: onError
29215
29410
  });
29216
29411
  // TODO: Verify the Neo4j version in the message
29217
- var error = (0, neo4j_driver_core_1$t.newError)('Driver is connected to a database that does not support logoff. ' +
29412
+ var error = (0, neo4j_driver_core_1$u.newError)('Driver is connected to a database that does not support logoff. ' +
29218
29413
  'Please upgrade to Neo4j 5.5.0 or later in order to use this functionality.');
29219
29414
  // unsupported API was used, consider this a fatal error for the current connection
29220
29415
  this._onProtocolError(error.message);
@@ -29240,7 +29435,7 @@ var BoltProtocol$e = /** @class */ (function () {
29240
29435
  onError: function (error) { return _this._onLoginError(error, onError); }
29241
29436
  });
29242
29437
  // TODO: Verify the Neo4j version in the message
29243
- var error = (0, neo4j_driver_core_1$t.newError)('Driver is connected to a database that does not support logon. ' +
29438
+ var error = (0, neo4j_driver_core_1$u.newError)('Driver is connected to a database that does not support logon. ' +
29244
29439
  'Please upgrade to Neo4j 5.5.0 or later in order to use this functionality.');
29245
29440
  // unsupported API was used, consider this a fatal error for the current connection
29246
29441
  this._onProtocolError(error.message);
@@ -29531,7 +29726,7 @@ var BoltProtocol$e = /** @class */ (function () {
29531
29726
  };
29532
29727
  return BoltProtocol;
29533
29728
  }());
29534
- boltProtocolV1.default = BoltProtocol$e;
29729
+ boltProtocolV1.default = BoltProtocol$f;
29535
29730
 
29536
29731
  var boltProtocolV2 = {};
29537
29732
 
@@ -29557,17 +29752,17 @@ temporalFactory.epochSecondAndNanoToLocalDateTime = temporalFactory.nanoOfDayToL
29557
29752
  * See the License for the specific language governing permissions and
29558
29753
  * limitations under the License.
29559
29754
  */
29560
- var neo4j_driver_core_1$s = lib$1;
29561
- var _a$9 = neo4j_driver_core_1$s.internal.temporalUtil, DAYS_0000_TO_1970 = _a$9.DAYS_0000_TO_1970, DAYS_PER_400_YEAR_CYCLE = _a$9.DAYS_PER_400_YEAR_CYCLE, NANOS_PER_HOUR = _a$9.NANOS_PER_HOUR, NANOS_PER_MINUTE = _a$9.NANOS_PER_MINUTE, NANOS_PER_SECOND = _a$9.NANOS_PER_SECOND, SECONDS_PER_DAY = _a$9.SECONDS_PER_DAY, floorDiv = _a$9.floorDiv, floorMod = _a$9.floorMod;
29755
+ var neo4j_driver_core_1$t = lib$1;
29756
+ var _a$9 = neo4j_driver_core_1$t.internal.temporalUtil, DAYS_0000_TO_1970 = _a$9.DAYS_0000_TO_1970, DAYS_PER_400_YEAR_CYCLE = _a$9.DAYS_PER_400_YEAR_CYCLE, NANOS_PER_HOUR = _a$9.NANOS_PER_HOUR, NANOS_PER_MINUTE = _a$9.NANOS_PER_MINUTE, NANOS_PER_SECOND = _a$9.NANOS_PER_SECOND, SECONDS_PER_DAY = _a$9.SECONDS_PER_DAY, floorDiv = _a$9.floorDiv, floorMod = _a$9.floorMod;
29562
29757
  /**
29563
29758
  * Converts given epoch day to a local date.
29564
29759
  * @param {Integer|number|string} epochDay the epoch day to convert.
29565
29760
  * @return {Date} the date representing the epoch day in years, months and days.
29566
29761
  */
29567
29762
  function epochDayToDate(epochDay) {
29568
- epochDay = (0, neo4j_driver_core_1$s.int)(epochDay);
29763
+ epochDay = (0, neo4j_driver_core_1$t.int)(epochDay);
29569
29764
  var zeroDay = epochDay.add(DAYS_0000_TO_1970).subtract(60);
29570
- var adjust = (0, neo4j_driver_core_1$s.int)(0);
29765
+ var adjust = (0, neo4j_driver_core_1$t.int)(0);
29571
29766
  if (zeroDay.lessThan(0)) {
29572
29767
  var adjustCycles = zeroDay
29573
29768
  .add(1)
@@ -29610,7 +29805,7 @@ function epochDayToDate(epochDay) {
29610
29805
  .div(10))
29611
29806
  .add(1);
29612
29807
  year = year.add(marchMonth.div(10));
29613
- return new neo4j_driver_core_1$s.Date(year, month, day);
29808
+ return new neo4j_driver_core_1$t.Date(year, month, day);
29614
29809
  }
29615
29810
  temporalFactory.epochDayToDate = epochDayToDate;
29616
29811
  /**
@@ -29619,14 +29814,14 @@ temporalFactory.epochDayToDate = epochDayToDate;
29619
29814
  * @return {LocalTime} the local time representing given nanoseconds of the day.
29620
29815
  */
29621
29816
  function nanoOfDayToLocalTime(nanoOfDay) {
29622
- nanoOfDay = (0, neo4j_driver_core_1$s.int)(nanoOfDay);
29817
+ nanoOfDay = (0, neo4j_driver_core_1$t.int)(nanoOfDay);
29623
29818
  var hour = nanoOfDay.div(NANOS_PER_HOUR);
29624
29819
  nanoOfDay = nanoOfDay.subtract(hour.multiply(NANOS_PER_HOUR));
29625
29820
  var minute = nanoOfDay.div(NANOS_PER_MINUTE);
29626
29821
  nanoOfDay = nanoOfDay.subtract(minute.multiply(NANOS_PER_MINUTE));
29627
29822
  var second = nanoOfDay.div(NANOS_PER_SECOND);
29628
29823
  var nanosecond = nanoOfDay.subtract(second.multiply(NANOS_PER_SECOND));
29629
- return new neo4j_driver_core_1$s.LocalTime(hour, minute, second, nanosecond);
29824
+ return new neo4j_driver_core_1$t.LocalTime(hour, minute, second, nanosecond);
29630
29825
  }
29631
29826
  temporalFactory.nanoOfDayToLocalTime = nanoOfDayToLocalTime;
29632
29827
  /**
@@ -29641,7 +29836,7 @@ function epochSecondAndNanoToLocalDateTime(epochSecond, nano) {
29641
29836
  var nanoOfDay = secondsOfDay.multiply(NANOS_PER_SECOND).add(nano);
29642
29837
  var localDate = epochDayToDate(epochDay);
29643
29838
  var localTime = nanoOfDayToLocalTime(nanoOfDay);
29644
- return new neo4j_driver_core_1$s.LocalDateTime(localDate.year, localDate.month, localDate.day, localTime.hour, localTime.minute, localTime.second, localTime.nanosecond);
29839
+ return new neo4j_driver_core_1$t.LocalDateTime(localDate.year, localDate.month, localDate.day, localTime.hour, localTime.minute, localTime.second, localTime.nanosecond);
29645
29840
  }
29646
29841
  temporalFactory.epochSecondAndNanoToLocalDateTime = epochSecondAndNanoToLocalDateTime;
29647
29842
 
@@ -29661,8 +29856,8 @@ temporalFactory.epochSecondAndNanoToLocalDateTime = epochSecondAndNanoToLocalDat
29661
29856
  * See the License for the specific language governing permissions and
29662
29857
  * limitations under the License.
29663
29858
  */
29664
- var __assign$m = (commonjsGlobal && commonjsGlobal.__assign) || function () {
29665
- __assign$m = Object.assign || function(t) {
29859
+ var __assign$n = (commonjsGlobal && commonjsGlobal.__assign) || function () {
29860
+ __assign$n = Object.assign || function(t) {
29666
29861
  for (var s, i = 1, n = arguments.length; i < n; i++) {
29667
29862
  s = arguments[i];
29668
29863
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -29670,7 +29865,7 @@ var __assign$m = (commonjsGlobal && commonjsGlobal.__assign) || function () {
29670
29865
  }
29671
29866
  return t;
29672
29867
  };
29673
- return __assign$m.apply(this, arguments);
29868
+ return __assign$n.apply(this, arguments);
29674
29869
  };
29675
29870
  var __read$5 = (commonjsGlobal && commonjsGlobal.__read) || function (o, n) {
29676
29871
  var m = typeof Symbol === "function" && o[Symbol.iterator];
@@ -29688,16 +29883,16 @@ var __read$5 = (commonjsGlobal && commonjsGlobal.__read) || function (o, n) {
29688
29883
  }
29689
29884
  return ar;
29690
29885
  };
29691
- var __importDefault$z = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
29886
+ var __importDefault$A = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
29692
29887
  return (mod && mod.__esModule) ? mod : { "default": mod };
29693
29888
  };
29694
29889
  Object.defineProperty(boltProtocolV2_transformer, "__esModule", { value: true });
29695
- var neo4j_driver_core_1$r = lib$1;
29890
+ var neo4j_driver_core_1$s = lib$1;
29696
29891
  var packstream_1$3 = packstream;
29697
- var transformer_1$e = transformer;
29892
+ var transformer_1$f = transformer;
29698
29893
  var temporal_factory_1$1 = temporalFactory;
29699
- var bolt_protocol_v1_transformer_1 = __importDefault$z(boltProtocolV1_transformer);
29700
- var _a$8 = neo4j_driver_core_1$r.internal.temporalUtil, dateToEpochDay = _a$8.dateToEpochDay, localDateTimeToEpochSecond$1 = _a$8.localDateTimeToEpochSecond, localTimeToNanoOfDay = _a$8.localTimeToNanoOfDay;
29894
+ var bolt_protocol_v1_transformer_1 = __importDefault$A(boltProtocolV1_transformer);
29895
+ var _a$8 = neo4j_driver_core_1$s.internal.temporalUtil, dateToEpochDay = _a$8.dateToEpochDay, localDateTimeToEpochSecond$1 = _a$8.localDateTimeToEpochSecond, localTimeToNanoOfDay = _a$8.localTimeToNanoOfDay;
29701
29896
  var POINT_2D = 0x58;
29702
29897
  var POINT_2D_STRUCT_SIZE = 3;
29703
29898
  var POINT_3D = 0x59;
@@ -29721,18 +29916,18 @@ var DATE_TIME_WITH_ZONE_ID_STRUCT_SIZE$1 = 3;
29721
29916
  * @returns {TypeTransformer}
29722
29917
  */
29723
29918
  function createPoint2DTransformer() {
29724
- return new transformer_1$e.TypeTransformer({
29919
+ return new transformer_1$f.TypeTransformer({
29725
29920
  signature: POINT_2D,
29726
- isTypeInstance: function (point) { return (0, neo4j_driver_core_1$r.isPoint)(point) && (point.z === null || point.z === undefined); },
29921
+ isTypeInstance: function (point) { return (0, neo4j_driver_core_1$s.isPoint)(point) && (point.z === null || point.z === undefined); },
29727
29922
  toStructure: function (point) { return new packstream_1$3.structure.Structure(POINT_2D, [
29728
- (0, neo4j_driver_core_1$r.int)(point.srid),
29923
+ (0, neo4j_driver_core_1$s.int)(point.srid),
29729
29924
  point.x,
29730
29925
  point.y
29731
29926
  ]); },
29732
29927
  fromStructure: function (struct) {
29733
29928
  packstream_1$3.structure.verifyStructSize('Point2D', POINT_2D_STRUCT_SIZE, struct.size);
29734
29929
  var _a = __read$5(struct.fields, 3), srid = _a[0], x = _a[1], y = _a[2];
29735
- return new neo4j_driver_core_1$r.Point(srid, x, y, undefined // z
29930
+ return new neo4j_driver_core_1$s.Point(srid, x, y, undefined // z
29736
29931
  );
29737
29932
  }
29738
29933
  });
@@ -29742,11 +29937,11 @@ function createPoint2DTransformer() {
29742
29937
  * @returns {TypeTransformer}
29743
29938
  */
29744
29939
  function createPoint3DTransformer() {
29745
- return new transformer_1$e.TypeTransformer({
29940
+ return new transformer_1$f.TypeTransformer({
29746
29941
  signature: POINT_3D,
29747
- isTypeInstance: function (point) { return (0, neo4j_driver_core_1$r.isPoint)(point) && point.z !== null && point.z !== undefined; },
29942
+ isTypeInstance: function (point) { return (0, neo4j_driver_core_1$s.isPoint)(point) && point.z !== null && point.z !== undefined; },
29748
29943
  toStructure: function (point) { return new packstream_1$3.structure.Structure(POINT_3D, [
29749
- (0, neo4j_driver_core_1$r.int)(point.srid),
29944
+ (0, neo4j_driver_core_1$s.int)(point.srid),
29750
29945
  point.x,
29751
29946
  point.y,
29752
29947
  point.z
@@ -29754,7 +29949,7 @@ function createPoint3DTransformer() {
29754
29949
  fromStructure: function (struct) {
29755
29950
  packstream_1$3.structure.verifyStructSize('Point3D', POINT_3D_STRUCT_SIZE, struct.size);
29756
29951
  var _a = __read$5(struct.fields, 4), srid = _a[0], x = _a[1], y = _a[2], z = _a[3];
29757
- return new neo4j_driver_core_1$r.Point(srid, x, y, z);
29952
+ return new neo4j_driver_core_1$s.Point(srid, x, y, z);
29758
29953
  }
29759
29954
  });
29760
29955
  }
@@ -29763,20 +29958,20 @@ function createPoint3DTransformer() {
29763
29958
  * @returns {TypeTransformer}
29764
29959
  */
29765
29960
  function createDurationTransformer() {
29766
- return new transformer_1$e.TypeTransformer({
29961
+ return new transformer_1$f.TypeTransformer({
29767
29962
  signature: DURATION,
29768
- isTypeInstance: neo4j_driver_core_1$r.isDuration,
29963
+ isTypeInstance: neo4j_driver_core_1$s.isDuration,
29769
29964
  toStructure: function (value) {
29770
- var months = (0, neo4j_driver_core_1$r.int)(value.months);
29771
- var days = (0, neo4j_driver_core_1$r.int)(value.days);
29772
- var seconds = (0, neo4j_driver_core_1$r.int)(value.seconds);
29773
- var nanoseconds = (0, neo4j_driver_core_1$r.int)(value.nanoseconds);
29965
+ var months = (0, neo4j_driver_core_1$s.int)(value.months);
29966
+ var days = (0, neo4j_driver_core_1$s.int)(value.days);
29967
+ var seconds = (0, neo4j_driver_core_1$s.int)(value.seconds);
29968
+ var nanoseconds = (0, neo4j_driver_core_1$s.int)(value.nanoseconds);
29774
29969
  return new packstream_1$3.structure.Structure(DURATION, [months, days, seconds, nanoseconds]);
29775
29970
  },
29776
29971
  fromStructure: function (struct) {
29777
29972
  packstream_1$3.structure.verifyStructSize('Duration', DURATION_STRUCT_SIZE, struct.size);
29778
29973
  var _a = __read$5(struct.fields, 4), months = _a[0], days = _a[1], seconds = _a[2], nanoseconds = _a[3];
29779
- return new neo4j_driver_core_1$r.Duration(months, days, seconds, nanoseconds);
29974
+ return new neo4j_driver_core_1$s.Duration(months, days, seconds, nanoseconds);
29780
29975
  }
29781
29976
  });
29782
29977
  }
@@ -29789,9 +29984,9 @@ function createDurationTransformer() {
29789
29984
  */
29790
29985
  function createLocalTimeTransformer(_a) {
29791
29986
  var disableLosslessIntegers = _a.disableLosslessIntegers, useBigInt = _a.useBigInt;
29792
- return new transformer_1$e.TypeTransformer({
29987
+ return new transformer_1$f.TypeTransformer({
29793
29988
  signature: LOCAL_TIME,
29794
- isTypeInstance: neo4j_driver_core_1$r.isLocalTime,
29989
+ isTypeInstance: neo4j_driver_core_1$s.isLocalTime,
29795
29990
  toStructure: function (value) {
29796
29991
  var nanoOfDay = localTimeToNanoOfDay(value.hour, value.minute, value.second, value.nanosecond);
29797
29992
  return new packstream_1$3.structure.Structure(LOCAL_TIME, [nanoOfDay]);
@@ -29813,19 +30008,19 @@ function createLocalTimeTransformer(_a) {
29813
30008
  */
29814
30009
  function createTimeTransformer(_a) {
29815
30010
  var disableLosslessIntegers = _a.disableLosslessIntegers, useBigInt = _a.useBigInt;
29816
- return new transformer_1$e.TypeTransformer({
30011
+ return new transformer_1$f.TypeTransformer({
29817
30012
  signature: TIME,
29818
- isTypeInstance: neo4j_driver_core_1$r.isTime,
30013
+ isTypeInstance: neo4j_driver_core_1$s.isTime,
29819
30014
  toStructure: function (value) {
29820
30015
  var nanoOfDay = localTimeToNanoOfDay(value.hour, value.minute, value.second, value.nanosecond);
29821
- var offsetSeconds = (0, neo4j_driver_core_1$r.int)(value.timeZoneOffsetSeconds);
30016
+ var offsetSeconds = (0, neo4j_driver_core_1$s.int)(value.timeZoneOffsetSeconds);
29822
30017
  return new packstream_1$3.structure.Structure(TIME, [nanoOfDay, offsetSeconds]);
29823
30018
  },
29824
30019
  fromStructure: function (struct) {
29825
30020
  packstream_1$3.structure.verifyStructSize('Time', TIME_STRUCT_SIZE, struct.size);
29826
30021
  var _a = __read$5(struct.fields, 2), nanoOfDay = _a[0], offsetSeconds = _a[1];
29827
30022
  var localTime = (0, temporal_factory_1$1.nanoOfDayToLocalTime)(nanoOfDay);
29828
- var result = new neo4j_driver_core_1$r.Time(localTime.hour, localTime.minute, localTime.second, localTime.nanosecond, offsetSeconds);
30023
+ var result = new neo4j_driver_core_1$s.Time(localTime.hour, localTime.minute, localTime.second, localTime.nanosecond, offsetSeconds);
29829
30024
  return convertIntegerPropsIfNeeded$1(result, disableLosslessIntegers, useBigInt);
29830
30025
  }
29831
30026
  });
@@ -29839,9 +30034,9 @@ function createTimeTransformer(_a) {
29839
30034
  */
29840
30035
  function createDateTransformer(_a) {
29841
30036
  var disableLosslessIntegers = _a.disableLosslessIntegers, useBigInt = _a.useBigInt;
29842
- return new transformer_1$e.TypeTransformer({
30037
+ return new transformer_1$f.TypeTransformer({
29843
30038
  signature: DATE,
29844
- isTypeInstance: neo4j_driver_core_1$r.isDate,
30039
+ isTypeInstance: neo4j_driver_core_1$s.isDate,
29845
30040
  toStructure: function (value) {
29846
30041
  var epochDay = dateToEpochDay(value.year, value.month, value.day);
29847
30042
  return new packstream_1$3.structure.Structure(DATE, [epochDay]);
@@ -29863,12 +30058,12 @@ function createDateTransformer(_a) {
29863
30058
  */
29864
30059
  function createLocalDateTimeTransformer(_a) {
29865
30060
  var disableLosslessIntegers = _a.disableLosslessIntegers, useBigInt = _a.useBigInt;
29866
- return new transformer_1$e.TypeTransformer({
30061
+ return new transformer_1$f.TypeTransformer({
29867
30062
  signature: LOCAL_DATE_TIME,
29868
- isTypeInstance: neo4j_driver_core_1$r.isLocalDateTime,
30063
+ isTypeInstance: neo4j_driver_core_1$s.isLocalDateTime,
29869
30064
  toStructure: function (value) {
29870
30065
  var epochSecond = localDateTimeToEpochSecond$1(value.year, value.month, value.day, value.hour, value.minute, value.second, value.nanosecond);
29871
- var nano = (0, neo4j_driver_core_1$r.int)(value.nanosecond);
30066
+ var nano = (0, neo4j_driver_core_1$s.int)(value.nanosecond);
29872
30067
  return new packstream_1$3.structure.Structure(LOCAL_DATE_TIME, [epochSecond, nano]);
29873
30068
  },
29874
30069
  fromStructure: function (struct) {
@@ -29888,12 +30083,12 @@ function createLocalDateTimeTransformer(_a) {
29888
30083
  */
29889
30084
  function createDateTimeWithZoneIdTransformer$1(_a) {
29890
30085
  var disableLosslessIntegers = _a.disableLosslessIntegers, useBigInt = _a.useBigInt;
29891
- return new transformer_1$e.TypeTransformer({
30086
+ return new transformer_1$f.TypeTransformer({
29892
30087
  signature: DATE_TIME_WITH_ZONE_ID$1,
29893
- isTypeInstance: function (object) { return (0, neo4j_driver_core_1$r.isDateTime)(object) && object.timeZoneId != null; },
30088
+ isTypeInstance: function (object) { return (0, neo4j_driver_core_1$s.isDateTime)(object) && object.timeZoneId != null; },
29894
30089
  toStructure: function (value) {
29895
30090
  var epochSecond = localDateTimeToEpochSecond$1(value.year, value.month, value.day, value.hour, value.minute, value.second, value.nanosecond);
29896
- var nano = (0, neo4j_driver_core_1$r.int)(value.nanosecond);
30091
+ var nano = (0, neo4j_driver_core_1$s.int)(value.nanosecond);
29897
30092
  var timeZoneId = value.timeZoneId;
29898
30093
  return new packstream_1$3.structure.Structure(DATE_TIME_WITH_ZONE_ID$1, [epochSecond, nano, timeZoneId]);
29899
30094
  },
@@ -29901,7 +30096,7 @@ function createDateTimeWithZoneIdTransformer$1(_a) {
29901
30096
  packstream_1$3.structure.verifyStructSize('DateTimeWithZoneId', DATE_TIME_WITH_ZONE_ID_STRUCT_SIZE$1, struct.size);
29902
30097
  var _a = __read$5(struct.fields, 3), epochSecond = _a[0], nano = _a[1], timeZoneId = _a[2];
29903
30098
  var localDateTime = (0, temporal_factory_1$1.epochSecondAndNanoToLocalDateTime)(epochSecond, nano);
29904
- var result = new neo4j_driver_core_1$r.DateTime(localDateTime.year, localDateTime.month, localDateTime.day, localDateTime.hour, localDateTime.minute, localDateTime.second, localDateTime.nanosecond, null, timeZoneId);
30099
+ var result = new neo4j_driver_core_1$s.DateTime(localDateTime.year, localDateTime.month, localDateTime.day, localDateTime.hour, localDateTime.minute, localDateTime.second, localDateTime.nanosecond, null, timeZoneId);
29905
30100
  return convertIntegerPropsIfNeeded$1(result, disableLosslessIntegers, useBigInt);
29906
30101
  }
29907
30102
  });
@@ -29915,20 +30110,20 @@ function createDateTimeWithZoneIdTransformer$1(_a) {
29915
30110
  */
29916
30111
  function createDateTimeWithOffsetTransformer$1(_a) {
29917
30112
  var disableLosslessIntegers = _a.disableLosslessIntegers, useBigInt = _a.useBigInt;
29918
- return new transformer_1$e.TypeTransformer({
30113
+ return new transformer_1$f.TypeTransformer({
29919
30114
  signature: DATE_TIME_WITH_ZONE_OFFSET$1,
29920
- isTypeInstance: function (object) { return (0, neo4j_driver_core_1$r.isDateTime)(object) && object.timeZoneId == null; },
30115
+ isTypeInstance: function (object) { return (0, neo4j_driver_core_1$s.isDateTime)(object) && object.timeZoneId == null; },
29921
30116
  toStructure: function (value) {
29922
30117
  var epochSecond = localDateTimeToEpochSecond$1(value.year, value.month, value.day, value.hour, value.minute, value.second, value.nanosecond);
29923
- var nano = (0, neo4j_driver_core_1$r.int)(value.nanosecond);
29924
- var timeZoneOffsetSeconds = (0, neo4j_driver_core_1$r.int)(value.timeZoneOffsetSeconds);
30118
+ var nano = (0, neo4j_driver_core_1$s.int)(value.nanosecond);
30119
+ var timeZoneOffsetSeconds = (0, neo4j_driver_core_1$s.int)(value.timeZoneOffsetSeconds);
29925
30120
  return new packstream_1$3.structure.Structure(DATE_TIME_WITH_ZONE_OFFSET$1, [epochSecond, nano, timeZoneOffsetSeconds]);
29926
30121
  },
29927
30122
  fromStructure: function (struct) {
29928
30123
  packstream_1$3.structure.verifyStructSize('DateTimeWithZoneOffset', DATE_TIME_WITH_ZONE_OFFSET_STRUCT_SIZE$1, struct.size);
29929
30124
  var _a = __read$5(struct.fields, 3), epochSecond = _a[0], nano = _a[1], timeZoneOffsetSeconds = _a[2];
29930
30125
  var localDateTime = (0, temporal_factory_1$1.epochSecondAndNanoToLocalDateTime)(epochSecond, nano);
29931
- var result = new neo4j_driver_core_1$r.DateTime(localDateTime.year, localDateTime.month, localDateTime.day, localDateTime.hour, localDateTime.minute, localDateTime.second, localDateTime.nanosecond, timeZoneOffsetSeconds, null);
30126
+ var result = new neo4j_driver_core_1$s.DateTime(localDateTime.year, localDateTime.month, localDateTime.day, localDateTime.hour, localDateTime.minute, localDateTime.second, localDateTime.nanosecond, timeZoneOffsetSeconds, null);
29932
30127
  return convertIntegerPropsIfNeeded$1(result, disableLosslessIntegers, useBigInt);
29933
30128
  }
29934
30129
  });
@@ -29944,15 +30139,15 @@ function convertIntegerPropsIfNeeded$1(obj, disableLosslessIntegers, useBigInt)
29944
30139
  for (var prop in obj) {
29945
30140
  if (Object.prototype.hasOwnProperty.call(obj, prop) === true) {
29946
30141
  var value = obj[prop];
29947
- clone[prop] = (0, neo4j_driver_core_1$r.isInt)(value) ? convert(value) : value;
30142
+ clone[prop] = (0, neo4j_driver_core_1$s.isInt)(value) ? convert(value) : value;
29948
30143
  }
29949
30144
  }
29950
30145
  Object.freeze(clone);
29951
30146
  return clone;
29952
30147
  }
29953
- boltProtocolV2_transformer.default = __assign$m(__assign$m({}, bolt_protocol_v1_transformer_1.default), { createPoint2DTransformer: createPoint2DTransformer, createPoint3DTransformer: createPoint3DTransformer, createDurationTransformer: createDurationTransformer, createLocalTimeTransformer: createLocalTimeTransformer, createTimeTransformer: createTimeTransformer, createDateTransformer: createDateTransformer, createLocalDateTimeTransformer: createLocalDateTimeTransformer, createDateTimeWithZoneIdTransformer: createDateTimeWithZoneIdTransformer$1, createDateTimeWithOffsetTransformer: createDateTimeWithOffsetTransformer$1 });
30148
+ boltProtocolV2_transformer.default = __assign$n(__assign$n({}, bolt_protocol_v1_transformer_1.default), { createPoint2DTransformer: createPoint2DTransformer, createPoint3DTransformer: createPoint3DTransformer, createDurationTransformer: createDurationTransformer, createLocalTimeTransformer: createLocalTimeTransformer, createTimeTransformer: createTimeTransformer, createDateTransformer: createDateTransformer, createLocalDateTimeTransformer: createLocalDateTimeTransformer, createDateTimeWithZoneIdTransformer: createDateTimeWithZoneIdTransformer$1, createDateTimeWithOffsetTransformer: createDateTimeWithOffsetTransformer$1 });
29954
30149
 
29955
- var __extends$k = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30150
+ var __extends$l = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
29956
30151
  var extendStatics = function (d, b) {
29957
30152
  extendStatics = Object.setPrototypeOf ||
29958
30153
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -29967,7 +30162,7 @@ var __extends$k = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
29967
30162
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
29968
30163
  };
29969
30164
  })();
29970
- var __importDefault$y = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30165
+ var __importDefault$z = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
29971
30166
  return (mod && mod.__esModule) ? mod : { "default": mod };
29972
30167
  };
29973
30168
  Object.defineProperty(boltProtocolV2, "__esModule", { value: true });
@@ -29987,14 +30182,14 @@ Object.defineProperty(boltProtocolV2, "__esModule", { value: true });
29987
30182
  * See the License for the specific language governing permissions and
29988
30183
  * limitations under the License.
29989
30184
  */
29990
- var bolt_protocol_v1_1$1 = __importDefault$y(boltProtocolV1);
29991
- var packstream_1$2 = __importDefault$y(packstream);
29992
- var neo4j_driver_core_1$q = lib$1;
29993
- var bolt_protocol_v2_transformer_1$1 = __importDefault$y(boltProtocolV2_transformer);
29994
- var transformer_1$d = __importDefault$y(transformer);
29995
- var BOLT_PROTOCOL_V2 = neo4j_driver_core_1$q.internal.constants.BOLT_PROTOCOL_V2;
29996
- var BoltProtocol$d = /** @class */ (function (_super) {
29997
- __extends$k(BoltProtocol, _super);
30185
+ var bolt_protocol_v1_1$1 = __importDefault$z(boltProtocolV1);
30186
+ var packstream_1$2 = __importDefault$z(packstream);
30187
+ var neo4j_driver_core_1$r = lib$1;
30188
+ var bolt_protocol_v2_transformer_1$1 = __importDefault$z(boltProtocolV2_transformer);
30189
+ var transformer_1$e = __importDefault$z(transformer);
30190
+ var BOLT_PROTOCOL_V2 = neo4j_driver_core_1$r.internal.constants.BOLT_PROTOCOL_V2;
30191
+ var BoltProtocol$e = /** @class */ (function (_super) {
30192
+ __extends$l(BoltProtocol, _super);
29998
30193
  function BoltProtocol() {
29999
30194
  return _super !== null && _super.apply(this, arguments) || this;
30000
30195
  }
@@ -30008,7 +30203,7 @@ var BoltProtocol$d = /** @class */ (function (_super) {
30008
30203
  get: function () {
30009
30204
  var _this = this;
30010
30205
  if (this._transformer === undefined) {
30011
- this._transformer = new transformer_1$d.default(Object.values(bolt_protocol_v2_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30206
+ this._transformer = new transformer_1$e.default(Object.values(bolt_protocol_v2_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30012
30207
  }
30013
30208
  return this._transformer;
30014
30209
  },
@@ -30024,7 +30219,7 @@ var BoltProtocol$d = /** @class */ (function (_super) {
30024
30219
  });
30025
30220
  return BoltProtocol;
30026
30221
  }(bolt_protocol_v1_1$1.default));
30027
- boltProtocolV2.default = BoltProtocol$d;
30222
+ boltProtocolV2.default = BoltProtocol$e;
30028
30223
 
30029
30224
  var boltProtocolV3 = {};
30030
30225
 
@@ -30046,8 +30241,8 @@ var boltProtocolV3_transformer = {};
30046
30241
  * See the License for the specific language governing permissions and
30047
30242
  * limitations under the License.
30048
30243
  */
30049
- var __assign$l = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30050
- __assign$l = Object.assign || function(t) {
30244
+ var __assign$m = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30245
+ __assign$m = Object.assign || function(t) {
30051
30246
  for (var s, i = 1, n = arguments.length; i < n; i++) {
30052
30247
  s = arguments[i];
30053
30248
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -30055,16 +30250,16 @@ var __assign$l = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30055
30250
  }
30056
30251
  return t;
30057
30252
  };
30058
- return __assign$l.apply(this, arguments);
30253
+ return __assign$m.apply(this, arguments);
30059
30254
  };
30060
- var __importDefault$x = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30255
+ var __importDefault$y = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30061
30256
  return (mod && mod.__esModule) ? mod : { "default": mod };
30062
30257
  };
30063
30258
  Object.defineProperty(boltProtocolV3_transformer, "__esModule", { value: true });
30064
- var bolt_protocol_v2_transformer_1 = __importDefault$x(boltProtocolV2_transformer);
30065
- boltProtocolV3_transformer.default = __assign$l({}, bolt_protocol_v2_transformer_1.default);
30259
+ var bolt_protocol_v2_transformer_1 = __importDefault$y(boltProtocolV2_transformer);
30260
+ boltProtocolV3_transformer.default = __assign$m({}, bolt_protocol_v2_transformer_1.default);
30066
30261
 
30067
- var __extends$j = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30262
+ var __extends$k = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30068
30263
  var extendStatics = function (d, b) {
30069
30264
  extendStatics = Object.setPrototypeOf ||
30070
30265
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -30079,8 +30274,8 @@ var __extends$j = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30079
30274
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30080
30275
  };
30081
30276
  })();
30082
- var __assign$k = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30083
- __assign$k = Object.assign || function(t) {
30277
+ var __assign$l = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30278
+ __assign$l = Object.assign || function(t) {
30084
30279
  for (var s, i = 1, n = arguments.length; i < n; i++) {
30085
30280
  s = arguments[i];
30086
30281
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -30088,9 +30283,9 @@ var __assign$k = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30088
30283
  }
30089
30284
  return t;
30090
30285
  };
30091
- return __assign$k.apply(this, arguments);
30286
+ return __assign$l.apply(this, arguments);
30092
30287
  };
30093
- var __importDefault$w = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30288
+ var __importDefault$x = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30094
30289
  return (mod && mod.__esModule) ? mod : { "default": mod };
30095
30290
  };
30096
30291
  Object.defineProperty(boltProtocolV3, "__esModule", { value: true });
@@ -30110,19 +30305,19 @@ Object.defineProperty(boltProtocolV3, "__esModule", { value: true });
30110
30305
  * See the License for the specific language governing permissions and
30111
30306
  * limitations under the License.
30112
30307
  */
30113
- var bolt_protocol_v2_1$1 = __importDefault$w(boltProtocolV2);
30114
- var request_message_1$a = __importDefault$w(requestMessage);
30308
+ var bolt_protocol_v2_1$1 = __importDefault$x(boltProtocolV2);
30309
+ var request_message_1$a = __importDefault$x(requestMessage);
30115
30310
  var bolt_protocol_util_1$6 = boltProtocolUtil;
30116
30311
  var stream_observers_1$a = streamObservers;
30117
- var bolt_protocol_v3_transformer_1$1 = __importDefault$w(boltProtocolV3_transformer);
30118
- var transformer_1$c = __importDefault$w(transformer);
30119
- var neo4j_driver_core_1$p = lib$1;
30120
- neo4j_driver_core_1$p.internal.bookmarks.Bookmarks; var BOLT_PROTOCOL_V3$2 = neo4j_driver_core_1$p.internal.constants.BOLT_PROTOCOL_V3, TxConfig$1 = neo4j_driver_core_1$p.internal.txConfig.TxConfig;
30312
+ var bolt_protocol_v3_transformer_1$1 = __importDefault$x(boltProtocolV3_transformer);
30313
+ var transformer_1$d = __importDefault$x(transformer);
30314
+ var neo4j_driver_core_1$q = lib$1;
30315
+ neo4j_driver_core_1$q.internal.bookmarks.Bookmarks; var BOLT_PROTOCOL_V3$2 = neo4j_driver_core_1$q.internal.constants.BOLT_PROTOCOL_V3, TxConfig$1 = neo4j_driver_core_1$q.internal.txConfig.TxConfig;
30121
30316
  var CONTEXT$1 = 'context';
30122
30317
  var CALL_GET_ROUTING_TABLE = "CALL dbms.cluster.routing.getRoutingTable($".concat(CONTEXT$1, ")");
30123
30318
  var noOpObserver = new stream_observers_1$a.StreamObserver();
30124
- var BoltProtocol$c = /** @class */ (function (_super) {
30125
- __extends$j(BoltProtocol, _super);
30319
+ var BoltProtocol$d = /** @class */ (function (_super) {
30320
+ __extends$k(BoltProtocol, _super);
30126
30321
  function BoltProtocol() {
30127
30322
  return _super !== null && _super.apply(this, arguments) || this;
30128
30323
  }
@@ -30137,7 +30332,7 @@ var BoltProtocol$c = /** @class */ (function (_super) {
30137
30332
  get: function () {
30138
30333
  var _this = this;
30139
30334
  if (this._transformer === undefined) {
30140
- this._transformer = new transformer_1$c.default(Object.values(bolt_protocol_v3_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30335
+ this._transformer = new transformer_1$d.default(Object.values(bolt_protocol_v3_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30141
30336
  }
30142
30337
  return this._transformer;
30143
30338
  },
@@ -30264,7 +30459,7 @@ var BoltProtocol$c = /** @class */ (function (_super) {
30264
30459
  BoltProtocol.prototype.requestRoutingInformation = function (_a) {
30265
30460
  var _b;
30266
30461
  var _c = _a.routingContext, routingContext = _c === void 0 ? {} : _c, _d = _a.sessionContext, sessionContext = _d === void 0 ? {} : _d, onError = _a.onError, onCompleted = _a.onCompleted;
30267
- var resultObserver = this.run(CALL_GET_ROUTING_TABLE, (_b = {}, _b[CONTEXT$1] = routingContext, _b), __assign$k(__assign$k({}, sessionContext), { txConfig: TxConfig$1.empty() }));
30462
+ var resultObserver = this.run(CALL_GET_ROUTING_TABLE, (_b = {}, _b[CONTEXT$1] = routingContext, _b), __assign$l(__assign$l({}, sessionContext), { txConfig: TxConfig$1.empty() }));
30268
30463
  return new stream_observers_1$a.ProcedureRouteObserver({
30269
30464
  resultObserver: resultObserver,
30270
30465
  onProtocolError: this._onProtocolError,
@@ -30274,7 +30469,7 @@ var BoltProtocol$c = /** @class */ (function (_super) {
30274
30469
  };
30275
30470
  return BoltProtocol;
30276
30471
  }(bolt_protocol_v2_1$1.default));
30277
- boltProtocolV3.default = BoltProtocol$c;
30472
+ boltProtocolV3.default = BoltProtocol$d;
30278
30473
 
30279
30474
  var boltProtocolV4x0 = {};
30280
30475
 
@@ -30296,8 +30491,8 @@ var boltProtocolV4x0_transformer = {};
30296
30491
  * See the License for the specific language governing permissions and
30297
30492
  * limitations under the License.
30298
30493
  */
30299
- var __assign$j = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30300
- __assign$j = Object.assign || function(t) {
30494
+ var __assign$k = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30495
+ __assign$k = Object.assign || function(t) {
30301
30496
  for (var s, i = 1, n = arguments.length; i < n; i++) {
30302
30497
  s = arguments[i];
30303
30498
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -30305,16 +30500,16 @@ var __assign$j = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30305
30500
  }
30306
30501
  return t;
30307
30502
  };
30308
- return __assign$j.apply(this, arguments);
30503
+ return __assign$k.apply(this, arguments);
30309
30504
  };
30310
- var __importDefault$v = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30505
+ var __importDefault$w = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30311
30506
  return (mod && mod.__esModule) ? mod : { "default": mod };
30312
30507
  };
30313
30508
  Object.defineProperty(boltProtocolV4x0_transformer, "__esModule", { value: true });
30314
- var bolt_protocol_v3_transformer_1 = __importDefault$v(boltProtocolV3_transformer);
30315
- boltProtocolV4x0_transformer.default = __assign$j({}, bolt_protocol_v3_transformer_1.default);
30509
+ var bolt_protocol_v3_transformer_1 = __importDefault$w(boltProtocolV3_transformer);
30510
+ boltProtocolV4x0_transformer.default = __assign$k({}, bolt_protocol_v3_transformer_1.default);
30316
30511
 
30317
- var __extends$i = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30512
+ var __extends$j = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30318
30513
  var extendStatics = function (d, b) {
30319
30514
  extendStatics = Object.setPrototypeOf ||
30320
30515
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -30329,8 +30524,8 @@ var __extends$i = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30329
30524
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30330
30525
  };
30331
30526
  })();
30332
- var __assign$i = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30333
- __assign$i = Object.assign || function(t) {
30527
+ var __assign$j = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30528
+ __assign$j = Object.assign || function(t) {
30334
30529
  for (var s, i = 1, n = arguments.length; i < n; i++) {
30335
30530
  s = arguments[i];
30336
30531
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -30338,9 +30533,9 @@ var __assign$i = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30338
30533
  }
30339
30534
  return t;
30340
30535
  };
30341
- return __assign$i.apply(this, arguments);
30536
+ return __assign$j.apply(this, arguments);
30342
30537
  };
30343
- var __importDefault$u = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30538
+ var __importDefault$v = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30344
30539
  return (mod && mod.__esModule) ? mod : { "default": mod };
30345
30540
  };
30346
30541
  Object.defineProperty(boltProtocolV4x0, "__esModule", { value: true });
@@ -30360,19 +30555,19 @@ Object.defineProperty(boltProtocolV4x0, "__esModule", { value: true });
30360
30555
  * See the License for the specific language governing permissions and
30361
30556
  * limitations under the License.
30362
30557
  */
30363
- var bolt_protocol_v3_1$1 = __importDefault$u(boltProtocolV3);
30364
- var request_message_1$9 = __importDefault$u(requestMessage);
30558
+ var bolt_protocol_v3_1$1 = __importDefault$v(boltProtocolV3);
30559
+ var request_message_1$9 = __importDefault$v(requestMessage);
30365
30560
  var bolt_protocol_util_1$5 = boltProtocolUtil;
30366
30561
  var stream_observers_1$9 = streamObservers;
30367
- var bolt_protocol_v4x0_transformer_1$1 = __importDefault$u(boltProtocolV4x0_transformer);
30368
- var transformer_1$b = __importDefault$u(transformer);
30369
- var neo4j_driver_core_1$o = lib$1;
30370
- neo4j_driver_core_1$o.internal.bookmarks.Bookmarks; var _a$7 = neo4j_driver_core_1$o.internal.constants, BOLT_PROTOCOL_V4_0$2 = _a$7.BOLT_PROTOCOL_V4_0, FETCH_ALL$3 = _a$7.FETCH_ALL, TxConfig = neo4j_driver_core_1$o.internal.txConfig.TxConfig;
30562
+ var bolt_protocol_v4x0_transformer_1$1 = __importDefault$v(boltProtocolV4x0_transformer);
30563
+ var transformer_1$c = __importDefault$v(transformer);
30564
+ var neo4j_driver_core_1$p = lib$1;
30565
+ neo4j_driver_core_1$p.internal.bookmarks.Bookmarks; var _a$7 = neo4j_driver_core_1$p.internal.constants, BOLT_PROTOCOL_V4_0$2 = _a$7.BOLT_PROTOCOL_V4_0, FETCH_ALL$3 = _a$7.FETCH_ALL, TxConfig = neo4j_driver_core_1$p.internal.txConfig.TxConfig;
30371
30566
  var CONTEXT = 'context';
30372
30567
  var DATABASE = 'database';
30373
30568
  var CALL_GET_ROUTING_TABLE_MULTI_DB = "CALL dbms.routing.getRoutingTable($".concat(CONTEXT, ", $").concat(DATABASE, ")");
30374
- var BoltProtocol$b = /** @class */ (function (_super) {
30375
- __extends$i(BoltProtocol, _super);
30569
+ var BoltProtocol$c = /** @class */ (function (_super) {
30570
+ __extends$j(BoltProtocol, _super);
30376
30571
  function BoltProtocol() {
30377
30572
  return _super !== null && _super.apply(this, arguments) || this;
30378
30573
  }
@@ -30387,7 +30582,7 @@ var BoltProtocol$b = /** @class */ (function (_super) {
30387
30582
  get: function () {
30388
30583
  var _this = this;
30389
30584
  if (this._transformer === undefined) {
30390
- this._transformer = new transformer_1$b.default(Object.values(bolt_protocol_v4x0_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30585
+ this._transformer = new transformer_1$c.default(Object.values(bolt_protocol_v4x0_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30391
30586
  }
30392
30587
  return this._transformer;
30393
30588
  },
@@ -30472,7 +30667,7 @@ var BoltProtocol$b = /** @class */ (function (_super) {
30472
30667
  var resultObserver = this.run(CALL_GET_ROUTING_TABLE_MULTI_DB, (_b = {},
30473
30668
  _b[CONTEXT] = routingContext,
30474
30669
  _b[DATABASE] = databaseName,
30475
- _b), __assign$i(__assign$i({}, sessionContext), { txConfig: TxConfig.empty() }));
30670
+ _b), __assign$j(__assign$j({}, sessionContext), { txConfig: TxConfig.empty() }));
30476
30671
  return new stream_observers_1$9.ProcedureRouteObserver({
30477
30672
  resultObserver: resultObserver,
30478
30673
  onProtocolError: this._onProtocolError,
@@ -30482,7 +30677,7 @@ var BoltProtocol$b = /** @class */ (function (_super) {
30482
30677
  };
30483
30678
  return BoltProtocol;
30484
30679
  }(bolt_protocol_v3_1$1.default));
30485
- boltProtocolV4x0.default = BoltProtocol$b;
30680
+ boltProtocolV4x0.default = BoltProtocol$c;
30486
30681
 
30487
30682
  var boltProtocolV4x1 = {};
30488
30683
 
@@ -30504,8 +30699,8 @@ var boltProtocolV4x1_transformer = {};
30504
30699
  * See the License for the specific language governing permissions and
30505
30700
  * limitations under the License.
30506
30701
  */
30507
- var __assign$h = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30508
- __assign$h = Object.assign || function(t) {
30702
+ var __assign$i = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30703
+ __assign$i = Object.assign || function(t) {
30509
30704
  for (var s, i = 1, n = arguments.length; i < n; i++) {
30510
30705
  s = arguments[i];
30511
30706
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -30513,16 +30708,16 @@ var __assign$h = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30513
30708
  }
30514
30709
  return t;
30515
30710
  };
30516
- return __assign$h.apply(this, arguments);
30711
+ return __assign$i.apply(this, arguments);
30517
30712
  };
30518
- var __importDefault$t = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30713
+ var __importDefault$u = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30519
30714
  return (mod && mod.__esModule) ? mod : { "default": mod };
30520
30715
  };
30521
30716
  Object.defineProperty(boltProtocolV4x1_transformer, "__esModule", { value: true });
30522
- var bolt_protocol_v4x0_transformer_1 = __importDefault$t(boltProtocolV4x0_transformer);
30523
- boltProtocolV4x1_transformer.default = __assign$h({}, bolt_protocol_v4x0_transformer_1.default);
30717
+ var bolt_protocol_v4x0_transformer_1 = __importDefault$u(boltProtocolV4x0_transformer);
30718
+ boltProtocolV4x1_transformer.default = __assign$i({}, bolt_protocol_v4x0_transformer_1.default);
30524
30719
 
30525
- var __extends$h = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30720
+ var __extends$i = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30526
30721
  var extendStatics = function (d, b) {
30527
30722
  extendStatics = Object.setPrototypeOf ||
30528
30723
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -30537,7 +30732,7 @@ var __extends$h = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30537
30732
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30538
30733
  };
30539
30734
  })();
30540
- var __importDefault$s = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30735
+ var __importDefault$t = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30541
30736
  return (mod && mod.__esModule) ? mod : { "default": mod };
30542
30737
  };
30543
30738
  Object.defineProperty(boltProtocolV4x1, "__esModule", { value: true });
@@ -30557,16 +30752,16 @@ Object.defineProperty(boltProtocolV4x1, "__esModule", { value: true });
30557
30752
  * See the License for the specific language governing permissions and
30558
30753
  * limitations under the License.
30559
30754
  */
30560
- var bolt_protocol_v4x0_1$1 = __importDefault$s(boltProtocolV4x0);
30561
- var request_message_1$8 = __importDefault$s(requestMessage);
30755
+ var bolt_protocol_v4x0_1$1 = __importDefault$t(boltProtocolV4x0);
30756
+ var request_message_1$8 = __importDefault$t(requestMessage);
30562
30757
  var stream_observers_1$8 = streamObservers;
30563
- var neo4j_driver_core_1$n = lib$1;
30758
+ var neo4j_driver_core_1$o = lib$1;
30564
30759
  var bolt_protocol_util_1$4 = boltProtocolUtil;
30565
- var bolt_protocol_v4x1_transformer_1$1 = __importDefault$s(boltProtocolV4x1_transformer);
30566
- var transformer_1$a = __importDefault$s(transformer);
30567
- var BOLT_PROTOCOL_V4_1 = neo4j_driver_core_1$n.internal.constants.BOLT_PROTOCOL_V4_1;
30568
- var BoltProtocol$a = /** @class */ (function (_super) {
30569
- __extends$h(BoltProtocol, _super);
30760
+ var bolt_protocol_v4x1_transformer_1$1 = __importDefault$t(boltProtocolV4x1_transformer);
30761
+ var transformer_1$b = __importDefault$t(transformer);
30762
+ var BOLT_PROTOCOL_V4_1 = neo4j_driver_core_1$o.internal.constants.BOLT_PROTOCOL_V4_1;
30763
+ var BoltProtocol$b = /** @class */ (function (_super) {
30764
+ __extends$i(BoltProtocol, _super);
30570
30765
  /**
30571
30766
  * @constructor
30572
30767
  * @param {Object} server the server informatio.
@@ -30596,7 +30791,7 @@ var BoltProtocol$a = /** @class */ (function (_super) {
30596
30791
  get: function () {
30597
30792
  var _this = this;
30598
30793
  if (this._transformer === undefined) {
30599
- this._transformer = new transformer_1$a.default(Object.values(bolt_protocol_v4x1_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30794
+ this._transformer = new transformer_1$b.default(Object.values(bolt_protocol_v4x1_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30600
30795
  }
30601
30796
  return this._transformer;
30602
30797
  },
@@ -30617,7 +30812,7 @@ var BoltProtocol$a = /** @class */ (function (_super) {
30617
30812
  };
30618
30813
  return BoltProtocol;
30619
30814
  }(bolt_protocol_v4x0_1$1.default));
30620
- boltProtocolV4x1.default = BoltProtocol$a;
30815
+ boltProtocolV4x1.default = BoltProtocol$b;
30621
30816
 
30622
30817
  var boltProtocolV4x2 = {};
30623
30818
 
@@ -30639,8 +30834,8 @@ var boltProtocolV4x2_transformer = {};
30639
30834
  * See the License for the specific language governing permissions and
30640
30835
  * limitations under the License.
30641
30836
  */
30642
- var __assign$g = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30643
- __assign$g = Object.assign || function(t) {
30837
+ var __assign$h = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30838
+ __assign$h = Object.assign || function(t) {
30644
30839
  for (var s, i = 1, n = arguments.length; i < n; i++) {
30645
30840
  s = arguments[i];
30646
30841
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -30648,16 +30843,16 @@ var __assign$g = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30648
30843
  }
30649
30844
  return t;
30650
30845
  };
30651
- return __assign$g.apply(this, arguments);
30846
+ return __assign$h.apply(this, arguments);
30652
30847
  };
30653
- var __importDefault$r = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30848
+ var __importDefault$s = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30654
30849
  return (mod && mod.__esModule) ? mod : { "default": mod };
30655
30850
  };
30656
30851
  Object.defineProperty(boltProtocolV4x2_transformer, "__esModule", { value: true });
30657
- var bolt_protocol_v4x1_transformer_1 = __importDefault$r(boltProtocolV4x1_transformer);
30658
- boltProtocolV4x2_transformer.default = __assign$g({}, bolt_protocol_v4x1_transformer_1.default);
30852
+ var bolt_protocol_v4x1_transformer_1 = __importDefault$s(boltProtocolV4x1_transformer);
30853
+ boltProtocolV4x2_transformer.default = __assign$h({}, bolt_protocol_v4x1_transformer_1.default);
30659
30854
 
30660
- var __extends$g = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30855
+ var __extends$h = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30661
30856
  var extendStatics = function (d, b) {
30662
30857
  extendStatics = Object.setPrototypeOf ||
30663
30858
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -30672,7 +30867,7 @@ var __extends$g = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
30672
30867
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30673
30868
  };
30674
30869
  })();
30675
- var __importDefault$q = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30870
+ var __importDefault$r = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30676
30871
  return (mod && mod.__esModule) ? mod : { "default": mod };
30677
30872
  };
30678
30873
  Object.defineProperty(boltProtocolV4x2, "__esModule", { value: true });
@@ -30692,13 +30887,13 @@ Object.defineProperty(boltProtocolV4x2, "__esModule", { value: true });
30692
30887
  * See the License for the specific language governing permissions and
30693
30888
  * limitations under the License.
30694
30889
  */
30695
- var bolt_protocol_v4x1_1$1 = __importDefault$q(boltProtocolV4x1);
30696
- var neo4j_driver_core_1$m = lib$1;
30697
- var bolt_protocol_v4x2_transformer_1$1 = __importDefault$q(boltProtocolV4x2_transformer);
30698
- var transformer_1$9 = __importDefault$q(transformer);
30699
- var BOLT_PROTOCOL_V4_2 = neo4j_driver_core_1$m.internal.constants.BOLT_PROTOCOL_V4_2;
30700
- var BoltProtocol$9 = /** @class */ (function (_super) {
30701
- __extends$g(BoltProtocol, _super);
30890
+ var bolt_protocol_v4x1_1$1 = __importDefault$r(boltProtocolV4x1);
30891
+ var neo4j_driver_core_1$n = lib$1;
30892
+ var bolt_protocol_v4x2_transformer_1$1 = __importDefault$r(boltProtocolV4x2_transformer);
30893
+ var transformer_1$a = __importDefault$r(transformer);
30894
+ var BOLT_PROTOCOL_V4_2 = neo4j_driver_core_1$n.internal.constants.BOLT_PROTOCOL_V4_2;
30895
+ var BoltProtocol$a = /** @class */ (function (_super) {
30896
+ __extends$h(BoltProtocol, _super);
30702
30897
  function BoltProtocol() {
30703
30898
  return _super !== null && _super.apply(this, arguments) || this;
30704
30899
  }
@@ -30713,7 +30908,7 @@ var BoltProtocol$9 = /** @class */ (function (_super) {
30713
30908
  get: function () {
30714
30909
  var _this = this;
30715
30910
  if (this._transformer === undefined) {
30716
- this._transformer = new transformer_1$9.default(Object.values(bolt_protocol_v4x2_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30911
+ this._transformer = new transformer_1$a.default(Object.values(bolt_protocol_v4x2_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
30717
30912
  }
30718
30913
  return this._transformer;
30719
30914
  },
@@ -30722,7 +30917,7 @@ var BoltProtocol$9 = /** @class */ (function (_super) {
30722
30917
  });
30723
30918
  return BoltProtocol;
30724
30919
  }(bolt_protocol_v4x1_1$1.default));
30725
- boltProtocolV4x2.default = BoltProtocol$9;
30920
+ boltProtocolV4x2.default = BoltProtocol$a;
30726
30921
 
30727
30922
  var boltProtocolV4x3 = {};
30728
30923
 
@@ -30744,8 +30939,8 @@ var boltProtocolV4x3_transformer = {};
30744
30939
  * See the License for the specific language governing permissions and
30745
30940
  * limitations under the License.
30746
30941
  */
30747
- var __assign$f = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30748
- __assign$f = Object.assign || function(t) {
30942
+ var __assign$g = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30943
+ __assign$g = Object.assign || function(t) {
30749
30944
  for (var s, i = 1, n = arguments.length; i < n; i++) {
30750
30945
  s = arguments[i];
30751
30946
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -30753,14 +30948,14 @@ var __assign$f = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30753
30948
  }
30754
30949
  return t;
30755
30950
  };
30756
- return __assign$f.apply(this, arguments);
30951
+ return __assign$g.apply(this, arguments);
30757
30952
  };
30758
- var __importDefault$p = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30953
+ var __importDefault$q = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30759
30954
  return (mod && mod.__esModule) ? mod : { "default": mod };
30760
30955
  };
30761
30956
  Object.defineProperty(boltProtocolV4x3_transformer, "__esModule", { value: true });
30762
- var bolt_protocol_v4x2_transformer_1 = __importDefault$p(boltProtocolV4x2_transformer);
30763
- boltProtocolV4x3_transformer.default = __assign$f({}, bolt_protocol_v4x2_transformer_1.default);
30957
+ var bolt_protocol_v4x2_transformer_1 = __importDefault$q(boltProtocolV4x2_transformer);
30958
+ boltProtocolV4x3_transformer.default = __assign$g({}, bolt_protocol_v4x2_transformer_1.default);
30764
30959
 
30765
30960
  var boltProtocolV5x0_utc_transformer = {};
30766
30961
 
@@ -30782,8 +30977,8 @@ var boltProtocolV4x4_transformer = {};
30782
30977
  * See the License for the specific language governing permissions and
30783
30978
  * limitations under the License.
30784
30979
  */
30785
- var __assign$e = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30786
- __assign$e = Object.assign || function(t) {
30980
+ var __assign$f = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30981
+ __assign$f = Object.assign || function(t) {
30787
30982
  for (var s, i = 1, n = arguments.length; i < n; i++) {
30788
30983
  s = arguments[i];
30789
30984
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -30791,14 +30986,14 @@ var __assign$e = (commonjsGlobal && commonjsGlobal.__assign) || function () {
30791
30986
  }
30792
30987
  return t;
30793
30988
  };
30794
- return __assign$e.apply(this, arguments);
30989
+ return __assign$f.apply(this, arguments);
30795
30990
  };
30796
- var __importDefault$o = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30991
+ var __importDefault$p = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30797
30992
  return (mod && mod.__esModule) ? mod : { "default": mod };
30798
30993
  };
30799
30994
  Object.defineProperty(boltProtocolV4x4_transformer, "__esModule", { value: true });
30800
- var bolt_protocol_v4x3_transformer_1$1 = __importDefault$o(boltProtocolV4x3_transformer);
30801
- boltProtocolV4x4_transformer.default = __assign$e({}, bolt_protocol_v4x3_transformer_1$1.default);
30995
+ var bolt_protocol_v4x3_transformer_1$1 = __importDefault$p(boltProtocolV4x3_transformer);
30996
+ boltProtocolV4x4_transformer.default = __assign$f({}, bolt_protocol_v4x3_transformer_1$1.default);
30802
30997
 
30803
30998
  /**
30804
30999
  * Copyright (c) "Neo4j"
@@ -30832,16 +31027,16 @@ var __read$4 = (commonjsGlobal && commonjsGlobal.__read) || function (o, n) {
30832
31027
  }
30833
31028
  return ar;
30834
31029
  };
30835
- var __importDefault$n = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31030
+ var __importDefault$o = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
30836
31031
  return (mod && mod.__esModule) ? mod : { "default": mod };
30837
31032
  };
30838
31033
  Object.defineProperty(boltProtocolV5x0_utc_transformer, "__esModule", { value: true });
30839
31034
  var packstream_1$1 = packstream;
30840
- var neo4j_driver_core_1$l = lib$1;
30841
- var bolt_protocol_v4x4_transformer_1$2 = __importDefault$n(boltProtocolV4x4_transformer);
31035
+ var neo4j_driver_core_1$m = lib$1;
31036
+ var bolt_protocol_v4x4_transformer_1$2 = __importDefault$o(boltProtocolV4x4_transformer);
30842
31037
  var temporal_factory_1 = temporalFactory;
30843
31038
  var functional_1 = functional;
30844
- var localDateTimeToEpochSecond = neo4j_driver_core_1$l.internal.temporalUtil.localDateTimeToEpochSecond;
31039
+ var localDateTimeToEpochSecond = neo4j_driver_core_1$m.internal.temporalUtil.localDateTimeToEpochSecond;
30845
31040
  var DATE_TIME_WITH_ZONE_OFFSET = 0x49;
30846
31041
  var DATE_TIME_WITH_ZONE_OFFSET_STRUCT_SIZE = 3;
30847
31042
  var DATE_TIME_WITH_ZONE_ID = 0x69;
@@ -30855,7 +31050,7 @@ function createDateTimeWithZoneIdTransformer(config, logger) {
30855
31050
  packstream_1$1.structure.verifyStructSize('DateTimeWithZoneId', DATE_TIME_WITH_ZONE_ID_STRUCT_SIZE, struct.size);
30856
31051
  var _a = __read$4(struct.fields, 3), epochSecond = _a[0], nano = _a[1], timeZoneId = _a[2];
30857
31052
  var localDateTime = getTimeInZoneId(timeZoneId, epochSecond, nano);
30858
- var result = new neo4j_driver_core_1$l.DateTime(localDateTime.year, localDateTime.month, localDateTime.day, localDateTime.hour, localDateTime.minute, localDateTime.second, (0, neo4j_driver_core_1$l.int)(nano), localDateTime.timeZoneOffsetSeconds, timeZoneId);
31053
+ var result = new neo4j_driver_core_1$m.DateTime(localDateTime.year, localDateTime.month, localDateTime.day, localDateTime.hour, localDateTime.minute, localDateTime.second, (0, neo4j_driver_core_1$m.int)(nano), localDateTime.timeZoneOffsetSeconds, timeZoneId);
30859
31054
  return convertIntegerPropsIfNeeded(result, disableLosslessIntegers, useBigInt);
30860
31055
  },
30861
31056
  toStructure: function (value) {
@@ -30869,7 +31064,7 @@ function createDateTimeWithZoneIdTransformer(config, logger) {
30869
31064
  '2022-10-30T2:30:00[Europe/Berlin] could be GMT+1 or GMT+2.');
30870
31065
  }
30871
31066
  var utc = epochSecond.subtract(offset);
30872
- var nano = (0, neo4j_driver_core_1$l.int)(value.nanosecond);
31067
+ var nano = (0, neo4j_driver_core_1$m.int)(value.nanosecond);
30873
31068
  var timeZoneId = value.timeZoneId;
30874
31069
  return new packstream_1$1.structure.Structure(DATE_TIME_WITH_ZONE_ID, [utc, nano, timeZoneId]);
30875
31070
  }
@@ -30931,9 +31126,9 @@ function getDateTimeFormatForZoneId(timeZoneId) {
30931
31126
  }
30932
31127
  function getTimeInZoneId(timeZoneId, epochSecond, nano) {
30933
31128
  var formatter = getDateTimeFormatForZoneId(timeZoneId);
30934
- var utc = (0, neo4j_driver_core_1$l.int)(epochSecond)
31129
+ var utc = (0, neo4j_driver_core_1$m.int)(epochSecond)
30935
31130
  .multiply(1000)
30936
- .add((0, neo4j_driver_core_1$l.int)(nano).div(1000000))
31131
+ .add((0, neo4j_driver_core_1$m.int)(nano).div(1000000))
30937
31132
  .toNumber();
30938
31133
  var formattedUtcParts = formatter.formatToParts(utc);
30939
31134
  var localDateTime = formattedUtcParts.reduce(function (obj, currentValue) {
@@ -30944,10 +31139,10 @@ function getTimeInZoneId(timeZoneId, epochSecond, nano) {
30944
31139
  : functional_1.identity;
30945
31140
  }
30946
31141
  else if (currentValue.type === 'hour') {
30947
- obj.hour = (0, neo4j_driver_core_1$l.int)(currentValue.value).modulo(24);
31142
+ obj.hour = (0, neo4j_driver_core_1$m.int)(currentValue.value).modulo(24);
30948
31143
  }
30949
31144
  else if (currentValue.type !== 'literal') {
30950
- obj[currentValue.type] = (0, neo4j_driver_core_1$l.int)(currentValue.value);
31145
+ obj[currentValue.type] = (0, neo4j_driver_core_1$m.int)(currentValue.value);
30951
31146
  }
30952
31147
  return obj;
30953
31148
  }, {});
@@ -30964,17 +31159,17 @@ function createDateTimeWithOffsetTransformer(config) {
30964
31159
  signature: DATE_TIME_WITH_ZONE_OFFSET,
30965
31160
  toStructure: function (value) {
30966
31161
  var epochSecond = localDateTimeToEpochSecond(value.year, value.month, value.day, value.hour, value.minute, value.second, value.nanosecond);
30967
- var nano = (0, neo4j_driver_core_1$l.int)(value.nanosecond);
30968
- var timeZoneOffsetSeconds = (0, neo4j_driver_core_1$l.int)(value.timeZoneOffsetSeconds);
31162
+ var nano = (0, neo4j_driver_core_1$m.int)(value.nanosecond);
31163
+ var timeZoneOffsetSeconds = (0, neo4j_driver_core_1$m.int)(value.timeZoneOffsetSeconds);
30969
31164
  var utcSecond = epochSecond.subtract(timeZoneOffsetSeconds);
30970
31165
  return new packstream_1$1.structure.Structure(DATE_TIME_WITH_ZONE_OFFSET, [utcSecond, nano, timeZoneOffsetSeconds]);
30971
31166
  },
30972
31167
  fromStructure: function (struct) {
30973
31168
  packstream_1$1.structure.verifyStructSize('DateTimeWithZoneOffset', DATE_TIME_WITH_ZONE_OFFSET_STRUCT_SIZE, struct.size);
30974
31169
  var _a = __read$4(struct.fields, 3), utcSecond = _a[0], nano = _a[1], timeZoneOffsetSeconds = _a[2];
30975
- var epochSecond = (0, neo4j_driver_core_1$l.int)(utcSecond).add(timeZoneOffsetSeconds);
31170
+ var epochSecond = (0, neo4j_driver_core_1$m.int)(utcSecond).add(timeZoneOffsetSeconds);
30976
31171
  var localDateTime = (0, temporal_factory_1.epochSecondAndNanoToLocalDateTime)(epochSecond, nano);
30977
- var result = new neo4j_driver_core_1$l.DateTime(localDateTime.year, localDateTime.month, localDateTime.day, localDateTime.hour, localDateTime.minute, localDateTime.second, localDateTime.nanosecond, timeZoneOffsetSeconds, null);
31172
+ var result = new neo4j_driver_core_1$m.DateTime(localDateTime.year, localDateTime.month, localDateTime.day, localDateTime.hour, localDateTime.minute, localDateTime.second, localDateTime.nanosecond, timeZoneOffsetSeconds, null);
30978
31173
  return convertIntegerPropsIfNeeded(result, disableLosslessIntegers, useBigInt);
30979
31174
  }
30980
31175
  });
@@ -30990,7 +31185,7 @@ function convertIntegerPropsIfNeeded(obj, disableLosslessIntegers, useBigInt) {
30990
31185
  for (var prop in obj) {
30991
31186
  if (Object.prototype.hasOwnProperty.call(obj, prop) === true) {
30992
31187
  var value = obj[prop];
30993
- clone[prop] = (0, neo4j_driver_core_1$l.isInt)(value) ? convert(value) : value;
31188
+ clone[prop] = (0, neo4j_driver_core_1$m.isInt)(value) ? convert(value) : value;
30994
31189
  }
30995
31190
  }
30996
31191
  Object.freeze(clone);
@@ -31001,7 +31196,7 @@ boltProtocolV5x0_utc_transformer.default = {
31001
31196
  createDateTimeWithOffsetTransformer: createDateTimeWithOffsetTransformer
31002
31197
  };
31003
31198
 
31004
- var __extends$f = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31199
+ var __extends$g = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31005
31200
  var extendStatics = function (d, b) {
31006
31201
  extendStatics = Object.setPrototypeOf ||
31007
31202
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -31016,8 +31211,8 @@ var __extends$f = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31016
31211
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
31017
31212
  };
31018
31213
  })();
31019
- var __assign$d = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31020
- __assign$d = Object.assign || function(t) {
31214
+ var __assign$e = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31215
+ __assign$e = Object.assign || function(t) {
31021
31216
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31022
31217
  s = arguments[i];
31023
31218
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -31025,9 +31220,9 @@ var __assign$d = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31025
31220
  }
31026
31221
  return t;
31027
31222
  };
31028
- return __assign$d.apply(this, arguments);
31223
+ return __assign$e.apply(this, arguments);
31029
31224
  };
31030
- var __importDefault$m = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31225
+ var __importDefault$n = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31031
31226
  return (mod && mod.__esModule) ? mod : { "default": mod };
31032
31227
  };
31033
31228
  Object.defineProperty(boltProtocolV4x3, "__esModule", { value: true });
@@ -31047,17 +31242,17 @@ Object.defineProperty(boltProtocolV4x3, "__esModule", { value: true });
31047
31242
  * See the License for the specific language governing permissions and
31048
31243
  * limitations under the License.
31049
31244
  */
31050
- var bolt_protocol_v4x2_1$1 = __importDefault$m(boltProtocolV4x2);
31051
- var request_message_1$7 = __importDefault$m(requestMessage);
31245
+ var bolt_protocol_v4x2_1$1 = __importDefault$n(boltProtocolV4x2);
31246
+ var request_message_1$7 = __importDefault$n(requestMessage);
31052
31247
  var stream_observers_1$7 = streamObservers;
31053
31248
  var bolt_protocol_util_1$3 = boltProtocolUtil;
31054
- var bolt_protocol_v4x3_transformer_1 = __importDefault$m(boltProtocolV4x3_transformer);
31055
- var bolt_protocol_v5x0_utc_transformer_1$2 = __importDefault$m(boltProtocolV5x0_utc_transformer);
31056
- var transformer_1$8 = __importDefault$m(transformer);
31057
- var neo4j_driver_core_1$k = lib$1;
31058
- var Bookmarks$2 = neo4j_driver_core_1$k.internal.bookmarks.Bookmarks, BOLT_PROTOCOL_V4_3 = neo4j_driver_core_1$k.internal.constants.BOLT_PROTOCOL_V4_3;
31059
- var BoltProtocol$8 = /** @class */ (function (_super) {
31060
- __extends$f(BoltProtocol, _super);
31249
+ var bolt_protocol_v4x3_transformer_1 = __importDefault$n(boltProtocolV4x3_transformer);
31250
+ var bolt_protocol_v5x0_utc_transformer_1$2 = __importDefault$n(boltProtocolV5x0_utc_transformer);
31251
+ var transformer_1$9 = __importDefault$n(transformer);
31252
+ var neo4j_driver_core_1$l = lib$1;
31253
+ var Bookmarks$2 = neo4j_driver_core_1$l.internal.bookmarks.Bookmarks, BOLT_PROTOCOL_V4_3 = neo4j_driver_core_1$l.internal.constants.BOLT_PROTOCOL_V4_3;
31254
+ var BoltProtocol$9 = /** @class */ (function (_super) {
31255
+ __extends$g(BoltProtocol, _super);
31061
31256
  function BoltProtocol() {
31062
31257
  return _super !== null && _super.apply(this, arguments) || this;
31063
31258
  }
@@ -31072,7 +31267,7 @@ var BoltProtocol$8 = /** @class */ (function (_super) {
31072
31267
  get: function () {
31073
31268
  var _this = this;
31074
31269
  if (this._transformer === undefined) {
31075
- this._transformer = new transformer_1$8.default(Object.values(bolt_protocol_v4x3_transformer_1.default).map(function (create) { return create(_this._config, _this._log); }));
31270
+ this._transformer = new transformer_1$9.default(Object.values(bolt_protocol_v4x3_transformer_1.default).map(function (create) { return create(_this._config, _this._log); }));
31076
31271
  }
31077
31272
  return this._transformer;
31078
31273
  },
@@ -31141,15 +31336,15 @@ var BoltProtocol$8 = /** @class */ (function (_super) {
31141
31336
  };
31142
31337
  BoltProtocol.prototype._applyUtcPatch = function () {
31143
31338
  var _this = this;
31144
- this._transformer = new transformer_1$8.default(Object.values(__assign$d(__assign$d({}, bolt_protocol_v4x3_transformer_1.default), bolt_protocol_v5x0_utc_transformer_1$2.default)).map(function (create) { return create(_this._config, _this._log); }));
31339
+ this._transformer = new transformer_1$9.default(Object.values(__assign$e(__assign$e({}, bolt_protocol_v4x3_transformer_1.default), bolt_protocol_v5x0_utc_transformer_1$2.default)).map(function (create) { return create(_this._config, _this._log); }));
31145
31340
  };
31146
31341
  return BoltProtocol;
31147
31342
  }(bolt_protocol_v4x2_1$1.default));
31148
- boltProtocolV4x3.default = BoltProtocol$8;
31343
+ boltProtocolV4x3.default = BoltProtocol$9;
31149
31344
 
31150
31345
  var boltProtocolV4x4 = {};
31151
31346
 
31152
- var __extends$e = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31347
+ var __extends$f = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31153
31348
  var extendStatics = function (d, b) {
31154
31349
  extendStatics = Object.setPrototypeOf ||
31155
31350
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -31164,8 +31359,8 @@ var __extends$e = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31164
31359
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
31165
31360
  };
31166
31361
  })();
31167
- var __assign$c = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31168
- __assign$c = Object.assign || function(t) {
31362
+ var __assign$d = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31363
+ __assign$d = Object.assign || function(t) {
31169
31364
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31170
31365
  s = arguments[i];
31171
31366
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -31173,9 +31368,9 @@ var __assign$c = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31173
31368
  }
31174
31369
  return t;
31175
31370
  };
31176
- return __assign$c.apply(this, arguments);
31371
+ return __assign$d.apply(this, arguments);
31177
31372
  };
31178
- var __importDefault$l = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31373
+ var __importDefault$m = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31179
31374
  return (mod && mod.__esModule) ? mod : { "default": mod };
31180
31375
  };
31181
31376
  Object.defineProperty(boltProtocolV4x4, "__esModule", { value: true });
@@ -31195,17 +31390,17 @@ Object.defineProperty(boltProtocolV4x4, "__esModule", { value: true });
31195
31390
  * See the License for the specific language governing permissions and
31196
31391
  * limitations under the License.
31197
31392
  */
31198
- var bolt_protocol_v4x3_1$1 = __importDefault$l(boltProtocolV4x3);
31199
- var neo4j_driver_core_1$j = lib$1;
31200
- var request_message_1$6 = __importDefault$l(requestMessage);
31393
+ var bolt_protocol_v4x3_1$1 = __importDefault$m(boltProtocolV4x3);
31394
+ var neo4j_driver_core_1$k = lib$1;
31395
+ var request_message_1$6 = __importDefault$m(requestMessage);
31201
31396
  var stream_observers_1$6 = streamObservers;
31202
31397
  var bolt_protocol_util_1$2 = boltProtocolUtil;
31203
- var bolt_protocol_v4x4_transformer_1$1 = __importDefault$l(boltProtocolV4x4_transformer);
31204
- var bolt_protocol_v5x0_utc_transformer_1$1 = __importDefault$l(boltProtocolV5x0_utc_transformer);
31205
- var transformer_1$7 = __importDefault$l(transformer);
31206
- var _a$6 = neo4j_driver_core_1$j.internal.constants, BOLT_PROTOCOL_V4_4$2 = _a$6.BOLT_PROTOCOL_V4_4, FETCH_ALL$2 = _a$6.FETCH_ALL, Bookmarks$1 = neo4j_driver_core_1$j.internal.bookmarks.Bookmarks;
31207
- var BoltProtocol$7 = /** @class */ (function (_super) {
31208
- __extends$e(BoltProtocol, _super);
31398
+ var bolt_protocol_v4x4_transformer_1$1 = __importDefault$m(boltProtocolV4x4_transformer);
31399
+ var bolt_protocol_v5x0_utc_transformer_1$1 = __importDefault$m(boltProtocolV5x0_utc_transformer);
31400
+ var transformer_1$8 = __importDefault$m(transformer);
31401
+ var _a$6 = neo4j_driver_core_1$k.internal.constants, BOLT_PROTOCOL_V4_4$2 = _a$6.BOLT_PROTOCOL_V4_4, FETCH_ALL$2 = _a$6.FETCH_ALL, Bookmarks$1 = neo4j_driver_core_1$k.internal.bookmarks.Bookmarks;
31402
+ var BoltProtocol$8 = /** @class */ (function (_super) {
31403
+ __extends$f(BoltProtocol, _super);
31209
31404
  function BoltProtocol() {
31210
31405
  return _super !== null && _super.apply(this, arguments) || this;
31211
31406
  }
@@ -31220,7 +31415,7 @@ var BoltProtocol$7 = /** @class */ (function (_super) {
31220
31415
  get: function () {
31221
31416
  var _this = this;
31222
31417
  if (this._transformer === undefined) {
31223
- this._transformer = new transformer_1$7.default(Object.values(bolt_protocol_v4x4_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
31418
+ this._transformer = new transformer_1$8.default(Object.values(bolt_protocol_v4x4_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
31224
31419
  }
31225
31420
  return this._transformer;
31226
31421
  },
@@ -31299,11 +31494,11 @@ var BoltProtocol$7 = /** @class */ (function (_super) {
31299
31494
  };
31300
31495
  BoltProtocol.prototype._applyUtcPatch = function () {
31301
31496
  var _this = this;
31302
- this._transformer = new transformer_1$7.default(Object.values(__assign$c(__assign$c({}, bolt_protocol_v4x4_transformer_1$1.default), bolt_protocol_v5x0_utc_transformer_1$1.default)).map(function (create) { return create(_this._config, _this._log); }));
31497
+ this._transformer = new transformer_1$8.default(Object.values(__assign$d(__assign$d({}, bolt_protocol_v4x4_transformer_1$1.default), bolt_protocol_v5x0_utc_transformer_1$1.default)).map(function (create) { return create(_this._config, _this._log); }));
31303
31498
  };
31304
31499
  return BoltProtocol;
31305
31500
  }(bolt_protocol_v4x3_1$1.default));
31306
- boltProtocolV4x4.default = BoltProtocol$7;
31501
+ boltProtocolV4x4.default = BoltProtocol$8;
31307
31502
 
31308
31503
  var boltProtocolV5x0 = {};
31309
31504
 
@@ -31325,8 +31520,8 @@ var boltProtocolV5x0_transformer = {};
31325
31520
  * See the License for the specific language governing permissions and
31326
31521
  * limitations under the License.
31327
31522
  */
31328
- var __assign$b = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31329
- __assign$b = Object.assign || function(t) {
31523
+ var __assign$c = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31524
+ __assign$c = Object.assign || function(t) {
31330
31525
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31331
31526
  s = arguments[i];
31332
31527
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -31334,7 +31529,7 @@ var __assign$b = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31334
31529
  }
31335
31530
  return t;
31336
31531
  };
31337
- return __assign$b.apply(this, arguments);
31532
+ return __assign$c.apply(this, arguments);
31338
31533
  };
31339
31534
  var __read$3 = (commonjsGlobal && commonjsGlobal.__read) || function (o, n) {
31340
31535
  var m = typeof Symbol === "function" && o[Symbol.iterator];
@@ -31352,14 +31547,14 @@ var __read$3 = (commonjsGlobal && commonjsGlobal.__read) || function (o, n) {
31352
31547
  }
31353
31548
  return ar;
31354
31549
  };
31355
- var __importDefault$k = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31550
+ var __importDefault$l = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31356
31551
  return (mod && mod.__esModule) ? mod : { "default": mod };
31357
31552
  };
31358
31553
  Object.defineProperty(boltProtocolV5x0_transformer, "__esModule", { value: true });
31359
31554
  var packstream_1 = packstream;
31360
- var neo4j_driver_core_1$i = lib$1;
31361
- var bolt_protocol_v4x4_transformer_1 = __importDefault$k(boltProtocolV4x4_transformer);
31362
- var bolt_protocol_v5x0_utc_transformer_1 = __importDefault$k(boltProtocolV5x0_utc_transformer);
31555
+ var neo4j_driver_core_1$j = lib$1;
31556
+ var bolt_protocol_v4x4_transformer_1 = __importDefault$l(boltProtocolV4x4_transformer);
31557
+ var bolt_protocol_v5x0_utc_transformer_1 = __importDefault$l(boltProtocolV5x0_utc_transformer);
31363
31558
  var NODE_STRUCT_SIZE = 4;
31364
31559
  var RELATIONSHIP_STRUCT_SIZE = 8;
31365
31560
  var UNBOUND_RELATIONSHIP_STRUCT_SIZE = 4;
@@ -31374,7 +31569,7 @@ function createNodeTransformer(config) {
31374
31569
  fromStructure: function (struct) {
31375
31570
  packstream_1.structure.verifyStructSize('Node', NODE_STRUCT_SIZE, struct.size);
31376
31571
  var _a = __read$3(struct.fields, 4), identity = _a[0], lables = _a[1], properties = _a[2], elementId = _a[3];
31377
- return new neo4j_driver_core_1$i.Node(identity, lables, properties, elementId);
31572
+ return new neo4j_driver_core_1$j.Node(identity, lables, properties, elementId);
31378
31573
  }
31379
31574
  });
31380
31575
  }
@@ -31389,7 +31584,7 @@ function createRelationshipTransformer(config) {
31389
31584
  fromStructure: function (struct) {
31390
31585
  packstream_1.structure.verifyStructSize('Relationship', RELATIONSHIP_STRUCT_SIZE, struct.size);
31391
31586
  var _a = __read$3(struct.fields, 8), identity = _a[0], startNodeIdentity = _a[1], endNodeIdentity = _a[2], type = _a[3], properties = _a[4], elementId = _a[5], startNodeElementId = _a[6], endNodeElementId = _a[7];
31392
- return new neo4j_driver_core_1$i.Relationship(identity, startNodeIdentity, endNodeIdentity, type, properties, elementId, startNodeElementId, endNodeElementId);
31587
+ return new neo4j_driver_core_1$j.Relationship(identity, startNodeIdentity, endNodeIdentity, type, properties, elementId, startNodeElementId, endNodeElementId);
31393
31588
  }
31394
31589
  });
31395
31590
  }
@@ -31404,13 +31599,13 @@ function createUnboundRelationshipTransformer(config) {
31404
31599
  fromStructure: function (struct) {
31405
31600
  packstream_1.structure.verifyStructSize('UnboundRelationship', UNBOUND_RELATIONSHIP_STRUCT_SIZE, struct.size);
31406
31601
  var _a = __read$3(struct.fields, 4), identity = _a[0], type = _a[1], properties = _a[2], elementId = _a[3];
31407
- return new neo4j_driver_core_1$i.UnboundRelationship(identity, type, properties, elementId);
31602
+ return new neo4j_driver_core_1$j.UnboundRelationship(identity, type, properties, elementId);
31408
31603
  }
31409
31604
  });
31410
31605
  }
31411
- boltProtocolV5x0_transformer.default = __assign$b(__assign$b(__assign$b({}, bolt_protocol_v4x4_transformer_1.default), bolt_protocol_v5x0_utc_transformer_1.default), { createNodeTransformer: createNodeTransformer, createRelationshipTransformer: createRelationshipTransformer, createUnboundRelationshipTransformer: createUnboundRelationshipTransformer });
31606
+ boltProtocolV5x0_transformer.default = __assign$c(__assign$c(__assign$c({}, bolt_protocol_v4x4_transformer_1.default), bolt_protocol_v5x0_utc_transformer_1.default), { createNodeTransformer: createNodeTransformer, createRelationshipTransformer: createRelationshipTransformer, createUnboundRelationshipTransformer: createUnboundRelationshipTransformer });
31412
31607
 
31413
- var __extends$d = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31608
+ var __extends$e = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31414
31609
  var extendStatics = function (d, b) {
31415
31610
  extendStatics = Object.setPrototypeOf ||
31416
31611
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -31425,7 +31620,7 @@ var __extends$d = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31425
31620
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
31426
31621
  };
31427
31622
  })();
31428
- var __importDefault$j = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31623
+ var __importDefault$k = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31429
31624
  return (mod && mod.__esModule) ? mod : { "default": mod };
31430
31625
  };
31431
31626
  Object.defineProperty(boltProtocolV5x0, "__esModule", { value: true });
@@ -31445,16 +31640,16 @@ Object.defineProperty(boltProtocolV5x0, "__esModule", { value: true });
31445
31640
  * See the License for the specific language governing permissions and
31446
31641
  * limitations under the License.
31447
31642
  */
31448
- var bolt_protocol_v4x4_1$1 = __importDefault$j(boltProtocolV4x4);
31643
+ var bolt_protocol_v4x4_1$1 = __importDefault$k(boltProtocolV4x4);
31449
31644
  var bolt_protocol_util_1$1 = boltProtocolUtil;
31450
- var bolt_protocol_v5x0_transformer_1$1 = __importDefault$j(boltProtocolV5x0_transformer);
31451
- var transformer_1$6 = __importDefault$j(transformer);
31452
- var request_message_1$5 = __importDefault$j(requestMessage);
31645
+ var bolt_protocol_v5x0_transformer_1$1 = __importDefault$k(boltProtocolV5x0_transformer);
31646
+ var transformer_1$7 = __importDefault$k(transformer);
31647
+ var request_message_1$5 = __importDefault$k(requestMessage);
31453
31648
  var stream_observers_1$5 = streamObservers;
31454
- var neo4j_driver_core_1$h = lib$1;
31455
- var BOLT_PROTOCOL_V5_0 = neo4j_driver_core_1$h.internal.constants.BOLT_PROTOCOL_V5_0;
31456
- var BoltProtocol$6 = /** @class */ (function (_super) {
31457
- __extends$d(BoltProtocol, _super);
31649
+ var neo4j_driver_core_1$i = lib$1;
31650
+ var BOLT_PROTOCOL_V5_0 = neo4j_driver_core_1$i.internal.constants.BOLT_PROTOCOL_V5_0;
31651
+ var BoltProtocol$7 = /** @class */ (function (_super) {
31652
+ __extends$e(BoltProtocol, _super);
31458
31653
  function BoltProtocol() {
31459
31654
  return _super !== null && _super.apply(this, arguments) || this;
31460
31655
  }
@@ -31469,7 +31664,7 @@ var BoltProtocol$6 = /** @class */ (function (_super) {
31469
31664
  get: function () {
31470
31665
  var _this = this;
31471
31666
  if (this._transformer === undefined) {
31472
- this._transformer = new transformer_1$6.default(Object.values(bolt_protocol_v5x0_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
31667
+ this._transformer = new transformer_1$7.default(Object.values(bolt_protocol_v5x0_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
31473
31668
  }
31474
31669
  return this._transformer;
31475
31670
  },
@@ -31501,7 +31696,7 @@ var BoltProtocol$6 = /** @class */ (function (_super) {
31501
31696
  };
31502
31697
  return BoltProtocol;
31503
31698
  }(bolt_protocol_v4x4_1$1.default));
31504
- boltProtocolV5x0.default = BoltProtocol$6;
31699
+ boltProtocolV5x0.default = BoltProtocol$7;
31505
31700
 
31506
31701
  var boltProtocolV5x1 = {};
31507
31702
 
@@ -31523,8 +31718,8 @@ var boltProtocolV5x1_transformer = {};
31523
31718
  * See the License for the specific language governing permissions and
31524
31719
  * limitations under the License.
31525
31720
  */
31526
- var __assign$a = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31527
- __assign$a = Object.assign || function(t) {
31721
+ var __assign$b = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31722
+ __assign$b = Object.assign || function(t) {
31528
31723
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31529
31724
  s = arguments[i];
31530
31725
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -31532,16 +31727,16 @@ var __assign$a = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31532
31727
  }
31533
31728
  return t;
31534
31729
  };
31535
- return __assign$a.apply(this, arguments);
31730
+ return __assign$b.apply(this, arguments);
31536
31731
  };
31537
- var __importDefault$i = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31732
+ var __importDefault$j = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31538
31733
  return (mod && mod.__esModule) ? mod : { "default": mod };
31539
31734
  };
31540
31735
  Object.defineProperty(boltProtocolV5x1_transformer, "__esModule", { value: true });
31541
- var bolt_protocol_v5x0_transformer_1 = __importDefault$i(boltProtocolV5x0_transformer);
31542
- boltProtocolV5x1_transformer.default = __assign$a({}, bolt_protocol_v5x0_transformer_1.default);
31736
+ var bolt_protocol_v5x0_transformer_1 = __importDefault$j(boltProtocolV5x0_transformer);
31737
+ boltProtocolV5x1_transformer.default = __assign$b({}, bolt_protocol_v5x0_transformer_1.default);
31543
31738
 
31544
- var __extends$c = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31739
+ var __extends$d = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31545
31740
  var extendStatics = function (d, b) {
31546
31741
  extendStatics = Object.setPrototypeOf ||
31547
31742
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -31556,8 +31751,8 @@ var __extends$c = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31556
31751
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
31557
31752
  };
31558
31753
  })();
31559
- var __assign$9 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31560
- __assign$9 = Object.assign || function(t) {
31754
+ var __assign$a = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31755
+ __assign$a = Object.assign || function(t) {
31561
31756
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31562
31757
  s = arguments[i];
31563
31758
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -31565,9 +31760,9 @@ var __assign$9 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31565
31760
  }
31566
31761
  return t;
31567
31762
  };
31568
- return __assign$9.apply(this, arguments);
31763
+ return __assign$a.apply(this, arguments);
31569
31764
  };
31570
- var __importDefault$h = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31765
+ var __importDefault$i = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31571
31766
  return (mod && mod.__esModule) ? mod : { "default": mod };
31572
31767
  };
31573
31768
  Object.defineProperty(boltProtocolV5x1, "__esModule", { value: true });
@@ -31587,16 +31782,16 @@ Object.defineProperty(boltProtocolV5x1, "__esModule", { value: true });
31587
31782
  * See the License for the specific language governing permissions and
31588
31783
  * limitations under the License.
31589
31784
  */
31590
- var bolt_protocol_v5x0_1$1 = __importDefault$h(boltProtocolV5x0);
31785
+ var bolt_protocol_v5x0_1$1 = __importDefault$i(boltProtocolV5x0);
31591
31786
  var bolt_protocol_util_1 = boltProtocolUtil;
31592
- var bolt_protocol_v5x1_transformer_1$1 = __importDefault$h(boltProtocolV5x1_transformer);
31593
- var transformer_1$5 = __importDefault$h(transformer);
31594
- var request_message_1$4 = __importDefault$h(requestMessage);
31787
+ var bolt_protocol_v5x1_transformer_1$1 = __importDefault$i(boltProtocolV5x1_transformer);
31788
+ var transformer_1$6 = __importDefault$i(transformer);
31789
+ var request_message_1$4 = __importDefault$i(requestMessage);
31595
31790
  var stream_observers_1$4 = streamObservers;
31596
- var neo4j_driver_core_1$g = lib$1;
31597
- var BOLT_PROTOCOL_V5_1$2 = neo4j_driver_core_1$g.internal.constants.BOLT_PROTOCOL_V5_1;
31598
- var BoltProtocol$5 = /** @class */ (function (_super) {
31599
- __extends$c(BoltProtocol, _super);
31791
+ var neo4j_driver_core_1$h = lib$1;
31792
+ var BOLT_PROTOCOL_V5_1$2 = neo4j_driver_core_1$h.internal.constants.BOLT_PROTOCOL_V5_1;
31793
+ var BoltProtocol$6 = /** @class */ (function (_super) {
31794
+ __extends$d(BoltProtocol, _super);
31600
31795
  function BoltProtocol() {
31601
31796
  return _super !== null && _super.apply(this, arguments) || this;
31602
31797
  }
@@ -31611,7 +31806,7 @@ var BoltProtocol$5 = /** @class */ (function (_super) {
31611
31806
  get: function () {
31612
31807
  var _this = this;
31613
31808
  if (this._transformer === undefined) {
31614
- this._transformer = new transformer_1$5.default(Object.values(bolt_protocol_v5x1_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
31809
+ this._transformer = new transformer_1$6.default(Object.values(bolt_protocol_v5x1_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
31615
31810
  }
31616
31811
  return this._transformer;
31617
31812
  },
@@ -31652,7 +31847,7 @@ var BoltProtocol$5 = /** @class */ (function (_super) {
31652
31847
  this.write(request_message_1$4.default.hello5x1(userAgent, this._serversideRouting), observer, false);
31653
31848
  return this.logon({
31654
31849
  authToken: authToken,
31655
- onComplete: function (metadata) { return onComplete(__assign$9(__assign$9({}, metadata), state.metadata)); },
31850
+ onComplete: function (metadata) { return onComplete(__assign$a(__assign$a({}, metadata), state.metadata)); },
31656
31851
  onError: onError,
31657
31852
  flush: true
31658
31853
  });
@@ -31699,7 +31894,7 @@ var BoltProtocol$5 = /** @class */ (function (_super) {
31699
31894
  };
31700
31895
  return BoltProtocol;
31701
31896
  }(bolt_protocol_v5x0_1$1.default));
31702
- boltProtocolV5x1.default = BoltProtocol$5;
31897
+ boltProtocolV5x1.default = BoltProtocol$6;
31703
31898
 
31704
31899
  var boltProtocolV5x2 = {};
31705
31900
 
@@ -31721,8 +31916,8 @@ var boltProtocolV5x2_transformer = {};
31721
31916
  * See the License for the specific language governing permissions and
31722
31917
  * limitations under the License.
31723
31918
  */
31724
- var __assign$8 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31725
- __assign$8 = Object.assign || function(t) {
31919
+ var __assign$9 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31920
+ __assign$9 = Object.assign || function(t) {
31726
31921
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31727
31922
  s = arguments[i];
31728
31923
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -31730,16 +31925,16 @@ var __assign$8 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31730
31925
  }
31731
31926
  return t;
31732
31927
  };
31733
- return __assign$8.apply(this, arguments);
31928
+ return __assign$9.apply(this, arguments);
31734
31929
  };
31735
- var __importDefault$g = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31930
+ var __importDefault$h = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31736
31931
  return (mod && mod.__esModule) ? mod : { "default": mod };
31737
31932
  };
31738
31933
  Object.defineProperty(boltProtocolV5x2_transformer, "__esModule", { value: true });
31739
- var bolt_protocol_v5x1_transformer_1 = __importDefault$g(boltProtocolV5x1_transformer);
31740
- boltProtocolV5x2_transformer.default = __assign$8({}, bolt_protocol_v5x1_transformer_1.default);
31934
+ var bolt_protocol_v5x1_transformer_1 = __importDefault$h(boltProtocolV5x1_transformer);
31935
+ boltProtocolV5x2_transformer.default = __assign$9({}, bolt_protocol_v5x1_transformer_1.default);
31741
31936
 
31742
- var __extends$b = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31937
+ var __extends$c = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31743
31938
  var extendStatics = function (d, b) {
31744
31939
  extendStatics = Object.setPrototypeOf ||
31745
31940
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -31754,8 +31949,8 @@ var __extends$b = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31754
31949
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
31755
31950
  };
31756
31951
  })();
31757
- var __assign$7 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31758
- __assign$7 = Object.assign || function(t) {
31952
+ var __assign$8 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31953
+ __assign$8 = Object.assign || function(t) {
31759
31954
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31760
31955
  s = arguments[i];
31761
31956
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -31763,9 +31958,9 @@ var __assign$7 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31763
31958
  }
31764
31959
  return t;
31765
31960
  };
31766
- return __assign$7.apply(this, arguments);
31961
+ return __assign$8.apply(this, arguments);
31767
31962
  };
31768
- var __importDefault$f = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31963
+ var __importDefault$g = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31769
31964
  return (mod && mod.__esModule) ? mod : { "default": mod };
31770
31965
  };
31771
31966
  Object.defineProperty(boltProtocolV5x2, "__esModule", { value: true });
@@ -31785,15 +31980,15 @@ Object.defineProperty(boltProtocolV5x2, "__esModule", { value: true });
31785
31980
  * See the License for the specific language governing permissions and
31786
31981
  * limitations under the License.
31787
31982
  */
31788
- var bolt_protocol_v5x1_1$1 = __importDefault$f(boltProtocolV5x1);
31789
- var bolt_protocol_v5x2_transformer_1$1 = __importDefault$f(boltProtocolV5x2_transformer);
31790
- var transformer_1$4 = __importDefault$f(transformer);
31791
- var request_message_1$3 = __importDefault$f(requestMessage);
31983
+ var bolt_protocol_v5x1_1$1 = __importDefault$g(boltProtocolV5x1);
31984
+ var bolt_protocol_v5x2_transformer_1$1 = __importDefault$g(boltProtocolV5x2_transformer);
31985
+ var transformer_1$5 = __importDefault$g(transformer);
31986
+ var request_message_1$3 = __importDefault$g(requestMessage);
31792
31987
  var stream_observers_1$3 = streamObservers;
31793
- var neo4j_driver_core_1$f = lib$1;
31794
- var _a$5 = neo4j_driver_core_1$f.internal.constants, BOLT_PROTOCOL_V5_2 = _a$5.BOLT_PROTOCOL_V5_2, FETCH_ALL$1 = _a$5.FETCH_ALL;
31795
- var BoltProtocol$4 = /** @class */ (function (_super) {
31796
- __extends$b(BoltProtocol, _super);
31988
+ var neo4j_driver_core_1$g = lib$1;
31989
+ var _a$5 = neo4j_driver_core_1$g.internal.constants, BOLT_PROTOCOL_V5_2 = _a$5.BOLT_PROTOCOL_V5_2, FETCH_ALL$1 = _a$5.FETCH_ALL;
31990
+ var BoltProtocol$5 = /** @class */ (function (_super) {
31991
+ __extends$c(BoltProtocol, _super);
31797
31992
  function BoltProtocol() {
31798
31993
  return _super !== null && _super.apply(this, arguments) || this;
31799
31994
  }
@@ -31808,7 +32003,7 @@ var BoltProtocol$4 = /** @class */ (function (_super) {
31808
32003
  get: function () {
31809
32004
  var _this = this;
31810
32005
  if (this._transformer === undefined) {
31811
- this._transformer = new transformer_1$4.default(Object.values(bolt_protocol_v5x2_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
32006
+ this._transformer = new transformer_1$5.default(Object.values(bolt_protocol_v5x2_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
31812
32007
  }
31813
32008
  return this._transformer;
31814
32009
  },
@@ -31850,7 +32045,7 @@ var BoltProtocol$4 = /** @class */ (function (_super) {
31850
32045
  request_message_1$3.default.hello5x2(userAgent, notificationFilter, this._serversideRouting), observer, false);
31851
32046
  return this.logon({
31852
32047
  authToken: authToken,
31853
- onComplete: function (metadata) { return onComplete(__assign$7(__assign$7({}, metadata), state.metadata)); },
32048
+ onComplete: function (metadata) { return onComplete(__assign$8(__assign$8({}, metadata), state.metadata)); },
31854
32049
  onError: onError,
31855
32050
  flush: true
31856
32051
  });
@@ -31901,7 +32096,7 @@ var BoltProtocol$4 = /** @class */ (function (_super) {
31901
32096
  };
31902
32097
  return BoltProtocol;
31903
32098
  }(bolt_protocol_v5x1_1$1.default));
31904
- boltProtocolV5x2.default = BoltProtocol$4;
32099
+ boltProtocolV5x2.default = BoltProtocol$5;
31905
32100
 
31906
32101
  var boltProtocolV5x3 = {};
31907
32102
 
@@ -31923,8 +32118,8 @@ var boltProtocolV5x3_transformer = {};
31923
32118
  * See the License for the specific language governing permissions and
31924
32119
  * limitations under the License.
31925
32120
  */
31926
- var __assign$6 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31927
- __assign$6 = Object.assign || function(t) {
32121
+ var __assign$7 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32122
+ __assign$7 = Object.assign || function(t) {
31928
32123
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31929
32124
  s = arguments[i];
31930
32125
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -31932,16 +32127,16 @@ var __assign$6 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31932
32127
  }
31933
32128
  return t;
31934
32129
  };
31935
- return __assign$6.apply(this, arguments);
32130
+ return __assign$7.apply(this, arguments);
31936
32131
  };
31937
- var __importDefault$e = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32132
+ var __importDefault$f = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31938
32133
  return (mod && mod.__esModule) ? mod : { "default": mod };
31939
32134
  };
31940
32135
  Object.defineProperty(boltProtocolV5x3_transformer, "__esModule", { value: true });
31941
- var bolt_protocol_v5x2_transformer_1 = __importDefault$e(boltProtocolV5x2_transformer);
31942
- boltProtocolV5x3_transformer.default = __assign$6({}, bolt_protocol_v5x2_transformer_1.default);
32136
+ var bolt_protocol_v5x2_transformer_1 = __importDefault$f(boltProtocolV5x2_transformer);
32137
+ boltProtocolV5x3_transformer.default = __assign$7({}, bolt_protocol_v5x2_transformer_1.default);
31943
32138
 
31944
- var __extends$a = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32139
+ var __extends$b = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31945
32140
  var extendStatics = function (d, b) {
31946
32141
  extendStatics = Object.setPrototypeOf ||
31947
32142
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -31956,8 +32151,8 @@ var __extends$a = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
31956
32151
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
31957
32152
  };
31958
32153
  })();
31959
- var __assign$5 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31960
- __assign$5 = Object.assign || function(t) {
32154
+ var __assign$6 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32155
+ __assign$6 = Object.assign || function(t) {
31961
32156
  for (var s, i = 1, n = arguments.length; i < n; i++) {
31962
32157
  s = arguments[i];
31963
32158
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -31965,9 +32160,9 @@ var __assign$5 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
31965
32160
  }
31966
32161
  return t;
31967
32162
  };
31968
- return __assign$5.apply(this, arguments);
32163
+ return __assign$6.apply(this, arguments);
31969
32164
  };
31970
- var __importDefault$d = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32165
+ var __importDefault$e = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
31971
32166
  return (mod && mod.__esModule) ? mod : { "default": mod };
31972
32167
  };
31973
32168
  Object.defineProperty(boltProtocolV5x3, "__esModule", { value: true });
@@ -31987,15 +32182,15 @@ Object.defineProperty(boltProtocolV5x3, "__esModule", { value: true });
31987
32182
  * See the License for the specific language governing permissions and
31988
32183
  * limitations under the License.
31989
32184
  */
31990
- var bolt_protocol_v5x2_1$1 = __importDefault$d(boltProtocolV5x2);
31991
- var bolt_protocol_v5x3_transformer_1$1 = __importDefault$d(boltProtocolV5x3_transformer);
31992
- var transformer_1$3 = __importDefault$d(transformer);
31993
- var request_message_1$2 = __importDefault$d(requestMessage);
32185
+ var bolt_protocol_v5x2_1$1 = __importDefault$e(boltProtocolV5x2);
32186
+ var bolt_protocol_v5x3_transformer_1$1 = __importDefault$e(boltProtocolV5x3_transformer);
32187
+ var transformer_1$4 = __importDefault$e(transformer);
32188
+ var request_message_1$2 = __importDefault$e(requestMessage);
31994
32189
  var stream_observers_1$2 = streamObservers;
31995
- var neo4j_driver_core_1$e = lib$1;
31996
- var BOLT_PROTOCOL_V5_3 = neo4j_driver_core_1$e.internal.constants.BOLT_PROTOCOL_V5_3;
31997
- var BoltProtocol$3 = /** @class */ (function (_super) {
31998
- __extends$a(BoltProtocol, _super);
32190
+ var neo4j_driver_core_1$f = lib$1;
32191
+ var BOLT_PROTOCOL_V5_3 = neo4j_driver_core_1$f.internal.constants.BOLT_PROTOCOL_V5_3;
32192
+ var BoltProtocol$4 = /** @class */ (function (_super) {
32193
+ __extends$b(BoltProtocol, _super);
31999
32194
  function BoltProtocol() {
32000
32195
  return _super !== null && _super.apply(this, arguments) || this;
32001
32196
  }
@@ -32010,7 +32205,7 @@ var BoltProtocol$3 = /** @class */ (function (_super) {
32010
32205
  get: function () {
32011
32206
  var _this = this;
32012
32207
  if (this._transformer === undefined) {
32013
- this._transformer = new transformer_1$3.default(Object.values(bolt_protocol_v5x3_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
32208
+ this._transformer = new transformer_1$4.default(Object.values(bolt_protocol_v5x3_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
32014
32209
  }
32015
32210
  return this._transformer;
32016
32211
  },
@@ -32042,14 +32237,14 @@ var BoltProtocol$3 = /** @class */ (function (_super) {
32042
32237
  this.write(request_message_1$2.default.hello5x3(userAgent, boltAgent, notificationFilter, this._serversideRouting), observer, false);
32043
32238
  return this.logon({
32044
32239
  authToken: authToken,
32045
- onComplete: function (metadata) { return onComplete(__assign$5(__assign$5({}, metadata), state.metadata)); },
32240
+ onComplete: function (metadata) { return onComplete(__assign$6(__assign$6({}, metadata), state.metadata)); },
32046
32241
  onError: onError,
32047
32242
  flush: true
32048
32243
  });
32049
32244
  };
32050
32245
  return BoltProtocol;
32051
32246
  }(bolt_protocol_v5x2_1$1.default));
32052
- boltProtocolV5x3.default = BoltProtocol$3;
32247
+ boltProtocolV5x3.default = BoltProtocol$4;
32053
32248
 
32054
32249
  var boltProtocolV5x4 = {};
32055
32250
 
@@ -32071,8 +32266,8 @@ var boltProtocolV5x4_transformer = {};
32071
32266
  * See the License for the specific language governing permissions and
32072
32267
  * limitations under the License.
32073
32268
  */
32074
- var __assign$4 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32075
- __assign$4 = Object.assign || function(t) {
32269
+ var __assign$5 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32270
+ __assign$5 = Object.assign || function(t) {
32076
32271
  for (var s, i = 1, n = arguments.length; i < n; i++) {
32077
32272
  s = arguments[i];
32078
32273
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -32080,16 +32275,16 @@ var __assign$4 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32080
32275
  }
32081
32276
  return t;
32082
32277
  };
32083
- return __assign$4.apply(this, arguments);
32278
+ return __assign$5.apply(this, arguments);
32084
32279
  };
32085
- var __importDefault$c = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32280
+ var __importDefault$d = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32086
32281
  return (mod && mod.__esModule) ? mod : { "default": mod };
32087
32282
  };
32088
32283
  Object.defineProperty(boltProtocolV5x4_transformer, "__esModule", { value: true });
32089
- var bolt_protocol_v5x3_transformer_1 = __importDefault$c(boltProtocolV5x3_transformer);
32090
- boltProtocolV5x4_transformer.default = __assign$4({}, bolt_protocol_v5x3_transformer_1.default);
32284
+ var bolt_protocol_v5x3_transformer_1 = __importDefault$d(boltProtocolV5x3_transformer);
32285
+ boltProtocolV5x4_transformer.default = __assign$5({}, bolt_protocol_v5x3_transformer_1.default);
32091
32286
 
32092
- var __extends$9 = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32287
+ var __extends$a = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32093
32288
  var extendStatics = function (d, b) {
32094
32289
  extendStatics = Object.setPrototypeOf ||
32095
32290
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -32104,7 +32299,7 @@ var __extends$9 = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32104
32299
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32105
32300
  };
32106
32301
  })();
32107
- var __importDefault$b = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32302
+ var __importDefault$c = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32108
32303
  return (mod && mod.__esModule) ? mod : { "default": mod };
32109
32304
  };
32110
32305
  Object.defineProperty(boltProtocolV5x4, "__esModule", { value: true });
@@ -32124,15 +32319,15 @@ Object.defineProperty(boltProtocolV5x4, "__esModule", { value: true });
32124
32319
  * See the License for the specific language governing permissions and
32125
32320
  * limitations under the License.
32126
32321
  */
32127
- var bolt_protocol_v5x3_1$1 = __importDefault$b(boltProtocolV5x3);
32128
- var bolt_protocol_v5x4_transformer_1$1 = __importDefault$b(boltProtocolV5x4_transformer);
32129
- var request_message_1$1 = __importDefault$b(requestMessage);
32322
+ var bolt_protocol_v5x3_1$1 = __importDefault$c(boltProtocolV5x3);
32323
+ var bolt_protocol_v5x4_transformer_1$1 = __importDefault$c(boltProtocolV5x4_transformer);
32324
+ var request_message_1$1 = __importDefault$c(requestMessage);
32130
32325
  var stream_observers_1$1 = streamObservers;
32131
- var transformer_1$2 = __importDefault$b(transformer);
32132
- var neo4j_driver_core_1$d = lib$1;
32133
- var BOLT_PROTOCOL_V5_4 = neo4j_driver_core_1$d.internal.constants.BOLT_PROTOCOL_V5_4;
32134
- var BoltProtocol$2 = /** @class */ (function (_super) {
32135
- __extends$9(BoltProtocol, _super);
32326
+ var transformer_1$3 = __importDefault$c(transformer);
32327
+ var neo4j_driver_core_1$e = lib$1;
32328
+ var BOLT_PROTOCOL_V5_4 = neo4j_driver_core_1$e.internal.constants.BOLT_PROTOCOL_V5_4;
32329
+ var BoltProtocol$3 = /** @class */ (function (_super) {
32330
+ __extends$a(BoltProtocol, _super);
32136
32331
  function BoltProtocol() {
32137
32332
  return _super !== null && _super.apply(this, arguments) || this;
32138
32333
  }
@@ -32147,7 +32342,7 @@ var BoltProtocol$2 = /** @class */ (function (_super) {
32147
32342
  get: function () {
32148
32343
  var _this = this;
32149
32344
  if (this._transformer === undefined) {
32150
- this._transformer = new transformer_1$2.default(Object.values(bolt_protocol_v5x4_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
32345
+ this._transformer = new transformer_1$3.default(Object.values(bolt_protocol_v5x4_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
32151
32346
  }
32152
32347
  return this._transformer;
32153
32348
  },
@@ -32173,7 +32368,7 @@ var BoltProtocol$2 = /** @class */ (function (_super) {
32173
32368
  };
32174
32369
  return BoltProtocol;
32175
32370
  }(bolt_protocol_v5x3_1$1.default));
32176
- boltProtocolV5x4.default = BoltProtocol$2;
32371
+ boltProtocolV5x4.default = BoltProtocol$3;
32177
32372
 
32178
32373
  var boltProtocolV5x5 = {};
32179
32374
 
@@ -32195,8 +32390,8 @@ var boltProtocolV5x5_transformer = {};
32195
32390
  * See the License for the specific language governing permissions and
32196
32391
  * limitations under the License.
32197
32392
  */
32198
- var __assign$3 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32199
- __assign$3 = Object.assign || function(t) {
32393
+ var __assign$4 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32394
+ __assign$4 = Object.assign || function(t) {
32200
32395
  for (var s, i = 1, n = arguments.length; i < n; i++) {
32201
32396
  s = arguments[i];
32202
32397
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -32204,16 +32399,16 @@ var __assign$3 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32204
32399
  }
32205
32400
  return t;
32206
32401
  };
32207
- return __assign$3.apply(this, arguments);
32402
+ return __assign$4.apply(this, arguments);
32208
32403
  };
32209
- var __importDefault$a = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32404
+ var __importDefault$b = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32210
32405
  return (mod && mod.__esModule) ? mod : { "default": mod };
32211
32406
  };
32212
32407
  Object.defineProperty(boltProtocolV5x5_transformer, "__esModule", { value: true });
32213
- var bolt_protocol_v5x4_transformer_1 = __importDefault$a(boltProtocolV5x4_transformer);
32214
- boltProtocolV5x5_transformer.default = __assign$3({}, bolt_protocol_v5x4_transformer_1.default);
32408
+ var bolt_protocol_v5x4_transformer_1 = __importDefault$b(boltProtocolV5x4_transformer);
32409
+ boltProtocolV5x5_transformer.default = __assign$4({}, bolt_protocol_v5x4_transformer_1.default);
32215
32410
 
32216
- var __extends$8 = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32411
+ var __extends$9 = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32217
32412
  var extendStatics = function (d, b) {
32218
32413
  extendStatics = Object.setPrototypeOf ||
32219
32414
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -32228,8 +32423,8 @@ var __extends$8 = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32228
32423
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32229
32424
  };
32230
32425
  })();
32231
- var __assign$2 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32232
- __assign$2 = Object.assign || function(t) {
32426
+ var __assign$3 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32427
+ __assign$3 = Object.assign || function(t) {
32233
32428
  for (var s, i = 1, n = arguments.length; i < n; i++) {
32234
32429
  s = arguments[i];
32235
32430
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
@@ -32237,9 +32432,9 @@ var __assign$2 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32237
32432
  }
32238
32433
  return t;
32239
32434
  };
32240
- return __assign$2.apply(this, arguments);
32435
+ return __assign$3.apply(this, arguments);
32241
32436
  };
32242
- var __importDefault$9 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32437
+ var __importDefault$a = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32243
32438
  return (mod && mod.__esModule) ? mod : { "default": mod };
32244
32439
  };
32245
32440
  Object.defineProperty(boltProtocolV5x5, "__esModule", { value: true });
@@ -32259,20 +32454,20 @@ Object.defineProperty(boltProtocolV5x5, "__esModule", { value: true });
32259
32454
  * See the License for the specific language governing permissions and
32260
32455
  * limitations under the License.
32261
32456
  */
32262
- var bolt_protocol_v5x4_1$1 = __importDefault$9(boltProtocolV5x4);
32263
- var bolt_protocol_v5x5_transformer_1$1 = __importDefault$9(boltProtocolV5x5_transformer);
32264
- var transformer_1$1 = __importDefault$9(transformer);
32265
- var request_message_1 = __importDefault$9(requestMessage);
32457
+ var bolt_protocol_v5x4_1$1 = __importDefault$a(boltProtocolV5x4);
32458
+ var bolt_protocol_v5x5_transformer_1$2 = __importDefault$a(boltProtocolV5x5_transformer);
32459
+ var transformer_1$2 = __importDefault$a(transformer);
32460
+ var request_message_1 = __importDefault$a(requestMessage);
32266
32461
  var stream_observers_1 = streamObservers;
32267
- var neo4j_driver_core_1$c = lib$1;
32268
- var _a$4 = neo4j_driver_core_1$c.internal.constants, BOLT_PROTOCOL_V5_5 = _a$4.BOLT_PROTOCOL_V5_5, FETCH_ALL = _a$4.FETCH_ALL;
32269
- var DEFAULT_DIAGNOSTIC_RECORD$1 = Object.freeze({
32462
+ var neo4j_driver_core_1$d = lib$1;
32463
+ var _a$4 = neo4j_driver_core_1$d.internal.constants, BOLT_PROTOCOL_V5_5 = _a$4.BOLT_PROTOCOL_V5_5, FETCH_ALL = _a$4.FETCH_ALL;
32464
+ var DEFAULT_DIAGNOSTIC_RECORD$2 = Object.freeze({
32270
32465
  OPERATION: '',
32271
32466
  OPERATION_CODE: '0',
32272
32467
  CURRENT_SCHEMA: '/'
32273
32468
  });
32274
- var BoltProtocol$1 = /** @class */ (function (_super) {
32275
- __extends$8(BoltProtocol, _super);
32469
+ var BoltProtocol$2 = /** @class */ (function (_super) {
32470
+ __extends$9(BoltProtocol, _super);
32276
32471
  function BoltProtocol() {
32277
32472
  return _super !== null && _super.apply(this, arguments) || this;
32278
32473
  }
@@ -32287,7 +32482,7 @@ var BoltProtocol$1 = /** @class */ (function (_super) {
32287
32482
  get: function () {
32288
32483
  var _this = this;
32289
32484
  if (this._transformer === undefined) {
32290
- this._transformer = new transformer_1$1.default(Object.values(bolt_protocol_v5x5_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
32485
+ this._transformer = new transformer_1$2.default(Object.values(bolt_protocol_v5x5_transformer_1$2.default).map(function (create) { return create(_this._config, _this._log); }));
32291
32486
  }
32292
32487
  return this._transformer;
32293
32488
  },
@@ -32319,7 +32514,7 @@ var BoltProtocol$1 = /** @class */ (function (_super) {
32319
32514
  this.write(request_message_1.default.hello5x5(userAgent, boltAgent, notificationFilter, this._serversideRouting), observer, false);
32320
32515
  return this.logon({
32321
32516
  authToken: authToken,
32322
- onComplete: function (metadata) { return onComplete(__assign$2(__assign$2({}, metadata), state.metadata)); },
32517
+ onComplete: function (metadata) { return onComplete(__assign$3(__assign$3({}, metadata), state.metadata)); },
32323
32518
  onError: onError,
32324
32519
  flush: true
32325
32520
  });
@@ -32376,16 +32571,112 @@ var BoltProtocol$1 = /** @class */ (function (_super) {
32376
32571
  */
32377
32572
  BoltProtocol.prototype._enrichMetadata = function (metadata) {
32378
32573
  if (Array.isArray(metadata.statuses)) {
32379
- metadata.statuses = metadata.statuses.map(function (status) { return (__assign$2(__assign$2({}, status), { description: status.neo4j_code != null ? status.status_description : status.description, diagnostic_record: status.diagnostic_record !== null ? __assign$2(__assign$2({}, DEFAULT_DIAGNOSTIC_RECORD$1), status.diagnostic_record) : null })); });
32574
+ metadata.statuses = metadata.statuses.map(function (status) { return (__assign$3(__assign$3({}, status), { description: status.neo4j_code != null ? status.status_description : status.description, diagnostic_record: status.diagnostic_record !== null ? __assign$3(__assign$3({}, DEFAULT_DIAGNOSTIC_RECORD$2), status.diagnostic_record) : null })); });
32380
32575
  }
32381
32576
  return metadata;
32382
32577
  };
32383
32578
  return BoltProtocol;
32384
32579
  }(bolt_protocol_v5x4_1$1.default));
32385
- boltProtocolV5x5.default = BoltProtocol$1;
32580
+ boltProtocolV5x5.default = BoltProtocol$2;
32386
32581
 
32387
32582
  var boltProtocolV5x6 = {};
32388
32583
 
32584
+ var __extends$8 = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32585
+ var extendStatics = function (d, b) {
32586
+ extendStatics = Object.setPrototypeOf ||
32587
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32588
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
32589
+ return extendStatics(d, b);
32590
+ };
32591
+ return function (d, b) {
32592
+ if (typeof b !== "function" && b !== null)
32593
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
32594
+ extendStatics(d, b);
32595
+ function __() { this.constructor = d; }
32596
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32597
+ };
32598
+ })();
32599
+ var __assign$2 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32600
+ __assign$2 = Object.assign || function(t) {
32601
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
32602
+ s = arguments[i];
32603
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
32604
+ t[p] = s[p];
32605
+ }
32606
+ return t;
32607
+ };
32608
+ return __assign$2.apply(this, arguments);
32609
+ };
32610
+ var __importDefault$9 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32611
+ return (mod && mod.__esModule) ? mod : { "default": mod };
32612
+ };
32613
+ Object.defineProperty(boltProtocolV5x6, "__esModule", { value: true });
32614
+ /**
32615
+ * Copyright (c) "Neo4j"
32616
+ * Neo4j Sweden AB [https://neo4j.com]
32617
+ *
32618
+ * Licensed under the Apache License, Version 2.0 (the "License");
32619
+ * you may not use this file except in compliance with the License.
32620
+ * You may obtain a copy of the License at
32621
+ *
32622
+ * http://www.apache.org/licenses/LICENSE-2.0
32623
+ *
32624
+ * Unless required by applicable law or agreed to in writing, software
32625
+ * distributed under the License is distributed on an "AS IS" BASIS,
32626
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32627
+ * See the License for the specific language governing permissions and
32628
+ * limitations under the License.
32629
+ */
32630
+ var bolt_protocol_v5x5_1$1 = __importDefault$9(boltProtocolV5x5);
32631
+ var bolt_protocol_v5x5_transformer_1$1 = __importDefault$9(boltProtocolV5x5_transformer);
32632
+ var transformer_1$1 = __importDefault$9(transformer);
32633
+ var neo4j_driver_core_1$c = lib$1;
32634
+ var BOLT_PROTOCOL_V5_6 = neo4j_driver_core_1$c.internal.constants.BOLT_PROTOCOL_V5_6;
32635
+ var DEFAULT_DIAGNOSTIC_RECORD$1 = Object.freeze({
32636
+ OPERATION: '',
32637
+ OPERATION_CODE: '0',
32638
+ CURRENT_SCHEMA: '/'
32639
+ });
32640
+ var BoltProtocol$1 = /** @class */ (function (_super) {
32641
+ __extends$8(BoltProtocol, _super);
32642
+ function BoltProtocol() {
32643
+ return _super !== null && _super.apply(this, arguments) || this;
32644
+ }
32645
+ Object.defineProperty(BoltProtocol.prototype, "version", {
32646
+ get: function () {
32647
+ return BOLT_PROTOCOL_V5_6;
32648
+ },
32649
+ enumerable: false,
32650
+ configurable: true
32651
+ });
32652
+ Object.defineProperty(BoltProtocol.prototype, "transformer", {
32653
+ get: function () {
32654
+ var _this = this;
32655
+ if (this._transformer === undefined) {
32656
+ this._transformer = new transformer_1$1.default(Object.values(bolt_protocol_v5x5_transformer_1$1.default).map(function (create) { return create(_this._config, _this._log); }));
32657
+ }
32658
+ return this._transformer;
32659
+ },
32660
+ enumerable: false,
32661
+ configurable: true
32662
+ });
32663
+ /**
32664
+ *
32665
+ * @param {object} metadata
32666
+ * @returns {object}
32667
+ */
32668
+ BoltProtocol.prototype._enrichMetadata = function (metadata) {
32669
+ if (Array.isArray(metadata.statuses)) {
32670
+ metadata.statuses = metadata.statuses.map(function (status) { return (__assign$2(__assign$2({}, status), { diagnostic_record: status.diagnostic_record !== null ? __assign$2(__assign$2({}, DEFAULT_DIAGNOSTIC_RECORD$1), status.diagnostic_record) : null })); });
32671
+ }
32672
+ return metadata;
32673
+ };
32674
+ return BoltProtocol;
32675
+ }(bolt_protocol_v5x5_1$1.default));
32676
+ boltProtocolV5x6.default = BoltProtocol$1;
32677
+
32678
+ var boltProtocolV5x7 = {};
32679
+
32389
32680
  var __extends$7 = (commonjsGlobal && commonjsGlobal.__extends) || (function () {
32390
32681
  var extendStatics = function (d, b) {
32391
32682
  extendStatics = Object.setPrototypeOf ||
@@ -32415,7 +32706,7 @@ var __assign$1 = (commonjsGlobal && commonjsGlobal.__assign) || function () {
32415
32706
  var __importDefault$8 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
32416
32707
  return (mod && mod.__esModule) ? mod : { "default": mod };
32417
32708
  };
32418
- Object.defineProperty(boltProtocolV5x6, "__esModule", { value: true });
32709
+ Object.defineProperty(boltProtocolV5x7, "__esModule", { value: true });
32419
32710
  /**
32420
32711
  * Copyright (c) "Neo4j"
32421
32712
  * Neo4j Sweden AB [https://neo4j.com]
@@ -32432,11 +32723,11 @@ Object.defineProperty(boltProtocolV5x6, "__esModule", { value: true });
32432
32723
  * See the License for the specific language governing permissions and
32433
32724
  * limitations under the License.
32434
32725
  */
32435
- var bolt_protocol_v5x5_1$1 = __importDefault$8(boltProtocolV5x5);
32726
+ var bolt_protocol_v5x6_1$1 = __importDefault$8(boltProtocolV5x6);
32436
32727
  var bolt_protocol_v5x5_transformer_1 = __importDefault$8(boltProtocolV5x5_transformer);
32437
32728
  var transformer_1 = __importDefault$8(transformer);
32438
32729
  var neo4j_driver_core_1$b = lib$1;
32439
- var BOLT_PROTOCOL_V5_6 = neo4j_driver_core_1$b.internal.constants.BOLT_PROTOCOL_V5_6;
32730
+ var BOLT_PROTOCOL_V5_7 = neo4j_driver_core_1$b.internal.constants.BOLT_PROTOCOL_V5_7;
32440
32731
  var DEFAULT_DIAGNOSTIC_RECORD = Object.freeze({
32441
32732
  OPERATION: '',
32442
32733
  OPERATION_CODE: '0',
@@ -32449,7 +32740,7 @@ var BoltProtocol = /** @class */ (function (_super) {
32449
32740
  }
32450
32741
  Object.defineProperty(BoltProtocol.prototype, "version", {
32451
32742
  get: function () {
32452
- return BOLT_PROTOCOL_V5_6;
32743
+ return BOLT_PROTOCOL_V5_7;
32453
32744
  },
32454
32745
  enumerable: false,
32455
32746
  configurable: true
@@ -32470,15 +32761,12 @@ var BoltProtocol = /** @class */ (function (_super) {
32470
32761
  * @param {object} metadata
32471
32762
  * @returns {object}
32472
32763
  */
32473
- BoltProtocol.prototype._enrichMetadata = function (metadata) {
32474
- if (Array.isArray(metadata.statuses)) {
32475
- metadata.statuses = metadata.statuses.map(function (status) { return (__assign$1(__assign$1({}, status), { diagnostic_record: status.diagnostic_record !== null ? __assign$1(__assign$1({}, DEFAULT_DIAGNOSTIC_RECORD), status.diagnostic_record) : null })); });
32476
- }
32477
- return metadata;
32764
+ BoltProtocol.prototype.enrichErrorMetadata = function (metadata) {
32765
+ return __assign$1(__assign$1({}, metadata), { cause: (metadata.cause !== null && metadata.cause !== undefined) ? this.enrichErrorMetadata(metadata.cause) : null, code: metadata.neo4j_code, diagnostic_record: metadata.diagnostic_record !== null ? __assign$1(__assign$1({}, DEFAULT_DIAGNOSTIC_RECORD), metadata.diagnostic_record) : null });
32478
32766
  };
32479
32767
  return BoltProtocol;
32480
- }(bolt_protocol_v5x5_1$1.default));
32481
- boltProtocolV5x6.default = BoltProtocol;
32768
+ }(bolt_protocol_v5x6_1$1.default));
32769
+ boltProtocolV5x7.default = BoltProtocol;
32482
32770
 
32483
32771
  var responseHandler = {};
32484
32772
 
@@ -32551,10 +32839,11 @@ var ResponseHandler = /** @class */ (function () {
32551
32839
  * @param {ResponseHandler~Observer} observer Object which will be notified about errors
32552
32840
  */
32553
32841
  function ResponseHandler(_a) {
32554
- var _b = _a === void 0 ? {} : _a, transformMetadata = _b.transformMetadata, log = _b.log, observer = _b.observer;
32842
+ var _b = _a === void 0 ? {} : _a, transformMetadata = _b.transformMetadata, enrichErrorMetadata = _b.enrichErrorMetadata, log = _b.log, observer = _b.observer;
32555
32843
  this._pendingObservers = [];
32556
32844
  this._log = log;
32557
32845
  this._transformMetadata = transformMetadata || NO_OP_IDENTITY;
32846
+ this._enrichErrorMetadata = enrichErrorMetadata || NO_OP_IDENTITY;
32558
32847
  this._observer = Object.assign({
32559
32848
  onObserversCountChange: NO_OP,
32560
32849
  onError: NO_OP,
@@ -32595,9 +32884,7 @@ var ResponseHandler = /** @class */ (function () {
32595
32884
  this._log.debug("S: FAILURE ".concat(neo4j_driver_core_1$a.json.stringify(msg)));
32596
32885
  }
32597
32886
  try {
32598
- var standardizedCode = _standardizeCode(payload.code);
32599
- var error = (0, neo4j_driver_core_1$a.newError)(payload.message, standardizedCode);
32600
- this._currentFailure = this._observer.onErrorApplyTransformation(error);
32887
+ this._currentFailure = this._handleErrorPayload(this._enrichErrorMetadata(payload));
32601
32888
  this._currentObserver.onError(this._currentFailure);
32602
32889
  }
32603
32890
  finally {
@@ -32672,6 +32959,17 @@ var ResponseHandler = /** @class */ (function () {
32672
32959
  ResponseHandler.prototype._resetFailure = function () {
32673
32960
  this._currentFailure = null;
32674
32961
  };
32962
+ ResponseHandler.prototype._handleErrorPayload = function (payload) {
32963
+ var standardizedCode = _standardizeCode(payload.code);
32964
+ var cause = payload.cause != null ? this._handleErrorCause(payload.cause) : undefined;
32965
+ var error = (0, neo4j_driver_core_1$a.newError)(payload.message, standardizedCode, cause, payload.gql_status, payload.description, payload.diagnostic_record);
32966
+ return this._observer.onErrorApplyTransformation(error);
32967
+ };
32968
+ ResponseHandler.prototype._handleErrorCause = function (payload) {
32969
+ var cause = payload.cause != null ? this._handleErrorCause(payload.cause) : undefined;
32970
+ var error = (0, neo4j_driver_core_1$a.newGQLError)(payload.message, cause, payload.gql_status, payload.description, payload.diagnostic_record);
32971
+ return this._observer.onErrorApplyTransformation(error);
32972
+ };
32675
32973
  return ResponseHandler;
32676
32974
  }());
32677
32975
  responseHandler.default = ResponseHandler;
@@ -32730,6 +33028,7 @@ var bolt_protocol_v5x3_1 = __importDefault$7(boltProtocolV5x3);
32730
33028
  var bolt_protocol_v5x4_1 = __importDefault$7(boltProtocolV5x4);
32731
33029
  var bolt_protocol_v5x5_1 = __importDefault$7(boltProtocolV5x5);
32732
33030
  var bolt_protocol_v5x6_1 = __importDefault$7(boltProtocolV5x6);
33031
+ var bolt_protocol_v5x7_1 = __importDefault$7(boltProtocolV5x7);
32733
33032
  var response_handler_1 = __importDefault$7(responseHandler);
32734
33033
  /**
32735
33034
  * Creates a protocol with a given version
@@ -32751,6 +33050,7 @@ function create(_a) {
32751
33050
  var createResponseHandler = function (protocol) {
32752
33051
  var responseHandler = new response_handler_1.default({
32753
33052
  transformMetadata: protocol.transformMetadata.bind(protocol),
33053
+ enrichErrorMetadata: protocol.enrichErrorMetadata.bind(protocol),
32754
33054
  log: log,
32755
33055
  observer: observer
32756
33056
  });
@@ -32804,6 +33104,8 @@ function createProtocol(version, server, chunker, packingConfig, serversideRouti
32804
33104
  return new bolt_protocol_v5x5_1.default(server, chunker, packingConfig, createResponseHandler, log, onProtocolError, serversideRouting);
32805
33105
  case 5.6:
32806
33106
  return new bolt_protocol_v5x6_1.default(server, chunker, packingConfig, createResponseHandler, log, onProtocolError, serversideRouting);
33107
+ case 5.7:
33108
+ return new bolt_protocol_v5x7_1.default(server, chunker, packingConfig, createResponseHandler, log, onProtocolError, serversideRouting);
32807
33109
  default:
32808
33110
  throw (0, neo4j_driver_core_1$9.newError)('Unknown Bolt protocol version: ' + version);
32809
33111
  }
@@ -33542,7 +33844,7 @@ var ChannelConnection = /** @class */ (function (_super) {
33542
33844
  reject(error);
33543
33845
  }
33544
33846
  else {
33545
- var neo4jError = _this._handleProtocolError('Received FAILURE as a response for RESET: ' + error);
33847
+ var neo4jError = _this._handleProtocolError("Received FAILURE as a response for RESET: ".concat(error));
33546
33848
  reject(neo4jError);
33547
33849
  }
33548
33850
  },