@xuda.io/runtime-bundle 1.0.378 → 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 +9 -6
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-mini-bundle.js +9 -6
- package/js/xuda-runtime-mini-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +9 -6
- 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 +9 -6
- package/js/xuda-worker-bundle.js +9 -6
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -26123,13 +26123,16 @@ func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
|
|
|
26123
26123
|
}
|
|
26124
26124
|
|
|
26125
26125
|
if (typeof val === 'object') {
|
|
26126
|
-
|
|
26127
|
-
|
|
26128
|
-
|
|
26129
|
-
|
|
26126
|
+
try {
|
|
26127
|
+
let str = JSON.stringify(val);
|
|
26128
|
+
if (str.includes('.') && str.includes('drv_') && str.length > 30) {
|
|
26129
|
+
let new_val = replaceFiletoURL(str);
|
|
26130
26130
|
|
|
26131
|
-
|
|
26132
|
-
|
|
26131
|
+
return { value: new_val, changed: true };
|
|
26132
|
+
} else {
|
|
26133
|
+
return { value: val, changed: false };
|
|
26134
|
+
}
|
|
26135
|
+
} catch (err) {
|
|
26133
26136
|
return { value: val, changed: false };
|
|
26134
26137
|
}
|
|
26135
26138
|
}
|