@shipstatic/drop 0.2.22 → 0.2.24
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/README.md +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/{useDrop-ddRfHehl.d.cts → useDrop-BI_6TM4c.d.cts} +1 -1
- package/dist/{useDrop-ddRfHehl.d.ts → useDrop-BI_6TM4c.d.ts} +1 -1
- package/package.json +3 -3
package/dist/testing.d.cts
CHANGED
package/dist/testing.d.ts
CHANGED
|
@@ -42,7 +42,7 @@ interface ClientError {
|
|
|
42
42
|
interface ProcessedFile {
|
|
43
43
|
/** Unique identifier for React keys and tracking */
|
|
44
44
|
id: string;
|
|
45
|
-
/** The File object - pass this to ship.deployments.
|
|
45
|
+
/** The File object - pass this to ship.deployments.upload() */
|
|
46
46
|
file: File;
|
|
47
47
|
/** Relative path for deployment (e.g., "images/photo.jpg") */
|
|
48
48
|
path: string;
|
|
@@ -42,7 +42,7 @@ interface ClientError {
|
|
|
42
42
|
interface ProcessedFile {
|
|
43
43
|
/** Unique identifier for React keys and tracking */
|
|
44
44
|
id: string;
|
|
45
|
-
/** The File object - pass this to ship.deployments.
|
|
45
|
+
/** The File object - pass this to ship.deployments.upload() */
|
|
46
46
|
file: File;
|
|
47
47
|
/** Relative path for deployment (e.g., "images/photo.jpg") */
|
|
48
48
|
path: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipstatic/drop",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
4
4
|
"description": "Headless React hook for file dropping, processing, ZIP extraction, and validation - purpose-built for Ship SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@shipstatic/ship": "^0.
|
|
54
|
+
"@shipstatic/ship": "^0.7.0",
|
|
55
55
|
"jszip": "^3.10.1",
|
|
56
56
|
"mime-db": "^1.54.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@shipstatic/types": "^0.
|
|
59
|
+
"@shipstatic/types": "^0.7.0",
|
|
60
60
|
"@testing-library/jest-dom": "^6.9.1",
|
|
61
61
|
"@testing-library/react": "^16.3.2",
|
|
62
62
|
"@testing-library/user-event": "^14.6.1",
|