modal 0.9.0 → 0.10.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/README.md +2 -2
- package/dist/index.cjs +10425 -5102
- package/dist/index.d.cts +962 -45
- package/dist/index.d.ts +962 -45
- package/dist/index.js +10438 -5122
- package/package.json +4 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "modal",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Modal SDK for JavaScript/TypeScript",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://modal.com/docs/guide/sdk-javascript-go",
|
|
@@ -26,14 +26,12 @@
|
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "tsup",
|
|
28
28
|
"check": "tsc",
|
|
29
|
-
"docs": "typedoc src/index.ts --treatWarningsAsErrors",
|
|
30
|
-
"docs:serve": "npm run docs && http-server ./docs",
|
|
31
29
|
"format": "prettier --write .",
|
|
32
30
|
"format:check": "prettier --check .",
|
|
33
31
|
"lint": "eslint",
|
|
34
32
|
"prepare": "scripts/gen-proto.sh",
|
|
35
|
-
"test": "vitest run",
|
|
36
|
-
"test:watch": "vitest",
|
|
33
|
+
"test": "MODAL_ENVIRONMENT=libmodal vitest run",
|
|
34
|
+
"test:watch": "MODAL_ENVIRONMENT=libmodal vitest",
|
|
37
35
|
"version": "npm run check",
|
|
38
36
|
"prepublishOnly": "npm run build"
|
|
39
37
|
},
|
|
@@ -52,15 +50,13 @@
|
|
|
52
50
|
"eslint": "^9.28.0",
|
|
53
51
|
"eslint-plugin-import-x": "^4.16.1",
|
|
54
52
|
"globals": "^16.2.0",
|
|
55
|
-
"grpc-tools": "^1.13.
|
|
56
|
-
"http-server": "^14.1.1",
|
|
53
|
+
"grpc-tools": "^1.13.1",
|
|
57
54
|
"jsonwebtoken": "^9.0.2",
|
|
58
55
|
"p-queue": "^8.1.0",
|
|
59
56
|
"prettier": "^3.5.3",
|
|
60
57
|
"ts-proto": "^2.7.0",
|
|
61
58
|
"tsup": "^8.4.0",
|
|
62
59
|
"tsx": "^4.20.5",
|
|
63
|
-
"typedoc": "^0.28.5",
|
|
64
60
|
"typescript": "~5.8.3",
|
|
65
61
|
"typescript-eslint": "^8.33.1",
|
|
66
62
|
"vitest": "^3.1.2"
|