@rivetkit/rivetkit-napi 0.0.0-pr.4935.fa26fed → 0.0.0-pr.4937.707e0f3
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 +3 -1
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -228,6 +228,9 @@ export declare class ActorContext {
|
|
|
228
228
|
aborted(): boolean
|
|
229
229
|
runHandlerActive(): boolean
|
|
230
230
|
restartRunHandler(): void
|
|
231
|
+
beginKeepAwake(): number
|
|
232
|
+
endKeepAwake(regionId: number): void
|
|
233
|
+
keepAwake(promise: Promise<any>): void
|
|
231
234
|
beginWebsocketCallback(): number
|
|
232
235
|
endWebsocketCallback(regionId: number): void
|
|
233
236
|
abortSignal(): AbortSignal
|
|
@@ -237,7 +240,6 @@ export declare class ActorContext {
|
|
|
237
240
|
disconnectConns(predicate: (...args: any[]) => any): Promise<void>
|
|
238
241
|
broadcast(name: string, args: Buffer): void
|
|
239
242
|
waitUntil(promise: Promise<any>): void
|
|
240
|
-
keepAwake(promise: Promise<any>): Promise<any>
|
|
241
243
|
registerTask(promise: Promise<any>): void
|
|
242
244
|
runtimeState(): object
|
|
243
245
|
clearRuntimeState(): void
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivetkit/rivetkit-napi",
|
|
3
|
-
"version": "0.0.0-pr.
|
|
3
|
+
"version": "0.0.0-pr.4937.707e0f3",
|
|
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-pr.
|
|
46
|
+
"@rivetkit/engine-envoy-protocol": "0.0.0-pr.4937.707e0f3"
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-pr.
|
|
50
|
-
"@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-pr.
|
|
51
|
-
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-pr.
|
|
52
|
-
"@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-pr.
|
|
53
|
-
"@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-pr.
|
|
54
|
-
"@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-pr.
|
|
55
|
-
"@rivetkit/rivetkit-napi-win32-x64-msvc": "0.0.0-pr.
|
|
49
|
+
"@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-pr.4937.707e0f3",
|
|
50
|
+
"@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-pr.4937.707e0f3",
|
|
51
|
+
"@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-pr.4937.707e0f3",
|
|
52
|
+
"@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-pr.4937.707e0f3",
|
|
53
|
+
"@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-pr.4937.707e0f3",
|
|
54
|
+
"@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-pr.4937.707e0f3",
|
|
55
|
+
"@rivetkit/rivetkit-napi-win32-x64-msvc": "0.0.0-pr.4937.707e0f3"
|
|
56
56
|
}
|
|
57
57
|
}
|