expo-router 6.0.8 → 6.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/server.d.ts +15 -4
- package/server.js +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-router",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.9",
|
|
4
4
|
"description": "Expo Router is a file-based router for React Native and web applications.",
|
|
5
5
|
"author": "650 Industries, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -152,5 +152,5 @@
|
|
|
152
152
|
"use-latest-callback": "^0.2.1",
|
|
153
153
|
"vaul": "^1.1.2"
|
|
154
154
|
},
|
|
155
|
-
"gitHead": "
|
|
155
|
+
"gitHead": "1ab3b9621b78b77b81049ebf06149753a1e0898c"
|
|
156
156
|
}
|
package/server.d.ts
CHANGED
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export type { MiddlewareFunction } from '@expo/server';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use Fetch API `Request` instead.
|
|
5
|
+
*
|
|
6
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Request)
|
|
7
|
+
*/
|
|
8
|
+
export type ExpoRequest = Request;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use Fetch API `Response` instead.
|
|
12
|
+
*
|
|
13
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
14
|
+
*/
|
|
15
|
+
export type ExpoResponse = Response;
|
|
3
16
|
|
|
4
17
|
export type RequestHandler = (
|
|
5
18
|
request: Request,
|
|
6
19
|
params: Record<string, string>
|
|
7
20
|
) => Response | Promise<Response>;
|
|
8
|
-
|
|
9
|
-
export { ExpoRequest, ExpoResponse };
|
package/server.js
CHANGED