Skip to content

Releases: cartridge-gg/arcade

v0.3.14-preview.1

23 Feb 07:22
c0355bc

Choose a tag to compare

v0.3.14-preview.1 Pre-release
Pre-release
feat: add missing storybook stories for high-priority components (#279)

* feat: add AchievementPinIcon story

* feat: add AchievementPinIcons story

* feat: add ActivityAchievementCard story

* feat: add AboutDetails story

* feat: add AchievementCard story

* feat: add ArcadeHeader story

* fix: add explicit button type to ArcadeHeader story

* fix: rename Error story to ErrorState to avoid shadowing global

v0.3.14-preview.0

22 Feb 08:32
c0355bc

Choose a tag to compare

v0.3.14-preview.0 Pre-release
Pre-release
feat: add missing storybook stories for high-priority components (#279)

* feat: add AchievementPinIcon story

* feat: add AchievementPinIcons story

* feat: add ActivityAchievementCard story

* feat: add AboutDetails story

* feat: add AchievementCard story

* feat: add ArcadeHeader story

* fix: add explicit button type to ArcadeHeader story

* fix: rename Error story to ErrorState to avoid shadowing global

v0.3.13

20 Feb 08:06
6b2346b

Choose a tag to compare

Refactor marketplace SDK for edge cacheability (#286)

* Refactor marketplace SDK for edge cacheability

* Fix arcade-ts format check failures

* feat(client): enable edge runtime config

v0.3.13-preview.1

20 Feb 06:21
4a976fd

Choose a tag to compare

v0.3.13-preview.1 Pre-release
Pre-release
fix: verify ownership on stale marketplace listings (#285)

* fix: verify ownership on stale marketplace listings

SDK (getToken):
- Add ownership verification to getToken() listings
- Cross-check on-chain token balances before returning listings
- Add expiration check (filter out expired orders)
- New verifyOwnership option (default: true)

Client (token detail page):
- Add collectionOrdersVerifiedAtom that cross-checks ownership
  via collectionOwnershipAtom (same pattern as verifiedCollectionOrdersAtom
  but returns OrderModel[] instead of ListingWithUsd[])
- Switch useTokenDetailViewModel to use collectionOrdersVerifiedAtom
  so token detail page no longer shows stale listings

Fixes: stale orders shown when NFT owner transfers token after listing

* fix: add collectionOrdersVerifiedAtom to test mock

v0.3.13-preview.0

19 Feb 10:52
3b23a40

Choose a tag to compare

v0.3.13-preview.0 Pre-release
Pre-release
refactor: migrate marketplace SDK react hooks to TanStack Query (#284)

* refactor: migrate marketplace SDK react hooks to TanStack Query

Replace custom useMarketplaceClientQuery/useStableValue/deepEqual
with @tanstack/react-query's useQuery, gaining:
- Automatic cache deduplication and stale-while-revalidate
- Built-in error/loading states (isSuccess, isError, isPending)
- Query key-based invalidation via marketplaceKeys factory
- Full TanStack Query options passthrough (staleTime, gcTime, etc.)

Breaking changes:
- Hook return types are now UseQueryResult<T, Error> instead of custom
  UseMarketplaceQueryResult<T>
- Second argument is now queryOptions object instead of boolean enabled
- Removed: deepEqual, useStableValue (handled by TQ key serialization)

New exports:
- marketplaceKeys: query key factory for external invalidation
- useInvalidateMarketplace / useInvalidateCollection: invalidation helpers

Updated consumer: marketplace-balances-fetcher.ts adapted to new API.

* docs: update marketplace SDK docs and example for TanStack Query

- Update README.md React section with TanStack Query patterns
- Document QueryClientProvider setup requirement
- Document queryOptions second argument (replaces boolean enabled)
- Document marketplaceKeys factory and invalidation helpers
- Update UseQueryResult return type references
- Update marketplace-react.tsx example

* fix: format marketplace-balances-fetcher

* fix: remove unused imports and fix TanStack Query status value

- Remove unused FetchTokenBalancesResult and UseQueryResult imports
- Fix status comparison: 'loading' → 'pending' (TanStack Query v5)

v0.3.12

16 Jan 09:30
20ec480

Choose a tag to compare

feat(marketplace): fetch orders by id (#266)

v0.3.11

14 Jan 14:17

Choose a tag to compare

feat(marketplace): add getFees and getRoyaltyFee to MarketplaceClient

- Add MarketplaceFees, RoyaltyFeeOptions, RoyaltyFee types
- Add getFees() to query Book model for marketplace fee config
- Add getRoyaltyFee() to call royalty_info on collection contracts
- Add useMarketplaceFees and useMarketplaceRoyaltyFee React hooks
- Update test mock with new methods

v0.3.10

14 Jan 10:34
4691490

Choose a tag to compare

feat(marketplace): add ownership verification to listCollectionListin…

v0.3.9

06 Jan 18:41
6a72329

Choose a tag to compare

feat(client): dashboard (#252)

* feat(client): dashboard

* feat(client): game and edition form

v0.3.8

10 Dec 14:41
5361d30

Choose a tag to compare

feat(client): improve grpc queries (#242)

* fix(client): metadata use grpc sql endpoint

* fix: optimize holders query with sql

* fix: optimize marketplace items loading

* fix(client): fetch metadata through grpc