@makeswift/runtime 0.22.1 → 0.22.2-canary.0
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.
|
@@ -36,7 +36,7 @@ async function handler(...args) {
|
|
|
36
36
|
const supportsPreviewMode = (0, import_ts_pattern.match)(args).with(routeHandlerPattern, () => false).with(apiRoutePattern, () => true).exhaustive();
|
|
37
37
|
const supportsDraftMode = (0, import_ts_pattern.match)(args).with(routeHandlerPattern, () => true).with(apiRoutePattern, () => false).exhaustive();
|
|
38
38
|
const body = {
|
|
39
|
-
version: "0.22.
|
|
39
|
+
version: "0.22.2-canary.0",
|
|
40
40
|
previewMode: supportsPreviewMode,
|
|
41
41
|
draftMode: supportsDraftMode,
|
|
42
42
|
interactionMode: true,
|
|
@@ -13,7 +13,7 @@ async function handler(...args) {
|
|
|
13
13
|
const supportsPreviewMode = match(args).with(routeHandlerPattern, () => false).with(apiRoutePattern, () => true).exhaustive();
|
|
14
14
|
const supportsDraftMode = match(args).with(routeHandlerPattern, () => true).with(apiRoutePattern, () => false).exhaustive();
|
|
15
15
|
const body = {
|
|
16
|
-
version: "0.22.
|
|
16
|
+
version: "0.22.2-canary.0",
|
|
17
17
|
previewMode: supportsPreviewMode,
|
|
18
18
|
draftMode: supportsDraftMode,
|
|
19
19
|
interactionMode: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@makeswift/runtime",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2-canary.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -101,11 +101,11 @@
|
|
|
101
101
|
},
|
|
102
102
|
"types": "./dist/types/index.d.ts",
|
|
103
103
|
"peerDependencies": {
|
|
104
|
-
"@types/react": "^18.0.0",
|
|
105
|
-
"@types/react-dom": "^18.0.0",
|
|
104
|
+
"@types/react": "^18.0.0 || ^19.0.0",
|
|
105
|
+
"@types/react-dom": "^18.0.0 || ^19.0.0",
|
|
106
106
|
"next": "^13.4.0 || ^14.0.0 || ^15.0.0",
|
|
107
|
-
"react": "^18.0.0 || ^19.0.0
|
|
108
|
-
"react-dom": "^18.0.0 || ^19.0.0
|
|
107
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
108
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
109
109
|
},
|
|
110
110
|
"peerDependenciesMeta": {
|
|
111
111
|
"@types/react": {
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
"use-sync-external-store": "^1.0.0-rc.0",
|
|
156
156
|
"uuid": "^9.0.0",
|
|
157
157
|
"zod": "^3.21.4",
|
|
158
|
+
"@makeswift/controls": "0.1.6",
|
|
158
159
|
"@makeswift/next-plugin": "0.3.0",
|
|
159
|
-
"@makeswift/prop-controllers": "0.3.7"
|
|
160
|
-
"@makeswift/controls": "0.1.6"
|
|
160
|
+
"@makeswift/prop-controllers": "0.3.7"
|
|
161
161
|
},
|
|
162
162
|
"devDependencies": {
|
|
163
163
|
"@emotion/jest": "^11.11.0",
|