@medialane/sdk 0.6.7 → 0.6.8
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 +6 -0
- package/dist/index.cjs +1271 -195
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +681 -11
- package/dist/index.d.ts +681 -11
- package/dist/index.js +1265 -195
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -442,6 +442,12 @@ Built with:
|
|
|
442
442
|
|
|
443
443
|
## Changelog
|
|
444
444
|
|
|
445
|
+
### v0.6.7
|
|
446
|
+
- **`CollectionRegistryABI`** exported from `@medialane/sdk` — minimal ABI covering `list_user_collections` and `get_collection` on the collection registry contract. Eliminates duplicated inline ABI definitions in consuming apps.
|
|
447
|
+
|
|
448
|
+
### v0.6.6
|
|
449
|
+
- **`COLLECTION_CONTRACT_MAINNET`** updated to audited v2 contract address `0x05c49ee5d3208a2c2e150fdd0c247d1195ed9ab54fa2d5dea7a633f39e4b205b`
|
|
450
|
+
|
|
445
451
|
### v0.6.5
|
|
446
452
|
- **ERC-1155 support** — `ApiToken.balances: ApiTokenBalance[] | null` replaces the single `owner` field for ownership checks
|
|
447
453
|
- **`ApiTokenBalance`** type — `{ owner: string; amount: string }` — each entry represents one holder and their quantity
|