{"_id":"@aiola/web-sdk-tts","_rev":"10-9a2b74fe7f6cba2b6a8375d1e0746e68","name":"@aiola/web-sdk-tts","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"@aiola/web-sdk-tts","version":"0.0.1","keywords":["aiola","sdk","text-to-speech","tts"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-tts@0.0.1","maintainers":[{"name":"aiola-admin","email":"admin@aiola.com"},{"name":"gor_aiola","email":"gilad.or@aiola.com"}],"dist":{"shasum":"3452bd4f5b206a381d8e86ce000b84d82cbf23c3","tarball":"https://registry.npmjs.org/@aiola/web-sdk-tts/-/web-sdk-tts-0.0.1.tgz","fileCount":15,"integrity":"sha512-qF/60H5fdIYYA80rBQFGndMbbivFrX3ZVhVkYDZuBdFLLzPy2aZKwwCQZ7d5ctiGW+7beCKK4SUv/RRCg0EoQQ==","signatures":[{"sig":"MEUCIF1CTYpg28Gw4dKfuRM+JAHoDlDaKVYyLbx0UaRwSHNyAiEA6+zqB8HGbSr6Luc2fCmQtnJIP+1idMBwlSx1psBZqn4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28498},"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":{"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","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 Text-to-Speech JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-tts_0.0.1_1744887943664_0.6698778280942168","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@aiola/web-sdk-tts","version":"0.1.0","keywords":["aiola","sdk","text-to-speech","tts"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-tts@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":"e9a0cd0d78430888d54825a258915c3781980ce2","tarball":"https://registry.npmjs.org/@aiola/web-sdk-tts/-/web-sdk-tts-0.1.0.tgz","fileCount":15,"integrity":"sha512-jNL6KnIOzMu8dIImY3CwFv5yiGVa7tQhUH0eCSp0D/LLWOeAI+1MVaVG5zFGANLGjzPRMSF3CnA6X0LTc0x9TQ==","signatures":[{"sig":"MEUCIQD/z66LN1uMpz4mRfGf4tGNoq+LdchnawhEdDanDmj3xAIgI7fw/c63sHS0ghgAhbby08Xtw2oD235oeNdmGdrtDCI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28610},"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":{"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","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 Text-to-Speech JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-tts_0.1.0_1744888937786_0.5402780445987883","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aiola/web-sdk-tts","version":"0.1.1","keywords":["aiola","sdk","text-to-speech","tts"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-tts@0.1.1","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":"880aedc76f21fd35462e9787dd546e1e7864366c","tarball":"https://registry.npmjs.org/@aiola/web-sdk-tts/-/web-sdk-tts-0.1.1.tgz","fileCount":15,"integrity":"sha512-xGxInvrnV0AiFKFMpbbUk4L6qc2KihBnFTezOwcbiQpL8IAMKTugBQofYuC1zPOClEs0bpGGaztFFiCiW0Dybg==","signatures":[{"sig":"MEUCIE3vqD5owJN+rfqMcBp+3VpB8y+HCEKMdkvuwLzPWjxwAiEAvPE48gFq5Gf7MP3dMJpU69yWwYWNGGsQPZpLf+xQl84=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28670},"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":{"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","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 Text-to-Speech JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-tts_0.1.1_1744889753084_0.12738139641488155","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@aiola/web-sdk-tts","version":"0.1.2","keywords":["aiola","sdk","text-to-speech","tts"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-tts@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":"beab84216889e22b168b264b9efedf62aa036588","tarball":"https://registry.npmjs.org/@aiola/web-sdk-tts/-/web-sdk-tts-0.1.2.tgz","fileCount":15,"integrity":"sha512-V7VAQKEgKaHil1Be1bHNQ51Xba/k5oaBGvFXGCG4eWVFaCUjXC1DysmGtSI02NCH5w7HGqrE73IBgvHzYaBRPw==","signatures":[{"sig":"MEUCIDzOYUP3HwcsM0xvfGojX/2EOKH8ow/yM1flbd12omFsAiEAjFI7pAsaWOKKu0CKFduneslcsH69oOFBZM7DgmWRlNg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29023},"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":{"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","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 Text-to-Speech JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-tts_0.1.2_1744891974211_0.8723649215973543","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@aiola/web-sdk-tts","version":"0.1.3","keywords":["aiola","sdk","text-to-speech","tts"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-tts@0.1.3","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":"d89e54e345a1bc4a162b272113c32edd5db6cb46","tarball":"https://registry.npmjs.org/@aiola/web-sdk-tts/-/web-sdk-tts-0.1.3.tgz","fileCount":15,"integrity":"sha512-bflMuNkjUmTwW9arLj3bhRzHTUGDh0AlEIAGd0FNjbh2vUohTCwBiflSLYUbxlCcEFjIW13jF841HbQ9rC9qzQ==","signatures":[{"sig":"MEUCIB5hiPBlYW8EBUkR3dnJE7U80Oz3y2otIRb3ohsSadx4AiEA0Y0eLhXVf92u8qfZcHinl1GsLV40lhNV7v6iWBZY0Uw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28812},"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":{"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","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 Text-to-Speech JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-tts_0.1.3_1744892403589_0.5545524467869043","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@aiola/web-sdk-tts","version":"0.1.4","keywords":["aiola","sdk","text-to-speech","tts"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-tts@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":"ae8998083b4a499e13b5d66749587b8270e498b6","tarball":"https://registry.npmjs.org/@aiola/web-sdk-tts/-/web-sdk-tts-0.1.4.tgz","fileCount":15,"integrity":"sha512-EFX8l1faEeXcV5J3wc9MvjoX/kZb6Pr8tY8DAM1Qt+0F+xpARJXAhcz7UHImHsfQ/SrXDGzn5zkTSOtgIK1Uhg==","signatures":[{"sig":"MEUCIHSna46LmbiTEmHF8xeqg8EYnZ0s5/T9EUKWuhbWWPjpAiEAzimXVzI3VlDkCyTNBLQ1k3QshBAsOx/uPXqJ04vBCwY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28847},"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":{"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","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 Text-to-Speech JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-tts_0.1.4_1744892517979_0.09245450568987112","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@aiola/web-sdk-tts","version":"0.1.5","keywords":["aiola","sdk","text-to-speech","tts"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-tts@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":"16bf9d9b050770b6de87b251e7da41434b9cc487","tarball":"https://registry.npmjs.org/@aiola/web-sdk-tts/-/web-sdk-tts-0.1.5.tgz","fileCount":15,"integrity":"sha512-hgu7XtOUdgmQY95OMyHweTPAzbENG2Y8k0tWQWYn2bA+UzeJHUthvwf8JSDKFwvHZCUaQepaPg/1ZgwbaWgr0A==","signatures":[{"sig":"MEYCIQCl0KP9URRsrE7CXtCk/ZSu36/7nI2ov9eO5vJxhzqYXAIhAOAocYqinDGnW2+rdcaxF4FvcWNzLuZCIck0Dg3qKILr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29202},"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":{"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","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 Text-to-Speech JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-tts_0.1.5_1744898398992_0.08569958380585452","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@aiola/web-sdk-tts","version":"1.0.0","keywords":["aiola","sdk","text-to-speech","tts"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-tts@1.0.0","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":"6dfd1e4ac0cf017b57f0ab8381ba6869eaedb6a0","tarball":"https://registry.npmjs.org/@aiola/web-sdk-tts/-/web-sdk-tts-1.0.0.tgz","fileCount":3,"integrity":"sha512-TIpXi4t9J+hiiZsX8zXwMw1twMR2OMGJxFoLKKZxNhjS+4koBzXo9Lsa56iieqmbDPj2BZDRhUDVB1p+NQKHyg==","signatures":[{"sig":"MEUCIQCJG+K6vvJhBHYs/QkUvF6f8H46yYNwhj9AUBuqdclIkgIgZ9CTtUJkRBvRkl4GPKxA5EAHNkME8qyMG85PfeHV1is=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6130},"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":{"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","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 Text-to-Speech JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-tts_1.0.0_1747320869817_0.3108789312440945","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aiola/web-sdk-tts","version":"1.0.1","keywords":["aiola","sdk","text-to-speech","tts"],"author":{"name":"aiOla"},"license":"MIT","_id":"@aiola/web-sdk-tts@1.0.1","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":"a004aa145200a3e35b806c07494fc23649b96298","tarball":"https://registry.npmjs.org/@aiola/web-sdk-tts/-/web-sdk-tts-1.0.1.tgz","fileCount":15,"integrity":"sha512-0i0P9WE4izhV188g4AGTQt79qOQiZ971N4CMW4taLAylWoDhPrqCV43pPN5fYG1Vy4PzY/V5mpQAy4N54K4lGg==","signatures":[{"sig":"MEUCIBfgX/TSCEGrZljnuriVhcxo0DB9rLKzVon8JDkbu38hAiEAjS6WqY76X66BQwgyxZtxYEiKHkDtDs7pXARjllzMy9U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29122},"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":{"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","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 Text-to-Speech JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"23.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.20.1"},"_npmOperationalInternal":{"tmp":"tmp/web-sdk-tts_1.0.1_1747321632682_0.6452675385169695","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-04-17T11:05:43.581Z","modified":"2025-07-08T17:12:44.301Z","0.0.1":"2025-04-17T11:05:43.843Z","0.1.0":"2025-04-17T11:22:17.972Z","0.1.1":"2025-04-17T11:35:53.317Z","0.1.2":"2025-04-17T12:12:54.421Z","0.1.3":"2025-04-17T12:20:03.795Z","0.1.4":"2025-04-17T12:21:58.162Z","0.1.5":"2025-04-17T13:59:59.173Z","1.0.0":"2025-05-15T14:54:30.032Z","1.0.1":"2025-05-15T15:07:12.859Z"},"bugs":{"url":"https://github.com/aiola-lab/aiola-ts-client-sdk/issues"},"author":{"name":"aiOla"},"license":"MIT","homepage":"https://aiola.ai/","keywords":["aiola","sdk","text-to-speech","tts"],"repository":{"url":"git+https://github.com/aiola-lab/aiola-ts-client-sdk.git","type":"git"},"description":"Aiola Text-to-Speech 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-tts\n\nAiola Text-to-Speech JavaScript SDK\n\n<div style=\"display: flex; gap: 20px; justify-content: center;\">\n  <img src=\"https://github.com/user-attachments/assets/1745bf3b-ac9c-43a9-a783-7608c34e490e\" alt=\"tts\" style=\"max-width: 60%; border: 2px solid #0e9375; border-radius: 8px;\">\n</div>\n\nexample code can be found [here](https://github.com/aiola-lab/aiola-ts-client-sdk/tree/main/examples/tts-demo)\n## Installation\n\n```bash\nnpm install @aiola/web-sdk-tts\n# or\nyarn add @aiola/web-sdk-tts\n```\n\n## Usage\n\n### Node.js (CommonJS)\n\n```javascript\nconst AiolaTTSClient = require(\"@aiola/web-sdk-tts\");\n\nconst ttsClient = new AiolaTTSClient({\n  baseUrl: \"<BASE_URL>\",\n  bearer: \"<BEARER>\",\n});\n```\n\n### Modern JavaScript (ES Modules)\n\n```javascript\nimport AiolaTTSClient from \"@aiola/web-sdk-tts\";\n\nconst ttsClient = new AiolaTTSClient({\n  baseUrl: \"<BASE_URL>\",\n  bearer: \"<BEARER>\",\n});\n```\n\n### Browser (Direct Usage)\n\n```html\n <script type=\"importmap\">\n    {\n        \"imports\": {\n          \"@aiola/web-sdk-tts\": \"./node_modules/@aiola/web-sdk-tts/dist/bundle/index.js\"\n        }\n    }\n</script>\n</script>\n```\n\n## API Documentation\n\n```bash\nnpm install @aiola/web-sdk-tts\n```\n\n```typescript\nimport AiolaTTSClient from \"@aiola/web-sdk-tts\";\n\n// First create the client\nconst ttsClient = new AiolaTTSClient({\n  baseUrl: \"https://your-aiola-endpoint.com\",\n  bearer: \"your-auth-token\",\n});\n\n// Get available voices\nconst voices = ttsClient.getVoices();\n// Returns:\n// {\n//   Default: \"af\",\n//   Bella: \"af_bella\",\n//   Nicole: \"af_nicole\",\n//   Sarah: \"af_sarah\",\n//   Sky: \"af_sky\",\n//   Adam: \"am_adam\",\n//   Michael: \"am_michael\",\n//   Emma: \"bf_emma\",\n//   Isabella: \"bf_isabella\",\n//   George: \"bm_george\",\n//   Lewis: \"bm_lewis\"\n// }\n\n// Create a client with default voice using getVoices()\nconst clientWithDefault = new AiolaTTSClient({\n  baseUrl: \"https://your-aiola-endpoint.com\",\n  bearer: \"your-auth-token\",\n  defaultVoice: voices.Default, // Using the Default voice from getVoices()\n});\n\n// Synthesize speech and get audio as a Blob\n// Voice can be provided in the method call or will use defaultVoice from config\nconst audioBlob = await clientWithDefault.synthesizeSpeech(\n  \"Hello, world!\",\n  voices.Bella\n);\n\n// Playing the audio\nconst url = URL.createObjectURL(blob);\naudioPlayer.src = url;\naudioPlayer.style.display = \"block\";\naudioPlayer.play();\n\n// Using defaultVoice from config\nconst audioBlob2 = await clientWithDefault.synthesizeSpeech(\"Hello, world!\");\n\n// If neither voice parameter nor defaultVoice is provided, an error will be thrown\nconst clientWithoutDefault = new AiolaTTSClient({\n  baseUrl: \"https://your-aiola-endpoint.com\",\n  bearer: \"your-auth-token\",\n});\n// This will throw: \"Voice is required for synthesis\"\nawait clientWithoutDefault.synthesizeSpeech(\"Hello, world!\");\n\n// Stream the audio (also returns a Blob)\nconst streamBlob = await clientWithDefault.streamSpeech(\n  \"Hello, world!\",\n  voices.Nicole\n);\n```\n\n#### TTSConfig Interface\n\n```typescript\ninterface TTSConfig {\n  baseUrl: string; // The base URL of the Aiola API\n  bearer: string; // Authentication token\n  defaultVoice?: string; // Optional default voice. If not provided, voice must be specified in method calls\n}\n```\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Build the package\nnpm run build\n\n# Run type checking\nnpm run type-check\n```\n\n## License\n\nSee [LICENSE](LICENSE) file for details.\n\n## Support\n\nFor any issues or questions regarding the aiOla TTS SDK, please [contact us](https://aiOla.ai/contact/)\n","readmeFilename":"README.md"}