@rivetkit/rivetkit-napi 0.0.0-pr.4952.43f6721 → 0.0.0-pr.4961.4cbf443

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