{"_id":"@aiola/web-sdk-stt","_rev":"7-721dfb86152b9285cb87ef5258dd42a5","name":"@aiola/web-sdk-stt","dist-tags":{"latest":"0.1.5"},"versions":{"0.0.1":{"name":"@aiola/web-sdk-stt","version":"0.0.1","keywords":["aiola","sdk","streaming","speech-to-text","stt"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-stt@0.0.1","maintainers":[{"name":"aiola-admin","email":"admin@aiola.com"},{"name":"gor_aiola","email":"gilad.or@aiola.com"}],"dist":{"shasum":"1c82f4836303e32b04ef82c25ad446c77d98bbb6","tarball":"https://registry.npmjs.org/@aiola/web-sdk-stt/-/web-sdk-stt-0.0.1.tgz","fileCount":15,"integrity":"sha512-lDPTBuYMIISrqmMQLaCyQWo7Rnf7En6TPLmCtkOYyTh1cylNK6rq8lBYpsxmMIZOyN/RfknCKz37Ub+fwQ3dDw==","signatures":[{"sig":"MEUCIQCllV8ggow23Y+3s2bA2aTyiG2mRzS1lAAMqi6P9AMkIAIgKfUsK2M/frEQBl4FQ0DkyMVnU6jETCKY1fhGoOjacck=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":345418},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","browser":"dist/bundle/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","browser":"./dist/bundle/index.js","require":"./dist/cjs/index.js"}},"gitHead":"0c16987d61ce343c008c74085addb76e59411455","scripts":{"test":"jest","build":"npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:bundle && npm run build:types","build:cjs":"tsc -p tsconfig.json --outDir dist/cjs --module CommonJS --sourceMap","build:esm":"tsc -p tsconfig.json --outDir dist/esm --module ES2015 --sourceMap","test:watch":"jest --watch","type-check":"tsc --noEmit","build:clean":"rimraf dist","build:types":"tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types","build:bundle":"esbuild src/index.ts --bundle --format=esm --outfile=dist/bundle/index.js --sourcemap --minify"},"_npmUser":{"name":"gor_aiola","email":"gilad.or@aiola.com"},"_npmVersion":"10.9.2","description":"Aiola Speech-To-Text JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"tslib":"^2.6.2","socket.io-client":"^4.7.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rimraf":"^5.0.5","esbuild":"^0.20.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.23.9","@types/jest":"^29.5.12","@types/node":"^20.11.19","whatwg-fetch":"^3.6.2","@babel/preset-env":"^7.23.9","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-stt_0.0.1_1744887342732_0.06011204295479344","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@aiola/web-sdk-stt","version":"0.1.0","keywords":["aiola","sdk","streaming","speech-to-text","stt"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-stt@0.1.0","maintainers":[{"name":"aiola-admin","email":"admin@aiola.com"},{"name":"gor_aiola","email":"gilad.or@aiola.com"}],"homepage":"https://github.com/aiola-lab/aiola-ts-client-sdk#readme","bugs":{"url":"https://github.com/aiola-lab/aiola-ts-client-sdk/issues"},"dist":{"shasum":"6d4ad16a423975e248952cbfd833fd44221f209e","tarball":"https://registry.npmjs.org/@aiola/web-sdk-stt/-/web-sdk-stt-0.1.0.tgz","fileCount":15,"integrity":"sha512-GWpIqIHlzalojyzCTdksGrzrnXf5QZipadS57cL1haMhyoSFMyGx0qfRiobVk4i1g1nepAEtGAEzQDFvhd/B6w==","signatures":[{"sig":"MEUCIQCezyhLot8trEdwsDABHntZviyG1UcBmNsmgLeDQLoPHwIgPyxush2knsf/2ZgMZwskzPqDyKueHU7FMRLH7tvva7U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":345530},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","browser":"dist/bundle/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","browser":"./dist/bundle/index.js","require":"./dist/cjs/index.js"}},"gitHead":"c10236999589157de40c1cc230790c47ef11e1c6","scripts":{"test":"jest","build":"npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:bundle && npm run build:types","build:cjs":"tsc -p tsconfig.json --outDir dist/cjs --module CommonJS --sourceMap","build:esm":"tsc -p tsconfig.json --outDir dist/esm --module ES2015 --sourceMap","test:watch":"jest --watch","type-check":"tsc --noEmit","build:clean":"rimraf dist","build:types":"tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types","build:bundle":"esbuild src/index.ts --bundle --format=esm --outfile=dist/bundle/index.js --sourcemap --minify"},"_npmUser":{"name":"gor_aiola","email":"gilad.or@aiola.com"},"repository":{"url":"git+https://github.com/aiola-lab/aiola-ts-client-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Aiola Speech-To-Text JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"tslib":"^2.6.2","socket.io-client":"^4.7.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rimraf":"^5.0.5","esbuild":"^0.20.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.23.9","@types/jest":"^29.5.12","@types/node":"^20.11.19","whatwg-fetch":"^3.6.2","@babel/preset-env":"^7.23.9","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-stt_0.1.0_1744889809036_0.2927394374725216","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aiola/web-sdk-stt","version":"0.1.2","keywords":["aiola","sdk","streaming","speech-to-text","stt"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-stt@0.1.2","maintainers":[{"name":"aiola-admin","email":"admin@aiola.com"},{"name":"gor_aiola","email":"gilad.or@aiola.com"}],"homepage":"https://github.com/aiola-lab/aiola-ts-client-sdk#readme","bugs":{"url":"https://github.com/aiola-lab/aiola-ts-client-sdk/issues"},"dist":{"shasum":"8597324548d989c5ef7047145ab35eb6debf770e","tarball":"https://registry.npmjs.org/@aiola/web-sdk-stt/-/web-sdk-stt-0.1.2.tgz","fileCount":15,"integrity":"sha512-25thjTw2fVJ4ZBRyEQqwRrwcwmSxYVJ6wOr/TgT14nx+aqfxedK7+OMilGAf1Adp/W+JHX7BQmM0eVrx/x2kjw==","signatures":[{"sig":"MEUCIQDI6S+Q+FnYVhPkvtseAbwEIAKgllzh8VAZRhBkneYeawIgVW0osUvzHVLK/3CyzVPzusJoDWfmQeUPnIW5sp1f4uY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":345531},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","browser":"dist/bundle/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","browser":"./dist/bundle/index.js","require":"./dist/cjs/index.js"}},"gitHead":"c10236999589157de40c1cc230790c47ef11e1c6","scripts":{"test":"jest","build":"npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:bundle && npm run build:types","build:cjs":"tsc -p tsconfig.json --outDir dist/cjs --module CommonJS --sourceMap","build:esm":"tsc -p tsconfig.json --outDir dist/esm --module ES2015 --sourceMap","test:watch":"jest --watch","type-check":"tsc --noEmit","build:clean":"rimraf dist","build:types":"tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types","build:bundle":"esbuild src/index.ts --bundle --format=esm --outfile=dist/bundle/index.js --sourcemap --minify"},"_npmUser":{"name":"gor_aiola","email":"gilad.or@aiola.com"},"repository":{"url":"git+https://github.com/aiola-lab/aiola-ts-client-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Aiola Speech-To-Text JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"tslib":"^2.6.2","socket.io-client":"^4.7.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rimraf":"^5.0.5","esbuild":"^0.20.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.23.9","@types/jest":"^29.5.12","@types/node":"^20.11.19","whatwg-fetch":"^3.6.2","@babel/preset-env":"^7.23.9","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-stt_0.1.2_1744892420574_0.9935795161736285","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@aiola/web-sdk-stt","version":"0.1.3","keywords":["aiola","sdk","streaming","speech-to-text","stt"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-stt@0.1.3","maintainers":[{"name":"aiola-admin","email":"admin@aiola.com"},{"name":"gor_aiola","email":"gilad.or@aiola.com"}],"homepage":"https://aiola.ai/","bugs":{"url":"https://github.com/aiola-lab/aiola-ts-client-sdk/issues"},"dist":{"shasum":"3ef52fb33e3bea95708f143a19f17b3380722772","tarball":"https://registry.npmjs.org/@aiola/web-sdk-stt/-/web-sdk-stt-0.1.3.tgz","fileCount":15,"integrity":"sha512-OALqF7VN0pq2QZGy7vLn/L30WKLwp52eCnS1AIjNKQFJQK5AKiodsWE5I94Fqprp/PTVTtLekHcorMVWiPkUFA==","signatures":[{"sig":"MEUCIGgtQ4tSbWTfrIwUwIEpHIMFBX+KImLia2JhzeSCERMWAiEA1At9HBIUJ0pXcYjzljSwFHLr5cOB+NOuPkWCk3PGmqw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":345566},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","browser":"dist/bundle/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","browser":"./dist/bundle/index.js","require":"./dist/cjs/index.js"}},"gitHead":"c10236999589157de40c1cc230790c47ef11e1c6","scripts":{"test":"jest","build":"npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:bundle && npm run build:types","build:cjs":"tsc -p tsconfig.json --outDir dist/cjs --module CommonJS --sourceMap","build:esm":"tsc -p tsconfig.json --outDir dist/esm --module ES2015 --sourceMap","test:watch":"jest --watch","type-check":"tsc --noEmit","build:clean":"rimraf dist","build:types":"tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types","build:bundle":"esbuild src/index.ts --bundle --format=esm --outfile=dist/bundle/index.js --sourcemap --minify"},"_npmUser":{"name":"gor_aiola","email":"gilad.or@aiola.com"},"repository":{"url":"git+https://github.com/aiola-lab/aiola-ts-client-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Aiola Speech-To-Text JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"tslib":"^2.6.2","socket.io-client":"^4.7.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rimraf":"^5.0.5","esbuild":"^0.20.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.23.9","@types/jest":"^29.5.12","@types/node":"^20.11.19","whatwg-fetch":"^3.6.2","@babel/preset-env":"^7.23.9","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-stt_0.1.3_1744892511762_0.47957155104105187","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@aiola/web-sdk-stt","version":"0.1.4","keywords":["aiola","sdk","streaming","speech-to-text","stt"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-stt@0.1.4","maintainers":[{"name":"aiola-admin","email":"admin@aiola.com"},{"name":"gor_aiola","email":"gilad.or@aiola.com"}],"homepage":"https://aiola.ai/","bugs":{"url":"https://github.com/aiola-lab/aiola-ts-client-sdk/issues"},"dist":{"shasum":"2aaade52560f4fc7f8dfb7d5356a27e022daeec6","tarball":"https://registry.npmjs.org/@aiola/web-sdk-stt/-/web-sdk-stt-0.1.4.tgz","fileCount":15,"integrity":"sha512-hMNtzoFBpasBr4pWm6En8XI/Wo/aVE2rYxXdkL8lk1/txrYsCRgDLYWOwt2OFSbdEc33Q/s5VaDhDh3UnnUZjw==","signatures":[{"sig":"MEYCIQCUsY4ESfKIVy4QtQ74tKyo30xQcMZTQgag36IdFHk8SgIhAPrUg/I7tIfE8ES3T1MNGgVGg64pYAPCXHJbFH3ffIuR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":345925},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","browser":"dist/bundle/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","browser":"./dist/bundle/index.js","require":"./dist/cjs/index.js"}},"gitHead":"9db27749e1e3c5fb767dd5eb47a2409ba14dc38d","scripts":{"test":"jest","build":"npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:bundle && npm run build:types","build:cjs":"tsc -p tsconfig.json --outDir dist/cjs --module CommonJS --sourceMap","build:esm":"tsc -p tsconfig.json --outDir dist/esm --module ES2015 --sourceMap","test:watch":"jest --watch","type-check":"tsc --noEmit","build:clean":"rimraf dist","build:types":"tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types","build:bundle":"esbuild src/index.ts --bundle --format=esm --outfile=dist/bundle/index.js --sourcemap --minify"},"_npmUser":{"name":"gor_aiola","email":"gilad.or@aiola.com"},"repository":{"url":"git+https://github.com/aiola-lab/aiola-ts-client-sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Aiola Speech-To-Text JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","dependencies":{"tslib":"^2.6.2","socket.io-client":"^4.7.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rimraf":"^5.0.5","esbuild":"^0.20.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.23.9","@types/jest":"^29.5.12","@types/node":"^20.11.19","whatwg-fetch":"^3.6.2","@babel/preset-env":"^7.23.9","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-stt_0.1.4_1744898463699_0.00511334623104065","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@aiola/web-sdk-stt","version":"0.1.5","keywords":["aiola","sdk","streaming","speech-to-text","stt"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-stt@0.1.5","maintainers":[{"name":"aiola-admin","email":"admin@aiola.com"},{"name":"gor_aiola","email":"gilad.or@aiola.com"}],"homepage":"https://aiola.ai/","bugs":{"url":"https://github.com/aiola-lab/aiola-ts-client-sdk/issues"},"dist":{"shasum":"1fccbc3f1f4df270545558acaa63a2c93237d672","tarball":"https://registry.npmjs.org/@aiola/web-sdk-stt/-/web-sdk-stt-0.1.5.tgz","fileCount":15,"integrity":"sha512-JtKpMOgJl8EcrZ5m1fBoYBe8nK7B0APYh5u7nFErCSyrPqTNQVyOPi27ZHEY7/IIVK6ePC2ckQJ+OiYeEcPItQ==","signatures":[{"sig":"MEUCIQDkTdh2x5/YlBCFZc2K1PqY0GfnBdHWvFDoTvObbqbr/AIgDbdoSIXUZCz7vr2StpmkqRWO6yHn/YAOEmX04Ps64Qc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":382263},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","browser":"dist/bundle/index.js","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","browser":"./dist/bundle/index.js","require":"./dist/cjs/index.js"}},"gitHead":"e6f748bbb90eaaa1a1c4b48b8e6a54165a81eea2","scripts":{"test":"jest","build":"npm run build:clean && npm run build:esm && npm run build:cjs && npm run build:bundle && npm run build:types","build:cjs":"tsc -p tsconfig.json --outDir dist/cjs --module CommonJS --sourceMap","build:esm":"tsc -p tsconfig.json --outDir dist/esm --module ES2015 --sourceMap","test:watch":"jest --watch","type-check":"tsc --noEmit","build:clean":"rimraf dist","build:types":"tsc -p tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types","build:bundle":"esbuild src/index.ts --bundle --format=esm --outfile=dist/bundle/index.js --sourcemap --minify"},"_npmUser":{"name":"gor_aiola","actor":{"name":"gor_aiola","type":"user","email":"gilad.or@aiola.com"},"email":"gilad.or@aiola.com"},"repository":{"url":"git+https://github.com/aiola-lab/aiola-ts-client-sdk.git","type":"git"},"_npmVersion":"11.3.0","description":"Aiola Speech-To-Text JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"24.1.0","dependencies":{"tslib":"^2.6.2","socket.io-client":"^4.7.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","rimraf":"^5.0.5","esbuild":"^0.20.1","ts-jest":"^29.1.2","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.23.9","@types/jest":"^29.5.12","@types/node":"^20.11.19","whatwg-fetch":"^3.6.2","@babel/preset-env":"^7.23.9","jest-environment-jsdom":"^29.7.0"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-stt_0.1.5_1751803608870_0.2933256803728206","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-04-17T10:55:42.662Z","modified":"2025-07-08T17:12:43.660Z","0.0.1":"2025-04-17T10:55:42.959Z","0.1.0":"2025-04-17T11:36:49.266Z","0.1.2":"2025-04-17T12:20:20.829Z","0.1.3":"2025-04-17T12:21:52.018Z","0.1.4":"2025-04-17T14:01:03.979Z","0.1.5":"2025-07-06T12:06:49.078Z"},"bugs":{"url":"https://github.com/aiola-lab/aiola-ts-client-sdk/issues"},"author":{"name":"aiOla"},"license":"MIT","homepage":"https://aiola.ai/","keywords":["aiola","sdk","streaming","speech-to-text","stt"],"repository":{"url":"git+https://github.com/aiola-lab/aiola-ts-client-sdk.git","type":"git"},"description":"Aiola Speech-To-Text JavaScript SDK","maintainers":[{"email":"admin@aiola.com","name":"aiola-admin"},{"email":"gilad.or@aiola.com","name":"gor_aiola"},{"email":"stav.elmashally@aiola.com","name":"stav_aiola"}],"readme":"# @aiola/web-sdk-stt\n\nAiola Speech-To-Text JavaScript SDK\n\n## Speech-To-Text (STT)\n\n### Install\n```bash\nnpm i @aiola/web-sdk-stt\n```\n\n### Quick start\n<!--snippet;quickstart-->\n```typescript\nimport {\n  AiolaStreamingClient,\n  AiolaSocketNamespace,\n  AiolaSocketConfig,\n} from \"@aiola/stt\";\n\nconst client = new AiolaStreamingClient({\n  baseUrl: \"https://api.aiola.ai\", // for enterprises, use custom endpoint \n  namespace: AiolaSocketNamespace.EVENTS,\n  bearer: \"<API-KEY>\",\n  queryParams: {\n    flow_id: \"TBD\", //for enterprises, use custom flow id\n    execution_id: \"<unique-execution-id>\",\n    lang_code: \"en_US\",\n    time_zone: \"UTC\",\n  },\n  events: {\n    onTranscript: (data) => {\n      console.log(\"Transcript:\", data);\n    },\n    onEvents: (data) => {\n      console.log(\"Event:\", data);\n    },\n    onError: (error) => {\n      console.error(\"Error:\", error);\n    },\n    onStartRecord: () => {\n      console.log(\"Recording started\");\n    },\n    onStopRecord: () => {\n      console.log(\"Recording stopped\");\n    },\n  },\n});\n\n// Connect to the service\nclient.connect();\n\n// Or connect and start recording automatically\nclient.connect(true);\n\nclient.setKeywords(['aiola', 'api', 'testing']);\n\n// start recording\nclient.startRecording();\n```\n\n### Connection and Recording\n\nThe STT client provides two ways to start recording:\n\n#### 1. Manual start:\n\n```typescript\n// First connect\nclient.connect();\n\n// Then start recording when ready\nawait client.startRecording();\n```\n\n#### 2. Automatic start\n```typescript\nclient.connect(true);\n```\n\n\n\n### Configuration Reference\n#### AiolaSocketConfig\n\n```typescript\ninterface AiolaSocketConfig {\n  baseUrl: string; // The base URL of the Aiola API\n  namespace: AiolaSocketNamespace; // The namespace to connect to\n  bearer: string; // Authentication token\n  queryParams: {\n    // Query parameters for the connection\n    flow_id: string; // The flow ID to use\n    execution_id: string; // Execution ID for the session\n    lang_code: string; // Language code (e.g., \"en_US\")\n    time_zone: string; // Time zone (e.g., \"UTC\")\n    [key: string]: string; // Additional custom parameters\n  };\n  micConfig?: {\n    // Optional microphone configuration\n    sampleRate: number; // Default: 16000\n    chunkSize: number; // Default: 4096\n    channels: number; // Default: 1\n  };\n  events: {\n    // Event handlers\n    onTranscript: (data: any) => void; // Called when transcript is received\n    onEvents: (data: any) => void; // Called for other events\n    onConnect?: () => void; // Called when connected\n    onStartRecord?: () => void; // Called when recording starts (only after permissions are granted)\n    onStopRecord?: () => void; // Called when recording stops (only if recording was started)\n    onKeyWordSet?: (keywords: string[]) => void; // Called when keywords are set\n    onError?: (error: AiolaSocketError) => void; // Called on errors, including permission denied\n  };\n  transports?: \"polling\" | \"websocket\" | \"all\"; // Transport method to use\n}\n```\n\n## License\n\nSee [LICENSE](LICENSE) file for details.\n\n## Support\n\nFor any issues or questions regarding the aiOla STT SDK, please [contact us](https://aiOla.ai/contact/)\n\n","readmeFilename":"README.md"}