@makeswift/runtime 0.26.1 → 0.26.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.
|
@@ -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.26.
|
|
31
|
+
version: "0.26.2",
|
|
32
32
|
interactionMode: true,
|
|
33
33
|
clientSideNavigation: false,
|
|
34
34
|
elementFromPoint: false,
|
package/dist/cjs/client/index.js
CHANGED
|
@@ -212,7 +212,7 @@ Received "${apiKey}" instead.`
|
|
|
212
212
|
);
|
|
213
213
|
}
|
|
214
214
|
this.graphqlClient = new import_client.GraphQLClient(new URL("graphql", apiOrigin).href, {
|
|
215
|
-
"makeswift-runtime-version": "0.26.
|
|
215
|
+
"makeswift-runtime-version": "0.26.2"
|
|
216
216
|
});
|
|
217
217
|
this.runtime = runtime;
|
|
218
218
|
}
|
|
@@ -221,7 +221,7 @@ Received "${apiKey}" instead.`
|
|
|
221
221
|
const requestHeaders = new Headers({
|
|
222
222
|
"x-api-key": this.apiKey,
|
|
223
223
|
"makeswift-site-api-key": this.apiKey,
|
|
224
|
-
"makeswift-runtime-version": "0.26.
|
|
224
|
+
"makeswift-runtime-version": "0.26.2"
|
|
225
225
|
});
|
|
226
226
|
if (siteVersion?.token) {
|
|
227
227
|
requestUrl.searchParams.set("version", siteVersion.version);
|
|
@@ -668,7 +668,7 @@ Received "${apiKey}" instead.`
|
|
|
668
668
|
headers: {
|
|
669
669
|
"x-api-key": this.apiKey,
|
|
670
670
|
"makeswift-site-api-key": this.apiKey,
|
|
671
|
-
"makeswift-runtime-version": "0.26.
|
|
671
|
+
"makeswift-runtime-version": "0.26.2",
|
|
672
672
|
"content-type": "application/json"
|
|
673
673
|
},
|
|
674
674
|
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.26.
|
|
11
|
+
version: "0.26.2",
|
|
12
12
|
interactionMode: true,
|
|
13
13
|
clientSideNavigation: false,
|
|
14
14
|
elementFromPoint: false,
|
package/dist/esm/client/index.js
CHANGED
|
@@ -196,7 +196,7 @@ Received "${apiKey}" instead.`
|
|
|
196
196
|
);
|
|
197
197
|
}
|
|
198
198
|
this.graphqlClient = new GraphQLClient(new URL("graphql", apiOrigin).href, {
|
|
199
|
-
"makeswift-runtime-version": "0.26.
|
|
199
|
+
"makeswift-runtime-version": "0.26.2"
|
|
200
200
|
});
|
|
201
201
|
this.runtime = runtime;
|
|
202
202
|
}
|
|
@@ -205,7 +205,7 @@ Received "${apiKey}" instead.`
|
|
|
205
205
|
const requestHeaders = new Headers({
|
|
206
206
|
"x-api-key": this.apiKey,
|
|
207
207
|
"makeswift-site-api-key": this.apiKey,
|
|
208
|
-
"makeswift-runtime-version": "0.26.
|
|
208
|
+
"makeswift-runtime-version": "0.26.2"
|
|
209
209
|
});
|
|
210
210
|
if (siteVersion?.token) {
|
|
211
211
|
requestUrl.searchParams.set("version", siteVersion.version);
|
|
@@ -652,7 +652,7 @@ Received "${apiKey}" instead.`
|
|
|
652
652
|
headers: {
|
|
653
653
|
"x-api-key": this.apiKey,
|
|
654
654
|
"makeswift-site-api-key": this.apiKey,
|
|
655
|
-
"makeswift-runtime-version": "0.26.
|
|
655
|
+
"makeswift-runtime-version": "0.26.2",
|
|
656
656
|
"content-type": "application/json"
|
|
657
657
|
},
|
|
658
658
|
body: JSON.stringify({ token }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@makeswift/runtime",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "makeswift/makeswift",
|
|
@@ -232,9 +232,9 @@
|
|
|
232
232
|
"use-sync-external-store": "^1.5.0",
|
|
233
233
|
"uuid": "^9.0.0",
|
|
234
234
|
"zod": "^3.21.4",
|
|
235
|
-
"@makeswift/controls": "0.1.
|
|
235
|
+
"@makeswift/controls": "0.1.16",
|
|
236
236
|
"@makeswift/next-plugin": "0.6.1",
|
|
237
|
-
"@makeswift/prop-controllers": "0.4.
|
|
237
|
+
"@makeswift/prop-controllers": "0.4.10"
|
|
238
238
|
},
|
|
239
239
|
"devDependencies": {
|
|
240
240
|
"@emotion/jest": "^11.11.0",
|