@xuda.io/xuda-worker-bundle-min 1.3.600 → 1.3.602
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/index.js +0 -27
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -389,9 +389,6 @@ func.common.db = async function (
|
|
|
389
389
|
};
|
|
390
390
|
const create_dbs_pouch = async function (db) {
|
|
391
391
|
try {
|
|
392
|
-
// if (_session.DS_GLB[0].data_system.SYS_GLOBAL_BOL_ONLINE) {
|
|
393
|
-
// throw "online";
|
|
394
|
-
// }
|
|
395
392
|
const { code: table_req_code, data: table_req_id } =
|
|
396
393
|
await validate_existence_of_whole_table_request(db);
|
|
397
394
|
|
|
@@ -435,13 +432,7 @@ func.common.db = async function (
|
|
|
435
432
|
if (
|
|
436
433
|
typeof IS_DOCKER === "undefined" &&
|
|
437
434
|
typeof IS_PROCESS_SERVER === "undefined"
|
|
438
|
-
// ||
|
|
439
|
-
// !SESSION_OBJ?.[SESSION_ID]?.rpi_http_methods?.includes(serviceP)
|
|
440
435
|
) {
|
|
441
|
-
// (await func.db.pouch.get_replication_stat(SESSION_ID)) &&
|
|
442
|
-
// (_session.engine_mode === "live_preview" ||
|
|
443
|
-
// APP_OBJ[_session.APP_ID].app_available_offline)
|
|
444
|
-
|
|
445
436
|
try {
|
|
446
437
|
if (!SESSION_OBJ?.[SESSION_ID]?.rpi_http_methods?.includes(serviceP)) {
|
|
447
438
|
throw "";
|
|
@@ -6144,24 +6135,6 @@ func.utils.remove_js_css_file = function (filename, filetype) {
|
|
|
6144
6135
|
}
|
|
6145
6136
|
};
|
|
6146
6137
|
|
|
6147
|
-
// func.utils.get_build_id = function (app_id) {
|
|
6148
|
-
// var build_id = "temp";
|
|
6149
|
-
// if (APP_OBJ[app_id].app_publish_info) {
|
|
6150
|
-
// build_id = APP_OBJ[app_id].app_publish_info.app_lastBuild;
|
|
6151
|
-
// if (APP_OBJ[app_id].app_type === "instance_app") {
|
|
6152
|
-
// build_id += `.${
|
|
6153
|
-
// APP_OBJ[app_id].app_publish_info.app_instance_lastBuild
|
|
6154
|
-
// ? _.padStart(
|
|
6155
|
-
// APP_OBJ[app_id].app_publish_info.app_lastBuild_instance,
|
|
6156
|
-
// 5
|
|
6157
|
-
// )
|
|
6158
|
-
// : "00000"
|
|
6159
|
-
// }`;
|
|
6160
|
-
// }
|
|
6161
|
-
// }
|
|
6162
|
-
// return build_id;
|
|
6163
|
-
// };
|
|
6164
|
-
|
|
6165
6138
|
func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
|
|
6166
6139
|
// wrap = false; // tbd bypass
|
|
6167
6140
|
|