@slates/test 1.0.0-rc.20 → 1.0.0-rc.21

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/index.d.cts CHANGED
@@ -281,6 +281,7 @@ declare let getSlateContract: (client: SlatesTestClient) => Promise<{
281
281
  title: string;
282
282
  description?: string | undefined;
283
283
  }[] | undefined;
284
+ adapters?: string[] | undefined;
284
285
  }[];
285
286
  configSchema: Record<string, any>;
286
287
  }>;
@@ -470,6 +471,7 @@ declare let expectSlateContract: (d: {
470
471
  title: string;
471
472
  description?: string | undefined;
472
473
  }[] | undefined;
474
+ adapters?: string[] | undefined;
473
475
  }[];
474
476
  configSchema: Record<string, any>;
475
477
  }>;
package/dist/index.d.ts CHANGED
@@ -281,6 +281,7 @@ declare let getSlateContract: (client: SlatesTestClient) => Promise<{
281
281
  title: string;
282
282
  description?: string | undefined;
283
283
  }[] | undefined;
284
+ adapters?: string[] | undefined;
284
285
  }[];
285
286
  configSchema: Record<string, any>;
286
287
  }>;
@@ -470,6 +471,7 @@ declare let expectSlateContract: (d: {
470
471
  title: string;
471
472
  description?: string | undefined;
472
473
  }[] | undefined;
474
+ adapters?: string[] | undefined;
473
475
  }[];
474
476
  configSchema: Record<string, any>;
475
477
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slates/test",
3
- "version": "1.0.0-rc.20",
3
+ "version": "1.0.0-rc.21",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,14 +40,14 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@lowerdeck/testing-tools": "latest",
43
- "@slates/client": "1.0.0-rc.23",
44
- "@slates/profiles": "1.0.0-rc.21"
43
+ "@slates/client": "1.0.0-rc.24",
44
+ "@slates/profiles": "1.0.0-rc.22"
45
45
  },
46
46
  "devDependencies": {
47
- "@slates/provider": "1.0.0-rc.23",
47
+ "@slates/provider": "1.0.0-rc.24",
48
48
  "@slates/tsconfig": "1.0.0-rc.1",
49
49
  "typescript": "5.8.2",
50
50
  "vitest": "^3.1.2",
51
51
  "zod": "^4.2"
52
52
  }
53
- }
53
+ }
package/src/index.test.ts CHANGED
@@ -217,13 +217,16 @@ let createDemoSlate = () => {
217
217
  }
218
218
  }
219
219
  ],
220
- response: new Response(ctx.input.webhookRegistrationPayload?.channelId ?? 'missing', {
221
- status: 201,
222
- headers: {
223
- 'content-type': 'text/plain',
224
- 'x-demo-response': 'accepted'
220
+ response: new Response(
221
+ ctx.input.webhookRegistrationPayload?.channelId ?? 'missing',
222
+ {
223
+ status: 201,
224
+ headers: {
225
+ 'content-type': 'text/plain',
226
+ 'x-demo-response': 'accepted'
227
+ }
225
228
  }
226
- })
229
+ )
227
230
  };
228
231
  }
229
232
  })