@measured/puck 0.14.0-canary.4932a6e → 0.14.0-canary.adac562

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 +7 -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) => {
@@ -32570,7 +32570,7 @@ var loadOverrides = ({
32570
32570
  overrides,
32571
32571
  plugins
32572
32572
  }) => {
32573
- const collected = overrides;
32573
+ const collected = __spreadValues({}, overrides);
32574
32574
  plugins.forEach((plugin) => {
32575
32575
  Object.keys(plugin.overrides).forEach((overridesType) => {
32576
32576
  if (overridesType === "fieldTypes") {
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.14.0-canary.4932a6e",
3
+ "version": "0.14.0-canary.adac562",
4
+ "author": "Measured Corporation Ltd <hello@measured.co>",
5
+ "repository": "measuredco/puck",
6
+ "bugs": "https://github.com/measuredco/puck/issues",
7
+ "homepage": "https://puckeditor.com",
4
8
  "private": false,
5
9
  "main": "./dist/index.js",
6
10
  "types": "./dist/index.d.ts",
@@ -58,7 +62,8 @@
58
62
  "deep-diff": "^1.0.2",
59
63
  "react-hotkeys-hook": "^4.4.1",
60
64
  "react-spinners": "^0.13.8",
61
- "use-debounce": "^9.0.4"
65
+ "use-debounce": "^9.0.4",
66
+ "uuid": "^9.0.1"
62
67
  },
63
68
  "peerDependencies": {
64
69
  "react": "^17.0.0 || ^18.0.0"