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 CHANGED
@@ -1,6 +1,7 @@
1
+ export declare function hello(): void;
1
2
  export default class Retell {
2
- ip: string;
3
- apiKey: string;
3
+ private apiKey;
4
+ private ip;
4
5
  constructor(apiKey: string, ip?: string);
5
6
  NewConversation: () => void;
6
7
  CreatAgent: (options: any) => Promise<void>;
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
- ip;
6
- apiKey;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "retell-sdk",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "retell sdk",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/tsconfig.json CHANGED
@@ -9,5 +9,5 @@
9
9
  "module": "commonjs",
10
10
  "esModuleInterop": true
11
11
  },
12
- "exclude": ["node_modules", "server/deprecated"]
12
+ "exclude": ["node_modules", "server/deprecated", "./dist/**/*"]
13
13
  }