@uploadista/react-native-core 0.0.7 → 0.0.8
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.ts +6 -6
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react0 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { UploadFile } from "@uploadista/core/types";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
5
5
|
import * as _uploadista_client_core0 from "@uploadista/client-core";
|
|
6
6
|
import { Base64Service, ConnectionMetrics, ConnectionPoolConfig, ConnectionPoolConfig as ConnectionPoolConfig$1, DetailedConnectionMetrics, FileReaderService, HttpClient, IdGenerationService, ServiceContainer, ServiceContainer as ServiceContainer$1, StorageService, UploadistaClientOptions, UploadistaEvent } from "@uploadista/client-core";
|
|
7
7
|
import * as _uploadista_core0 from "@uploadista/core";
|
|
@@ -294,7 +294,7 @@ declare function CameraUploadButton({
|
|
|
294
294
|
onError,
|
|
295
295
|
onCancel,
|
|
296
296
|
showProgress
|
|
297
|
-
}: CameraUploadButtonProps):
|
|
297
|
+
}: CameraUploadButtonProps): react_jsx_runtime1.JSX.Element;
|
|
298
298
|
//#endregion
|
|
299
299
|
//#region src/components/FileUploadButton.d.ts
|
|
300
300
|
interface FileUploadButtonProps {
|
|
@@ -325,7 +325,7 @@ declare function FileUploadButton({
|
|
|
325
325
|
onError,
|
|
326
326
|
onCancel,
|
|
327
327
|
showProgress
|
|
328
|
-
}: FileUploadButtonProps):
|
|
328
|
+
}: FileUploadButtonProps): react_jsx_runtime1.JSX.Element;
|
|
329
329
|
//#endregion
|
|
330
330
|
//#region src/components/GalleryUploadButton.d.ts
|
|
331
331
|
interface GalleryUploadButtonProps {
|
|
@@ -356,7 +356,7 @@ declare function GalleryUploadButton({
|
|
|
356
356
|
onError,
|
|
357
357
|
onCancel,
|
|
358
358
|
showProgress
|
|
359
|
-
}: GalleryUploadButtonProps):
|
|
359
|
+
}: GalleryUploadButtonProps): react_jsx_runtime1.JSX.Element;
|
|
360
360
|
//#endregion
|
|
361
361
|
//#region src/components/UploadList.d.ts
|
|
362
362
|
interface UploadListProps {
|
|
@@ -378,7 +378,7 @@ declare function UploadList({
|
|
|
378
378
|
onRemove,
|
|
379
379
|
onItemPress,
|
|
380
380
|
showRemoveButton
|
|
381
|
-
}: UploadListProps):
|
|
381
|
+
}: UploadListProps): react_jsx_runtime1.JSX.Element;
|
|
382
382
|
//#endregion
|
|
383
383
|
//#region src/hooks/use-upload.d.ts
|
|
384
384
|
type UploadStatus = "idle" | "uploading" | "success" | "error" | "aborted";
|
|
@@ -404,7 +404,7 @@ interface UploadProgressProps {
|
|
|
404
404
|
declare function UploadProgress({
|
|
405
405
|
state,
|
|
406
406
|
label
|
|
407
|
-
}: UploadProgressProps):
|
|
407
|
+
}: UploadProgressProps): react_jsx_runtime1.JSX.Element;
|
|
408
408
|
//#endregion
|
|
409
409
|
//#region src/client/create-uploadista-client.d.ts
|
|
410
410
|
interface UploadistaClientOptions$1 extends Omit<UploadistaClientOptions<ReactNativeUploadInput>, "webSocketFactory" | "abortControllerFactory" | "generateId" | "clientStorage" | "logger" | "httpClient" | "fileReader" | "base64"> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uploadista/react-native-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Core React Native client for Uploadista",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"uuid": "^13.0.0",
|
|
17
17
|
"js-base64": "^3.7.7",
|
|
18
|
-
"@uploadista/
|
|
19
|
-
"@uploadista/core": "0.0.
|
|
18
|
+
"@uploadista/core": "0.0.8",
|
|
19
|
+
"@uploadista/client-core": "0.0.8"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": ">=16.8.0",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/react": ">=18.0.0",
|
|
33
|
-
"tsdown": "0.15.
|
|
34
|
-
"@uploadista/typescript-config": "0.0.
|
|
33
|
+
"tsdown": "0.15.10",
|
|
34
|
+
"@uploadista/typescript-config": "0.0.8"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsdown",
|