OptionaljwtStandardized error handler for all SDK operations.
Standardized error object with properties: data, message, method, params, sdkMethod, stack, status, success, url
This method processes errors from API calls and formats them consistently across the SDK. It extracts relevant error information including:
All errors thrown by SDK methods flow through this handler to ensure consistent error format.
Returns the configured Axios instance for making API calls to Topia's Public API.
The configured Axios client instance with authentication headers.
Retrieve all visitors currently in a world.
OptionalshouldIncludeAdminPermissions: booleanReturns the an object containing current visitors keyed by visitorId or an error.
Retrieve all visitors currently in a Landmark Zone.
Returns the an object containing current visitors keyed by visitorId or an error.
Move all visitors currently in a world to a single set of coordinates.
Updates each Visitor instance and worldActivity.visitors map.
Teleport or walk a list of visitors currently in a world to various coordinates.
Updates each Visitor instance and worldActivity.visitors map.
Create an instance of WorldActivity class with a given url slug and optional attributes and session credentials.
Remarks
This class is responsible for all activity of a specified world including editing dropped assets, moving current visitors, etc.
Example