@xuda.io/xuda-dbs-plugin-xuda 1.0.132 → 1.0.133
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 +2 -8
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.133",
|
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
@@ -1,7 +1,5 @@
|
|
1
|
-
var _this = {};
|
2
|
-
|
3
1
|
const check_unique = async function (e, docP, table_obj, db) {
|
4
|
-
if (typeof func !== "undefined") {
|
2
|
+
if (typeof func !== "undefined" && !e.full_table_downloaded) {
|
5
3
|
const SESSION_ID = Object.keys(SESSION_OBJ)[0];
|
6
4
|
const ret = await func.common.perform_rpi_request(
|
7
5
|
SESSION_ID,
|
@@ -184,7 +182,7 @@ const find_item_by_key = function (arr, key, val) {
|
|
184
182
|
});
|
185
183
|
};
|
186
184
|
|
187
|
-
const get_cast_val = async function (
|
185
|
+
const get_cast_val = async function (source, attributeP, typeP, valP) {
|
188
186
|
const success = function (res) {
|
189
187
|
var msg = `error converting ${attributeP} from ${valP} to ${typeP}`;
|
190
188
|
console.error(source, msg);
|
@@ -1544,7 +1542,3 @@ export const create_design = async (params, resolve, reject) => {
|
|
1544
1542
|
return resolve(err);
|
1545
1543
|
}
|
1546
1544
|
};
|
1547
|
-
|
1548
|
-
export const init_module = async (params) => {
|
1549
|
-
_this.xu_cast = params.xu_cast;
|
1550
|
-
};
|