@omnara/sdk 0.1.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.
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "@omnara/sdk",
3
+ "version": "0.1.0",
4
+ "description": "TypeScript SDK for the Omnara API, with browser, TanStack Query, and Zod entry points",
5
+ "license": "Apache-2.0",
6
+ "homepage": "https://omnara.com",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/omnara-ai/omnara.git",
10
+ "directory": "frontend/packages/sdk"
11
+ },
12
+ "type": "module",
13
+ "engines": {
14
+ "node": ">=22"
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "default": "./dist/index.js"
23
+ },
24
+ "./browser": {
25
+ "types": "./dist/browser.d.ts",
26
+ "default": "./dist/browser.js"
27
+ },
28
+ "./tanstack": {
29
+ "types": "./dist/tanstack.d.ts",
30
+ "default": "./dist/tanstack.js"
31
+ },
32
+ "./zod": {
33
+ "types": "./dist/zod.d.ts",
34
+ "default": "./dist/zod.js"
35
+ }
36
+ },
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
40
+ "dependencies": {
41
+ "zod": "^4.4.3"
42
+ },
43
+ "peerDependencies": {
44
+ "@tanstack/react-query": "^5.59.0"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "@tanstack/react-query": {
48
+ "optional": true
49
+ }
50
+ },
51
+ "devDependencies": {
52
+ "@hey-api/openapi-ts": "0.99.0",
53
+ "@tanstack/react-query": "^5.59.0",
54
+ "tsup": "^8.5.1",
55
+ "typescript": "^5.6.0",
56
+ "vitest": "4.1.9"
57
+ },
58
+ "scripts": {
59
+ "build": "tsup",
60
+ "generate:api": "openapi-ts && node scripts/relax-response-enums.mjs",
61
+ "test": "vitest run",
62
+ "typecheck": "tsc --noEmit -p tsconfig.json"
63
+ }
64
+ }