@lunora/react 1.0.0-alpha.30 → 1.0.0-alpha.31

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/index.d.mts CHANGED
@@ -5,6 +5,8 @@ import { QueryClient } from '@tanstack/react-query';
5
5
  export { type L as LunoraQueryOptions, l as lunoraQueryOptions } from "./packem_shared/query-options.d-CdgGQ9s4.mjs";
6
6
  import { PaginationStatus } from '@lunora/client/pagination';
7
7
  export type { PaginationResult, PaginationStatus } from '@lunora/client/pagination';
8
+ export { RestrictionError, UploadControl, UploadError, type UploadRestrictions } from '@visulima/storage-client';
9
+ 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';
8
10
  import { RateLimitStatus, RateLimitConfig } from '@lunora/ratelimit';
9
11
  interface AuthGateProps {
10
12
  children: ReactNode;
package/dist/index.d.ts CHANGED
@@ -5,6 +5,8 @@ import { QueryClient } from '@tanstack/react-query';
5
5
  export { type L as LunoraQueryOptions, l as lunoraQueryOptions } from "./packem_shared/query-options.d-CdgGQ9s4.js";
6
6
  import { PaginationStatus } from '@lunora/client/pagination';
7
7
  export type { PaginationResult, PaginationStatus } from '@lunora/client/pagination';
8
+ export { RestrictionError, UploadControl, UploadError, type UploadRestrictions } from '@visulima/storage-client';
9
+ 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';
8
10
  import { RateLimitStatus, RateLimitConfig } from '@lunora/ratelimit';
9
11
  interface AuthGateProps {
10
12
  children: ReactNode;
package/dist/index.mjs CHANGED
@@ -25,3 +25,5 @@ export { useStream } from './packem_shared/useStream-GYNgc9J5.mjs';
25
25
  export { default as useSubscription } from './packem_shared/useSubscription-DcDlvVuI.mjs';
26
26
  export { useVoiceAgent } from './packem_shared/useVoiceAgent-w7fzAMSB.mjs';
27
27
  export { createClientQuery, getErrorCode, getRetryAfterMs, isConflictError, isForbiddenError, isRateLimitedError, isUnauthorizedError } from '@lunora/client';
28
+ export { RestrictionError, UploadControl, UploadError } from '@visulima/storage-client';
29
+ export { useChunkedRestUpload, useFileInput, useMultipartUpload, usePasteUpload, useTusUpload, useUpload } from '@visulima/storage-client/react';
@@ -0,0 +1,2 @@
1
+ export { RestrictionError, UploadControl, UploadError, type UploadRestrictions } from '@visulima/storage-client';
2
+ 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';
@@ -0,0 +1,2 @@
1
+ export { RestrictionError, UploadControl, UploadError, type UploadRestrictions } from '@visulima/storage-client';
2
+ 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';
@@ -0,0 +1,3 @@
1
+ 'use client';
2
+ export { RestrictionError, UploadControl, UploadError } from '@visulima/storage-client';
3
+ export { 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.30",
3
+ "version": "1.0.0-alpha.31",
4
4
  "description": "React hooks for Lunora: useQuery, useMutation, useSubscription, and useAuth",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -43,15 +43,20 @@
43
43
  "types": "./dist/server.d.ts",
44
44
  "import": "./dist/server.mjs"
45
45
  },
46
+ "./upload": {
47
+ "types": "./dist/upload.d.ts",
48
+ "import": "./dist/upload.mjs"
49
+ },
46
50
  "./package.json": "./package.json"
47
51
  },
48
52
  "publishConfig": {
49
53
  "access": "public"
50
54
  },
51
55
  "dependencies": {
52
- "@lunora/client": "1.0.0-alpha.26",
53
- "@lunora/errors": "1.0.0-alpha.6",
54
- "@lunora/ratelimit": "1.0.0-alpha.9"
56
+ "@lunora/client": "1.0.0-alpha.27",
57
+ "@lunora/errors": "1.0.0-alpha.7",
58
+ "@lunora/ratelimit": "1.0.0-alpha.9",
59
+ "@visulima/storage-client": "1.0.0"
55
60
  },
56
61
  "peerDependencies": {
57
62
  "@tanstack/react-query": "^5.101.0",