Skip to content

Commit 38c2f08

Browse files
committed
Fix spelling
1 parent e44ce1b commit 38c2f08

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/avs-api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import {ReadStream, WriteStream} from "fs";
22
import * as http2 from "http2";
33

4-
import Connection from "./connection";
54
import {BASE_URLS} from "./constants/base-urls";
65
import {API_VERSION} from "./constants/general";
6+
import Directives from "./directives";
77
import SpeechRecognizer from "./speech-recognizer";
88
import System from "./system";
99

@@ -18,13 +18,13 @@ export class AVSApi {
1818
const context: AVS.Context = [];
1919

2020
const speechRecognizer = new SpeechRecognizer(client);
21-
const connection = new Connection(client);
21+
const directives = new Directives(client);
2222
const system = new System(client);
2323

2424
const accessToken =
2525
"Atza|IwEBIFymtJ3Bb2MIW4SvBaYj7Gb9jSdrMoo1iFvfun3Ttp-oXxDXFy815mm1b2lksZZU1b3b2RWVUBslKbs9ef6R0UoEF21RcK3I0uMcmQ8yXEuXuy_wR_Z6wyHvAqcxFxPxdVzmqw145-eHPNu2gbk4nQ731JXrPYwdHs38IsLgnaeHCUHTj-DDF6Tq1AnTW7aoyNUfg0hwNIbtDKV--xQ0M5LYgMAe4cfdIz43n5dMbp1hMhe4ZPrwFeCttnkfheW04-sNmhAGjA5dgT11XSW8kAfsZ7RvMLt28DRJKcVAYxhvjjzT3h9yW-g2MOhXBrYyxezKHH1FpPmHQIBBTG_iCrPSwmOUEWfFrz7iEfjWH6rcdBVBpEyXghTaZkMI2d3ZdugQJ48-ES9QNk30QUn41q3IqOimCN5sKJ83KsRSY4aGaSqn8csuVXeZHROqvYNavHjA4vbjmtSbydrTYMarNHmBznULzb-CQGsSWIL4RYxA3mCRvDQjoQzGigAnS5rzHg0";
2626

27-
connection.connect(accessToken);
27+
directives.connect(accessToken);
2828
system.synchronizeState(accessToken, context);
2929
speechRecognizer.recognize(accessToken, context, this.readStream);
3030
}

0 commit comments

Comments
 (0)