@rivetkit/rivetkit-napi 0.0.0-pr.4936.6e4b14a → 0.0.0-pr.4937.f0c1a00

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.
Files changed (2) hide show
  1. package/index.d.ts +3 -1
  2. 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.4936.6e4b14a",
3
+ "version": "0.0.0-pr.4937.f0c1a00",
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.4936.6e4b14a"
46
+ "@rivetkit/engine-envoy-protocol": "0.0.0-pr.4937.f0c1a00"
47
47
  },
48
48
  "optionalDependencies": {
49
- "@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-pr.4936.6e4b14a",
50
- "@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-pr.4936.6e4b14a",
51
- "@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-pr.4936.6e4b14a",
52
- "@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-pr.4936.6e4b14a",
53
- "@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-pr.4936.6e4b14a",
54
- "@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-pr.4936.6e4b14a",
55
- "@rivetkit/rivetkit-napi-win32-x64-msvc": "0.0.0-pr.4936.6e4b14a"
49
+ "@rivetkit/rivetkit-napi-darwin-arm64": "0.0.0-pr.4937.f0c1a00",
50
+ "@rivetkit/rivetkit-napi-darwin-x64": "0.0.0-pr.4937.f0c1a00",
51
+ "@rivetkit/rivetkit-napi-linux-arm64-gnu": "0.0.0-pr.4937.f0c1a00",
52
+ "@rivetkit/rivetkit-napi-linux-arm64-musl": "0.0.0-pr.4937.f0c1a00",
53
+ "@rivetkit/rivetkit-napi-linux-x64-gnu": "0.0.0-pr.4937.f0c1a00",
54
+ "@rivetkit/rivetkit-napi-linux-x64-musl": "0.0.0-pr.4937.f0c1a00",
55
+ "@rivetkit/rivetkit-napi-win32-x64-msvc": "0.0.0-pr.4937.f0c1a00"
56
56
  }
57
57
  }