@decartai/sdk 0.0.2 → 0.0.3

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
@@ -1,4 +1,4 @@
1
- import { Model, ModelDefinition, models } from "./shared/model.js";
1
+ import { ImageModels, Model, ModelDefinition, RealTimeModels, VideoModels, models } from "./shared/model.js";
2
2
  import { FileInput, ProcessOptions } from "./process/types.js";
3
3
  import { ProcessClient } from "./process/client.js";
4
4
  import { DecartSDKError, ERROR_CODES } from "./utils/errors.js";
@@ -19,4 +19,4 @@ declare const createDecartClient: (options: DecartClientOptions) => {
19
19
  process: ProcessClient;
20
20
  };
21
21
  //#endregion
22
- export { DecartClientOptions, type DecartSDKError, ERROR_CODES, type FileInput, type Model, type ModelDefinition, type ModelState, type ProcessClient, type ProcessOptions, type RealTimeClient, type RealTimeClientConnectOptions, type RealTimeClientInitialState, createDecartClient, models };
22
+ export { DecartClientOptions, type DecartSDKError, ERROR_CODES, type FileInput, type ImageModels, type Model, type ModelDefinition, type ModelState, type ProcessClient, type ProcessOptions, type RealTimeClient, type RealTimeClientConnectOptions, type RealTimeClientInitialState, type RealTimeModels, type VideoModels, createDecartClient, models };
@@ -79,4 +79,4 @@ declare const models: {
79
79
  image: <T extends ImageModels>(model: T) => ModelDefinition<T>;
80
80
  };
81
81
  //#endregion
82
- export { Model, ModelDefinition, ModelInputSchemas, models };
82
+ export { ImageModels, Model, ModelDefinition, ModelInputSchemas, RealTimeModels, VideoModels, models };
package/package.json CHANGED
@@ -1,59 +1,60 @@
1
1
  {
2
- "name": "@decartai/sdk",
3
- "version": "0.0.2",
4
- "description": "Decart's JavaScript SDK",
5
- "type": "module",
6
- "license": "MIT",
7
- "private": false,
8
- "homepage": "https://github.com/decartai/sdk#readme",
9
- "bugs": {
10
- "url": "https://github.com/decartai/sdk/issues"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/decartai/sdk.git"
15
- },
16
- "author": "Adir Amsalem <adir@decart.ai>",
17
- "sideEffects": false,
18
- "files": [
19
- "dist"
20
- ],
21
- "main": "./dist/index.js",
22
- "module": "./dist/index.js",
23
- "types": "./dist/index.d.ts",
24
- "exports": {
25
- ".": "./dist/index.js",
26
- "./package.json": "./package.json"
27
- },
28
- "publishConfig": {
29
- "access": "public"
30
- },
31
- "devDependencies": {
32
- "@types/node": "^22.15.17",
33
- "biome": "^0.3.3",
34
- "bumpp": "^10.1.0",
35
- "msw": "^2.11.3",
36
- "pkg-pr-new": "^0.0.56",
37
- "tsdown": "^0.14.1",
38
- "typescript": "^5.8.3",
39
- "vite": "^7.1.2",
40
- "vitest": "^3.1.3"
41
- },
42
- "dependencies": {
43
- "mitt": "^3.0.1",
44
- "p-retry": "^6.2.1",
45
- "uuid": "^11.1.0",
46
- "zod": "^4.0.17"
47
- },
48
- "scripts": {
49
- "build": "tsdown",
50
- "dev": "tsdown --watch",
51
- "dev:example": "vite dev --port 3000",
52
- "test": "vitest",
53
- "typecheck": "tsc --noEmit",
54
- "format": "biome format --write",
55
- "format:check": "biome check",
56
- "lint": "biome lint",
57
- "release": "bumpp && npm publish"
58
- }
59
- }
2
+ "name": "@decartai/sdk",
3
+ "version": "0.0.3",
4
+ "description": "Decart's JavaScript SDK",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "private": false,
8
+ "homepage": "https://github.com/decartai/sdk#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/decartai/sdk/issues"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/decartai/sdk.git"
15
+ },
16
+ "author": "Adir Amsalem <adir@decart.ai>",
17
+ "sideEffects": false,
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "main": "./dist/index.js",
22
+ "module": "./dist/index.js",
23
+ "types": "./dist/index.d.ts",
24
+ "exports": {
25
+ ".": "./dist/index.js",
26
+ "./package.json": "./package.json"
27
+ },
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "scripts": {
32
+ "build": "tsdown",
33
+ "dev": "tsdown --watch",
34
+ "dev:example": "vite dev --port 3000",
35
+ "test": "vitest",
36
+ "typecheck": "tsc --noEmit",
37
+ "format": "biome format --write",
38
+ "format:check": "biome check",
39
+ "lint": "biome lint",
40
+ "prepublishOnly": "pnpm build",
41
+ "release": "bumpp && npm publish"
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^22.15.17",
45
+ "biome": "^0.3.3",
46
+ "bumpp": "^10.1.0",
47
+ "msw": "^2.11.3",
48
+ "pkg-pr-new": "^0.0.56",
49
+ "tsdown": "^0.14.1",
50
+ "typescript": "^5.8.3",
51
+ "vite": "^7.1.2",
52
+ "vitest": "^3.1.3"
53
+ },
54
+ "dependencies": {
55
+ "mitt": "^3.0.1",
56
+ "p-retry": "^6.2.1",
57
+ "uuid": "^11.1.0",
58
+ "zod": "^4.0.17"
59
+ }
60
+ }