@intechstudio/grid-protocol 1.20260102.1920 → 1.20260102.1928
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __spreadArray, __assign, __awaiter, __generator } from 'tslib';
|
|
2
|
-
import
|
|
2
|
+
import { cloneDeep } from 'lodash';
|
|
3
3
|
import init, { format } from '@wasm-fmt/lua_fmt';
|
|
4
4
|
|
|
5
5
|
var GRID_PROTOCOL_VERSION_MAJOR = "1";
|
|
@@ -3572,7 +3572,7 @@ var grid;
|
|
|
3572
3572
|
if (descriptor === undefined) {
|
|
3573
3573
|
return;
|
|
3574
3574
|
}
|
|
3575
|
-
var descr =
|
|
3575
|
+
var descr = cloneDeep(descriptor);
|
|
3576
3576
|
descr.brc_parameters.ID = utility_genId();
|
|
3577
3577
|
descr.brc_parameters.SX = 0;
|
|
3578
3578
|
descr.brc_parameters.SY = 0;
|
package/package.json
CHANGED