@makeswift/runtime 0.26.1-canary.3 → 0.26.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.
|
@@ -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-canary.0",
|
|
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-canary.0"
|
|
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-canary.0"
|
|
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-canary.0",
|
|
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-canary.0",
|
|
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-canary.0"
|
|
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-canary.0"
|
|
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-canary.0",
|
|
656
656
|
"content-type": "application/json"
|
|
657
657
|
},
|
|
658
658
|
body: JSON.stringify({ token }),
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@makeswift/runtime",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.2-canary.0",
|
|
4
4
|
"license": "MIT",
|
|
5
|
+
"repository": {
|
|
6
|
+
"url": "makeswift/makeswift",
|
|
7
|
+
"directory": "packages/runtime"
|
|
8
|
+
},
|
|
5
9
|
"files": [
|
|
6
10
|
"dist",
|
|
7
11
|
"api",
|
|
@@ -228,9 +232,9 @@
|
|
|
228
232
|
"use-sync-external-store": "^1.5.0",
|
|
229
233
|
"uuid": "^9.0.0",
|
|
230
234
|
"zod": "^3.21.4",
|
|
231
|
-
"@makeswift/controls": "0.1.
|
|
232
|
-
"@makeswift/next-plugin": "0.6.1
|
|
233
|
-
"@makeswift/prop-controllers": "0.4.
|
|
235
|
+
"@makeswift/controls": "0.1.16-canary.0",
|
|
236
|
+
"@makeswift/next-plugin": "0.6.1",
|
|
237
|
+
"@makeswift/prop-controllers": "0.4.10-canary.0"
|
|
234
238
|
},
|
|
235
239
|
"devDependencies": {
|
|
236
240
|
"@emotion/jest": "^11.11.0",
|
|
@@ -262,7 +266,7 @@
|
|
|
262
266
|
"jsdom": "^26.0.0",
|
|
263
267
|
"madge": "^6.0.0",
|
|
264
268
|
"msw": "^2.3.1",
|
|
265
|
-
"next": "15.0.
|
|
269
|
+
"next": "15.0.5",
|
|
266
270
|
"node-mocks-http": "^1.16.2",
|
|
267
271
|
"react": "18.2.0",
|
|
268
272
|
"react-dom": "18.2.0",
|