@jambonz/time-series 0.2.14 → 0.2.16

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.
@@ -8,10 +8,10 @@ jobs:
8
8
  build:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
- - uses: actions/checkout@v2
12
- - uses: actions/setup-node@v1
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-node@v3
13
13
  with:
14
- node-version: 12
14
+ node-version: 22
15
15
  - name: Install Docker Compose
16
16
  run: |
17
17
  sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
@@ -12,10 +12,10 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
 
14
14
  steps:
15
- - uses: actions/checkout@v2
16
- - uses: actions/setup-node@v1
15
+ - uses: actions/checkout@v3
16
+ - uses: actions/setup-node@v3
17
17
  with:
18
- node-version: '12.x'
18
+ node-version: '22.x'
19
19
  registry-url: 'https://registry.npmjs.org'
20
20
  - run: npm install
21
21
  - run: npm publish --access public
package/index.js CHANGED
@@ -611,6 +611,7 @@ const writeAlerts = async(client, alerts) => {
611
611
  url,
612
612
  status,
613
613
  vendor,
614
+ label,
614
615
  count,
615
616
  detail,
616
617
  timestamp
@@ -634,16 +635,18 @@ const writeAlerts = async(client, alerts) => {
634
635
  message = `${url} return invalid app payload`;
635
636
  break;
636
637
  case AlertType.TTS_NOT_PROVISIONED:
637
- message = `text to speech credentials for ${vendor} have not been provisioned`;
638
+ message = `text to speech credentials for ${vendor} (label: ${label || 'none'}) have not been provisioned`;
638
639
  break;
639
640
  case AlertType.STT_NOT_PROVISIONED:
640
- message = `speech to text credentials for ${vendor} have not been provisioned`;
641
+ message = `speech to text credentials for ${vendor} (label: ${label || 'none'}) have not been provisioned`;
641
642
  break;
642
643
  case AlertType.TTS_FAILURE:
643
- message = `text to speech request to ${vendor} failed; please check your speech credentials`;
644
+ // eslint-disable-next-line max-len
645
+ message = `text to speech request to ${vendor} (label: ${label || 'none'}) failed; please check your speech credentials`;
644
646
  break;
645
647
  case AlertType.STT_FAILURE:
646
- message = `speech to text request to ${vendor} failed; please check your speech credentials`;
648
+ // eslint-disable-next-line max-len
649
+ message = `speech to text request to ${vendor} (label: ${label || 'none'}) failed; please check your speech credentials`;
647
650
  break;
648
651
  case AlertType.CARRIER_NOT_PROVISIONED:
649
652
  message = 'outbound call failure: no carriers have been provisioned';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jambonz/time-series",
3
- "version": "0.2.14",
3
+ "version": "0.2.16",
4
4
  "description": "write and query data to time series daetabase",
5
5
  "main": "index.js",
6
6
  "scripts": {