You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using masto.js version 5.11.1 and React Native 0.71.6.
When I call the list functions of the timelines with pagination options like the docs say (limit, maxId, sinceId and minId) the request fails and leaves the following error:
WARN Possible Unhandled Promise Rejection (id: 0):
TypeError: Cannot assign to property 'search' which has only a getter
TypeError: Cannot assign to property 'search' which has only a getter
Here is the code used to call the function. Masto is accessed with a reducer, and the function works as expected when no parameters are passed.
Hi, thank you for reporting an issue. I'm sorry for the inconvenience.
I'm not very familiar with React Native, but one thing I've noticed is that it is throwing an error when Masto.js tried to use the search property of the URL object.
I'm trying my best to make Masto.js a framework-agnostic library, but since it is also used in browser environments, it assumes that the runtime is at least compatible with WHATWG APIs in order to reduce the bundle size.
Hello!
I am using masto.js version 5.11.1 and React Native 0.71.6.
When I call the list functions of the timelines with pagination options like the docs say (limit, maxId, sinceId and minId) the request fails and leaves the following error:
Here is the code used to call the function. Masto is accessed with a reducer, and the function works as expected when no parameters are passed.
The text was updated successfully, but these errors were encountered: