@enkeldigital/ce-search-lib
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@enkeldigital/ce-search-lib", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "ClassExpress Search library, is a customised wrapper around the algolia service for CE specific use.", | ||
"main": "./src/index.js", | ||
"files": ["/src"], | ||
"files": [ | ||
"/src" | ||
], | ||
"scripts": { | ||
"publish": "npm publish --access public", | ||
"publish:npm": "npm publish --access public", | ||
"test": "npx mocha --exit", | ||
@@ -10,0 +12,0 @@ "lint:js": "npx eslint --ignore-path .gitignore --fix **/*.js" |
@@ -11,3 +11,3 @@ /** | ||
const add = async (searchObjects, prependedString) => | ||
executeSearchOperation(_add, prependedString, searchObjects); | ||
executeSearchOperation(_add, searchObjects, prependedString); | ||
@@ -14,0 +14,0 @@ // @todo Might want to add a custom bulk addition method |
@@ -15,4 +15,4 @@ /** | ||
const update = async (searchObjects, prependedString) => | ||
executeSearchOperation(_update, prependedString, searchObjects); | ||
executeSearchOperation(_update, searchObjects, prependedString); | ||
module.exports = { _update, update }; |
6489