You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (error instanceof ApiError &&error.response.assembly_id) {
88
88
console.error(
89
-
"Troubleshoot at https://transloadit.com/c/assemblies/"+
89
+
'Troubleshoot at https://transloadit.com/c/assemblies/'+
90
90
error.response.assembly_id
91
-
);
91
+
)
92
92
}
93
-
throw error;
93
+
throw error
94
94
}
95
95
```
96
96
@@ -103,18 +103,18 @@ try {
103
103
authKey,
104
104
authSecret,
105
105
validateResponses:true,
106
-
});
106
+
})
107
107
```
108
108
109
109
- `getSignedSmartCDNUrl` generates Smart CDN URLs with signatures that match the server-side implementation:
110
110
111
111
```ts
112
112
constsignedUrl=transloadit.getSignedSmartCDNUrl({
113
-
workspace:"my-team",
114
-
template:"hero-image",
115
-
input:"landing.jpg",
116
-
urlParams: { format:"webp" },
117
-
});
113
+
workspace:'my-team',
114
+
template:'hero-image',
115
+
input:'landing.jpg',
116
+
urlParams: { format:'webp' },
117
+
})
118
118
```
119
119
120
120
## 6. Removed `createAssembly` callback support
@@ -135,7 +135,7 @@ As a consequence of upgrading `got` to v14, the `gotRetry` option no longer acce
135
135
136
136
## Testing & troubleshooting
137
137
138
-
- Run your existing integration tests on Node 20+. If you relied on CommonJS `require`, convert those modules or wrap calls in `import()` shims as shown above.
138
+
- Run your existing e2e tests on Node 20+. If you relied on CommonJS `require`, convert those modules or wrap calls in `import()` shims as shown above.
139
139
- If TypeScript raises errors about unfamiliar properties, import the respective types from `transloadit` instead of redefining them.
140
140
- Schemas intentionally mirror the current public API. Some properties remain permissive while we tighten validation in the API itself; report gaps if the SDK raises or misses invalid data.
0 commit comments