@shipstatic/drop 0.2.21 → 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/README.md
CHANGED
|
@@ -23,7 +23,7 @@ function Uploader() {
|
|
|
23
23
|
|
|
24
24
|
const handleUpload = async () => {
|
|
25
25
|
const files = drop.getFilesForUpload();
|
|
26
|
-
await ship.deployments.
|
|
26
|
+
await ship.deployments.upload(files);
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
return (
|
|
@@ -155,7 +155,7 @@ Pass files to Ship SDK:
|
|
|
155
155
|
|
|
156
156
|
```tsx
|
|
157
157
|
const files = drop.getFilesForUpload();
|
|
158
|
-
await ship.deployments.
|
|
158
|
+
await ship.deployments.upload(files);
|
|
159
159
|
```
|
|
160
160
|
|
|
161
161
|
## Testing
|
package/dist/index.cjs
CHANGED
|
@@ -11702,7 +11702,7 @@ var require_mime_db = __commonJS({
|
|
|
11702
11702
|
}
|
|
11703
11703
|
});
|
|
11704
11704
|
|
|
11705
|
-
// node_modules/.pnpm/@shipstatic+types@0.
|
|
11705
|
+
// node_modules/.pnpm/@shipstatic+types@0.7.0/node_modules/@shipstatic/types/dist/index.js
|
|
11706
11706
|
var ErrorType;
|
|
11707
11707
|
(function(ErrorType2) {
|
|
11708
11708
|
ErrorType2["Validation"] = "validation_failed";
|