totalum-sdk 1.10.4 → 1.10.5
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/CHANGELOG.md +5 -0
- package/dist/files/index.d.ts +2 -2
- package/dist/files/index.js +2 -2
- package/package.json +1 -1
- package/totalum-sdk.md +2 -2
- package/totalum-sdk.signatures.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,11 @@ regenerated), plus the request each call sends to SDK-API (`compat/requests/*.js
|
|
|
20
20
|
- **Dist-tags:** `next` is the newest release; `latest` moves only by a decision at launch. `dev` holds the old
|
|
21
21
|
`0.1.0-dev.N` prereleases.
|
|
22
22
|
|
|
23
|
+
## 1.10.5 — 2026-10-09
|
|
24
|
+
|
|
25
|
+
- Documentation only: `files.getUploadUrl` states the real largest file per plan — 50 MB on Free, 500 MB on
|
|
26
|
+
Starter, Builder and Professional, 1 GB on Enterprise. No public type or request changes.
|
|
27
|
+
|
|
23
28
|
## 1.10.4 — 2026-10-09
|
|
24
29
|
|
|
25
30
|
- Documentation only: `totalum.cron` no longer says runs cost nothing — each run costs a small fraction of a credit.
|
package/dist/files/index.d.ts
CHANGED
|
@@ -25,8 +25,8 @@ declare function totalumFiles(options?: TotalumFilesOptions): {
|
|
|
25
25
|
upload(input: Blob | ArrayBuffer | Uint8Array | string, opts?: UploadOptions): Promise<FileDescriptor>;
|
|
26
26
|
/**
|
|
27
27
|
* A presigned PUT (15 min, bound to this type and size) for a direct browser/Node upload; then `complete(key)`.
|
|
28
|
-
* The largest file is 50 MB on the Free plan,
|
|
29
|
-
*
|
|
28
|
+
* The largest file is 50 MB on the Free plan, 500 MB on Starter, Builder and Professional, and 1 GB on Enterprise;
|
|
29
|
+
* above it `FILE_TOO_LARGE` (413, `details.maxBytes`).
|
|
30
30
|
*/
|
|
31
31
|
getUploadUrl: (input: FileUploadUrlInput) => Promise<{
|
|
32
32
|
uploadUrl: string;
|
package/dist/files/index.js
CHANGED
|
@@ -32,8 +32,8 @@ export function totalumFiles(options = {}) {
|
|
|
32
32
|
},
|
|
33
33
|
/**
|
|
34
34
|
* A presigned PUT (15 min, bound to this type and size) for a direct browser/Node upload; then `complete(key)`.
|
|
35
|
-
* The largest file is 50 MB on the Free plan,
|
|
36
|
-
*
|
|
35
|
+
* The largest file is 50 MB on the Free plan, 500 MB on Starter, Builder and Professional, and 1 GB on Enterprise;
|
|
36
|
+
* above it `FILE_TOO_LARGE` (413, `details.maxBytes`).
|
|
37
37
|
*/
|
|
38
38
|
getUploadUrl: (input) => call('POST', '/v1/files/upload-url', input),
|
|
39
39
|
/** Registers a file uploaded with `getUploadUrl` and returns its descriptor. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "totalum-sdk",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.5",
|
|
4
4
|
"description": "The SDK generated Totalum apps import: every integration namespace over SDK-API (totalum-sdk, or one subpath each: /files, /ai, /web, \u2026) and totalum-sdk/d1, the D1 driver",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
package/totalum-sdk.md
CHANGED
|
@@ -130,8 +130,8 @@ files.getUploadUrl(input: { name: string; contentType: string; size: number; fol
|
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
A presigned PUT (15 min, bound to this type and size) for a direct browser/Node upload; then `complete(key)`.
|
|
133
|
-
The largest file is 50 MB on the Free plan,
|
|
134
|
-
|
|
133
|
+
The largest file is 50 MB on the Free plan, 500 MB on Starter, Builder and Professional, and 1 GB on Enterprise;
|
|
134
|
+
above it `FILE_TOO_LARGE` (413, `details.maxBytes`).
|
|
135
135
|
|
|
136
136
|
#### `files.complete`
|
|
137
137
|
|