@xuda.io/xuda-dbs-plugin-xuda 1.0.155 → 1.0.157
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 +1 -1
- package/server.js +1 -1
- package/studio.mjs +1 -1
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.157",
|
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"
|
package/server.js
CHANGED
@@ -958,7 +958,7 @@ exports.create = async (params, setup_doc, resolve, reject) => {
|
|
958
958
|
};
|
959
959
|
|
960
960
|
const get_uuid = function (app_id) {
|
961
|
-
return "dbs_" + app_id.
|
961
|
+
return "dbs_" + app_id.slice(-3) + "_" + crypto.randomUUID();
|
962
962
|
};
|
963
963
|
const batch = async function () {
|
964
964
|
var docs = [];
|
package/studio.mjs
CHANGED
@@ -1005,7 +1005,7 @@ export const create = async (params, resolve, reject) => {
|
|
1005
1005
|
return doc;
|
1006
1006
|
};
|
1007
1007
|
const get_uuid = function (app_id) {
|
1008
|
-
return "dbs_" + app_id.
|
1008
|
+
return "dbs_" + app_id.slice(-3) + "_" + crypto.randomUUID();
|
1009
1009
|
};
|
1010
1010
|
const batch = async function () {
|
1011
1011
|
var docs = [];
|