@rivetkit/rivetkit-napi 0.0.0-counter-latency-serverless-docs.cb4ffa1 → 0.0.0-counter-latency-current-actor-metrics.93e7a3b
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 -4
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -174,9 +174,10 @@ export interface JsServerlessResponseHead {
|
|
|
174
174
|
status: number
|
|
175
175
|
headers: Record<string, string>
|
|
176
176
|
}
|
|
177
|
-
export interface
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
export interface JsRegistryRouteResponse {
|
|
178
|
+
status: number
|
|
179
|
+
headers: Record<string, string>
|
|
180
|
+
body: Buffer
|
|
180
181
|
}
|
|
181
182
|
export interface JsServerlessStreamError {
|
|
182
183
|
group: string
|
|
@@ -315,7 +316,9 @@ export declare class CoreRegistry {
|
|
|
315
316
|
* separately to avoid re-entrancy.
|
|
316
317
|
*/
|
|
317
318
|
shutdown(): Promise<void>
|
|
318
|
-
|
|
319
|
+
health(): Promise<JsRegistryRouteResponse>
|
|
320
|
+
metadata(): JsRegistryRouteResponse
|
|
321
|
+
metrics(): JsRegistryRouteResponse
|
|
319
322
|
handleServerlessRequest(req: JsServerlessRequest, onStreamEvent: (...args: any[]) => any, cancelToken: CancellationToken, config: JsServeConfig): Promise<JsServerlessResponseHead>
|
|
320
323
|
}
|
|
321
324
|
export declare class Schedule {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/rivetkit-napi",
|
|
3
|
-
"version": "0.0.0-counter-latency-
|
|
3
|
+
"version": "0.0.0-counter-latency-current-actor-metrics.93e7a3b",
|
|
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",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@napi-rs/cli": "^2.18.4",
|
|
46
|
-
"@rivetkit/engine-envoy-protocol": "0.0.0-counter-latency-
|
|
46
|
+
"@rivetkit/engine-envoy-protocol": "0.0.0-counter-latency-current-actor-metrics.93e7a3b"
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-counter-latency-
|
|
50
|
-
"@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-counter-latency-
|
|
51
|
-
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-counter-latency-
|
|
52
|
-
"@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-counter-latency-
|
|
53
|
-
"@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-counter-latency-
|
|
54
|
-
"@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-counter-latency-
|
|
55
|
-
"@rivetkit/rivetkit-napi-win32-x64-msvc": "0.0.0-counter-latency-
|
|
49
|
+
"@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-counter-latency-current-actor-metrics.93e7a3b",
|
|
50
|
+
"@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-counter-latency-current-actor-metrics.93e7a3b",
|
|
51
|
+
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-counter-latency-current-actor-metrics.93e7a3b",
|
|
52
|
+
"@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-counter-latency-current-actor-metrics.93e7a3b",
|
|
53
|
+
"@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-counter-latency-current-actor-metrics.93e7a3b",
|
|
54
|
+
"@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-counter-latency-current-actor-metrics.93e7a3b",
|
|
55
|
+
"@rivetkit/rivetkit-napi-win32-x64-msvc": "0.0.0-counter-latency-current-actor-metrics.93e7a3b"
|
|
56
56
|
}
|
|
57
57
|
}
|