Socket
Socket
Sign inDemoInstall

atomic-algolia

Package Overview
Dependencies
5
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.11 to 0.3.12

4

lib/update.js

@@ -20,2 +20,6 @@ var actionAdd = require("./utils/actionAdd")

throw new Error("Please provide `indexData`. A valid Javacript object or path to a JSON file.")
if (typeof options === "function" && typeof cb !== "function") {
cb = options
}

@@ -22,0 +26,0 @@ var client = algoliaSearch(

2

package.json
{
"name": "atomic-algolia",
"version": "0.3.11",
"version": "0.3.12",
"description": "An NPM package for running atomic updates to an Algolia index",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

# Algolia Atomic
An NPM package for running atomic updates to an Algolia index
An NPM package for running atomic updates to Algolia indices
## How it works
This package runs *atomic* updates to an Algolia Index. **What does that mean?**
This package runs *atomic* updates to Algolia Indices. **What does that mean?**

@@ -77,3 +77,3 @@ Simply put, this package reads your local index, and updates the *new* or *updated* records, while removing deleted records.

```
ALGOLIA_APP_ID={{ YOUR_APP_ID}} ALGOLIA_ADMIN_KEY={{ YOUR_ADMIN_KEY }} YOUR_SCRIPT.js
ALGOLIA_APP_ID={{ YOUR_APP_ID}} ALGOLIA_ADMIN_KEY={{ YOUR_ADMIN_KEY }} node YOUR_SCRIPT.js
```

@@ -100,3 +100,3 @@

atomicalgolia(indexName, indexPath, cb)
atomicalgolia(indexName, indexData, cb)
```

@@ -107,3 +107,3 @@

```
ALGOLIA_APP_ID={{ YOUR_APP_ID}} ALGOLIA_ADMIN_KEY={{ YOUR_ADMIN_KEY }} YOUR_SCRIPT.js
ALGOLIA_APP_ID={{ YOUR_APP_ID}} ALGOLIA_ADMIN_KEY={{ YOUR_ADMIN_KEY }} node YOUR_SCRIPT.js
```

@@ -110,0 +110,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc