@rivetkit/effect 2.3.11-rc.8 → 2.3.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/effect",
3
- "version": "2.3.11-rc.8",
3
+ "version": "2.3.11",
4
4
  "description": "Effect SDK for Rivet Actors",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "peerDependencies": {
33
33
  "effect": "^4.0.0-beta.66",
34
- "rivetkit": "2.3.11-rc.8"
34
+ "rivetkit": "2.3.11"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@arethetypeswrong/cli": "^0.18.3",
@@ -40,7 +40,7 @@
40
40
  "@types/node": "^22.18.1",
41
41
  "@vitest/coverage-v8": "^4.1.7",
42
42
  "publint": "^0.3.21",
43
- "rivetkit": "2.3.11-rc.8",
43
+ "rivetkit": "2.3.11",
44
44
  "typescript": "^5.9.2",
45
45
  "vitest": "^4.1.5"
46
46
  },
@@ -288,6 +288,12 @@ describe("Actor.make(...).toLayer", () => {
288
288
  expectTypeOf(
289
289
  wakeOptions.rawRivetkitContext.db,
290
290
  ).toEqualTypeOf<RawAccess>();
291
+ expectTypeOf(
292
+ wakeOptions.rawRivetkitContext.db.transaction(
293
+ async () => {},
294
+ { name: "effect-operation", timeout: 1_000 },
295
+ ),
296
+ ).toEqualTypeOf<Promise<void>>();
291
297
 
292
298
  return {
293
299
  Ping: () => Effect.succeed(0),