@xuda.io/xuda-dbs-plugin-xuda 1.0.120 → 1.0.121
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/studio.mjs +3 -3
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.121",
|
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/studio.mjs
CHANGED
@@ -1278,8 +1278,8 @@ export const create = async (params, resolve, reject) => {
|
|
1278
1278
|
try {
|
1279
1279
|
for await (var val of e.table_data) {
|
1280
1280
|
var doc = {
|
1281
|
+
_id: crypto.randomUUID(),
|
1281
1282
|
docType: "database",
|
1282
|
-
|
1283
1283
|
user: e.uid,
|
1284
1284
|
stat: 3,
|
1285
1285
|
udfData: {
|
@@ -1288,8 +1288,8 @@ export const create = async (params, resolve, reject) => {
|
|
1288
1288
|
error: {},
|
1289
1289
|
},
|
1290
1290
|
|
1291
|
-
ts:
|
1292
|
-
date:
|
1291
|
+
ts: Date.now(),
|
1292
|
+
date: Date.now(),
|
1293
1293
|
};
|
1294
1294
|
const index_ret = await get_index_json(doc, table_obj);
|
1295
1295
|
if (index_ret < 0) throw index_ret.data;
|