@neo4j-labs/experimental-query-api-wrapper 0.0.1-alpha03 → 0.0.1-alpha04

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.
@@ -149,7 +149,7 @@ export default class HttpConnectionProvider extends ConnectionProvider {
149
149
  */
150
150
  function run(connection, config) {
151
151
  return new Promise((resolve, reject) => {
152
- connection.run('RETURN 1', {}, {
152
+ connection.run('CALL db.ping()', {}, {
153
153
  database: config?.database, mode: config?.accessMode, fetchSize: 200, reactive: false, bookmarks: Bookmarks.empty(), highRecordWatermark: 10, lowRecordWatermark: 0, txConfig: TxConfig.empty()
154
154
  })
155
155
  .subscribe({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-labs/experimental-query-api-wrapper",
3
- "version": "0.0.1-alpha03",
3
+ "version": "0.0.1-alpha04",
4
4
  "description": "Experimental wrapper library to access Neo4j Database using Query API with a neo4j-driver-like interface.",
5
5
  "main": "lib/index.js",
6
6
  "types": "types/index.d.ts",