@wolfstar/http-framework-utilities. It is the @wolfstar/http-framework counterpart of @sapphire/discord.js-utilities. For the weekly summary across all packages, see the changelog overview.
0.1.2 (2026-10-17)
Updates
@wolfstar/http-frameworkrange — The published peer range is now^6.4.0. npm still listed^6.0.0. (#332)
0.1.1 (2026-10-06)
Updates
- Dependencies — Updated all non-major dependencies. Updated
@wolfstar/discord-utilitiesto0.1.1(#253).
Bug fixes
@wolfstar/plugin-gatewaypeer range — The optional@wolfstar/plugin-gatewaypeer dependency is widened to>=0.8.0. The previous^0.8.0range reported an unmet peer for every newer release, including 0.11.0. (#281)
0.1.0
New features
- New package —
@wolfstar/http-framework-utilitiesadds type guards,app_permissions-based permission helpers,MessageBuilder,PaginatedMessage(with lazy and embed-field variants), andMessagePrompterfor@wolfstar/http-framework. (#239) - Session stores — Sessions live in a pluggable store with a required
scope.MemorySessionStoreis process-scoped;RedisSessionStoreis shared but rejects lazy pages, custom action callbacks, andMessagePrompter. UseregisterSessionStoreso every replica can find sessions kept in a per-instance shared store. - Timeouts and expiry —
PaginatedMessageandMessagePrompterclean up on timeout (timeoutBehavior: 'disable' | 'remove'), capped at the 14-minute interaction-token lifetime and falling back to bot REST after that for non-ephemeral messages. Expired or unknown sessions get disabled controls and an ephemeral notice, which you set process-wide withsetDefaultExpiredReplyand read withgetDefaultExpiredReply. - Safe concurrent clicks — Clicks on the same paginated message are handled one at a time per process, and
stopprevents a concurrent click from reviving the session. If saving fails, the current page stays and an ephemeral notice is sent, set withsetDefaultSaveFailedReply. Custom actions with aruncallback cannot reuse a built-in id (PaginatedMessageBuiltinActionIds). /gatewaysubpath — The optional@wolfstar/http-framework-utilities/gatewayentrypoint for@wolfstar/plugin-gatewayadds structure type guards, asynccan*permission helpers, theawaitMessagesandawaitReactionscollectors,GatewayPaginatedMessage(sendable to a gateway message or a channel), andGatewayMessagePrompterwith themessageandreactionstrategies.
Updates
- Dependencies — Updated
@wolfstar/discord-utilitiesto0.1.0.