@lunora/react 1.0.0-alpha.186 → 1.0.0-alpha.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/upload.d.mts +6 -5
- package/dist/upload.d.ts +6 -5
- package/package.json +3 -3
package/dist/upload.d.mts
CHANGED
|
@@ -13,11 +13,12 @@ export { RestrictionError, UploadControl, UploadError,
|
|
|
13
13
|
*
|
|
14
14
|
* The upload hooks re-exported here (`useUpload`, `useMultipartUpload`,
|
|
15
15
|
* `useTusUpload`, `useChunkedRestUpload`, `useFileInput`, `usePasteUpload`) hold
|
|
16
|
-
* their own state and need no `QueryClientProvider
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* upload
|
|
16
|
+
* their own state and need no `QueryClientProvider`, so Lunora's own `useQuery`
|
|
17
|
+
* and the visulima upload hooks coexist: the upload hooks never touch the query
|
|
18
|
+
* cache. `@visulima/storage-client`'s _data_ hooks (`useGetFileList` etc.) are
|
|
19
|
+
* not re-exported: they read files over `GET` on the upload route, which
|
|
20
|
+
* `@lunora/storage/upload` refuses (`405`). Read stored files through
|
|
21
|
+
* `ctx.storage` or a signed URL.
|
|
21
22
|
*/
|
|
22
23
|
type UploadRestrictions } from '@visulima/storage-client';
|
|
23
24
|
export { type UploadMethod, type UploadResult, type UseChunkedRestUploadOptions, type UseChunkedRestUploadReturn, type UseFileInputOptions, type UseFileInputReturn, type UseMultipartUploadOptions, type UseMultipartUploadReturn, type UsePasteUploadOptions, type UsePasteUploadReturn, type UseTusUploadOptions, type UseTusUploadReturn, type UseUploadOptions, type UseUploadReturn, useChunkedRestUpload, useFileInput, useMultipartUpload, usePasteUpload, useTusUpload, useUpload } from '@visulima/storage-client/react';
|
package/dist/upload.d.ts
CHANGED
|
@@ -13,11 +13,12 @@ export { RestrictionError, UploadControl, UploadError,
|
|
|
13
13
|
*
|
|
14
14
|
* The upload hooks re-exported here (`useUpload`, `useMultipartUpload`,
|
|
15
15
|
* `useTusUpload`, `useChunkedRestUpload`, `useFileInput`, `usePasteUpload`) hold
|
|
16
|
-
* their own state and need no `QueryClientProvider
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* upload
|
|
16
|
+
* their own state and need no `QueryClientProvider`, so Lunora's own `useQuery`
|
|
17
|
+
* and the visulima upload hooks coexist: the upload hooks never touch the query
|
|
18
|
+
* cache. `@visulima/storage-client`'s _data_ hooks (`useGetFileList` etc.) are
|
|
19
|
+
* not re-exported: they read files over `GET` on the upload route, which
|
|
20
|
+
* `@lunora/storage/upload` refuses (`405`). Read stored files through
|
|
21
|
+
* `ctx.storage` or a signed URL.
|
|
21
22
|
*/
|
|
22
23
|
type UploadRestrictions } from '@visulima/storage-client';
|
|
23
24
|
export { type UploadMethod, type UploadResult, type UseChunkedRestUploadOptions, type UseChunkedRestUploadReturn, type UseFileInputOptions, type UseFileInputReturn, type UseMultipartUploadOptions, type UseMultipartUploadReturn, type UsePasteUploadOptions, type UsePasteUploadReturn, type UseTusUploadOptions, type UseTusUploadReturn, type UseUploadOptions, type UseUploadReturn, useChunkedRestUpload, useFileInput, useMultipartUpload, usePasteUpload, useTusUpload, useUpload } from '@visulima/storage-client/react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/react",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.188",
|
|
4
4
|
"description": "React hooks for Lunora: useQuery, useMutation, useSubscription, and useAuth",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@lunora/client": "1.0.0-alpha.
|
|
60
|
+
"@lunora/client": "1.0.0-alpha.176",
|
|
61
61
|
"@lunora/errors": "1.0.0-alpha.50",
|
|
62
62
|
"@lunora/ratelimit": "1.0.0-alpha.110",
|
|
63
|
-
"@visulima/storage-client": "1.0.
|
|
63
|
+
"@visulima/storage-client": "1.0.5"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@tanstack/react-query": "^5.101.0",
|