@rivetkit/rivetkit-napi 2.3.0-rc.10 → 2.3.0-rc.12

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 -1
  2. package/package.json +9 -9
package/index.d.ts CHANGED
@@ -242,6 +242,7 @@ export declare class ActorContext {
242
242
  broadcast(name: string, args: Buffer): void
243
243
  waitUntil(promise: Promise<any>): void
244
244
  waitForTrackedShutdownWork(): Promise<boolean>
245
+ waitForTrackedShutdownWorkUnbounded(): Promise<void>
245
246
  registerTask(promise: Promise<any>): void
246
247
  runtimeState(): object
247
248
  clearRuntimeState(): void
@@ -289,7 +290,7 @@ export declare class Queue {
289
290
  next(options?: JsQueueNextOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<QueueMessage | null>
290
291
  nextBatch(options?: JsQueueNextBatchOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<Array<QueueMessage>>
291
292
  waitForNames(names: Array<string>, options?: JsQueueWaitOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<QueueMessage>
292
- waitForNamesAvailable(names: Array<string>, options?: JsQueueWaitOptions | undefined | null): Promise<void>
293
+ waitForNamesAvailable(names: Array<string>, options?: JsQueueWaitOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<void>
293
294
  enqueueAndWait(name: string, body: Buffer, options?: JsQueueEnqueueAndWaitOptions | undefined | null, signal?: CancellationToken | undefined | null): Promise<Buffer | null>
294
295
  tryNext(options?: JsQueueTryNextOptions | undefined | null): QueueMessage | null
295
296
  tryNextBatch(options?: JsQueueTryNextBatchOptions | undefined | null): Array<QueueMessage>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/rivetkit-napi",
3
- "version": "2.3.0-rc.10",
3
+ "version": "2.3.0-rc.12",
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": "2.3.0-rc.10"
46
+ "@rivetkit/engine-envoy-protocol": "2.3.0-rc.12"
47
47
  },
48
48
  "optionalDependencies": {
49
- "@rivetkit/rivetkit-napi-darwin-arm64": "2.3.0-rc.10",
50
- "@rivetkit/rivetkit-napi-darwin-x64": "2.3.0-rc.10",
51
- "@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.0-rc.10",
52
- "@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.0-rc.10",
53
- "@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.0-rc.10",
54
- "@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.0-rc.10",
55
- "@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.0-rc.10"
49
+ "@rivetkit/rivetkit-napi-darwin-arm64": "2.3.0-rc.12",
50
+ "@rivetkit/rivetkit-napi-darwin-x64": "2.3.0-rc.12",
51
+ "@rivetkit/rivetkit-napi-linux-arm64-gnu": "2.3.0-rc.12",
52
+ "@rivetkit/rivetkit-napi-linux-arm64-musl": "2.3.0-rc.12",
53
+ "@rivetkit/rivetkit-napi-linux-x64-gnu": "2.3.0-rc.12",
54
+ "@rivetkit/rivetkit-napi-linux-x64-musl": "2.3.0-rc.12",
55
+ "@rivetkit/rivetkit-napi-win32-x64-msvc": "2.3.0-rc.12"
56
56
  }
57
57
  }