@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.cjs.js
CHANGED
|
@@ -1161,7 +1161,7 @@ async function fonts(_req, res, { getFonts } = {}) {
|
|
|
1161
1161
|
const fonts2 = (_a = await (getFonts == null ? void 0 : getFonts())) != null ? _a : [];
|
|
1162
1162
|
return res.json(fonts2);
|
|
1163
1163
|
}
|
|
1164
|
-
const version = "0.8.
|
|
1164
|
+
const version = "0.8.8";
|
|
1165
1165
|
async function handler(req, res, { apiKey }) {
|
|
1166
1166
|
if (req.query.secret !== apiKey) {
|
|
1167
1167
|
return res.status(401).json({ message: "Unauthorized" });
|
|
@@ -3697,11 +3697,11 @@ function isDomNodeHandle(value) {
|
|
|
3697
3697
|
}
|
|
3698
3698
|
class ReactRuntime {
|
|
3699
3699
|
constructor({
|
|
3700
|
-
|
|
3700
|
+
breakpoints
|
|
3701
3701
|
}) {
|
|
3702
3702
|
__publicField(this, "store");
|
|
3703
3703
|
this.store = constants.configureStore({
|
|
3704
|
-
breakpoints:
|
|
3704
|
+
breakpoints: breakpoints ? state_breakpoints.parseBreakpointsInput(breakpoints) : void 0
|
|
3705
3705
|
});
|
|
3706
3706
|
registerBuiltinComponents(this);
|
|
3707
3707
|
}
|