@nxtedition/shared 1.4.1 → 1.4.2

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -180,7 +180,7 @@ export function writer({ sharedState, sharedBuffer }) {
180
180
  }
181
181
 
182
182
  const buf = Buffer.allocUnsafe(len)
183
- queue.push(buf.subarray(0, fn(0, buf)))
183
+ queue.push(buf.subarray(0, fn(buf, opaque)))
184
184
 
185
185
  return flush()
186
186
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/shared",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Ring Buffer for NodeJS cross Worker communication",
5
5
  "main": "index.js",
6
6
  "repository": {