@rivetkit/rivetkit-napi 2.3.10 → 2.3.11-rc.1
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/index.d.ts +7 -1
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -220,6 +220,11 @@ export interface JsServerlessResponseHead {
|
|
|
220
220
|
status: number
|
|
221
221
|
headers: Record<string, string>
|
|
222
222
|
}
|
|
223
|
+
export interface JsApplicationResponse {
|
|
224
|
+
status: number
|
|
225
|
+
headers: Record<string, string>
|
|
226
|
+
body: Buffer
|
|
227
|
+
}
|
|
223
228
|
export interface JsRegistryRouteResponse {
|
|
224
229
|
status: number
|
|
225
230
|
headers: Record<string, string>
|
|
@@ -416,7 +421,8 @@ export declare class CoreRegistry {
|
|
|
416
421
|
health(): Promise<JsRegistryRouteResponse>
|
|
417
422
|
metadata(): JsRegistryRouteResponse
|
|
418
423
|
metrics(): JsRegistryRouteResponse
|
|
419
|
-
|
|
424
|
+
serveApplicationListener(listener: JsListenerConfig, application: (...args: any[]) => any, config: JsServeConfig): Promise<void>
|
|
425
|
+
serveListener(listener: JsListenerConfig, config: JsServeConfig, application?: (...args: any[]) => any | undefined | null): Promise<void>
|
|
420
426
|
handleServerlessRequest(req: JsServerlessRequest, onStreamEvent: (...args: any[]) => any, cancelToken: CancellationToken, config: JsServeConfig): Promise<JsServerlessResponseHead>
|
|
421
427
|
}
|
|
422
428
|
export declare class Schedule {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/rivetkit-napi",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.11-rc.1",
|
|
4
4
|
"description": "Native N-API addon for RivetKit providing envoy client and SQLite access",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "index.js",
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@napi-rs/cli": "^2.18.4",
|
|
47
|
-
"@rivetkit/engine-envoy-protocol": "2.3.
|
|
47
|
+
"@rivetkit/engine-envoy-protocol": "2.3.11-rc.1"
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"@rivetkit/rivetkit-napi-darwin-arm64": "2.3.
|
|
51
|
-
"@rivetkit/rivetkit-napi-darwin-x64": "2.3.
|
|
52
|
-
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.
|
|
53
|
-
"@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.
|
|
54
|
-
"@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.
|
|
55
|
-
"@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.
|
|
56
|
-
"@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.
|
|
50
|
+
"@rivetkit/rivetkit-napi-darwin-arm64": "2.3.11-rc.1",
|
|
51
|
+
"@rivetkit/rivetkit-napi-darwin-x64": "2.3.11-rc.1",
|
|
52
|
+
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.11-rc.1",
|
|
53
|
+
"@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.11-rc.1",
|
|
54
|
+
"@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.11-rc.1",
|
|
55
|
+
"@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.11-rc.1",
|
|
56
|
+
"@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.11-rc.1"
|
|
57
57
|
}
|
|
58
58
|
}
|