@aristech-org/tts-client
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -158,7 +158,7 @@ import * as grpc from '@grpc/grpc-js'; | ||
// In case a port was provided but ssl was not specified | ||
// ssl is assumed when the port matches 9424 | ||
// ssl is assumed when the port matches 8424 | ||
const [, portStr] = host.match(portRe); | ||
const hostPort = parseInt(portStr, 10); | ||
if (!sslExplicit) { | ||
if (hostPort === 9424) { | ||
if (hostPort === 8424) { | ||
ssl = true; | ||
@@ -165,0 +165,0 @@ } |
{ | ||
"name": "@aristech-org/tts-client", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A Node.js client library for the Aristech Text-to-Speech API", | ||
"main": "dist/index.js", | ||
"type": "module", | ||
"types": "dist/index.d.ts", | ||
"typings": "dist/index.d.ts", | ||
"main": "dist/index.js", | ||
"directories": { | ||
"example": "examples" | ||
}, | ||
"scripts": { | ||
@@ -10,0 +13,0 @@ "test": "tsx --test", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93774