@markprompt/core
Advanced tools
Comparing version 0.38.6 to 0.38.7
@@ -106,3 +106,2 @@ import defaults from 'defaults'; | ||
checkAbortSignal(options.signal); | ||
// eslint-disable-next-line prefer-const | ||
const completion = {}; | ||
@@ -113,3 +112,2 @@ const stream = res.body | ||
.getReader(); | ||
// eslint-disable-next-line no-constant-condition | ||
while (true) { | ||
@@ -124,3 +122,2 @@ const { value: event, done } = await stream.read(); | ||
} | ||
// eslint-disable-next-line prefer-const | ||
const json = JSON.parse(event.data); | ||
@@ -127,0 +124,0 @@ if (!isChatCompletionChunk(json)) { |
@@ -16,3 +16,2 @@ import defaults from 'defaults'; | ||
try { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
const { limit = DEFAULT_SUBMIT_SEARCH_QUERY_OPTIONS.limit, apiUrl } = options ?? {}; | ||
@@ -19,0 +18,0 @@ const resolvedOptions = defaults({ limit, apiUrl }, { |
{ | ||
"name": "@markprompt/core", | ||
"version": "0.38.6", | ||
"version": "0.38.7", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
69435
1023