@picsart/ai-sdk 1.148.2 → 1.152.1
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/index.js +702 -14
- package/package.json +13 -35
- package/_cli.js +0 -12650
- package/bin/gen-ai.mjs +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@picsart/ai-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.152.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Type-safe SDK for 100+ AI models — image, video, and audio generation with Picsart",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,46 +19,24 @@
|
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=22.0.0"
|
|
21
21
|
},
|
|
22
|
-
"main": "./index.js",
|
|
23
|
-
"module": "./index.js",
|
|
24
|
-
"types": "./index.d.ts",
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"module": "./dist/index.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
25
|
"exports": {
|
|
26
|
-
".":
|
|
27
|
-
"types": "./index.d.ts",
|
|
28
|
-
"import": "./index.js"
|
|
29
|
-
}
|
|
26
|
+
".": "./src/index.ts"
|
|
30
27
|
},
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"commands": {
|
|
37
|
-
"strategy": "explicit",
|
|
38
|
-
"target": "./_cli.js",
|
|
39
|
-
"identifier": "COMMANDS"
|
|
40
|
-
},
|
|
41
|
-
"topicSeparator": " ",
|
|
42
|
-
"additionalHelpFlags": [
|
|
43
|
-
"-h"
|
|
44
|
-
],
|
|
45
|
-
"additionalVersionFlags": [
|
|
46
|
-
"-v"
|
|
47
|
-
]
|
|
28
|
+
"scripts": {
|
|
29
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
30
|
+
"build:sdk": "npm run build:model-constants && npx tsup && cp package.json dist/package.json",
|
|
31
|
+
"build:model-constants": "node scripts/build-model-constants.mjs",
|
|
32
|
+
"bundle": "npm run build:sdk"
|
|
48
33
|
},
|
|
49
34
|
"dependencies": {
|
|
50
|
-
"@inquirer/checkbox": "^5.1.2",
|
|
51
|
-
"@inquirer/confirm": "^6.0.10",
|
|
52
|
-
"@inquirer/input": "^5.0.10",
|
|
53
|
-
"@inquirer/search": "^4.1.6",
|
|
54
|
-
"@inquirer/select": "^5.1.2",
|
|
55
|
-
"@oclif/core": "^4.10.3",
|
|
56
|
-
"@types/cli-progress": "^3.11.6",
|
|
57
|
-
"chalk": "^5.0.0",
|
|
58
|
-
"cli-progress": "^3.12.0",
|
|
59
|
-
"fflate": "^0.8.2",
|
|
60
35
|
"ora": "^8.2.0"
|
|
61
36
|
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"tsup": "^8.5.1"
|
|
39
|
+
},
|
|
62
40
|
"repository": {
|
|
63
41
|
"type": "git",
|
|
64
42
|
"url": "git+ssh://git@gitlab.com/picsart/web/miniapp-projects/ai-toolkit.git"
|