1.0.0
Version 1.0.0 brings some requested flexibility in how Sanity documents are fetched before you map them to Algolia records. It is now easy to resolve references. See the updated example in README.
Note that updating will require that you update your code slightly.
Before
const sanityAlgolia = indexer(
{
post: algoliaIndex
},
…
After
const sanityAlgolia = indexer(
{
post: {index: algoliaIndex}
},
…