@uploadista/react-native-core 0.0.11 → 0.0.12
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 +6 -6
- package/package.json +4 -4
package/dist/index.d.mts
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_runtime2 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";
|
|
@@ -306,7 +306,7 @@ declare function CameraUploadButton({
|
|
|
306
306
|
onError,
|
|
307
307
|
onCancel,
|
|
308
308
|
showProgress
|
|
309
|
-
}: CameraUploadButtonProps):
|
|
309
|
+
}: CameraUploadButtonProps): react_jsx_runtime2.JSX.Element;
|
|
310
310
|
//#endregion
|
|
311
311
|
//#region src/components/FileUploadButton.d.ts
|
|
312
312
|
interface FileUploadButtonProps {
|
|
@@ -337,7 +337,7 @@ declare function FileUploadButton({
|
|
|
337
337
|
onError,
|
|
338
338
|
onCancel,
|
|
339
339
|
showProgress
|
|
340
|
-
}: FileUploadButtonProps):
|
|
340
|
+
}: FileUploadButtonProps): react_jsx_runtime2.JSX.Element;
|
|
341
341
|
//#endregion
|
|
342
342
|
//#region src/components/GalleryUploadButton.d.ts
|
|
343
343
|
interface GalleryUploadButtonProps {
|
|
@@ -368,7 +368,7 @@ declare function GalleryUploadButton({
|
|
|
368
368
|
onError,
|
|
369
369
|
onCancel,
|
|
370
370
|
showProgress
|
|
371
|
-
}: GalleryUploadButtonProps):
|
|
371
|
+
}: GalleryUploadButtonProps): react_jsx_runtime2.JSX.Element;
|
|
372
372
|
//#endregion
|
|
373
373
|
//#region src/components/UploadList.d.ts
|
|
374
374
|
interface UploadListProps {
|
|
@@ -390,7 +390,7 @@ declare function UploadList({
|
|
|
390
390
|
onRemove,
|
|
391
391
|
onItemPress,
|
|
392
392
|
showRemoveButton
|
|
393
|
-
}: UploadListProps):
|
|
393
|
+
}: UploadListProps): react_jsx_runtime2.JSX.Element;
|
|
394
394
|
//#endregion
|
|
395
395
|
//#region src/hooks/use-upload.d.ts
|
|
396
396
|
type UploadStatus = "idle" | "uploading" | "success" | "error" | "aborted";
|
|
@@ -416,7 +416,7 @@ interface UploadProgressProps {
|
|
|
416
416
|
declare function UploadProgress({
|
|
417
417
|
state,
|
|
418
418
|
label
|
|
419
|
-
}: UploadProgressProps):
|
|
419
|
+
}: UploadProgressProps): react_jsx_runtime2.JSX.Element;
|
|
420
420
|
//#endregion
|
|
421
421
|
//#region src/client/create-uploadista-client.d.ts
|
|
422
422
|
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.12",
|
|
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/core": "0.0.
|
|
19
|
-
"@uploadista/client-core": "0.0.
|
|
18
|
+
"@uploadista/core": "0.0.12",
|
|
19
|
+
"@uploadista/client-core": "0.0.12"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": ">=16.8.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/react": ">=18.0.0",
|
|
33
33
|
"tsdown": "0.16.0",
|
|
34
|
-
"@uploadista/typescript-config": "0.0.
|
|
34
|
+
"@uploadista/typescript-config": "0.0.12"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsdown",
|