@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 CHANGED
@@ -23,7 +23,7 @@ function Uploader() {
23
23
 
24
24
  const handleUpload = async () => {
25
25
  const files = drop.getFilesForUpload();
26
- await ship.deployments.create(files);
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.create(files);
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.6.0/node_modules/@shipstatic/types/dist/index.js
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";