@makeswift/runtime 0.29.2-canary.2 → 0.29.2
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/cjs/api/graphql-api-client.js +1 -1
- package/dist/cjs/api/rest-api-client.js +1 -1
- package/dist/cjs/api-handler/handlers/manifest.js +1 -1
- package/dist/esm/api/graphql-api-client.js +1 -1
- package/dist/esm/api/rest-api-client.js +1 -1
- package/dist/esm/api-handler/handlers/manifest.js +1 -1
- package/package.json +3 -3
|
@@ -27,7 +27,7 @@ class MakeswiftGraphQLApiClient {
|
|
|
27
27
|
graphqlClient;
|
|
28
28
|
constructor({ endpoint }) {
|
|
29
29
|
this.graphqlClient = new import_client.GraphQLClient(endpoint, {
|
|
30
|
-
"makeswift-runtime-version": "0.29.2
|
|
30
|
+
"makeswift-runtime-version": "0.29.2"
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
async getUnversionedResources({
|
|
@@ -223,7 +223,7 @@ class MakeswiftRestAPIClient {
|
|
|
223
223
|
const requestHeaders = new Headers({
|
|
224
224
|
"x-api-key": this.apiKey,
|
|
225
225
|
"makeswift-site-api-key": this.apiKey,
|
|
226
|
-
"makeswift-runtime-version": "0.29.2
|
|
226
|
+
"makeswift-runtime-version": "0.29.2"
|
|
227
227
|
});
|
|
228
228
|
if (siteVersion?.token) {
|
|
229
229
|
requestUrl.searchParams.set("version", siteVersion.version);
|
|
@@ -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.29.2
|
|
31
|
+
version: "0.29.2",
|
|
32
32
|
interactionMode: true,
|
|
33
33
|
clientSideNavigation: false,
|
|
34
34
|
elementFromPoint: false,
|
|
@@ -4,7 +4,7 @@ class MakeswiftGraphQLApiClient {
|
|
|
4
4
|
graphqlClient;
|
|
5
5
|
constructor({ endpoint }) {
|
|
6
6
|
this.graphqlClient = new GraphQLClient(endpoint, {
|
|
7
|
-
"makeswift-runtime-version": "0.29.2
|
|
7
|
+
"makeswift-runtime-version": "0.29.2"
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
10
|
async getUnversionedResources({
|
|
@@ -188,7 +188,7 @@ class MakeswiftRestAPIClient {
|
|
|
188
188
|
const requestHeaders = new Headers({
|
|
189
189
|
"x-api-key": this.apiKey,
|
|
190
190
|
"makeswift-site-api-key": this.apiKey,
|
|
191
|
-
"makeswift-runtime-version": "0.29.2
|
|
191
|
+
"makeswift-runtime-version": "0.29.2"
|
|
192
192
|
});
|
|
193
193
|
if (siteVersion?.token) {
|
|
194
194
|
requestUrl.searchParams.set("version", siteVersion.version);
|
|
@@ -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.29.2
|
|
11
|
+
version: "0.29.2",
|
|
12
12
|
interactionMode: true,
|
|
13
13
|
clientSideNavigation: false,
|
|
14
14
|
elementFromPoint: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@makeswift/runtime",
|
|
3
|
-
"version": "0.29.2
|
|
3
|
+
"version": "0.29.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "makeswift/makeswift",
|
|
@@ -242,9 +242,9 @@
|
|
|
242
242
|
"use-sync-external-store": "^1.5.0",
|
|
243
243
|
"uuid": "^9.0.0",
|
|
244
244
|
"zod": "^3.21.4",
|
|
245
|
-
"@makeswift/controls": "0.1.23-canary.0",
|
|
246
245
|
"@makeswift/next-plugin": "0.6.1",
|
|
247
|
-
"@makeswift/
|
|
246
|
+
"@makeswift/controls": "0.1.23",
|
|
247
|
+
"@makeswift/prop-controllers": "0.4.17"
|
|
248
248
|
},
|
|
249
249
|
"devDependencies": {
|
|
250
250
|
"@graphql-codegen/add": "^3.1.0",
|