@makeswift/runtime 0.28.1-canary.2 → 0.28.1

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.1-canary.2",
31
+ version: "0.28.1",
32
32
  interactionMode: true,
33
33
  clientSideNavigation: false,
34
34
  elementFromPoint: false,
@@ -211,7 +211,7 @@ Received "${apiKey}" instead.`
211
211
  }
212
212
  this.apiKey = apiKey;
213
213
  this.graphqlClient = new import_client.GraphQLClient(new URL("graphql", runtime.apiOrigin).href, {
214
- "makeswift-runtime-version": "0.28.1-canary.2"
214
+ "makeswift-runtime-version": "0.28.1"
215
215
  });
216
216
  this.runtime = runtime;
217
217
  }
@@ -223,7 +223,7 @@ Received "${apiKey}" instead.`
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.28.1-canary.2"
226
+ "makeswift-runtime-version": "0.28.1"
227
227
  });
228
228
  if (siteVersion?.token) {
229
229
  requestUrl.searchParams.set("version", siteVersion.version);
@@ -681,7 +681,7 @@ Received "${apiKey}" instead.`
681
681
  headers: {
682
682
  "x-api-key": this.apiKey,
683
683
  "makeswift-site-api-key": this.apiKey,
684
- "makeswift-runtime-version": "0.28.1-canary.2",
684
+ "makeswift-runtime-version": "0.28.1",
685
685
  "content-type": "application/json"
686
686
  },
687
687
  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.1-canary.2",
11
+ version: "0.28.1",
12
12
  interactionMode: true,
13
13
  clientSideNavigation: false,
14
14
  elementFromPoint: false,
@@ -195,7 +195,7 @@ Received "${apiKey}" instead.`
195
195
  }
196
196
  this.apiKey = apiKey;
197
197
  this.graphqlClient = new GraphQLClient(new URL("graphql", runtime.apiOrigin).href, {
198
- "makeswift-runtime-version": "0.28.1-canary.2"
198
+ "makeswift-runtime-version": "0.28.1"
199
199
  });
200
200
  this.runtime = runtime;
201
201
  }
@@ -207,7 +207,7 @@ Received "${apiKey}" instead.`
207
207
  const requestHeaders = new Headers({
208
208
  "x-api-key": this.apiKey,
209
209
  "makeswift-site-api-key": this.apiKey,
210
- "makeswift-runtime-version": "0.28.1-canary.2"
210
+ "makeswift-runtime-version": "0.28.1"
211
211
  });
212
212
  if (siteVersion?.token) {
213
213
  requestUrl.searchParams.set("version", siteVersion.version);
@@ -665,7 +665,7 @@ Received "${apiKey}" instead.`
665
665
  headers: {
666
666
  "x-api-key": this.apiKey,
667
667
  "makeswift-site-api-key": this.apiKey,
668
- "makeswift-runtime-version": "0.28.1-canary.2",
668
+ "makeswift-runtime-version": "0.28.1",
669
669
  "content-type": "application/json"
670
670
  },
671
671
  body: JSON.stringify({ token }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makeswift/runtime",
3
- "version": "0.28.1-canary.2",
3
+ "version": "0.28.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "url": "makeswift/makeswift",
@@ -239,8 +239,8 @@
239
239
  "uuid": "^9.0.0",
240
240
  "zod": "^3.21.4",
241
241
  "@makeswift/controls": "0.1.16",
242
- "@makeswift/next-plugin": "0.6.1",
243
- "@makeswift/prop-controllers": "0.4.10"
242
+ "@makeswift/prop-controllers": "0.4.10",
243
+ "@makeswift/next-plugin": "0.6.1"
244
244
  },
245
245
  "devDependencies": {
246
246
  "@emotion/jest": "^11.11.0",