@campnetwork/origin 1.2.3 → 1.2.5

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
@@ -988,6 +988,8 @@ Uploads a file and mints an IpNFT for it.
988
988
  - `license`: LicenseTerms object
989
989
  - `parents`: Optional array of parent token IDs for derivatives
990
990
  - `options.progressCallback`: Optional progress callback
991
+ - `options.previewImage`: Optional preview image file
992
+ - `options.useAssetAsPreview`: Optional flag to use the uploaded asset as the preview image - only for image files
991
993
  - **Returns:** Minted token ID as a string, or throws on failure
992
994
 
993
995
  #### `mintSocial(source, metadata, license)`