@triton-one/yellowstone-grpc
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -93,2 +93,11 @@ "use strict"; | ||
var endpointURL = new URL(endpoint); | ||
var port = endpointURL.port; | ||
if (port == "") { | ||
switch (endpointURL.protocol) { | ||
case "https:": | ||
port = "443"; | ||
case "http:": | ||
port = "80"; | ||
} | ||
} | ||
// Check if we need to use TLS. | ||
@@ -110,3 +119,3 @@ if (endpointURL.protocol === "https:") { | ||
} | ||
this._client = new geyser_1.GeyserClient(endpointURL.host, creds, channelOptions); | ||
this._client = new geyser_1.GeyserClient("".concat(endpointURL.host, ":").concat(port), creds, channelOptions); | ||
} | ||
@@ -113,0 +122,0 @@ Client.prototype._getInsecureMetadata = function () { |
{ | ||
"name": "@triton-one/yellowstone-grpc", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "author": "Triton One", |
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
1872020
21250
7