Skip to content

Commit 78a7754

Browse files
authored
Merge branch 'main' into main
2 parents 8592096 + fbdeb06 commit 78a7754

12 files changed

+431
-50
lines changed

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 2,
4+
"trailingComma": "all",
5+
"jsxBracketSameLine": true,
6+
"semi": true,
7+
"singleQuote": false
8+
}

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ export default {
1212
transformIgnorePatterns: [
1313
"/node_modules/(?!eventsource)/"
1414
],
15+
collectCoverageFrom: ["src/**/*.ts"],
1516
testPathIgnorePatterns: ["/node_modules/", "/dist/"],
1617
};

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"prepack": "npm run build:esm && npm run build:cjs",
4242
"lint": "eslint src/",
4343
"test": "jest",
44+
"coverage": "jest --coverage",
4445
"start": "npm run server",
4546
"server": "tsx watch --clear-screen=false src/cli.ts server",
4647
"client": "tsx src/cli.ts client"
@@ -52,7 +53,7 @@
5253
"eventsource": "^3.0.2",
5354
"express": "^5.0.1",
5455
"express-rate-limit": "^7.5.0",
55-
"pkce-challenge": "^4.1.0",
56+
"pkce-challenge": "^5.0.0",
5657
"raw-body": "^3.0.0",
5758
"zod": "^3.23.8",
5859
"zod-to-json-schema": "^3.24.1"

src/inMemory.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export class InMemoryTransport implements Transport {
1212
onerror?: (error: Error) => void;
1313
onmessage?: (message: JSONRPCMessage) => void;
1414
sessionId?: string;
15+
user?: unknown;
1516

1617
/**
1718
* Creates a pair of linked in-memory transports that can communicate with each other. One should be passed to a Client and one to a Server.

0 commit comments

Comments
 (0)