-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
is: documentationImprovements or additions to documentationImprovements or additions to documentationis: enhancementNew feature or requestNew feature or request
Milestone
Description
Creating an issue for tracking planned features, deprecated apis, etc for version 2.1 of the library.
The goal is to maintain backwards compatibility for clients that have moved to 2.0 for the time being, while improving the interface and capabilities for new or future users. Anything marked as deprecated will not be removed until a 3.0 release.
- Add client option to return all arguments for any event as an object, instead of positional parameters.
- Requires opting in on the Client object, otherwise returns the positional arguments instead of an object.
- A deprecation warning to be displayed that the positional parameters version will be removed in version 3.0, where it will become the default.
- On the
MessageEvents.messageevent, include a property with the event type, for easy filtering without setting up event listeners for all other message types. - Create a "ready" system for all managers after initial connection to before
Client.loginresolves, especially for cases where data needs to be fetched from storage.- Deprecate
ItemEvents.hintsInitializedafter this, since it should use the ready system and thus will never be needed as the client won't resolve until all hints are loaded (to be removed in 3.0.0).
- Deprecate
- Add events for the following scenarios:
- A player's status changed.
- Expose the underlying network item object on
Itemas needed. - Ensure all items, players, and hints pass equality checks.
- Add support for extending client capabilities via user-defined manager objects.
- Create an example with the Gifting Specification and create npm package.
- Add known extensions to documentation.
More potentially to come.
Metadata
Metadata
Assignees
Labels
is: documentationImprovements or additions to documentationImprovements or additions to documentationis: enhancementNew feature or requestNew feature or request