@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.es.js
CHANGED
|
@@ -967,7 +967,7 @@ class Document$1 extends NextDocument {
|
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
|
-
const version = "0.2.
|
|
970
|
+
const version = "0.2.14";
|
|
971
971
|
function isErrorWithMessage(error) {
|
|
972
972
|
return typeof error === "object" && error !== null && "message" in error && typeof error.message === "string";
|
|
973
973
|
}
|
|
@@ -1068,8 +1068,6 @@ Read more here: https://nextjs.org/blog/next-12-2#on-demand-incremental-static-r
|
|
|
1068
1068
|
return res.json(fonts);
|
|
1069
1069
|
}
|
|
1070
1070
|
case "element-tree": {
|
|
1071
|
-
if (req.query.secret !== apiKey)
|
|
1072
|
-
return res.status(401).json({ message: "Unauthorized" });
|
|
1073
1071
|
const elementTree = req.body.elementTree;
|
|
1074
1072
|
const serializedReplacementContext = req.body.replacementContext;
|
|
1075
1073
|
if (elementTree == null) {
|