@rivetkit/rivetkit-napi 2.3.23 → 2.3.24-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.
Files changed (2) hide show
  1. package/index.d.ts +2 -0
  2. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -372,6 +372,8 @@ export declare class ActorContext {
372
372
  sleep(): void
373
373
  destroy(): void
374
374
  destroyRequested(): boolean
375
+ generation(): number | null
376
+ isLost(): boolean
375
377
  waitForDestroyCompletion(): Promise<void>
376
378
  setPreventSleep(preventSleep: boolean): void
377
379
  preventSleep(): boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/rivetkit-napi",
3
- "version": "2.3.23",
3
+ "version": "2.3.24-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,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@napi-rs/cli": "^2.18.4",
47
- "@rivetkit/engine-envoy-protocol": "2.3.23"
47
+ "@rivetkit/engine-envoy-protocol": "2.3.24-rc.1"
48
48
  },
49
49
  "repository": {
50
50
  "type": "git",
@@ -52,12 +52,12 @@
52
52
  "directory": "rivetkit-typescript/packages/rivetkit-napi"
53
53
  },
54
54
  "optionalDependencies": {
55
- "@rivetkit/rivetkit-napi-darwin-arm64": "2.3.23",
56
- "@rivetkit/rivetkit-napi-darwin-x64": "2.3.23",
57
- "@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.23",
58
- "@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.23",
59
- "@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.23",
60
- "@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.23",
61
- "@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.23"
55
+ "@rivetkit/rivetkit-napi-darwin-arm64": "2.3.24-rc.1",
56
+ "@rivetkit/rivetkit-napi-darwin-x64": "2.3.24-rc.1",
57
+ "@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.24-rc.1",
58
+ "@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.24-rc.1",
59
+ "@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.24-rc.1",
60
+ "@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.24-rc.1",
61
+ "@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.24-rc.1"
62
62
  }
63
63
  }