@xuda.io/xuda-dbs-plugin-xuda 1.0.216 → 1.0.302
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 +2 -3
- package/server.js +1 -1
- /package/{setup.mjs → index.mjs} +0 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xuda.io/xuda-dbs-plugin-xuda",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.302",
|
4
4
|
"description": "Xuda Database Socket for Xuda's proprietary structure powered by CouchDB",
|
5
5
|
"scripts": {
|
6
6
|
"pub": "npm version patch --force && npm publish --access public"
|
@@ -17,7 +17,6 @@
|
|
17
17
|
"dependencies": {
|
18
18
|
"@xuda.io/xu_cast": "^1.0.3",
|
19
19
|
"lodash": "^4.17.21",
|
20
|
-
"nano": "^10.0.0"
|
21
|
-
"pm2": "^5.3.0"
|
20
|
+
"nano": "^10.0.0"
|
22
21
|
}
|
23
22
|
}
|
package/server.js
CHANGED
@@ -1096,7 +1096,7 @@ exports.check_unique = async (params, setup_doc, resolve, reject) => {
|
|
1096
1096
|
return reject(error);
|
1097
1097
|
}
|
1098
1098
|
};
|
1099
|
-
exports.
|
1099
|
+
exports.get_connection = async (params, setup_doc, resolve, reject) => {
|
1100
1100
|
try {
|
1101
1101
|
if (!setup_doc.db_connection_string) throw "db_connection_string missing";
|
1102
1102
|
const nano = require("nano")(setup_doc.db_connection_string);
|
/package/{setup.mjs → index.mjs}
RENAMED
File without changes
|