@miso.ai/server-commons 0.6.6-beta.12 → 0.6.6-beta.14

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.
package/package.json CHANGED
@@ -24,5 +24,5 @@
24
24
  "uuid": "^9.0.0",
25
25
  "yargs": "^17.5.1"
26
26
  },
27
- "version": "0.6.6-beta.12"
27
+ "version": "0.6.6-beta.14"
28
28
  }
@@ -107,7 +107,7 @@ export default class BufferedReadStream extends Readable {
107
107
  let index = 0;
108
108
  for (const record of records) {
109
109
  terminate = terminate || strategy.terminate(record, state, request, index);
110
- if (!terminate && this._filter(record)) {
110
+ if (!terminate && this._filter(record, state, request, index)) {
111
111
  state.accept();
112
112
  accepted.push(this._transform(record));
113
113
  }