@rivetkit/rivetkit-napi 2.3.5 → 2.3.7

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 +7 -0
  2. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -397,6 +397,13 @@ export declare class CoreRegistry {
397
397
  constructor()
398
398
  register(name: string, factory: NapiActorFactory): void
399
399
  serve(config: JsServeConfig): Promise<void>
400
+ /**
401
+ * Wait until the serverful envoy has completed its Engine registration.
402
+ *
403
+ * Readiness is the envoy client's `ToEnvoyInit` signal, not HTTP health or
404
+ * merely constructing the envoy handle.
405
+ */
406
+ waitReady(): Promise<void>
400
407
  /**
401
408
  * Trip the shutdown token and tear down any live serverless runtime.
402
409
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/rivetkit-napi",
3
- "version": "2.3.5",
3
+ "version": "2.3.7",
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,15 +44,15 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@napi-rs/cli": "^2.18.4",
47
- "@rivetkit/engine-envoy-protocol": "2.3.5"
47
+ "@rivetkit/engine-envoy-protocol": "2.3.7"
48
48
  },
49
49
  "optionalDependencies": {
50
- "@rivetkit/rivetkit-napi-darwin-arm64": "2.3.5",
51
- "@rivetkit/rivetkit-napi-darwin-x64": "2.3.5",
52
- "@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.5",
53
- "@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.5",
54
- "@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.5",
55
- "@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.5",
56
- "@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.5"
50
+ "@rivetkit/rivetkit-napi-darwin-arm64": "2.3.7",
51
+ "@rivetkit/rivetkit-napi-darwin-x64": "2.3.7",
52
+ "@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.7",
53
+ "@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.7",
54
+ "@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.7",
55
+ "@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.7",
56
+ "@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.7"
57
57
  }
58
58
  }