Releases: cartridge-gg/arcade
Releases · cartridge-gg/arcade
v0.3.14-preview.1
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
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
v0.3.13-preview.1
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
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
feat(marketplace): fetch orders by id (#266)
v0.3.11
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
feat(marketplace): add ownership verification to listCollectionListin…
v0.3.9
feat(client): dashboard (#252) * feat(client): dashboard * feat(client): game and edition form
v0.3.8
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