github towns-protocol/towns @towns-protocol/web3@1.0.1

9 hours ago

Patch Changes

  • #4845 d81db9a Thanks @miguel-nascimento! - Simplified cache key factory method names by removing the "Request" suffix. Methods like spaceInfoRequest(), getEntitlementsRequest(), and balanceOfRequest() are now simply spaceInfo(), getEntitlements(), and balanceOf().

  • #4845 d81db9a Thanks @miguel-nascimento! - Refactored cache mechanics to use skipCache option instead of invalidateCache. When skipCache is enabled, the cache bypasses reads but still writes fresh data to the cache while clearing stale entries.

  • #4845 d81db9a Thanks @miguel-nascimento! - Fixed crashes when calling ban(), unban(), or isBanned() on wallet addresses that don't own membership tokens. The isBanned() method now returns false for non-members instead of throwing, while ban() and unban() throw descriptive errors.

  • Updated dependencies []:

    • @towns-protocol/generated@1.0.1
    • @towns-protocol/utils@1.0.1

Don't miss a new towns release

NewReleases is sending notifications on new releases.