@makeswift/runtime 0.28.7-canary.8 → 0.28.7

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.
@@ -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.28.7-canary.8"
30
+ "makeswift-runtime-version": "0.28.7"
31
31
  });
32
32
  }
33
33
  async createTableRecord(tableId, columns) {
@@ -147,7 +147,7 @@ class MakeswiftRestAPIClient {
147
147
  const requestHeaders = new Headers({
148
148
  "x-api-key": this.apiKey,
149
149
  "makeswift-site-api-key": this.apiKey,
150
- "makeswift-runtime-version": "0.28.7-canary.8"
150
+ "makeswift-runtime-version": "0.28.7"
151
151
  });
152
152
  if (siteVersion?.token) {
153
153
  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.28.7-canary.8",
31
+ version: "0.28.7",
32
32
  interactionMode: true,
33
33
  clientSideNavigation: false,
34
34
  elementFromPoint: false,
@@ -689,7 +689,7 @@ Received "${apiKey}" instead.`
689
689
  headers: {
690
690
  "x-api-key": this.apiKey,
691
691
  "makeswift-site-api-key": this.apiKey,
692
- "makeswift-runtime-version": "0.28.7-canary.8",
692
+ "makeswift-runtime-version": "0.28.7",
693
693
  "content-type": "application/json"
694
694
  },
695
695
  body: JSON.stringify({ token }),
@@ -9,7 +9,7 @@ class MakeswiftGraphQLApiClient {
9
9
  graphqlClient;
10
10
  constructor({ endpoint }) {
11
11
  this.graphqlClient = new GraphQLClient(endpoint, {
12
- "makeswift-runtime-version": "0.28.7-canary.8"
12
+ "makeswift-runtime-version": "0.28.7"
13
13
  });
14
14
  }
15
15
  async createTableRecord(tableId, columns) {
@@ -113,7 +113,7 @@ class MakeswiftRestAPIClient {
113
113
  const requestHeaders = new Headers({
114
114
  "x-api-key": this.apiKey,
115
115
  "makeswift-site-api-key": this.apiKey,
116
- "makeswift-runtime-version": "0.28.7-canary.8"
116
+ "makeswift-runtime-version": "0.28.7"
117
117
  });
118
118
  if (siteVersion?.token) {
119
119
  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.28.7-canary.8",
11
+ version: "0.28.7",
12
12
  interactionMode: true,
13
13
  clientSideNavigation: false,
14
14
  elementFromPoint: false,
@@ -669,7 +669,7 @@ Received "${apiKey}" instead.`
669
669
  headers: {
670
670
  "x-api-key": this.apiKey,
671
671
  "makeswift-site-api-key": this.apiKey,
672
- "makeswift-runtime-version": "0.28.7-canary.8",
672
+ "makeswift-runtime-version": "0.28.7",
673
673
  "content-type": "application/json"
674
674
  },
675
675
  body: JSON.stringify({ token }),
@@ -220,11 +220,11 @@ export declare const sitePublishedWebhookPayloadSchema: z.ZodObject<{
220
220
  unstable_defaultLocale: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
221
221
  }, "strip", z.ZodTypeAny, {
222
222
  at: number;
223
- siteId: string;
224
223
  publish: {
225
224
  to: string;
226
225
  from: string | null;
227
226
  };
227
+ siteId: string;
228
228
  unstable_diff?: z.objectOutputType<{
229
229
  components: z.ZodArray<z.ZodObject<{
230
230
  id: z.ZodString;
@@ -295,22 +295,22 @@ export declare const sitePublishedWebhookPayloadSchema: z.ZodObject<{
295
295
  unstable_defaultLocale?: string | null | undefined;
296
296
  }, {
297
297
  at: number;
298
- siteId: string;
299
298
  publish: {
300
299
  to: string;
301
300
  from: string | null;
302
301
  };
302
+ siteId: string;
303
303
  unstable_diff?: unknown;
304
304
  unstable_defaultLocale?: unknown;
305
305
  }>;
306
306
  }, "strip", z.ZodTypeAny, {
307
307
  data: {
308
308
  at: number;
309
- siteId: string;
310
309
  publish: {
311
310
  to: string;
312
311
  from: string | null;
313
312
  };
313
+ siteId: string;
314
314
  unstable_diff?: z.objectOutputType<{
315
315
  components: z.ZodArray<z.ZodObject<{
316
316
  id: z.ZodString;
@@ -384,11 +384,11 @@ export declare const sitePublishedWebhookPayloadSchema: z.ZodObject<{
384
384
  }, {
385
385
  data: {
386
386
  at: number;
387
- siteId: string;
388
387
  publish: {
389
388
  to: string;
390
389
  from: string | null;
391
390
  };
391
+ siteId: string;
392
392
  unstable_diff?: unknown;
393
393
  unstable_defaultLocale?: unknown;
394
394
  };
@@ -613,11 +613,11 @@ declare const webhookPayloadSchema: z.ZodObject<{
613
613
  unstable_defaultLocale: z.ZodCatch<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
614
614
  }, "strip", z.ZodTypeAny, {
615
615
  at: number;
616
- siteId: string;
617
616
  publish: {
618
617
  to: string;
619
618
  from: string | null;
620
619
  };
620
+ siteId: string;
621
621
  unstable_diff?: z.objectOutputType<{
622
622
  components: z.ZodArray<z.ZodObject<{
623
623
  id: z.ZodString;
@@ -688,22 +688,22 @@ declare const webhookPayloadSchema: z.ZodObject<{
688
688
  unstable_defaultLocale?: string | null | undefined;
689
689
  }, {
690
690
  at: number;
691
- siteId: string;
692
691
  publish: {
693
692
  to: string;
694
693
  from: string | null;
695
694
  };
695
+ siteId: string;
696
696
  unstable_diff?: unknown;
697
697
  unstable_defaultLocale?: unknown;
698
698
  }>;
699
699
  }, "strip", z.ZodTypeAny, {
700
700
  data: {
701
701
  at: number;
702
- siteId: string;
703
702
  publish: {
704
703
  to: string;
705
704
  from: string | null;
706
705
  };
706
+ siteId: string;
707
707
  unstable_diff?: z.objectOutputType<{
708
708
  components: z.ZodArray<z.ZodObject<{
709
709
  id: z.ZodString;
@@ -777,11 +777,11 @@ declare const webhookPayloadSchema: z.ZodObject<{
777
777
  }, {
778
778
  data: {
779
779
  at: number;
780
- siteId: string;
781
780
  publish: {
782
781
  to: string;
783
782
  from: string | null;
784
783
  };
784
+ siteId: string;
785
785
  unstable_diff?: unknown;
786
786
  unstable_defaultLocale?: unknown;
787
787
  };
@@ -3,15 +3,15 @@ import { Node, NodeEntry } from 'slate';
3
3
  export type SupportedInlineType = Exclude<Slate.InlineType, 'link'>;
4
4
  export type SupportedInline = Exclude<Slate.Inline, Slate.LinkElement>;
5
5
  export declare const supportedInlineOptions: readonly [{
6
- readonly icon: "Superscript";
6
+ readonly icon: "superscript";
7
7
  readonly label: "Superscript";
8
8
  readonly value: "superscript";
9
9
  }, {
10
- readonly icon: "Subscript";
10
+ readonly icon: "subscript";
11
11
  readonly label: "Subscript";
12
12
  readonly value: "subscript";
13
13
  }, {
14
- readonly icon: "Code";
14
+ readonly icon: "code";
15
15
  readonly label: "Code";
16
16
  readonly value: "code";
17
17
  }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makeswift/runtime",
3
- "version": "0.28.7-canary.8",
3
+ "version": "0.28.7",
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.20-canary.2",
241
+ "@makeswift/controls": "0.1.20",
242
242
  "@makeswift/next-plugin": "0.6.1",
243
- "@makeswift/prop-controllers": "0.4.14-canary.2"
243
+ "@makeswift/prop-controllers": "0.4.14"
244
244
  },
245
245
  "devDependencies": {
246
246
  "@emotion/jest": "^11.11.0",