@qcobro/sdk 1.16.0 → 1.19.0

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.ts CHANGED
@@ -9,5 +9,7 @@
9
9
  export { Client } from "./client.js";
10
10
  export type { ClientOptions, Tokens } from "./client.js";
11
11
  export { PortfoliosResource } from "./resources/portfolios.js";
12
+ export { listPortfoliosSchema, getPortfolioSchema, listAccountsSchema } from "./schemas.js";
13
+ export type { ListPortfoliosInput, GetPortfolioInput, ListAccountsInput } from "./schemas.js";
12
14
  export { ValidationError, type FieldError } from "@qcobro/common";
13
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAI/D,OAAO,EAAE,eAAe,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAK/D,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAC5F,YAAY,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAI9F,OAAO,EAAE,eAAe,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC"}
package/dist/index.js CHANGED
@@ -8,6 +8,10 @@
8
8
  */
9
9
  export { Client } from "./client.js";
10
10
  export { PortfoliosResource } from "./resources/portfolios.js";
11
+ // Schemas for inputs the apiserver defines inline (not in `@qcobro/common`), so
12
+ // other packages (e.g. `@qcobro/mcp`) can validate against the same rules the
13
+ // SDK itself uses, without duplicating them.
14
+ export { listPortfoliosSchema, getPortfolioSchema, listAccountsSchema } from "./schemas.js";
11
15
  // Re-export the shared structured error so callers can detect client-side
12
16
  // validation failures without depending on `@qcobro/common` directly.
13
17
  export { ValidationError } from "@qcobro/common";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,0EAA0E;AAC1E,sEAAsE;AACtE,OAAO,EAAE,eAAe,EAAmB,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,gFAAgF;AAChF,8EAA8E;AAC9E,6CAA6C;AAC7C,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAG5F,0EAA0E;AAC1E,sEAAsE;AACtE,OAAO,EAAE,eAAe,EAAmB,MAAM,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qcobro/sdk",
3
- "version": "1.16.0",
3
+ "version": "1.19.0",
4
4
  "description": "Developer-friendly TypeScript SDK for the QCobro API.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -20,12 +20,12 @@
20
20
  "docs": "typedoc"
21
21
  },
22
22
  "dependencies": {
23
- "@qcobro/common": "^1.16.0",
23
+ "@qcobro/common": "^1.19.0",
24
24
  "@trpc/client": "^11.0.0",
25
25
  "zod": "^4.0.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@qcobro/apiserver": "^1.16.0",
28
+ "@qcobro/apiserver": "^1.19.0",
29
29
  "@trpc/server": "^11.0.0",
30
30
  "@types/express": "^5.0.0",
31
31
  "express": "^5.0.0",