@builderbot/database-mongo 1.1.2-alpha.6 → 1.1.2
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/dist/index.cjs +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -13,7 +13,7 @@ class MongoAdapter extends bot.MemoryDB {
|
|
|
13
13
|
try {
|
|
14
14
|
const client = new mongodb.MongoClient(this.credentials.dbUri, {});
|
|
15
15
|
await client.connect();
|
|
16
|
-
console.log(
|
|
16
|
+
console.log(`🆗 Connection successfully established`);
|
|
17
17
|
const db = client.db(this.credentials.dbName);
|
|
18
18
|
this.db = db;
|
|
19
19
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builderbot/database-mongo",
|
|
3
|
-
"version": "1.1.2
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Esto es el conector a mongo DB",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Leifer Mendez <leifer33@gmail.com>",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/codigoencasa/bot-whatsapp#readme",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@builderbot/bot": "^1.1.2
|
|
33
|
+
"@builderbot/bot": "^1.1.2",
|
|
34
34
|
"mongodb": "^4.17.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"tslib": "^2.6.2",
|
|
48
48
|
"tsm": "^2.3.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "ccab074f15c9879e27b9e6f3d8ff7bd08a2a3b23"
|
|
51
51
|
}
|