@uppy/examples: update transloadit example (#6238)

discovered while testing the `@uppy/transloadit` plugin 
ideally these examples should have been updated in
c4455ebba
This commit is contained in:
Prakash 2026-03-21 11:45:17 +05:30 committed by GitHub
parent a86c6240f4
commit 1b4c246034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,9 +50,11 @@ const formUppy = new Uppy({
})
.use(Transloadit, {
waitForEncoding: true,
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
assemblyOptions: {
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
},
},
})
@ -100,9 +102,11 @@ const formUppyWithDashboard = new Uppy({
})
.use(Transloadit, {
waitForEncoding: true,
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
assemblyOptions: {
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
},
},
})
@ -129,9 +133,11 @@ const dashboard = new Uppy({
.use(ImageEditor, { target: Dashboard })
.use(Transloadit, {
waitForEncoding: true,
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
assemblyOptions: {
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
},
},
})
@ -151,9 +157,11 @@ const dashboardModal = new Uppy({
.use(ImageEditor, { target: Dashboard })
.use(Transloadit, {
waitForEncoding: true,
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
assemblyOptions: {
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
},
},
})
@ -182,9 +190,11 @@ const uppyWithoutUI = new Uppy({
},
}).use(Transloadit, {
waitForEncoding: true,
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
assemblyOptions: {
params: {
auth: { key: TRANSLOADIT_KEY },
template_id: TEMPLATE_ID,
},
},
})