phonic 0.18.0 → 0.18.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.
package/README.md CHANGED
@@ -114,15 +114,17 @@ const { data, error } = await phonic.sts.outboundCall("+19189396241", {
114
114
 
115
115
  ### STS outbound call using own Twilio account
116
116
 
117
+ In Twilio, create a restricted API key with the following permission: voice -> calls -> create
118
+
117
119
  ```ts
118
120
  const { data, error } = await phonic.sts.twilio.outboundCall(
119
121
  {
120
- account_sid: "AC...",
121
- api_key_sid: "SK...",
122
- api_key_secret: "...",
123
- from_phone_number: "+19189372905",
124
- to_phone_number: "+19189396241",
125
- },
122
+ account_sid: "AC...",
123
+ api_key_sid: "SK...",
124
+ api_key_secret: "...",
125
+ from_phone_number: "+19189372905",
126
+ to_phone_number: "+19189396241",
127
+ },
126
128
  {
127
129
  welcome_message: "Hello, how can I help you?",
128
130
 
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ __export(index_exports, {
35
35
  module.exports = __toCommonJS(index_exports);
36
36
 
37
37
  // package.json
38
- var version = "0.18.0";
38
+ var version = "0.18.1";
39
39
 
40
40
  // src/conversations/index.ts
41
41
  var Conversations = class {
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.18.0";
2
+ var version = "0.18.1";
3
3
 
4
4
  // src/conversations/index.ts
5
5
  var Conversations = class {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phonic",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "Phonic Node.js SDK",
5
5
  "scripts": {
6
6
  "build": "tsup",