@toa.io/storages.mongodb 0.24.0-alpha.14 → 0.24.0-alpha.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/storages.mongodb",
3
- "version": "0.24.0-alpha.14",
3
+ "version": "0.24.0-alpha.15",
4
4
  "description": "Toa MongoDB Storage Connector",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -19,13 +19,13 @@
19
19
  "test": "echo \"Error: run tests from root\" && exit 1"
20
20
  },
21
21
  "dependencies": {
22
- "@toa.io/console": "0.24.0-alpha.14",
23
- "@toa.io/conveyor": "0.24.0-alpha.14",
24
- "@toa.io/core": "0.24.0-alpha.14",
25
- "@toa.io/generic": "0.24.0-alpha.14",
26
- "@toa.io/pointer": "0.24.0-alpha.14",
22
+ "@toa.io/console": "0.24.0-alpha.15",
23
+ "@toa.io/conveyor": "0.24.0-alpha.15",
24
+ "@toa.io/core": "0.24.0-alpha.15",
25
+ "@toa.io/generic": "0.24.0-alpha.15",
26
+ "@toa.io/pointer": "0.24.0-alpha.15",
27
27
  "mongodb": "6.3.0",
28
28
  "saslprep": "1.0.3"
29
29
  },
30
- "gitHead": "ffa777fa0c5fd43bad15a9f94b1fa74c486ec172"
30
+ "gitHead": "abbd6498f025c80b0109797300337f8135dfdfd7"
31
31
  }
package/src/connection.js CHANGED
@@ -35,13 +35,13 @@ class Connection extends Connector {
35
35
  this.#collection = this.#client.db(db).collection(collection)
36
36
  this.#conveyor = new Conveyor((objects) => this.addMany(objects))
37
37
 
38
- console.info('Storage Mongo connected')
38
+ console.info(`Storage Mongo '${this.#locator.id}' connected`)
39
39
  }
40
40
 
41
41
  async close () {
42
42
  await this.#client?.close()
43
43
 
44
- console.info('Storage Mongo disconnected')
44
+ console.info(`Storage Mongo '${this.#locator.id}' disconnected`)
45
45
  }
46
46
 
47
47
  /** @hot */