@measured/puck 0.13.1-canary.7636e53 → 0.13.1-canary.a84e06f

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -30527,8 +30527,8 @@ init_react_import();
30527
30527
 
30528
30528
  // lib/generate-id.ts
30529
30529
  init_react_import();
30530
- var import_crypto = require("crypto");
30531
- var generateId = (type) => `${type}-${(0, import_crypto.randomBytes)(20).toString("hex")}`;
30530
+ var import_uuid = require("uuid");
30531
+ var generateId = (type) => `${type}-${(0, import_uuid.v4)()}`;
30532
30532
 
30533
30533
  // lib/reduce-related-zones.ts
30534
30534
  var reduceRelatedZones = (item, data, fn) => {
@@ -32568,7 +32568,7 @@ var loadOverrides = ({
32568
32568
  overrides,
32569
32569
  plugins
32570
32570
  }) => {
32571
- const collected = overrides;
32571
+ const collected = __spreadValues({}, overrides);
32572
32572
  plugins.forEach((plugin) => {
32573
32573
  Object.keys(plugin.overrides).forEach((overridesType) => {
32574
32574
  if (overridesType === "fieldTypes") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.13.1-canary.7636e53",
3
+ "version": "0.13.1-canary.a84e06f",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -58,7 +58,8 @@
58
58
  "deep-diff": "^1.0.2",
59
59
  "react-hotkeys-hook": "^4.4.1",
60
60
  "react-spinners": "^0.13.8",
61
- "use-debounce": "^9.0.4"
61
+ "use-debounce": "^9.0.4",
62
+ "uuid": "^9.0.1"
62
63
  },
63
64
  "peerDependencies": {
64
65
  "react": "^17.0.0 || ^18.0.0"