@medialane/sdk 0.5.5 → 0.5.6

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
@@ -415,6 +415,35 @@ Built with:
415
415
 
416
416
  ## Changelog
417
417
 
418
+ ### v0.5.5
419
+ - **`extendRemixOffer(id, days, clerkToken)`** — requester extends expiry of a PENDING/AUTO_PENDING remix offer by 1–30 days (`POST /v1/remix-offers/:id/extend`)
420
+ - **`ApiRemixOfferPrice`** type — `{ raw, formatted, currency, decimals }` replaces flat `proposedPrice`/`proposedCurrency` fields on `ApiRemixOffer.price` (visible to participants only)
421
+
422
+ ### v0.5.4
423
+ - **`ApiRemixOffer.price`** shape introduced — backend now serializes price as a structured object (`raw`, `formatted`, `currency`, `decimals`) instead of raw wei strings
424
+
425
+ ### v0.5.3
426
+ - **`getTokenComments(contract, tokenId, opts?)`** — fetch on-chain NFT comments for a token (`GET /v1/tokens/:contract/:tokenId/comments`)
427
+ - **`ApiComment`** type — `{ id, author, content, txHash, blockNumber, blockTimestamp, isHidden, createdAt }`
428
+
429
+ ### v0.5.0
430
+ - **Counter-offer support** — `createCounterOfferIntent(params, clerkToken)`, `getCounterOffers(query)`, `ApiCounterOffersQuery`, `CreateCounterOfferIntentParams`
431
+ - **`OrderStatus`** extended with `"COUNTER_OFFERED"`; **`IntentType`** with `"COUNTER_OFFER"`
432
+ - **`ApiOrder`** extended: `parentOrderHash?: string | null`, `counterOfferMessage?: string | null`
433
+ - **Remix licensing** — full set of remix offer methods and types:
434
+ - `submitRemixOffer(params, clerkToken)` — custom offer
435
+ - `submitAutoRemixOffer(params, clerkToken)` — auto offer for open-license tokens
436
+ - `confirmSelfRemix(params, clerkToken)` — record owner self-remix
437
+ - `getRemixOffers(query, clerkToken)` — list by role
438
+ - `getRemixOffer(id, clerkToken?)` — single offer
439
+ - `confirmRemixOffer(id, params, clerkToken)` — creator approves
440
+ - `rejectRemixOffer(id, clerkToken)` — creator rejects
441
+ - `getTokenRemixes(contract, tokenId, opts?)` — public remix list
442
+ - **New types** — `RemixOfferStatus`, `ApiRemixOffer`, `ApiPublicRemix`, `OPEN_LICENSES`, `OpenLicense`, `CreateRemixOfferParams`, `AutoRemixOfferParams`, `ConfirmSelfRemixParams`, `ConfirmRemixOfferParams`, `ApiRemixOffersQuery`
443
+
444
+ ### v0.4.8
445
+ - **`ApiComment`** type + **`getTokenComments`** (patch release, backported into v0.5.3)
446
+
418
447
  ### v0.4.7
419
448
  - **`IPType`** union type exported — `"Audio" | "Art" | "Documents" | "NFT" | "Video" | "Photography" | "Patents" | "Posts" | "Publications" | "RWA" | "Software" | "Custom"`
420
449