Skip to content

Commit

Permalink
Update links in README and API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
a179346 committed Mar 3, 2024
1 parent 1a47b13 commit ea9366a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
## 🔗 Link
+ [Github](https://github.com/a179346/nextjs-chunk-upload-action#readme)
+ [npm](https://www.npmjs.com/package/nextjs-chunk-upload-action)
+ [API Reference](https://github.com/a179346/nextjs-chunk-upload-action/blob/main/docs/api-reference.md)

## 📥 Install

Expand Down
4 changes: 2 additions & 2 deletions docs/api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ onStatusChange?: (oldStatus, newStatus) => void
A callback that is called when the status of the uploader changes.

- __Parameters__
- oldStatus: [ChunkUploaderStatus](#status) | `undefined`
- newStatus: [ChunkUploaderStatus](#status)
- oldStatus: [ChunkUploaderStatus](#status---accessor) | `undefined`
- newStatus: [ChunkUploaderStatus](#status---accessor)

## ChunkFormData

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs-chunk-upload-action",
"version": "7.0.0",
"version": "7.1.0",
"description": "Uploading large files with chunking using server action in Next.js",
"main": "dist/index.js",
"scripts": {
Expand Down
8 changes: 7 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
/**
/*!
* nextjs-chunk-upload-action
*
* Uploading large files with chunking using server action in Next.js
*
* [GitHub]: https://github.com/a179346/nextjs-chunk-upload-action
* [npm]: https://www.npmjs.com/package/nextjs-chunk-upload-action
* [API Reference]: https://github.com/a179346/nextjs-chunk-upload-action/blob/main/docs/api-reference.md
*/

export type Primitive = string | boolean | number | undefined | null;
Expand Down

0 comments on commit ea9366a

Please sign in to comment.