@fonoster/common 0.8.50 → 0.8.52

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.
@@ -169,6 +169,7 @@ message GatherResponse {
169
169
  string speech = 2;
170
170
  string digits = 3;
171
171
  }
172
+ int32 response_time = 4;
172
173
  }
173
174
 
174
175
  // RecordRequest is the request message to initiate a recording
@@ -359,6 +360,7 @@ message StreamGatherPayload {
359
360
  string speech = 2;
360
361
  string digit = 3;
361
362
  }
363
+ int32 response_time = 4;
362
364
  }
363
365
 
364
366
  // VoiceInStream is the input stream for the voice service
@@ -14,5 +14,6 @@ type GatherRequest = VerbRequest & GatherOptions;
14
14
  type GatherResponse = VerbResponse & {
15
15
  speech?: string;
16
16
  digits?: string;
17
+ responseTime: number;
17
18
  };
18
19
  export { GatherOptions, GatherRequest, GatherResponse, GatherSource };
@@ -11,5 +11,6 @@ type StartStreamGatherRequest = VerbRequest & StreamGatherOptions;
11
11
  type StreamGatherPayload = VerbResponse & {
12
12
  speech?: string;
13
13
  digit?: string;
14
+ responseTime: number;
14
15
  };
15
16
  export { StartStreamGatherRequest, StreamGatherOptions, StreamGatherPayload, StreamGatherSource };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/common",
3
- "version": "0.8.50",
3
+ "version": "0.8.52",
4
4
  "description": "Common library for Fonoster projects",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -18,7 +18,7 @@
18
18
  "clean": "rimraf ./dist node_modules tsconfig.tsbuildinfo"
19
19
  },
20
20
  "dependencies": {
21
- "@fonoster/logger": "^0.8.47",
21
+ "@fonoster/logger": "^0.8.51",
22
22
  "@grpc/grpc-js": "~1.10.6",
23
23
  "@grpc/proto-loader": "^0.7.12",
24
24
  "@influxdata/influxdb-client": "^1.35.0",
@@ -48,5 +48,5 @@
48
48
  "devDependencies": {
49
49
  "@types/nodemailer": "^6.4.14"
50
50
  },
51
- "gitHead": "d0e373668e8e77295e3847c99a346c4aa1c8d3d7"
51
+ "gitHead": "772398ea115078012f8e270943ec36b61343ea36"
52
52
  }