Skip to content

Commit

Permalink
response parser: fix "invalid response" error 🐛; 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Oct 1, 2023
1 parent 873b457 commit a0e9b79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/response-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const createResponseParser = () => {

const invalid = () => {
peek = null // allow garbage collection
out.destroy(new Error('invalid Gemini request'))
out.destroy(new Error('invalid Gemini response'))
}

let firstByteEmitted = false
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@derhuerst/gemini",
"description": "Experimental Gemini server & client.",
"version": "1.3.0",
"version": "1.3.1",
"main": "index.js",
"files": [
"index.js",
Expand Down

0 comments on commit a0e9b79

Please sign in to comment.