@campnetwork/origin 1.2.4 → 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 +2 -0
- package/dist/core.cjs +88 -70
- package/dist/core.d.ts +21 -1
- package/dist/core.esm.d.ts +21 -1
- package/dist/core.esm.js +79 -61
- package/dist/react/index.esm.d.ts +21 -1
- package/dist/react/index.esm.js +145 -7
- package/package.json +1 -1
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)`
|