@makeswift/runtime 0.2.13 → 0.2.14

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.cjs.js CHANGED
@@ -1002,7 +1002,7 @@ class Document$1 extends NextDocument__default["default"] {
1002
1002
  });
1003
1003
  }
1004
1004
  }
1005
- const version = "0.2.13";
1005
+ const version = "0.2.14";
1006
1006
  function isErrorWithMessage(error) {
1007
1007
  return typeof error === "object" && error !== null && "message" in error && typeof error.message === "string";
1008
1008
  }
@@ -1103,8 +1103,6 @@ Read more here: https://nextjs.org/blog/next-12-2#on-demand-incremental-static-r
1103
1103
  return res.json(fonts);
1104
1104
  }
1105
1105
  case "element-tree": {
1106
- if (req.query.secret !== apiKey)
1107
- return res.status(401).json({ message: "Unauthorized" });
1108
1106
  const elementTree = req.body.elementTree;
1109
1107
  const serializedReplacementContext = req.body.replacementContext;
1110
1108
  if (elementTree == null) {