@xuda.io/runtime-bundle 1.0.377 → 1.0.379
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/js/xuda-runtime-bundle.js +2028 -1
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-mini-bundle.js +2027 -1
- package/js/xuda-runtime-mini-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +2028 -1
- package/js/xuda-runtime-slim.min.es.js +9 -6
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +2028 -1
- package/js/xuda-worker-bundle.js +2028 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -6944,13 +6944,16 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
|
|
|
6944
6944
|
}
|
|
6945
6945
|
|
|
6946
6946
|
if (typeof val === 'object') {
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6947
|
+
try {
|
|
6948
|
+
let str = JSON.stringify(val);
|
|
6949
|
+
if (str.includes('.') && str.includes('drv_') && str.length > 30) {
|
|
6950
|
+
let new_val = replaceFiletoURL(str);
|
|
6951
6951
|
|
|
6952
|
-
|
|
6953
|
-
|
|
6952
|
+
return { value: new_val, changed: true };
|
|
6953
|
+
} else {
|
|
6954
|
+
return { value: val, changed: false };
|
|
6955
|
+
}
|
|
6956
|
+
} catch (err) {
|
|
6954
6957
|
return { value: val, changed: false };
|
|
6955
6958
|
}
|
|
6956
6959
|
}
|