Initializes a new instance of the class with the specified configuration.
Optionalconfig: Partial<Config>The configuration object, partially overriding default settings.
Authenticate the current instance and store the token, allowing to access the protected endpoints. Requires either username or email along with a password.
Object with required fields.
User's credentials.
Auth.login if you want to get credentials without setting the instance's token.
Log out the current user by removing their authentication token.
Set or change the token value for the current instance.
The token string to be set.
Retrieve the current token value.
The token if available, otherwise undefined.
Update the existing configuration by merging the provided partial configuration object.
A partial configuration object containing the configuration properties to be updated.
ReadonlyauthProvides methods for creating and managing accounts
ReadonlymessagesProvides methods for receiving and sending user's messages
ReadonlypublicationsProvides methods for getting and manipulating market publications
ReadonlyreviewsProvides methods for receiving and publishing publication reviews
ReadonlystatisticsProvides methods for receiving market statistics and marking publications as downloaded
Main class for interacting with MineOS Market services.