Fix documentation

This commit is contained in:
Arnaud 2025-03-26 18:27:22 +01:00
parent 7b8fcc449b
commit 6f6cabda06
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663

View File

@ -8,7 +8,7 @@ The SDK is currently under early development and the API can change at any time.
## Breaking changes
- Version 0.1.0 introduce upload strategy to support browser and Node JS.
- Version 0.1.0 introduces [upload strategy](#upload) to support browser and Node JS.
## How to use
@ -276,7 +276,7 @@ const space = await data.space();
Upload a file in a streaming manner
## Browser
#### Browser
- stategy [BrowserUploadStategy](./src/data/browser-upload.ts#L5)
- returns [UploadResponse](./src/data/types.ts#L80)
@ -306,7 +306,7 @@ if (res.error) {
console.info("CID is", res.data);
```
## Node
#### Node
- stategy [NodeUploadStategy](./src/data/node-download.ts#L8)
- returns [UploadResponse](./src/data/types.ts#L80)