@makeswift/runtime 0.8.7 → 0.8.8
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 +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/state/breakpoints.cjs.js +42 -8
- package/dist/state/breakpoints.cjs.js.map +1 -1
- package/dist/state/breakpoints.es.js +42 -8
- package/dist/state/breakpoints.es.js.map +1 -1
- package/dist/types/src/components/builtin/Form/components/Field/components/Checkbox/index.d.ts +1 -1
- package/dist/types/src/runtimes/react/index.d.ts +2 -2
- package/dist/types/src/runtimes/react/index.d.ts.map +1 -1
- package/dist/types/src/state/modules/breakpoints.d.ts +2 -3
- package/dist/types/src/state/modules/breakpoints.d.ts.map +1 -1
- package/dist/types/src/state/modules/breakpoints.test.d.ts +2 -0
- package/dist/types/src/state/modules/breakpoints.test.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1127,7 +1127,7 @@ async function fonts(_req, res, { getFonts } = {}) {
|
|
|
1127
1127
|
const fonts2 = (_a = await (getFonts == null ? void 0 : getFonts())) != null ? _a : [];
|
|
1128
1128
|
return res.json(fonts2);
|
|
1129
1129
|
}
|
|
1130
|
-
const version = "0.8.
|
|
1130
|
+
const version = "0.8.8";
|
|
1131
1131
|
async function handler(req, res, { apiKey }) {
|
|
1132
1132
|
if (req.query.secret !== apiKey) {
|
|
1133
1133
|
return res.status(401).json({ message: "Unauthorized" });
|
|
@@ -3635,11 +3635,11 @@ function isDomNodeHandle(value) {
|
|
|
3635
3635
|
}
|
|
3636
3636
|
class ReactRuntime {
|
|
3637
3637
|
constructor({
|
|
3638
|
-
|
|
3638
|
+
breakpoints
|
|
3639
3639
|
}) {
|
|
3640
3640
|
__publicField(this, "store");
|
|
3641
3641
|
this.store = configureStore$1({
|
|
3642
|
-
breakpoints:
|
|
3642
|
+
breakpoints: breakpoints ? parseBreakpointsInput(breakpoints) : void 0
|
|
3643
3643
|
});
|
|
3644
3644
|
registerBuiltinComponents(this);
|
|
3645
3645
|
}
|