fix: ditch files v0

This commit is contained in:
Calum H. (IMB11)
2026-06-26 17:09:23 +01:00
parent 2e08fe7950
commit ef07172006
21 changed files with 308 additions and 380 deletions
+2 -1
View File
@@ -147,7 +147,8 @@ Built-in features include authentication, node auth, retries, circuit breaking,
Upload endpoints return an `UploadHandle<T>` with progress and cancellation support:
```ts
const upload = client.kyros.files_v0.uploadFile(path, file)
await client.kyros.files_v1.ensureFile(worldId, path)
const upload = client.kyros.files_v1.uploadFile(worldId, path, file)
upload.onProgress(({ progress }) => {
console.log(Math.round(progress * 100))