apollo-ai-api-client
Advanced tools
Comparing version 0.1.25 to 0.1.26
@@ -12,3 +12,3 @@ "use strict"; | ||
const node_fetch_1 = require("node-fetch"); | ||
const URL = require("url"); | ||
const url_1 = require("url"); | ||
var ClusteringLanguage; | ||
@@ -77,3 +77,3 @@ (function (ClusteringLanguage) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const url = new URL.URL(this.apolloApiEndpoint + this.clusteringEndpoint); | ||
const url = new url_1.URL(this.apolloApiEndpoint + this.clusteringEndpoint); | ||
url.searchParams.append('threshold', threshold.toString()); | ||
@@ -101,3 +101,3 @@ url.searchParams.append('language', language); | ||
} | ||
const url = new URL.URL(this.apolloApiEndpoint + this.combinedApiEndpoint); | ||
const url = new url_1.URL(this.apolloApiEndpoint + this.combinedApiEndpoint); | ||
if (options.abstractMaxChars) { | ||
@@ -104,0 +104,0 @@ url.searchParams.append('maxChars', options.abstractMaxChars.toString()); |
{ | ||
"name": "apollo-ai-api-client", | ||
"version": "0.1.25", | ||
"version": "0.1.26", | ||
"description": "Client for the apollo.ai auto abstract api.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
14492