@vornrun/connector-sdk 0.7.1-beta.1 → 0.7.1-beta.2

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.
@@ -3251,12 +3251,13 @@ function inputShape(inputs) {
3251
3251
  function scalar(type) {
3252
3252
  if (type === "number") return z.number();
3253
3253
  if (type === "boolean") return z.boolean();
3254
- return z.string();
3254
+ if (type === "string") return z.string();
3255
+ return z.unknown();
3255
3256
  }
3256
3257
  function outputSchema(outputs) {
3257
3258
  const shape = {};
3258
3259
  for (const output of outputs) {
3259
- shape[output.key] = scalar(output.type).optional().describe(output.description ?? output.key);
3260
+ shape[output.key] = scalar(output.type).nullish().describe(output.description ?? output.key);
3260
3261
  }
3261
3262
  return z.looseObject(shape);
3262
3263
  }
package/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  runPoll,
11
11
  scaffoldFiles,
12
12
  serveConnector
13
- } from "./chunk-CCY5QT5R.js";
13
+ } from "./chunk-C2WRZCMZ.js";
14
14
 
15
15
  // src/cli.ts
16
16
  import { fileURLToPath, pathToFileURL } from "url";
package/dist/index.js CHANGED
@@ -66,7 +66,7 @@ import {
66
66
  valueAt,
67
67
  withMockHttp,
68
68
  withinOrigins
69
- } from "./chunk-CCY5QT5R.js";
69
+ } from "./chunk-C2WRZCMZ.js";
70
70
  export {
71
71
  BROWSER_HOST_ENV,
72
72
  BROWSER_TOKEN_ENV,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vornrun/connector-sdk",
3
- "version": "0.7.1-beta.1",
3
+ "version": "0.7.1-beta.2",
4
4
  "description": "Build and share Vorn pull connectors as ordinary npm packages",
5
5
  "type": "module",
6
6
  "license": "MIT",