retell-sdk 1.0.5 → 1.0.7
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/dist/index.d.ts +3 -2
- package/dist/index.js +5 -0
- package/index.ts +6 -2
- package/package.json +1 -1
- package/tsconfig.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hello = void 0;
|
|
3
4
|
var WebSocketClient = require("websocket").client;
|
|
4
5
|
const axios = require("axios");
|
|
6
|
+
function hello() {
|
|
7
|
+
console.log("hello");
|
|
8
|
+
}
|
|
9
|
+
exports.hello = hello;
|
|
5
10
|
class Retell {
|
|
6
11
|
constructor(apiKey, ip) {
|
|
7
12
|
this.NewConversation = () => {
|
package/index.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
var WebSocketClient = require("websocket").client;
|
|
2
2
|
const axios = require("axios");
|
|
3
3
|
|
|
4
|
+
export function hello() {
|
|
5
|
+
console.log("hello");
|
|
6
|
+
}
|
|
7
|
+
|
|
4
8
|
export default class Retell {
|
|
5
|
-
|
|
6
|
-
|
|
9
|
+
private apiKey: string;
|
|
10
|
+
private ip: string;
|
|
7
11
|
|
|
8
12
|
constructor(apiKey: string, ip?: string) {
|
|
9
13
|
this.ip = ip ?? "localhost:3000";
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED