@slates/provider-handler 1.0.0-rc.8 → 1.0.0-rc.9

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.cjs CHANGED
@@ -94,7 +94,8 @@ var mapAuthMethod = (slate, m) => ({
94
94
  scopes: "scopes" in m ? m.scopes.map((s) => ({
95
95
  id: s.scope,
96
96
  title: s.title,
97
- description: s.description
97
+ description: s.description,
98
+ defaultChecked: s.defaultChecked
98
99
  })) : void 0,
99
100
  inputSchema: toJsonSchema(m.inputSchema ?? import_zod.default.object({})),
100
101
  outputSchema: toJsonSchema(slate.spec.auth.outputSchema),
@@ -67,7 +67,8 @@ var mapAuthMethod = (slate, m) => ({
67
67
  scopes: "scopes" in m ? m.scopes.map((s) => ({
68
68
  id: s.scope,
69
69
  title: s.title,
70
- description: s.description
70
+ description: s.description,
71
+ defaultChecked: s.defaultChecked
71
72
  })) : void 0,
72
73
  inputSchema: toJsonSchema(m.inputSchema ?? z.object({})),
73
74
  outputSchema: toJsonSchema(slate.spec.auth.outputSchema),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slates/provider-handler",
3
- "version": "1.0.0-rc.8",
3
+ "version": "1.0.0-rc.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@lowerdeck/error": "^1.1.0",
35
35
  "@slates/proto": "1.0.0-rc.8",
36
- "@slates/provider": "1.0.0-rc.9",
36
+ "@slates/provider": "1.0.0-rc.10",
37
37
  "zod": "^4.2.1"
38
38
  },
39
39
  "devDependencies": {
package/src/spec.ts CHANGED
@@ -33,7 +33,8 @@ export let mapAuthMethod = <ConfigType extends {}, AuthType extends {}>(
33
33
  ? m.scopes.map(s => ({
34
34
  id: s.scope,
35
35
  title: s.title,
36
- description: s.description
36
+ description: s.description,
37
+ defaultChecked: s.defaultChecked
37
38
  }))
38
39
  : undefined,
39
40