@bendyline/docblocks 2.7.11 → 2.7.12
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/host/mobile.d.ts +1 -0
- package/dist/host/mobile.js +5 -2
- package/package.json +1 -1
package/dist/host/mobile.d.ts
CHANGED
package/dist/host/mobile.js
CHANGED
|
@@ -15,6 +15,9 @@ import {
|
|
|
15
15
|
import { z } from "zod";
|
|
16
16
|
var MOBILE_STORAGE_LIMITS = Object.freeze({
|
|
17
17
|
fileBytes: 16 * 1024 * 1024,
|
|
18
|
+
// Exports append to a native staging file instead of a memory buffer, so a
|
|
19
|
+
// rendered video can be far larger than a workspace file.
|
|
20
|
+
exportBytes: 1024 * 1024 * 1024,
|
|
18
21
|
chunkBytes: 256 * 1024,
|
|
19
22
|
totalBytes: 32 * 1024 * 1024,
|
|
20
23
|
entries: 1e4,
|
|
@@ -265,12 +268,12 @@ var mobileExportRequests = {
|
|
|
265
268
|
begin: z.object({
|
|
266
269
|
op: z.literal("begin"),
|
|
267
270
|
filename: exportFilename,
|
|
268
|
-
byteLength: integer.max(MOBILE_STORAGE_LIMITS.
|
|
271
|
+
byteLength: integer.max(MOBILE_STORAGE_LIMITS.exportBytes)
|
|
269
272
|
}).strict(),
|
|
270
273
|
append: z.object({
|
|
271
274
|
op: z.literal("append"),
|
|
272
275
|
transferId: id,
|
|
273
|
-
offset: integer.max(MOBILE_STORAGE_LIMITS.
|
|
276
|
+
offset: integer.max(MOBILE_STORAGE_LIMITS.exportBytes),
|
|
274
277
|
data: base64.max(Math.ceil(MOBILE_STORAGE_LIMITS.chunkBytes / 3) * 4)
|
|
275
278
|
}).strict(),
|
|
276
279
|
finish: z.object({ op: z.literal("finish"), transferId: id, action: z.enum(["save", "share"]) }).strict(),
|