netkitty 0.0.23 → 0.0.24

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.
@@ -9,7 +9,7 @@ const pcapWrite = new PcapWriter_1.PcapWriter({
9
9
  });
10
10
  const bindingCapture = new BindingCapture_1.BindingCapture({
11
11
  iface: process.env.captureDevice,
12
- filter: process.env.captureFilter
12
+ filter: process.env.captureFilter ? process.env.captureFilter : ''
13
13
  });
14
14
  const pipeClient = new PipeClient_1.PipeClient({
15
15
  id: process.env.captureWorkerId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "netkitty",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "Network tools kit",
5
5
  "exports": {
6
6
  "./network": {
@@ -11,7 +11,7 @@ const pcapWrite: PcapWriter = new PcapWriter({
11
11
 
12
12
  const bindingCapture: BindingCapture = new BindingCapture({
13
13
  iface: process.env.captureDevice!,
14
- filter: process.env.captureFilter
14
+ filter: process.env.captureFilter ? process.env.captureFilter : ''
15
15
  })
16
16
 
17
17
  const pipeClient: PipeClient = new PipeClient({