
This was the first commit, containing the necessary code to communicate with api2.warera.io, a Rate Limiter, and allowing for both input and response type handling.
Improved ReadMe.md docs
This is the first big update of the project.
The Auto-Pagination allows the developer to quickly iterate through "Pages" when calling an endpoint using a cursor
With the new loop strategy, you could immediately use the incoming data as the next was being fetched.
From this point on, the data fetching started improving drastically, as you could call fetches without waiting for it to be resolved.
The goal of the package is to do less work, meaning that configuration should also be less.
This update changed options to be optional, replacing expected values as defaults.
At this stage, one would only need to provide an API key to get started.
In some cases, the client would not work, if you did not provide an empty object.
This was fixed.
This button has never been used, it is what it is.
This update improved the communication speeds drastically with the server.
Instead of sending a long GET request to the server, you can now send a smaller URL with a larger Payload.
The client does a check for 16000 characters in the URL, before splitting it up into different requests, the responses are combined later on and returned as one object.
Benchmark tests were added.
The client received a batch logger, allowing the developer to debug the batch requests.
The application used a dependency which could only be run on a server.
Update function names for easier use.
Benchmark updated: Instead of waiting for a promise to complete, continue the loop.
Added Missing Endpoints.
Created standard for future missing endpoints.
Added retry fallback support for batched tRPC requests, including configurable retry behavior for dropped connections and transient HTTP failures. Expands endpoint coverage across generated API types, fallback collection workflows, and custom endpoint typings, adding support for item offers, user lookup, battle orders/loot summaries, inventory equipment, mercenary auctions, donations, elections, MU members, trading orders, work stats, wage stats, party pagination, and company production bonuses.
The server imposed a new Batch Limit, where it can only go up to 50 requests per batch.
This patch resolves that issue
At the start of this week, I asked for suggestions. There were some good suggestions, so here is the plan:
Alternative Rate Limit Setups
Allow Requests to be Aborted
Integrate with the Gateway for Caching
Manage a Client Singleton to be used anywhere in your project.
Generate Documentation for Public Use
Allow Client to return a Status Code based on Server Availability
Fast Fetching Algorithm for Cursor-based endpoints.
Chat with me on Discord