transloadit 4.12.0 → 4.13.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.
Files changed (134) hide show
  1. package/README.md +232 -23
  2. package/dist/Transloadit.d.ts +55 -1
  3. package/dist/Transloadit.d.ts.map +1 -1
  4. package/dist/Transloadit.js +143 -2
  5. package/dist/Transloadit.js.map +1 -1
  6. package/dist/alphalib/types/assemblyStatus.d.ts +574 -198
  7. package/dist/alphalib/types/assemblyStatus.d.ts.map +1 -1
  8. package/dist/alphalib/types/assemblyStatus.js +17 -0
  9. package/dist/alphalib/types/assemblyStatus.js.map +1 -1
  10. package/dist/alphalib/types/robots/_index.d.ts +205 -93
  11. package/dist/alphalib/types/robots/_index.d.ts.map +1 -1
  12. package/dist/alphalib/types/robots/_index.js +8 -0
  13. package/dist/alphalib/types/robots/_index.js.map +1 -1
  14. package/dist/alphalib/types/robots/_instructions-primitives.d.ts +4 -4
  15. package/dist/alphalib/types/robots/_instructions-primitives.d.ts.map +1 -1
  16. package/dist/alphalib/types/robots/_instructions-primitives.js +2 -0
  17. package/dist/alphalib/types/robots/_instructions-primitives.js.map +1 -1
  18. package/dist/alphalib/types/robots/file-serve.d.ts +12 -0
  19. package/dist/alphalib/types/robots/file-serve.d.ts.map +1 -1
  20. package/dist/alphalib/types/robots/file-serve.js +9 -3
  21. package/dist/alphalib/types/robots/file-serve.js.map +1 -1
  22. package/dist/alphalib/types/robots/transloadit-import.d.ts +195 -0
  23. package/dist/alphalib/types/robots/transloadit-import.d.ts.map +1 -0
  24. package/dist/alphalib/types/robots/transloadit-import.js +108 -0
  25. package/dist/alphalib/types/robots/transloadit-import.js.map +1 -0
  26. package/dist/alphalib/types/robots/transloadit-store.d.ts +441 -0
  27. package/dist/alphalib/types/robots/transloadit-store.d.ts.map +1 -0
  28. package/dist/alphalib/types/robots/transloadit-store.js +69 -0
  29. package/dist/alphalib/types/robots/transloadit-store.js.map +1 -0
  30. package/dist/alphalib/types/robots/video-ondemand.d.ts +8 -8
  31. package/dist/alphalib/types/storageAsset.d.ts +226 -0
  32. package/dist/alphalib/types/storageAsset.d.ts.map +1 -0
  33. package/dist/alphalib/types/storageAsset.js +67 -0
  34. package/dist/alphalib/types/storageAsset.js.map +1 -0
  35. package/dist/alphalib/types/template.d.ts.map +1 -1
  36. package/dist/alphalib/types/template.js +5 -2
  37. package/dist/alphalib/types/template.js.map +1 -1
  38. package/dist/cli/commands/BaseCommand.d.ts +3 -1
  39. package/dist/cli/commands/BaseCommand.d.ts.map +1 -1
  40. package/dist/cli/commands/BaseCommand.js +3 -2
  41. package/dist/cli/commands/BaseCommand.js.map +1 -1
  42. package/dist/cli/commands/assemblies.d.ts.map +1 -1
  43. package/dist/cli/commands/assemblies.js +9 -4
  44. package/dist/cli/commands/assemblies.js.map +1 -1
  45. package/dist/cli/commands/auth.d.ts +6 -0
  46. package/dist/cli/commands/auth.d.ts.map +1 -1
  47. package/dist/cli/commands/auth.js +21 -2
  48. package/dist/cli/commands/auth.js.map +1 -1
  49. package/dist/cli/commands/image.d.ts +15 -0
  50. package/dist/cli/commands/image.d.ts.map +1 -0
  51. package/dist/cli/commands/image.js +234 -0
  52. package/dist/cli/commands/image.js.map +1 -0
  53. package/dist/cli/commands/index.d.ts.map +1 -1
  54. package/dist/cli/commands/index.js +15 -1
  55. package/dist/cli/commands/index.js.map +1 -1
  56. package/dist/cli/commands/login.d.ts +24 -0
  57. package/dist/cli/commands/login.d.ts.map +1 -0
  58. package/dist/cli/commands/login.js +275 -0
  59. package/dist/cli/commands/login.js.map +1 -0
  60. package/dist/cli/commands/storage.d.ts +58 -0
  61. package/dist/cli/commands/storage.d.ts.map +1 -0
  62. package/dist/cli/commands/storage.js +589 -0
  63. package/dist/cli/commands/storage.js.map +1 -0
  64. package/dist/cli/commands/templates.d.ts.map +1 -1
  65. package/dist/cli/commands/templates.js +10 -6
  66. package/dist/cli/commands/templates.js.map +1 -1
  67. package/dist/cli/deviceLogin.d.ts +11 -0
  68. package/dist/cli/deviceLogin.d.ts.map +1 -0
  69. package/dist/cli/deviceLogin.js +187 -0
  70. package/dist/cli/deviceLogin.js.map +1 -0
  71. package/dist/cli/helpers.d.ts +23 -1
  72. package/dist/cli/helpers.d.ts.map +1 -1
  73. package/dist/cli/helpers.js +159 -25
  74. package/dist/cli/helpers.js.map +1 -1
  75. package/dist/cli/secretInput.d.ts +3 -0
  76. package/dist/cli/secretInput.d.ts.map +1 -0
  77. package/dist/cli/secretInput.js +11 -0
  78. package/dist/cli/secretInput.js.map +1 -0
  79. package/dist/cli/storageCatalog.d.ts +19 -0
  80. package/dist/cli/storageCatalog.d.ts.map +1 -0
  81. package/dist/cli/storageCatalog.js +129 -0
  82. package/dist/cli/storageCatalog.js.map +1 -0
  83. package/dist/cli/storagePublic.d.ts +3 -0
  84. package/dist/cli/storagePublic.d.ts.map +1 -0
  85. package/dist/cli/storagePublic.js +15 -0
  86. package/dist/cli/storagePublic.js.map +1 -0
  87. package/dist/cli/storageReceipts.d.ts +67 -0
  88. package/dist/cli/storageReceipts.d.ts.map +1 -0
  89. package/dist/cli/storageReceipts.js +242 -0
  90. package/dist/cli/storageReceipts.js.map +1 -0
  91. package/dist/cli/storageSnippets.d.ts +11 -0
  92. package/dist/cli/storageSnippets.d.ts.map +1 -0
  93. package/dist/cli/storageSnippets.js +89 -0
  94. package/dist/cli/storageSnippets.js.map +1 -0
  95. package/dist/storageImage.d.ts +40 -0
  96. package/dist/storageImage.d.ts.map +1 -0
  97. package/dist/storageImage.js +139 -0
  98. package/dist/storageImage.js.map +1 -0
  99. package/dist/storagePublicPrefixes.d.ts +62 -0
  100. package/dist/storagePublicPrefixes.d.ts.map +1 -0
  101. package/dist/storagePublicPrefixes.js +35 -0
  102. package/dist/storagePublicPrefixes.js.map +1 -0
  103. package/dist/storageResults.d.ts +31 -0
  104. package/dist/storageResults.d.ts.map +1 -0
  105. package/dist/storageResults.js +79 -0
  106. package/dist/storageResults.js.map +1 -0
  107. package/package.json +4 -3
  108. package/src/Transloadit.ts +251 -4
  109. package/src/alphalib/types/assemblyStatus.ts +17 -0
  110. package/src/alphalib/types/robots/_index.ts +28 -0
  111. package/src/alphalib/types/robots/_instructions-primitives.ts +2 -0
  112. package/src/alphalib/types/robots/file-serve.ts +11 -3
  113. package/src/alphalib/types/robots/transloadit-import.ts +154 -0
  114. package/src/alphalib/types/robots/transloadit-store.ts +98 -0
  115. package/src/alphalib/types/storageAsset.ts +88 -0
  116. package/src/alphalib/types/template.ts +3 -0
  117. package/src/cli/commands/BaseCommand.ts +4 -2
  118. package/src/cli/commands/assemblies.ts +13 -5
  119. package/src/cli/commands/auth.ts +26 -3
  120. package/src/cli/commands/image.ts +282 -0
  121. package/src/cli/commands/index.ts +27 -1
  122. package/src/cli/commands/login.ts +334 -0
  123. package/src/cli/commands/storage.ts +733 -0
  124. package/src/cli/commands/templates.ts +14 -7
  125. package/src/cli/deviceLogin.ts +226 -0
  126. package/src/cli/helpers.ts +204 -27
  127. package/src/cli/secretInput.ts +12 -0
  128. package/src/cli/storageCatalog.ts +192 -0
  129. package/src/cli/storagePublic.ts +15 -0
  130. package/src/cli/storageReceipts.ts +307 -0
  131. package/src/cli/storageSnippets.ts +96 -0
  132. package/src/storageImage.ts +222 -0
  133. package/src/storagePublicPrefixes.ts +39 -0
  134. package/src/storageResults.ts +119 -0
package/README.md CHANGED
@@ -24,7 +24,7 @@ This is a **Node.js** SDK to make it easy to talk to the
24
24
 
25
25
  ## Requirements
26
26
 
27
- - [Node.js](https://nodejs.org/en/) version 20 or newer
27
+ - [Node.js](https://nodejs.org/en/) version 20.10.0 or newer
28
28
  - [A Transloadit account](https://transloadit.com/signup/) ([free signup](https://transloadit.com/pricing/))
29
29
  - [Your API credentials](https://transloadit.com/c/template-credentials) (`authKey`, `authSecret`)
30
30
 
@@ -51,32 +51,31 @@ This package includes a full-featured CLI for interacting with Transloadit from
51
51
 
52
52
  ### Quick Start
53
53
 
54
- Pick one auth setup and then run the CLI.
55
-
56
- Use shell env vars:
54
+ Log in through your browser, then run a command:
57
55
 
58
56
  ```bash
59
- export TRANSLOADIT_KEY="YOUR_TRANSLOADIT_KEY"
60
- export TRANSLOADIT_SECRET="YOUR_TRANSLOADIT_SECRET"
57
+ npx -y @transloadit/node auth login
58
+ npx -y @transloadit/node auth status
59
+ npx -y @transloadit/node --help
61
60
  ```
62
61
 
63
- Or create a reusable home credentials file:
62
+ No account yet? Choose Sign up in the browser, create your workspace, then approve the code from
63
+ your terminal. Login saves a dedicated CLI key in the owner-only `~/.transloadit/credentials` file.
64
+ Use `auth login --no-browser` to open the printed link yourself; `auth login --stdin` imports dotenv
65
+ credentials without browser approval. Existing saved credentials require `--replace`.
64
66
 
65
- ```bash
66
- mkdir -p ~/.transloadit
67
- cat > ~/.transloadit/credentials <<'EOF'
68
- TRANSLOADIT_KEY="YOUR_TRANSLOADIT_KEY"
69
- TRANSLOADIT_SECRET="YOUR_TRANSLOADIT_SECRET"
70
- EOF
71
- chmod 600 ~/.transloadit/credentials
72
- ```
67
+ ### CI and manual credentials
73
68
 
74
- Then see all available commands:
69
+ For automation, provide an appropriately scoped key through your CI secret manager:
75
70
 
76
71
  ```bash
77
- npx -y @transloadit/node --help
72
+ export TRANSLOADIT_KEY="YOUR_TRANSLOADIT_KEY"
73
+ export TRANSLOADIT_SECRET="YOUR_TRANSLOADIT_SECRET"
78
74
  ```
79
75
 
76
+ For application servers, provision a separate deployment key rather than copying your CLI login.
77
+ `auth logout` revokes the saved CLI key; it should not interrupt a deployed application.
78
+
80
79
  The CLI binary is still called `transloadit`, so command examples below may use
81
80
  `npx transloadit ...`.
82
81
 
@@ -107,6 +106,73 @@ Most commands can authenticate with either `TRANSLOADIT_AUTH_TOKEN` or `TRANSLOA
107
106
  `TRANSLOADIT_SECRET`. Commands that mint bearer tokens or generate signatures still require
108
107
  `TRANSLOADIT_KEY` and `TRANSLOADIT_SECRET`.
109
108
 
109
+ ### Storage images for Next.js
110
+
111
+ `@transloadit/viewer` is currently an unpublished, private preview. Follow the
112
+ [local package instructions](https://github.com/transloadit/node-sdk/blob/img-onboard/docs/img-dogfood.md)
113
+ until release. In a Next.js 16.3.3+ App Router project with Storage enabled, run:
114
+
115
+ ```bash
116
+ yarn transloadit auth login
117
+ yarn transloadit storage store ./hero.jpg website/hero.jpg --public --hashed
118
+ yarn dev
119
+ ```
120
+
121
+ Follow the image package Quickstart to add its Next plugin and import Image from the package.
122
+ `--hashed` creates an immutable filename; use the printed JSX path, including its content hash.
123
+ Start with `auth login` even without an account: choose Sign up in the browser it opens, then approve
124
+ the CLI. For application-server uploads instead of CLI seeding, see [Store an image](#store-an-image).
125
+ Login opens browser approval (on Windows, open the printed URL) and saves one combined Auth Key,
126
+ workspace and signing algorithm in the owner-only credentials file. `--no-browser` prints the
127
+ approval URL; `--stdin` accepts dotenv credentials for automation. Existing credentials require
128
+ `--replace`. Login also checks Storage policy access with a bounded read-only request; if that
129
+ fails, it saves the login and prints a Console link. This check does not prove upload availability.
130
+
131
+ Store creates `transloadit.images.json` and derived `transloadit-images.d.ts`; commit both. The
132
+ catalog carries workspace, public prefixes and image receipts: no public app env is needed.
133
+ `--public` declares the destination directory recursively, including future uploads, after saving
134
+ the receipt. Plain store never publishes. `image init website/ --example` is an optional example
135
+ generator; private init (`image init uploads/ --private`) creates `transloadit.authorize.ts` and a
136
+ route that denies access until you connect per-object authorization. Use a separate deployment key.
137
+ Existing code/env files are never overwritten. Missing trailing directory slashes are accepted.
138
+
139
+ Store uploads originals and appends validated receipts to `transloadit.images.json`; commit it.
140
+ `storage store ./images/*.jpg website/` stores shell-expanded files, checkpointing each success.
141
+ It prints `width={960}` (bounded by the original), with a filename-derived alt and a reminder.
142
+ SDK 4.13.1 no longer decodes images locally or generates new blur hashes; existing receipt
143
+ hashes still work with Viewer's `placeholder="blur"`. Uploads and dimensions are unaffected.
144
+ An occupied path conflicts unless `--overwrite` is explicit; prefer `--hashed` for immutable
145
+ filenames. Matching receipts skip repeat uploads; changed bytes get a new name.
146
+ Storage receipts pin the returned `asset_id` and `version_id`. The image URL selects that exact
147
+ retained version, including after rename or overwrite; `v` is a real version, not a cache-busting hash.
148
+ Publication can also be managed explicitly:
149
+
150
+ ```bash
151
+ yarn transloadit storage publish website/
152
+ yarn transloadit storage publications
153
+ yarn transloadit storage unpublish website/
154
+ yarn transloadit auth status
155
+ yarn transloadit auth logout
156
+ ```
157
+
158
+ Logout revokes browser-login keys, including their use by any application. Imported (`--stdin`)
159
+ and legacy keys are only forgotten locally; `auth logout --revoke` explicitly revokes those too.
160
+
161
+ Unpublishing stops origin access but cannot recall cached/downloaded bytes. For lost metadata,
162
+ restore the committed catalog or use the signed native catalog API with `dam:read` or `dam:write`.
163
+ Older API deployments may not yet expose these reads; see [Recovery options and prerequisites](https://github.com/transloadit/node-sdk/blob/main/packages/img/docs/reference.md#recovery).
164
+
165
+ Storage commands report the selected credential source on stderr before operating. Ordinary
166
+ commands retain shell → project `.env` → saved login precedence; init prefers the saved login.
167
+ Store, list, sync and publication verify the selected key against the catalog workspace and stop
168
+ before acting on a mismatch. An explicit `--workspace` opts out, but never mixes catalogs: use
169
+ `--receipts` for a separate workspace's catalog. Status shows the saved workspace/key description;
170
+ logout revokes that key before deleting the credentials file and preserves it if revocation fails.
171
+ The endpoint stays bound to those credentials unless explicitly overridden. JSON result output
172
+ stays on stdout; credentials are never printed. See the
173
+ [image Quickstart](https://github.com/transloadit/node-sdk/blob/main/packages/img/README.md)
174
+ and [reference](https://github.com/transloadit/node-sdk/blob/main/packages/img/docs/reference.md).
175
+
110
176
  ### Minting Bearer Tokens (Hosted MCP)
111
177
 
112
178
  If you want to connect an agent to the Transloadit-hosted MCP endpoint, mint a short-lived bearer
@@ -1379,7 +1445,140 @@ npx transloadit assemblies list -l 7
1379
1445
 
1380
1446
  ## SDK Usage
1381
1447
 
1382
- The following code will upload an image and resize it to a thumbnail:
1448
+ ### Store an image
1449
+
1450
+ `storeImage()` uploads one local image and returns a verified receipt ready for `Image`.
1451
+ Install `@transloadit/node` as a runtime dependency for server uploads; a dev dependency is enough
1452
+ when you only use its CLI. Use an Assembly-enabled application key in your server environment,
1453
+ not a signing-only image-delivery key or the disposable login key that `auth logout` revokes.
1454
+ New combined Smart CDN/Assembly keys use SHA-256, as selected below; use your configured algorithm
1455
+ for an existing key.
1456
+
1457
+ In an authenticated server handler, `user` is your verified session user and `saveImage` is your
1458
+ application's database helper, not an SDK function:
1459
+
1460
+ ```ts
1461
+ import { randomUUID } from 'node:crypto'
1462
+ import { Transloadit } from '@transloadit/node'
1463
+
1464
+ const { TRANSLOADIT_KEY: authKey, TRANSLOADIT_SECRET: authSecret } = process.env
1465
+ if (!authKey || !authSecret) {
1466
+ throw new Error('Set TRANSLOADIT_KEY and TRANSLOADIT_SECRET on the server')
1467
+ }
1468
+ const client = new Transloadit({
1469
+ authKey,
1470
+ authSecret,
1471
+ signatureAlgorithm: 'sha256',
1472
+ })
1473
+ const receipt = await client.storeImage('./hero.jpg', {
1474
+ path: `uploads/${randomUUID()}/hero.jpg`,
1475
+ })
1476
+ await saveImage({ ...receipt, ownerId: user.id })
1477
+ ```
1478
+
1479
+ Choose the destination on the server and save the complete receipt with its owner ID. An occupied
1480
+ path is refused unless you explicitly pass `overwrite: true`. This helper does not publish a
1481
+ directory or update the CLI's catalog. Pass the saved receipt as `src` in an authorized application;
1482
+ see [user uploads, private access and trusted receipt recovery with `getStoredImageReceipt()`](https://github.com/transloadit/node-sdk/blob/main/packages/img/docs/reference.md#images-uploaded-by-your-users)
1483
+ for the Uppy/notification flow and recovery without another upload.
1484
+
1485
+ ### Read and reuse stored assets
1486
+
1487
+ Save the complete stored result from `results[producingStep][i]` after `ASSEMBLY_COMPLETED`, including
1488
+ its Workspace and returned path. Collision handling can rename the requested destination.
1489
+ `storeImage()` returns this canonical record plus verified image metadata; other media use the
1490
+ same `StoredAsset` contract without requiring image dimensions.
1491
+
1492
+ ```ts
1493
+ const page = await client.listStoredAssets({ prefix: 'uploads/', limit: 100 })
1494
+ // Continue with { prefix: 'uploads/', cursor: page.next_cursor } while next_cursor is not null.
1495
+ const current = await client.getStoredAsset(receipt.asset_id)
1496
+ const pinned = await client.getStoredAsset(receipt.asset_id, { version_id: receipt.version_id })
1497
+ ```
1498
+
1499
+ These signed, bounded metadata reads require `dam:read` or `dam:write`, use the key's Workspace,
1500
+ and return checksums and dimensions when available. No S3 credentials or per-file HEADs are needed.
1501
+
1502
+ For a multi-file or mixed-media Assembly, fetch its retained results on your server:
1503
+
1504
+ ```ts
1505
+ // Load this upload from your database after checking the current user's access.
1506
+ const outputs = await client.getStoredAssemblyResults({
1507
+ assemblyId: upload.assemblyId,
1508
+ workspace: upload.workspace,
1509
+ })
1510
+ for (const output of outputs) {
1511
+ // Use a unique database key (assembly_id, step, result_id) so notification retries are harmless.
1512
+ await registerMedia({ ...output, ownerId: upload.ownerId })
1513
+ }
1514
+ ```
1515
+
1516
+ Each output contains `asset` (the canonical record), `assembly_id`, `step`, `result_id`, and
1517
+ `original_id` when the producing result supplies it. One input can produce an image, video and
1518
+ poster; combined inputs can have an array of original IDs. Do not correlate by filename or array
1519
+ position. Ordinary temporary results are omitted; malformed or cross-Workspace Storage records
1520
+ fail the whole read. Failed/incomplete Assemblies are not reported as successful batches, even
1521
+ if some writes already happened. This helper verifies authoritative metadata, **not application
1522
+ ownership**: never use an unchecked browser/notification Assembly ID in place of `upload`.
1523
+
1524
+ Rename/move with the native API to keep saved asset/version references working:
1525
+
1526
+ ```ts
1527
+ const renamed = await client.moveStoredAsset(receipt.asset_id, { filename: 'ceremony.jpg' })
1528
+ // Supply destination_folder_id to change folders; null selects the Workspace root.
1529
+ const deletion = await client.deleteStoredAsset(renamed.asset_id)
1530
+ ```
1531
+
1532
+ Mutations need `dam:write`. `moveStoredAsset()` returns the canonical record from the transaction
1533
+ (checksums may be omitted), with the same identity and version. It never implements a move as
1534
+ S3 copy/delete. A native folder move also keeps its descendants' identities.
1535
+
1536
+ ### Original media, playback and downloads
1537
+
1538
+ `getStoredAssetUrl()` signs **exact original bytes**, not an image preview or a video transcode.
1539
+ It accepts the canonical record for any media type, without requiring image dimensions:
1540
+
1541
+ ```ts
1542
+ // In a server route, authenticate and load this exact saved reference from your own database.
1543
+ const media = await loadMediaAuthorizedForUser(user, mediaId)
1544
+ const url = client.getStoredAssetUrl(media.asset, { download: true })
1545
+ return new Response(null, {
1546
+ status: 307,
1547
+ headers: { Location: url, 'Cache-Control': 'private, no-store', Vary: 'Cookie' },
1548
+ })
1549
+ ```
1550
+
1551
+ `download: true` uses the receipt's filename; a string overrides it safely. Omit `download` for
1552
+ inline playback. The attachment header comes from the CDN response, including for cross-origin
1553
+ links: no `fetch().blob()`, application byte proxy or whole-video memory allocation is needed.
1554
+ Range requests support seeking when the original format/codecs work in that browser; generate
1555
+ and store a separate compatible playback rendition when they do not. Use Viewer for previews.
1556
+
1557
+ These URLs use signed `builtin/storage-serve@0.0.3` (deploy the matching API2 version first).
1558
+ The signing key needs `smart_cdn:sign` or the Workspace's legacy Smart CDN-enabled key permission.
1559
+ `lifetimeMs` defaults to a maximum of five minutes (allowed: one second to 48 hours). Signing
1560
+ rotates at most once a minute and never more slowly than half the lifetime, so a new URL retains
1561
+ at least half its requested lifetime. Bunny includes the full query in its cache key: each
1562
+ rotation starts a separate cache entry. An issued URL remains usable until expiry even if the
1563
+ application session is revoked. Reauthorize every redirect; do not cache private redirects in
1564
+ a shared cache. A download filename changes the signed URL/cache key but never the selected bytes.
1565
+
1566
+ For a later Assembly, choose exactly one `/transloadit/import` selector:
1567
+
1568
+ - `{ robot: '/transloadit/import', path: receipt.path }` reads the current bytes at that location.
1569
+ - `{ robot: '/transloadit/import', asset_id: receipt.asset_id }` follows the logical asset after moves.
1570
+ - `{ robot: '/transloadit/import', asset_id: receipt.asset_id, version_id: receipt.version_id }`
1571
+ selects the exact retained bytes. It never falls back to the current version.
1572
+
1573
+ Authenticate for the saved Workspace. Deleting the asset or removing that retained version makes
1574
+ the reference unavailable; an ID is neither a backup nor authorization. Use the actual stored IDs,
1575
+ not a filename or digest, and keep application ownership associated with the stable asset ID.
1576
+
1577
+ ### Process an image
1578
+
1579
+ The following code will upload an image and resize it to a thumbnail. New Console-created combined
1580
+ Smart CDN/Assembly keys use SHA-256, so this example selects it explicitly; the SDK's legacy default
1581
+ remains SHA-384 for existing keys.
1383
1582
 
1384
1583
  ```javascript
1385
1584
  import { Transloadit } from '@transloadit/node'
@@ -1387,6 +1586,7 @@ import { Transloadit } from '@transloadit/node'
1387
1586
  const transloadit = new Transloadit({
1388
1587
  authKey: 'YOUR_TRANSLOADIT_KEY',
1389
1588
  authSecret: 'YOUR_TRANSLOADIT_SECRET',
1589
+ signatureAlgorithm: 'sha256',
1390
1590
  })
1391
1591
 
1392
1592
  try {
@@ -1486,10 +1686,24 @@ Table of contents:
1486
1686
 
1487
1687
  Returns a new instance of the client.
1488
1688
 
1689
+ ```typescript
1690
+ const transloadit = new Transloadit({
1691
+ authKey: 'YOUR_TRANSLOADIT_KEY',
1692
+ authSecret: 'YOUR_TRANSLOADIT_SECRET',
1693
+ signatureAlgorithm: 'sha256',
1694
+ })
1695
+ ```
1696
+
1697
+ Select SHA-256 for new Console-created combined Smart CDN/Assembly keys; omitting it retains
1698
+ the SHA-384 default for existing keys and can produce `INVALID_SIGNATURE` with a combined key.
1699
+
1489
1700
  The `options` object can contain the following keys:
1490
1701
 
1491
1702
  - `authKey` **(required)** - see [requirements](#requirements)
1492
1703
  - `authSecret` **(required)** - see [requirements](#requirements)
1704
+ - `signatureAlgorithm` (default `'sha384'`) - API signing algorithm configured on this Auth Key.
1705
+ Use `'sha256'` for combined Smart CDN-enabled keys. Browser CLI login saves and applies this
1706
+ setting automatically; explicit `calcSignature(params, algorithm)` calls still override it.
1493
1707
  - `endpoint` (default `'https://api2.transloadit.com'`)
1494
1708
  - `maxRetries` (default `5`) - see [Rate limiting & auto retry](#rate-limiting--auto-retry)
1495
1709
  - `gotRetry` (default `0`) - see [Rate limiting & auto retry](#rate-limiting--auto-retry)
@@ -1934,8 +2148,3 @@ Thanks to [Ian Hansen](https://github.com/supershabam) for donating the `translo
1934
2148
  ## Development
1935
2149
 
1936
2150
  See [CONTRIBUTING](./CONTRIBUTING.md).
1937
-
1938
-
1939
-
1940
-
1941
-
@@ -1,20 +1,29 @@
1
1
  import type { Readable } from 'node:stream';
2
2
  import type { CompileAssemblyInstructionsOptions, CompileAssemblyInstructionsResult } from '@transloadit/utils';
3
+ import type { SignatureAlgorithm } from '@transloadit/utils/node';
3
4
  import type { RetryOptions } from 'got';
5
+ import type { Input as IntoStreamInput } from 'into-stream';
4
6
  import type { AssemblyIndexItem, AssemblyStatus } from './alphalib/types/assemblyStatus.ts';
7
+ import type { GetStoredAssetOptions, ListStoredAssetsOptions, MoveStoredAssetOptions, StoredAsset, StoredAssetsPage } from './alphalib/types/storageAsset.ts';
5
8
  import type { BaseResponse, BillResponse, CreateAssemblyParams, CreateTemplateCredentialParams, CreateTemplateParams, EditTemplateParams, ListAssembliesParams, ListedTemplate, ListTemplateCredentialsParams, ListTemplatesParams, OptionalAuthParams, PaginationListWithCount, ReplayAssemblyNotificationParams, ReplayAssemblyNotificationResponse, ReplayAssemblyParams, ReplayAssemblyResponse, TemplateCredentialResponse, TemplateCredentialsResponse, TemplateResponse } from './apiTypes.ts';
6
9
  import type { BearerTokenResponse, MintBearerTokenOptions } from './bearerToken.ts';
7
10
  import type { LintAssemblyInstructionsInput, LintAssemblyInstructionsResult } from './lintAssemblyInstructions.ts';
11
+ import type { GetStoredImageReceiptOptions, StoredImageReceipt, StoreImageOptions } from './storageImage.ts';
12
+ import type { StoragePublicPrefixDeclared, StoragePublicPrefixes, StoragePublicPrefixRevoked } from './storagePublicPrefixes.ts';
13
+ import type { GetStoredAssemblyResultsOptions, StoredAssemblyResult, StoredAssetUrlOptions } from './storageResults.ts';
8
14
  import type { UploadBehavior } from './tus.ts';
9
- import { type Input as IntoStreamInput } from 'into-stream';
10
15
  import { ApiError } from './ApiError.ts';
11
16
  import InconsistentResponseError from './InconsistentResponseError.ts';
12
17
  import PaginationStream from './PaginationStream.ts';
13
18
  export type { CompileAssemblyInstructionsAttempt, CompileAssemblyInstructionsClient, CompileAssemblyInstructionsLintIssue, CompileAssemblyInstructionsMessage, CompileAssemblyInstructionsResult, } from '@transloadit/utils';
14
19
  export type { AssemblyStatus } from './alphalib/types/assemblyStatus.ts';
20
+ export type { GetStoredAssetOptions, ListStoredAssetsOptions, MoveStoredAssetOptions, StoredAsset, StoredAssetsPage, } from './alphalib/types/storageAsset.ts';
15
21
  export type { Base64Strategy, InputFile, PrepareInputFilesOptions, PrepareInputFilesResult, UploadInput, UrlStrategy, } from './inputFiles.ts';
16
22
  export type { LintAssemblyInstructionsResult, LintFatalLevel } from './lintAssemblyInstructions.ts';
17
23
  export type { RobotHelp, RobotHelpOptions, RobotListItem, RobotListOptions, RobotListResult, RobotParamHelp, } from './robots.ts';
24
+ export type { GetStoredImageReceiptOptions, StoredImageExpectation, StoredImageReceipt, StoreImageOptions, } from './storageImage.ts';
25
+ export type { StoragePublicPrefixDeclared, StoragePublicPrefixes, StoragePublicPrefixRevoked, } from './storagePublicPrefixes.ts';
26
+ export type { GetStoredAssemblyResultsOptions, StoredAssemblyResult, StoredAssetUrlOptions, } from './storageResults.ts';
18
27
  export { buildCompileAssemblyInstructionsSystemPrompt, CompileAssemblyInstructionsError, parseCompileAssemblyInstructionsResponse, } from '@transloadit/utils';
19
28
  export { HTTPError, MaxRedirectsError, ParseError, ReadError, RequestError, TimeoutError, UploadError, } from 'got';
20
29
  export { extractFieldNamesFromTemplate } from './alphalib/stepParsing.ts';
@@ -132,6 +141,8 @@ type AuthToken = {
132
141
  authSecret?: string;
133
142
  };
134
143
  type BaseOptions = {
144
+ /** Use signatureAlgorithm: 'sha256' for new combined Smart CDN/Assembly keys; legacy default: sha384. */
145
+ signatureAlgorithm?: SignatureAlgorithm;
135
146
  endpoint?: string;
136
147
  maxRetries?: number;
137
148
  timeout?: number;
@@ -141,6 +152,7 @@ type BaseOptions = {
141
152
  };
142
153
  export type Options = BaseOptions & (AuthKeySecret | AuthToken);
143
154
  export declare class Transloadit {
155
+ #private;
144
156
  private _authKey;
145
157
  private _authSecret;
146
158
  private _authToken;
@@ -151,9 +163,37 @@ export declare class Transloadit {
151
163
  private _clientName;
152
164
  private _lastUsedAssemblyUrl;
153
165
  private _validateResponses;
166
+ /** Create a client; new combined keys require signatureAlgorithm: 'sha256' explicitly. */
154
167
  constructor(opts: Options);
155
168
  getLastUsedAssemblyUrl(): string;
156
169
  setDefaultTimeout(timeout: number): void;
170
+ /** Stores one local original at an explicit path and returns its verified image metadata. */
171
+ storeImage(filePath: string, options: StoreImageOptions): Promise<StoredImageReceipt>;
172
+ /** Reconstructs a verified receipt from authoritative Assembly status and trusted upload facts. */
173
+ getStoredImageReceipt(options: GetStoredImageReceiptOptions): Promise<StoredImageReceipt>;
174
+ /** Verifies a completed batch's retained media and preserves result/input provenance. */
175
+ getStoredAssemblyResults(options: GetStoredAssemblyResultsOptions): Promise<StoredAssemblyResult[]>;
176
+ /** Signs exact original bytes after your app authorizes the asset. Use a 307 for fresh request-time authorization. */
177
+ getStoredAssetUrl(asset: StoredAsset, options?: StoredAssetUrlOptions): string;
178
+ /** Reads a live asset's current version, or the exact retained version when version_id is set. */
179
+ getStoredAsset(assetId: string, options?: GetStoredAssetOptions & {
180
+ signal?: AbortSignal;
181
+ }): Promise<StoredAsset>;
182
+ /** Reads one bounded catalog page without S3 credentials or a HEAD request per object. */
183
+ listStoredAssets(options?: ListStoredAssetsOptions & {
184
+ signal?: AbortSignal;
185
+ }): Promise<StoredAssetsPage>;
186
+ /** Moves or renames an asset natively, preserving asset and version identities. */
187
+ moveStoredAsset(assetId: string, options: MoveStoredAssetOptions & {
188
+ signal?: AbortSignal;
189
+ }): Promise<StoredAsset>;
190
+ /** Soft-deletes an asset by identity, making retained versions unavailable for new reads. */
191
+ deleteStoredAsset(assetId: string, options?: {
192
+ signal?: AbortSignal;
193
+ }): Promise<{
194
+ asset_id: string;
195
+ deleted_at: string;
196
+ }>;
157
197
  /**
158
198
  * Create an Assembly
159
199
  *
@@ -291,6 +331,8 @@ export declare class Transloadit {
291
331
  * @returns when the template is deleted
292
332
  */
293
333
  deleteTemplate(templateId: string): Promise<BaseResponse>;
334
+ /** Revoke the signing Auth Key itself, without granting access to other workspace keys. */
335
+ revokeOwnAuthKey(): Promise<void>;
294
336
  /**
295
337
  * Get an Assembly Template
296
338
  *
@@ -306,6 +348,18 @@ export declare class Transloadit {
306
348
  */
307
349
  listTemplates(params?: ListTemplatesParams): Promise<PaginationListWithCount<ListedTemplate>>;
308
350
  streamTemplates(params?: ListTemplatesParams): PaginationStream<ListedTemplate>;
351
+ /** Declare a directory public for unsigned Storage Built-ins. Requires dam:write scope. */
352
+ publishStoragePrefix(prefix: string, options?: {
353
+ signal?: AbortSignal;
354
+ }): Promise<StoragePublicPrefixDeclared>;
355
+ /** Revoke origin access to a public directory; cached or downloaded bytes cannot be recalled. */
356
+ unpublishStoragePrefix(prefix: string, options?: {
357
+ signal?: AbortSignal;
358
+ }): Promise<StoragePublicPrefixRevoked>;
359
+ /** List the workspace's explicitly public directories through the ordinary signed API. */
360
+ listPublicStoragePrefixes(options?: {
361
+ signal?: AbortSignal;
362
+ }): Promise<StoragePublicPrefixes>;
309
363
  /**
310
364
  * Get account Billing details for a specific month
311
365
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Transloadit.d.ts","sourceRoot":"","sources":["../src/Transloadit.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,KAAK,EACV,kCAAkC,EAClC,iCAAiC,EAClC,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAA8C,YAAY,EAAE,MAAM,KAAK,CAAA;AAGnF,OAAO,KAAK,EAEV,iBAAiB,EACjB,cAAc,EACf,MAAM,oCAAoC,CAAA;AAC3C,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,o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