The clinical-trials-search-client.js package will not be updated for CTS API v2. (It is a pain to keep updated, it really is unnecessary, and it does not even cover all of the endpoints needed.) The CTS Middleware is entirely based on the CTS client. Fetchers will need to be implemented for v2 for each of the store actions having to do with the CTS API.
The clinical-trials-search-client.js package will not be updated for CTS API v2. (It is a pain to keep updated, it really is unnecessary, and it does not even cover all of the endpoints needed.) The CTS Middleware is entirely based on the CTS client. Fetchers will need to be implemented for v2 for each of the store actions having to do with the CTS API.