Skip to content

Default export is not a function since 4.23.1 #1515

Closed
@peeterkask

Description

@peeterkask

Hi

We are getting an error since upgrading to @algolia/recommend version 4.23.1. Previous version 4.23.0 seems to be ok.

Very basic client initialization fails:

import algoliarecommend from '@algolia/recommend';

const client = algoliarecommend(
  ...,
  ...
);

with error:

const client = algoliarecommend(
                               ^
TypeError: (0 , recommend_1.default) is not a function

Metadata

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