@xuda.io/xuda-worker-bundle 1.3.2640 → 1.3.2642

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2588,7 +2588,7 @@ func.runtime.ui.get_node_snapshot = function (nodeP) {
2588
2588
  if (func.runtime.ui.node_snapshot_cache.has(nodeP)) {
2589
2589
  return func.runtime.ui.node_snapshot_cache.get(nodeP);
2590
2590
  }
2591
- const snapshot = typeof klona !== 'undefined' ? klona.klona(nodeP) : JSON.parse(JSON.stringify(nodeP));
2591
+ const snapshot = klona.klona(nodeP);
2592
2592
  func.runtime.ui.node_snapshot_cache.set(nodeP, snapshot);
2593
2593
  return snapshot;
2594
2594
  };
@@ -2694,7 +2694,7 @@ func.runtime.ui.generate_xu_ui_id = async function (SESSION_ID, nodeP, $containe
2694
2694
  return hashed_ui_id;
2695
2695
  };
2696
2696
  func.runtime.ui.create_container = async function (options) {
2697
- const _paramsP = typeof klona !== 'undefined' ? klona.klona(options.paramsP) : JSON.parse(JSON.stringify(options.paramsP));
2697
+ const _paramsP = klona.klona(options.paramsP);
2698
2698
  const _ds = SESSION_OBJ[options.SESSION_ID].DS_GLB[_paramsP.dsSessionP];
2699
2699
  const $appendTo = func.runtime.ui.get_append_target(options.$container, options.$appendToP);
2700
2700
  if (!$appendTo) return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-worker-bundle",
3
- "version": "1.3.2640",
3
+ "version": "1.3.2642",
4
4
  "description": "xuda framework",
5
5
  "main": "index.js",
6
6
  "scripts": {