@makeswift/runtime 0.28.6-canary.3 → 0.28.6-canary.4
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.
|
@@ -28,7 +28,7 @@ async function manifestHandler(req, { apiKey, manifest }) {
|
|
|
28
28
|
return import_request_response.ApiResponse.json({ message: "Unauthorized" }, { status: 401 });
|
|
29
29
|
}
|
|
30
30
|
return import_request_response.ApiResponse.json({
|
|
31
|
-
version: "0.28.6-canary.
|
|
31
|
+
version: "0.28.6-canary.4",
|
|
32
32
|
interactionMode: true,
|
|
33
33
|
clientSideNavigation: false,
|
|
34
34
|
elementFromPoint: false,
|
package/dist/cjs/client/index.js
CHANGED
|
@@ -214,7 +214,7 @@ Received "${apiKey}" instead.`
|
|
|
214
214
|
}
|
|
215
215
|
this.apiKey = apiKey;
|
|
216
216
|
this.graphqlClient = new import_client.GraphQLClient(new URL("graphql", runtime.apiOrigin).href, {
|
|
217
|
-
"makeswift-runtime-version": "0.28.6-canary.
|
|
217
|
+
"makeswift-runtime-version": "0.28.6-canary.4"
|
|
218
218
|
});
|
|
219
219
|
this.runtime = runtime;
|
|
220
220
|
}
|
|
@@ -226,7 +226,7 @@ Received "${apiKey}" instead.`
|
|
|
226
226
|
const requestHeaders = new Headers({
|
|
227
227
|
"x-api-key": this.apiKey,
|
|
228
228
|
"makeswift-site-api-key": this.apiKey,
|
|
229
|
-
"makeswift-runtime-version": "0.28.6-canary.
|
|
229
|
+
"makeswift-runtime-version": "0.28.6-canary.4"
|
|
230
230
|
});
|
|
231
231
|
if (siteVersion?.token) {
|
|
232
232
|
requestUrl.searchParams.set("version", siteVersion.version);
|
|
@@ -953,7 +953,7 @@ Received "${apiKey}" instead.`
|
|
|
953
953
|
headers: {
|
|
954
954
|
"x-api-key": this.apiKey,
|
|
955
955
|
"makeswift-site-api-key": this.apiKey,
|
|
956
|
-
"makeswift-runtime-version": "0.28.6-canary.
|
|
956
|
+
"makeswift-runtime-version": "0.28.6-canary.4",
|
|
957
957
|
"content-type": "application/json"
|
|
958
958
|
},
|
|
959
959
|
body: JSON.stringify({ token }),
|
|
@@ -8,7 +8,7 @@ async function manifestHandler(req, { apiKey, manifest }) {
|
|
|
8
8
|
return ApiResponse.json({ message: "Unauthorized" }, { status: 401 });
|
|
9
9
|
}
|
|
10
10
|
return ApiResponse.json({
|
|
11
|
-
version: "0.28.6-canary.
|
|
11
|
+
version: "0.28.6-canary.4",
|
|
12
12
|
interactionMode: true,
|
|
13
13
|
clientSideNavigation: false,
|
|
14
14
|
elementFromPoint: false,
|
package/dist/esm/client/index.js
CHANGED
|
@@ -198,7 +198,7 @@ Received "${apiKey}" instead.`
|
|
|
198
198
|
}
|
|
199
199
|
this.apiKey = apiKey;
|
|
200
200
|
this.graphqlClient = new GraphQLClient(new URL("graphql", runtime.apiOrigin).href, {
|
|
201
|
-
"makeswift-runtime-version": "0.28.6-canary.
|
|
201
|
+
"makeswift-runtime-version": "0.28.6-canary.4"
|
|
202
202
|
});
|
|
203
203
|
this.runtime = runtime;
|
|
204
204
|
}
|
|
@@ -210,7 +210,7 @@ Received "${apiKey}" instead.`
|
|
|
210
210
|
const requestHeaders = new Headers({
|
|
211
211
|
"x-api-key": this.apiKey,
|
|
212
212
|
"makeswift-site-api-key": this.apiKey,
|
|
213
|
-
"makeswift-runtime-version": "0.28.6-canary.
|
|
213
|
+
"makeswift-runtime-version": "0.28.6-canary.4"
|
|
214
214
|
});
|
|
215
215
|
if (siteVersion?.token) {
|
|
216
216
|
requestUrl.searchParams.set("version", siteVersion.version);
|
|
@@ -937,7 +937,7 @@ Received "${apiKey}" instead.`
|
|
|
937
937
|
headers: {
|
|
938
938
|
"x-api-key": this.apiKey,
|
|
939
939
|
"makeswift-site-api-key": this.apiKey,
|
|
940
|
-
"makeswift-runtime-version": "0.28.6-canary.
|
|
940
|
+
"makeswift-runtime-version": "0.28.6-canary.4",
|
|
941
941
|
"content-type": "application/json"
|
|
942
942
|
},
|
|
943
943
|
body: JSON.stringify({ token }),
|
|
@@ -605,7 +605,7 @@ declare class Definition extends BaseRichTextDefinition<ReactNode, Config, Insta
|
|
|
605
605
|
}>>>;
|
|
606
606
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
607
607
|
}, "strip", z.ZodTypeAny, {
|
|
608
|
-
object?: "value" | "
|
|
608
|
+
object?: "value" | "text" | "block" | "inline" | "document" | "leaf" | "selection" | "mark" | "range" | "decoration" | "annotation" | "point" | "operation" | undefined;
|
|
609
609
|
document?: {
|
|
610
610
|
object?: "document" | undefined;
|
|
611
611
|
nodes?: (any | {
|
|
@@ -727,7 +727,7 @@ declare class Definition extends BaseRichTextDefinition<ReactNode, Config, Insta
|
|
|
727
727
|
}> | undefined;
|
|
728
728
|
data?: Record<string, any> | undefined;
|
|
729
729
|
}, {
|
|
730
|
-
object?: "value" | "
|
|
730
|
+
object?: "value" | "text" | "block" | "inline" | "document" | "leaf" | "selection" | "mark" | "range" | "decoration" | "annotation" | "point" | "operation" | undefined;
|
|
731
731
|
document?: {
|
|
732
732
|
object?: "document" | undefined;
|
|
733
733
|
nodes?: (any | {
|
|
@@ -1103,7 +1103,7 @@ declare class Definition extends BaseRichTextDefinition<ReactNode, Config, Insta
|
|
|
1103
1103
|
}>>>;
|
|
1104
1104
|
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1105
1105
|
}, "strip", z.ZodTypeAny, {
|
|
1106
|
-
object?: "value" | "
|
|
1106
|
+
object?: "value" | "text" | "block" | "inline" | "document" | "leaf" | "selection" | "mark" | "range" | "decoration" | "annotation" | "point" | "operation" | undefined;
|
|
1107
1107
|
document?: {
|
|
1108
1108
|
object?: "document" | undefined;
|
|
1109
1109
|
nodes?: (any | {
|
|
@@ -1225,7 +1225,7 @@ declare class Definition extends BaseRichTextDefinition<ReactNode, Config, Insta
|
|
|
1225
1225
|
}> | undefined;
|
|
1226
1226
|
data?: Record<string, any> | undefined;
|
|
1227
1227
|
}, {
|
|
1228
|
-
object?: "value" | "
|
|
1228
|
+
object?: "value" | "text" | "block" | "inline" | "document" | "leaf" | "selection" | "mark" | "range" | "decoration" | "annotation" | "point" | "operation" | undefined;
|
|
1229
1229
|
document?: {
|
|
1230
1230
|
object?: "document" | undefined;
|
|
1231
1231
|
nodes?: (any | {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@makeswift/runtime",
|
|
3
|
-
"version": "0.28.6-canary.
|
|
3
|
+
"version": "0.28.6-canary.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "makeswift/makeswift",
|
|
@@ -238,9 +238,9 @@
|
|
|
238
238
|
"use-sync-external-store": "^1.5.0",
|
|
239
239
|
"uuid": "^9.0.0",
|
|
240
240
|
"zod": "^3.21.4",
|
|
241
|
-
"@makeswift/controls": "0.1.
|
|
241
|
+
"@makeswift/controls": "0.1.19-canary.0",
|
|
242
242
|
"@makeswift/next-plugin": "0.6.1",
|
|
243
|
-
"@makeswift/prop-controllers": "0.4.
|
|
243
|
+
"@makeswift/prop-controllers": "0.4.13-canary.0"
|
|
244
244
|
},
|
|
245
245
|
"devDependencies": {
|
|
246
246
|
"@emotion/jest": "^11.11.0",
|