superlock 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -57,7 +57,7 @@ It returns a function that can be used to wrap any code you want to execute with
57
57
  ```js
58
58
  const { withLock } = require('superlock')
59
59
 
60
- const lock = createLock()
60
+ const lock = withLock()
61
61
 
62
62
  await lock(() => {
63
63
  /* your code execution */
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "superlock",
3
3
  "description": "The most simple mutex/semaphore implementation",
4
4
  "homepage": "https://github.com/Kikobeats/superlock",
5
- "version": "1.0.7",
5
+ "version": "1.0.8",
6
6
  "main": "src/index.js",
7
7
  "exports": {
8
8
  ".": "./src/index.js",