Skip to content

Need axiosAdapter for Fetch to use on Cloudflare Workers #228

Open
@isaacrowntree

Description

Description

Typesense Client https://github.com/typesense/typesense-js/releases/tag/v2.0.0-14 has support for the axiosAdapter without which the older client version is currently breaking our Cloudflare Worker react-instantsearch-nextjs functionality. This adapter uses the older v1 client.

Steps to reproduce

When using the react-instantsearch-nextjs adapter on Cloudflare Workers you see this error message:

Screenshot 2025-01-15 at 1 25 03 pm

This is because it uses standard Axios in the background instead of Axios Fetch. I need it to use Axios Fetch.

Expected Behavior

I want SSR rendering on NextJS Cloudflare Pages. Without it none of our page links work because our routing logic isn't being picked up. I expect the nextjs adapter to read our page routes and be search engine friendly.

Actual Behavior

I am seeing an error message on Cloudflare Pages when trying to load search.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions