@expo/server
Advanced tools
Comparing version 0.5.0-canary-20240814-ce0f7d5 to 0.5.0-canary-20240904-69100c1
@@ -20,3 +20,5 @@ /** | ||
contentType?: string | undefined; | ||
decodedBody?: unknown; | ||
moduleIdCallback?: ((id: string) => void) | undefined; | ||
onError?: (err: unknown) => void; | ||
}; | ||
@@ -29,2 +31,3 @@ export declare const decodeInput: (encodedInput: string) => string; | ||
renderRsc: (args: RenderRscArgs) => Promise<ReadableStream<any>>; | ||
onError?: (err: unknown) => void; | ||
}): { | ||
@@ -31,0 +34,0 @@ GET: (req: Request) => Promise<Response>; |
@@ -83,2 +83,4 @@ "use strict"; | ||
contentType: req.headers.get('Content-Type') ?? '', | ||
decodedBody: req.headers.get('x-expo-params'), | ||
onError: options.onError, | ||
}; | ||
@@ -85,0 +87,0 @@ const readable = await options.renderRsc(args); |
{ | ||
"name": "@expo/server", | ||
"version": "0.5.0-canary-20240814-ce0f7d5", | ||
"version": "0.5.0-canary-20240904-69100c1", | ||
"description": "Server API for Expo Router projects", | ||
@@ -45,3 +45,3 @@ "main": "build/index.js", | ||
}, | ||
"gitHead": "ce0f7d5c7eaec2c8d06ee4e0dc0e58cd6c1612ed" | ||
"gitHead": "69100c1b099b707057c052ed8096e06cb208aca1" | ||
} |
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
59938
968