modal 0.8.2 → 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 +3 -2
- package/dist/index.cjs +11663 -4738
- package/dist/index.d.cts +1243 -52
- package/dist/index.d.ts +1243 -52
- package/dist/index.js +11657 -4739
- package/package.json +4 -8
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Modal JavaScript SDK
|
|
2
2
|
|
|
3
|
-
[](https://modal
|
|
3
|
+
[](https://modal.com/docs/sdk/js)
|
|
4
4
|
[](https://www.npmjs.org/package/modal)
|
|
5
5
|
[](https://www.npmjs.com/package/modal)
|
|
6
6
|
|
|
@@ -35,7 +35,7 @@ load the package with either `import` or `require()` in any project.
|
|
|
35
35
|
See the main [Modal documentation](https://modal.com/docs) and
|
|
36
36
|
[user guides](https://modal.com/docs/guide) for high-level overviews. For
|
|
37
37
|
details, see the
|
|
38
|
-
[API reference documentation for
|
|
38
|
+
[API reference documentation for JS](https://modal.com/docs/sdk/js).
|
|
39
39
|
|
|
40
40
|
We also provide a number of examples:
|
|
41
41
|
|
|
@@ -43,6 +43,7 @@ We also provide a number of examples:
|
|
|
43
43
|
- [Spawn a deployed Function](https://github.com/modal-labs/modal-client/blob/main/js/examples/function-spawn.ts)
|
|
44
44
|
- [Call a deployed Cls](https://github.com/modal-labs/modal-client/blob/main/js/examples/cls-call.ts)
|
|
45
45
|
- [Call a deployed Cls, and override its options](https://github.com/modal-labs/modal-client/blob/main/js/examples/cls-call-with-options.ts)
|
|
46
|
+
- [Call a deployed Cls, and override its routing region](https://github.com/modal-labs/modal-client/blob/main/js/examples/cls-routing-region.ts)
|
|
46
47
|
- [Create a Sandbox](https://github.com/modal-labs/modal-client/blob/main/js/examples/sandbox.ts)
|
|
47
48
|
- [Create a named Sandbox](https://github.com/modal-labs/modal-client/blob/main/js/examples/sandbox-named.ts)
|
|
48
49
|
- [Create a Sandbox with GPU](https://github.com/modal-labs/modal-client/blob/main/js/examples/sandbox-gpu.ts)
|