typescript-sdk/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Glen Maddern b6617dc44c Fix Zod object detection logic
Previously, this check was `value instanceof ZodType`, which breaks if
the user is using a different version of Zod than the library. Instead,
do the check using the structure of the input object rather than its
prototype chain.

Additionally, this adds a vendored version of Zod to use for tests, which
ensures that regressions like this would be caught next time.
2025-05-09 15:26:33 +10:00
..
__mocks__ Fix tests 2025-02-11 22:02:20 +00:00
client Add stderr access before start 2025-04-30 16:46:35 -07:00
examples fix sse examples 2025-04-23 22:32:56 +01:00
integration-tests lint 2025-04-21 15:31:38 +01:00
server Fix Zod object detection logic 2025-05-09 15:26:33 +10:00
shared Pass request _meta to request handlers extra param 2025-04-25 14:42:59 +02:00
cli.ts Use eventsource package 2025-01-22 18:49:04 +00:00
inMemory.test.ts Pass extra object instead of authInfo directly 2025-04-12 16:38:55 -07:00
inMemory.ts Update inMemory.ts 2025-04-12 16:45:05 -07:00
types.test.ts Update protocol version 2025-04-25 09:29:29 -04:00
types.ts Merge branch 'main' into update-protocol-version 2025-04-28 17:59:36 -04:00