@jambonz/mrf 0.1.0 → 0.1.1

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.
@@ -6,8 +6,8 @@ jobs:
6
6
  build:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - uses: actions/checkout@v4
10
- - uses: actions/setup-node@v4
9
+ - uses: actions/checkout@v5
10
+ - uses: actions/setup-node@v5
11
11
  with:
12
12
  node-version: 22.x
13
13
  - run: npm install
@@ -12,8 +12,8 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
 
14
14
  steps:
15
- - uses: actions/checkout@v4
16
- - uses: actions/setup-node@v4
15
+ - uses: actions/checkout@v5
16
+ - uses: actions/setup-node@v5
17
17
  with:
18
18
  node-version: lts/*
19
19
  registry-url: 'https://registry.npmjs.org'
package/lib/endpoint.js CHANGED
@@ -487,7 +487,7 @@ class Endpoint extends EventEmitter {
487
487
  if (data && typeof data.json === 'string') {
488
488
  try {
489
489
  payload = JSON.parse(data.json);
490
- } catch (err) {
490
+ } catch {
491
491
  payload = data.json;
492
492
  }
493
493
  } else if (data && data.body !== undefined) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/mrf",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "node --test",