@mqarty/plugin-dev-phone 1.0.0-beta.16 → 1.0.0-beta.17
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/README.md
CHANGED
|
@@ -48,7 +48,7 @@ DESCRIPTION
|
|
|
48
48
|
Dev Phone local express server
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
_See code: [src/commands/dev-phone.ts](https://github.com/mqarty/dev-phone/blob/1.0.0-beta.
|
|
51
|
+
_See code: [src/commands/dev-phone.ts](https://github.com/mqarty/dev-phone/blob/1.0.0-beta.17/src/commands/dev-phone.ts)_
|
|
52
52
|
<!-- commandsstop -->
|
|
53
53
|
|
|
54
54
|
## Working on this plugin
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
exports.handler = function (context, event, callback) {
|
|
4
4
|
let twiml = new Twilio.twiml.VoiceResponse();
|
|
5
5
|
const dial = twiml.dial({ answerOnBridge: true });
|
|
6
|
-
dial.client(
|
|
6
|
+
const client = dial.client();
|
|
7
|
+
client.identity(context.DEV_PHONE_NAME);
|
|
8
|
+
client.parameter({ name: 'ParentCallSid', value: event.CallSid });
|
|
7
9
|
return callback(null, twiml);
|
|
8
10
|
};
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mqarty/plugin-dev-phone",
|
|
3
3
|
"description": "Twilio Dev Phone",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.17",
|
|
5
5
|
"author": "mqarty",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/mqarty/dev-phone/issues"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@inquirer/confirm": "^5.1.8",
|
|
11
11
|
"@oclif/core": "^1.13.6",
|
|
12
|
-
"@mqarty/dev-phone-ui": "^1.0.0-beta.
|
|
12
|
+
"@mqarty/dev-phone-ui": "^1.0.0-beta.14",
|
|
13
13
|
"@twilio-labs/serverless-api": "^5.4.0",
|
|
14
14
|
"@twilio/cli-core": "^7.0.0",
|
|
15
15
|
"express": "^4.17.1",
|