rivetkit 2.3.0-rc.5 → 2.3.0-rc.6
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/dist/browser/client.d.ts +21 -18
- package/dist/browser/client.js +735 -170
- package/dist/browser/client.js.map +1 -1
- package/dist/browser/inspector/client.js +1 -1
- package/dist/browser/inspector/client.js.map +1 -1
- package/dist/tsup/actor/errors.cjs +4 -2
- package/dist/tsup/actor/errors.cjs.map +1 -1
- package/dist/tsup/actor/errors.d.cts +1 -74
- package/dist/tsup/actor/errors.d.ts +1 -74
- package/dist/tsup/actor/errors.js +3 -1
- package/dist/tsup/agent-os/index.cjs +1 -1
- package/dist/tsup/agent-os/index.cjs.map +1 -1
- package/dist/tsup/agent-os/index.d.cts +18 -7
- package/dist/tsup/agent-os/index.d.ts +18 -7
- package/dist/tsup/agent-os/index.js +1 -1
- package/dist/tsup/agent-os/index.js.map +1 -1
- package/dist/tsup/{chunk-2GANBXVP.cjs → chunk-2G64KSZQ.cjs} +10 -10
- package/dist/tsup/{chunk-2GANBXVP.cjs.map → chunk-2G64KSZQ.cjs.map} +1 -1
- package/dist/tsup/{chunk-N2DQSJIW.js → chunk-6S25NVAP.js} +13 -46
- package/dist/tsup/chunk-6S25NVAP.js.map +1 -0
- package/dist/tsup/{chunk-NATOT3ET.js → chunk-CAF6JDJE.js} +4 -4
- package/dist/tsup/{chunk-PGYEMIOE.js → chunk-DEO7MMWQ.js} +2 -2
- package/dist/tsup/{chunk-SULB574D.js → chunk-EMO6E3PJ.js} +3 -3
- package/dist/tsup/{chunk-FTZIZ3JG.cjs → chunk-ENK7C66G.cjs} +838 -236
- package/dist/tsup/chunk-ENK7C66G.cjs.map +1 -0
- package/dist/tsup/{chunk-JY73X7VU.js → chunk-FLODVLYW.js} +690 -88
- package/dist/tsup/chunk-FLODVLYW.js.map +1 -0
- package/dist/tsup/{chunk-OVJX4IFY.cjs → chunk-HTR4YLNT.cjs} +4 -4
- package/dist/tsup/{chunk-OVJX4IFY.cjs.map → chunk-HTR4YLNT.cjs.map} +1 -1
- package/dist/tsup/{chunk-LELRJK66.cjs → chunk-JALSAX7Z.cjs} +3 -3
- package/dist/tsup/{chunk-LELRJK66.cjs.map → chunk-JALSAX7Z.cjs.map} +1 -1
- package/dist/tsup/{chunk-JRCZDHXT.cjs → chunk-K5BA2LEO.cjs} +19 -52
- package/dist/tsup/chunk-K5BA2LEO.cjs.map +1 -0
- package/dist/tsup/{chunk-K34B3OVG.js → chunk-KIWH5H3K.js} +30 -9
- package/dist/tsup/chunk-KIWH5H3K.js.map +1 -0
- package/dist/tsup/{chunk-NW2J4SOL.cjs → chunk-LIXXFXVR.cjs} +5 -5
- package/dist/tsup/{chunk-NW2J4SOL.cjs.map → chunk-LIXXFXVR.cjs.map} +1 -1
- package/dist/tsup/{chunk-HR547GVH.cjs → chunk-M5C7YNI5.cjs} +8 -8
- package/dist/tsup/{chunk-HR547GVH.cjs.map → chunk-M5C7YNI5.cjs.map} +1 -1
- package/dist/tsup/{chunk-V3QNBJ7N.cjs → chunk-QAZLM4WT.cjs} +31 -10
- package/dist/tsup/chunk-QAZLM4WT.cjs.map +1 -0
- package/dist/tsup/{chunk-LDTT6WKJ.js → chunk-RTC2AZGB.js} +2 -2
- package/dist/tsup/{chunk-UXTP4EBU.js → chunk-ZI5QJMKO.js} +2 -2
- package/dist/tsup/client/mod.cjs +7 -7
- package/dist/tsup/client/mod.d.cts +3 -4
- package/dist/tsup/client/mod.d.ts +3 -4
- package/dist/tsup/client/mod.js +6 -6
- package/dist/tsup/common/log.cjs +3 -3
- package/dist/tsup/common/log.js +2 -2
- package/dist/tsup/common/websocket.cjs +4 -4
- package/dist/tsup/common/websocket.js +3 -3
- package/dist/tsup/{config-CvQUtDp9.d.ts → config-0Ta55UV0.d.ts} +10 -9
- package/dist/tsup/{config-C-a9vrke.d.cts → config-Ca8dN4cS.d.cts} +10 -9
- package/dist/tsup/{context-A7R0bsZL.d.ts → context-B_IWbWne.d.ts} +1 -1
- package/dist/tsup/{context-CA3r-pf2.d.cts → context-CUrQ9MHc.d.cts} +1 -1
- package/dist/tsup/inspector/mod.cjs +6 -6
- package/dist/tsup/inspector/mod.js +5 -5
- package/dist/tsup/mod.cjs +252 -207
- package/dist/tsup/mod.cjs.map +1 -1
- package/dist/tsup/mod.d.cts +4 -5
- package/dist/tsup/mod.d.ts +4 -5
- package/dist/tsup/mod.js +183 -138
- package/dist/tsup/mod.js.map +1 -1
- package/dist/tsup/test/mod.cjs +10 -10
- package/dist/tsup/test/mod.d.cts +2 -3
- package/dist/tsup/test/mod.d.ts +2 -3
- package/dist/tsup/test/mod.js +6 -6
- package/dist/tsup/utils-DVekpm4I.d.cts +103 -0
- package/dist/tsup/utils-DVekpm4I.d.ts +103 -0
- package/dist/tsup/utils.cjs +3 -3
- package/dist/tsup/utils.d.cts +1 -1
- package/dist/tsup/utils.d.ts +1 -1
- package/dist/tsup/utils.js +2 -2
- package/dist/tsup/workflow/mod.cjs +9 -9
- package/dist/tsup/workflow/mod.d.cts +4 -5
- package/dist/tsup/workflow/mod.d.ts +4 -5
- package/dist/tsup/workflow/mod.js +5 -5
- package/package.json +8 -8
- package/src/actor/errors.ts +53 -7
- package/src/client/actor-conn.ts +52 -29
- package/src/client/actor-handle.ts +57 -23
- package/src/client/errors.ts +2 -1
- package/src/client/raw-utils.ts +2 -4
- package/src/client/utils.ts +32 -3
- package/src/common/actor-router-consts.ts +4 -0
- package/src/common/bare/generated/client-protocol/v4.ts +599 -0
- package/src/common/client-protocol-versioned.ts +125 -18
- package/src/common/client-protocol-zod.ts +7 -0
- package/src/common/client-protocol.ts +1 -1
- package/src/common/database/native-database.test.ts +35 -0
- package/src/common/database/native-database.ts +8 -4
- package/src/common/router.ts +38 -8
- package/src/common/utils.ts +9 -52
- package/src/drivers/engine/actor-driver.ts +18 -17
- package/src/registry/config/index.ts +3 -5
- package/src/registry/index.ts +156 -19
- package/src/registry/napi-runtime.ts +44 -6
- package/src/registry/native.ts +5 -152
- package/src/registry/runtime.ts +16 -5
- package/src/registry/wasm-runtime.ts +22 -2
- package/dist/tsup/chunk-FTZIZ3JG.cjs.map +0 -1
- package/dist/tsup/chunk-JRCZDHXT.cjs.map +0 -1
- package/dist/tsup/chunk-JY73X7VU.js.map +0 -1
- package/dist/tsup/chunk-K34B3OVG.js.map +0 -1
- package/dist/tsup/chunk-N2DQSJIW.js.map +0 -1
- package/dist/tsup/chunk-V3QNBJ7N.cjs.map +0 -1
- package/dist/tsup/utils-fwx3o3K9.d.cts +0 -18
- package/dist/tsup/utils-fwx3o3K9.d.ts +0 -18
- /package/dist/tsup/{chunk-NATOT3ET.js.map → chunk-CAF6JDJE.js.map} +0 -0
- /package/dist/tsup/{chunk-PGYEMIOE.js.map → chunk-DEO7MMWQ.js.map} +0 -0
- /package/dist/tsup/{chunk-SULB574D.js.map → chunk-EMO6E3PJ.js.map} +0 -0
- /package/dist/tsup/{chunk-LDTT6WKJ.js.map → chunk-RTC2AZGB.js.map} +0 -0
- /package/dist/tsup/{chunk-UXTP4EBU.js.map → chunk-ZI5QJMKO.js.map} +0 -0
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var _chunkV3QNBJ7Ncjs = require('../chunk-V3QNBJ7N.cjs');
|
|
22
21
|
|
|
22
|
+
var _chunkQAZLM4WTcjs = require('../chunk-QAZLM4WT.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
@@ -40,5 +40,7 @@ var _chunkV3QNBJ7Ncjs = require('../chunk-V3QNBJ7N.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
exports.ActorError = _chunkQAZLM4WTcjs.RivetError; exports.BRIDGE_RIVET_ERROR_PREFIX = _chunkQAZLM4WTcjs.BRIDGE_RIVET_ERROR_PREFIX; exports.INTERNAL_ERROR_CODE = _chunkQAZLM4WTcjs.INTERNAL_ERROR_CODE; exports.INTERNAL_ERROR_DESCRIPTION = _chunkQAZLM4WTcjs.INTERNAL_ERROR_DESCRIPTION; exports.RivetError = _chunkQAZLM4WTcjs.RivetError; exports.USER_ERROR_CODE = _chunkQAZLM4WTcjs.USER_ERROR_CODE; exports.UserError = _chunkQAZLM4WTcjs.UserError; exports.actorNotFound = _chunkQAZLM4WTcjs.actorNotFound; exports.actorRestarting = _chunkQAZLM4WTcjs.actorRestarting; exports.actorStopping = _chunkQAZLM4WTcjs.actorStopping; exports.decodeBridgeRivetError = _chunkQAZLM4WTcjs.decodeBridgeRivetError; exports.decodeBridgeRivetErrorPayload = _chunkQAZLM4WTcjs.decodeBridgeRivetErrorPayload; exports.encodeBridgeRivetError = _chunkQAZLM4WTcjs.encodeBridgeRivetError; exports.forbiddenError = _chunkQAZLM4WTcjs.forbiddenError; exports.internalError = _chunkQAZLM4WTcjs.internalError; exports.invalidEncoding = _chunkQAZLM4WTcjs.invalidEncoding; exports.invalidRequest = _chunkQAZLM4WTcjs.invalidRequest; exports.isRivetErrorCode = _chunkQAZLM4WTcjs.isRivetErrorCode; exports.isRivetErrorLike = _chunkQAZLM4WTcjs.isRivetErrorLike; exports.toRivetError = _chunkQAZLM4WTcjs.toRivetError; exports.unsupportedFeature = _chunkQAZLM4WTcjs.unsupportedFeature;
|
|
44
46
|
//# sourceMappingURL=errors.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/rivet/rivet/rivetkit-typescript/packages/rivetkit/dist/tsup/actor/errors.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/rivet/rivet/rivetkit-typescript/packages/rivetkit/dist/tsup/actor/errors.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,8zCAAC","file":"/home/runner/work/rivet/rivet/rivetkit-typescript/packages/rivetkit/dist/tsup/actor/errors.cjs"}
|
|
@@ -1,76 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
export { R as ActorError, A as ActorRestartingOptions, c as ActorSpecifier, B as BRIDGE_RIVET_ERROR_PREFIX, d as BridgeRivetErrorPayload, I as INTERNAL_ERROR_CODE, e as INTERNAL_ERROR_DESCRIPTION, f as InternalErrorMetadata, R as RivetError, g as RivetErrorLike, h as RivetErrorOptions, i as USER_ERROR_CODE, U as UserError, a as UserErrorOptions, j as actorNotFound, k as actorRestarting, l as actorStopping, m as decodeBridgeRivetError, o as decodeBridgeRivetErrorPayload, p as encodeBridgeRivetError, q as forbiddenError, r as internalError, t as invalidEncoding, u as invalidRequest, v as isRivetErrorCode, w as isRivetErrorLike, x as toRivetError, y as unsupportedFeature } from '../utils-DVekpm4I.cjs';
|
|
2
2
|
import 'hono';
|
|
3
3
|
import 'hono/utils/http-status';
|
|
4
|
-
|
|
5
|
-
declare const INTERNAL_ERROR_CODE = "internal_error";
|
|
6
|
-
declare const INTERNAL_ERROR_DESCRIPTION = "An internal error occurred";
|
|
7
|
-
type InternalErrorMetadata = Record<string, never>;
|
|
8
|
-
declare const USER_ERROR_CODE = "user_error";
|
|
9
|
-
declare const BRIDGE_RIVET_ERROR_PREFIX = "__RIVET_ERROR_JSON__:";
|
|
10
|
-
interface RivetErrorOptions extends ErrorOptions {
|
|
11
|
-
/** Error data can safely be serialized in a response to the client. */
|
|
12
|
-
public?: boolean;
|
|
13
|
-
/** Metadata associated with this error. */
|
|
14
|
-
metadata?: unknown;
|
|
15
|
-
/** Explicit HTTP status override for router responses. */
|
|
16
|
-
statusCode?: number;
|
|
17
|
-
}
|
|
18
|
-
interface RivetErrorLike {
|
|
19
|
-
__type?: "ActorError" | "RivetError";
|
|
20
|
-
group: string;
|
|
21
|
-
code: string;
|
|
22
|
-
message: string;
|
|
23
|
-
metadata?: unknown;
|
|
24
|
-
public?: boolean;
|
|
25
|
-
statusCode?: number;
|
|
26
|
-
}
|
|
27
|
-
interface UserErrorOptions extends ErrorOptions {
|
|
28
|
-
/**
|
|
29
|
-
* Machine readable code for this error. Useful for catching different types of
|
|
30
|
-
* errors in try-catch.
|
|
31
|
-
*/
|
|
32
|
-
code?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Additional metadata related to the error. Useful for understanding context
|
|
35
|
-
* about the error.
|
|
36
|
-
*/
|
|
37
|
-
metadata?: unknown;
|
|
38
|
-
}
|
|
39
|
-
declare function isRivetErrorLike(error: unknown): error is RivetError | DeconstructedError | RivetErrorLike;
|
|
40
|
-
declare class RivetError extends Error {
|
|
41
|
-
__type: "RivetError";
|
|
42
|
-
public: boolean;
|
|
43
|
-
metadata?: unknown;
|
|
44
|
-
statusCode: number;
|
|
45
|
-
readonly group: string;
|
|
46
|
-
readonly code: string;
|
|
47
|
-
static isRivetError(error: unknown): error is RivetError | DeconstructedError;
|
|
48
|
-
static isActorError(error: unknown): error is RivetError | DeconstructedError;
|
|
49
|
-
constructor(group: string, code: string, message: string, options?: RivetErrorOptions | unknown);
|
|
50
|
-
toString(): string;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
declare class UserError extends RivetError {
|
|
54
|
-
constructor(message: string, options?: UserErrorOptions);
|
|
55
|
-
}
|
|
56
|
-
declare function toRivetError(error: unknown, fallback?: Partial<RivetErrorLike>): RivetError;
|
|
57
|
-
declare function encodeBridgeRivetError(error: RivetErrorLike): string;
|
|
58
|
-
declare function decodeBridgeRivetError(value: string): RivetError | undefined;
|
|
59
|
-
declare function isRivetErrorCode(error: unknown, group: string, code: string): error is RivetError;
|
|
60
|
-
declare function internalError(message: string, options?: Partial<RivetErrorOptions> & {
|
|
61
|
-
group?: string;
|
|
62
|
-
code?: string;
|
|
63
|
-
}): RivetError;
|
|
64
|
-
declare function invalidEncoding(format?: string): RivetError;
|
|
65
|
-
declare function invalidRequest(error?: unknown): RivetError;
|
|
66
|
-
declare function actorNotFound(identifier?: string): RivetError;
|
|
67
|
-
declare function actorStopping(identifier?: string): RivetError;
|
|
68
|
-
interface ActorRestartingOptions {
|
|
69
|
-
phase?: "stopping" | "sleeping" | "waking" | "runner_shutdown";
|
|
70
|
-
retryAfterMs?: number;
|
|
71
|
-
}
|
|
72
|
-
declare function actorRestarting(opts?: ActorRestartingOptions): RivetError;
|
|
73
|
-
declare function forbiddenError(): RivetError;
|
|
74
|
-
declare function unsupportedFeature(feature: string): RivetError;
|
|
75
|
-
|
|
76
|
-
export { RivetError as ActorError, type ActorRestartingOptions, BRIDGE_RIVET_ERROR_PREFIX, INTERNAL_ERROR_CODE, INTERNAL_ERROR_DESCRIPTION, type InternalErrorMetadata, RivetError, type RivetErrorLike, type RivetErrorOptions, USER_ERROR_CODE, UserError, type UserErrorOptions, actorNotFound, actorRestarting, actorStopping, decodeBridgeRivetError, encodeBridgeRivetError, forbiddenError, internalError, invalidEncoding, invalidRequest, isRivetErrorCode, isRivetErrorLike, toRivetError, unsupportedFeature };
|
|
@@ -1,76 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
export { R as ActorError, A as ActorRestartingOptions, c as ActorSpecifier, B as BRIDGE_RIVET_ERROR_PREFIX, d as BridgeRivetErrorPayload, I as INTERNAL_ERROR_CODE, e as INTERNAL_ERROR_DESCRIPTION, f as InternalErrorMetadata, R as RivetError, g as RivetErrorLike, h as RivetErrorOptions, i as USER_ERROR_CODE, U as UserError, a as UserErrorOptions, j as actorNotFound, k as actorRestarting, l as actorStopping, m as decodeBridgeRivetError, o as decodeBridgeRivetErrorPayload, p as encodeBridgeRivetError, q as forbiddenError, r as internalError, t as invalidEncoding, u as invalidRequest, v as isRivetErrorCode, w as isRivetErrorLike, x as toRivetError, y as unsupportedFeature } from '../utils-DVekpm4I.js';
|
|
2
2
|
import 'hono';
|
|
3
3
|
import 'hono/utils/http-status';
|
|
4
|
-
|
|
5
|
-
declare const INTERNAL_ERROR_CODE = "internal_error";
|
|
6
|
-
declare const INTERNAL_ERROR_DESCRIPTION = "An internal error occurred";
|
|
7
|
-
type InternalErrorMetadata = Record<string, never>;
|
|
8
|
-
declare const USER_ERROR_CODE = "user_error";
|
|
9
|
-
declare const BRIDGE_RIVET_ERROR_PREFIX = "__RIVET_ERROR_JSON__:";
|
|
10
|
-
interface RivetErrorOptions extends ErrorOptions {
|
|
11
|
-
/** Error data can safely be serialized in a response to the client. */
|
|
12
|
-
public?: boolean;
|
|
13
|
-
/** Metadata associated with this error. */
|
|
14
|
-
metadata?: unknown;
|
|
15
|
-
/** Explicit HTTP status override for router responses. */
|
|
16
|
-
statusCode?: number;
|
|
17
|
-
}
|
|
18
|
-
interface RivetErrorLike {
|
|
19
|
-
__type?: "ActorError" | "RivetError";
|
|
20
|
-
group: string;
|
|
21
|
-
code: string;
|
|
22
|
-
message: string;
|
|
23
|
-
metadata?: unknown;
|
|
24
|
-
public?: boolean;
|
|
25
|
-
statusCode?: number;
|
|
26
|
-
}
|
|
27
|
-
interface UserErrorOptions extends ErrorOptions {
|
|
28
|
-
/**
|
|
29
|
-
* Machine readable code for this error. Useful for catching different types of
|
|
30
|
-
* errors in try-catch.
|
|
31
|
-
*/
|
|
32
|
-
code?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Additional metadata related to the error. Useful for understanding context
|
|
35
|
-
* about the error.
|
|
36
|
-
*/
|
|
37
|
-
metadata?: unknown;
|
|
38
|
-
}
|
|
39
|
-
declare function isRivetErrorLike(error: unknown): error is RivetError | DeconstructedError | RivetErrorLike;
|
|
40
|
-
declare class RivetError extends Error {
|
|
41
|
-
__type: "RivetError";
|
|
42
|
-
public: boolean;
|
|
43
|
-
metadata?: unknown;
|
|
44
|
-
statusCode: number;
|
|
45
|
-
readonly group: string;
|
|
46
|
-
readonly code: string;
|
|
47
|
-
static isRivetError(error: unknown): error is RivetError | DeconstructedError;
|
|
48
|
-
static isActorError(error: unknown): error is RivetError | DeconstructedError;
|
|
49
|
-
constructor(group: string, code: string, message: string, options?: RivetErrorOptions | unknown);
|
|
50
|
-
toString(): string;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
declare class UserError extends RivetError {
|
|
54
|
-
constructor(message: string, options?: UserErrorOptions);
|
|
55
|
-
}
|
|
56
|
-
declare function toRivetError(error: unknown, fallback?: Partial<RivetErrorLike>): RivetError;
|
|
57
|
-
declare function encodeBridgeRivetError(error: RivetErrorLike): string;
|
|
58
|
-
declare function decodeBridgeRivetError(value: string): RivetError | undefined;
|
|
59
|
-
declare function isRivetErrorCode(error: unknown, group: string, code: string): error is RivetError;
|
|
60
|
-
declare function internalError(message: string, options?: Partial<RivetErrorOptions> & {
|
|
61
|
-
group?: string;
|
|
62
|
-
code?: string;
|
|
63
|
-
}): RivetError;
|
|
64
|
-
declare function invalidEncoding(format?: string): RivetError;
|
|
65
|
-
declare function invalidRequest(error?: unknown): RivetError;
|
|
66
|
-
declare function actorNotFound(identifier?: string): RivetError;
|
|
67
|
-
declare function actorStopping(identifier?: string): RivetError;
|
|
68
|
-
interface ActorRestartingOptions {
|
|
69
|
-
phase?: "stopping" | "sleeping" | "waking" | "runner_shutdown";
|
|
70
|
-
retryAfterMs?: number;
|
|
71
|
-
}
|
|
72
|
-
declare function actorRestarting(opts?: ActorRestartingOptions): RivetError;
|
|
73
|
-
declare function forbiddenError(): RivetError;
|
|
74
|
-
declare function unsupportedFeature(feature: string): RivetError;
|
|
75
|
-
|
|
76
|
-
export { RivetError as ActorError, type ActorRestartingOptions, BRIDGE_RIVET_ERROR_PREFIX, INTERNAL_ERROR_CODE, INTERNAL_ERROR_DESCRIPTION, type InternalErrorMetadata, RivetError, type RivetErrorLike, type RivetErrorOptions, USER_ERROR_CODE, UserError, type UserErrorOptions, actorNotFound, actorRestarting, actorStopping, decodeBridgeRivetError, encodeBridgeRivetError, forbiddenError, internalError, invalidEncoding, invalidRequest, isRivetErrorCode, isRivetErrorLike, toRivetError, unsupportedFeature };
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
actorRestarting,
|
|
10
10
|
actorStopping,
|
|
11
11
|
decodeBridgeRivetError,
|
|
12
|
+
decodeBridgeRivetErrorPayload,
|
|
12
13
|
encodeBridgeRivetError,
|
|
13
14
|
forbiddenError,
|
|
14
15
|
internalError,
|
|
@@ -18,7 +19,7 @@ import {
|
|
|
18
19
|
isRivetErrorLike,
|
|
19
20
|
toRivetError,
|
|
20
21
|
unsupportedFeature
|
|
21
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-KIWH5H3K.js";
|
|
22
23
|
export {
|
|
23
24
|
RivetError as ActorError,
|
|
24
25
|
BRIDGE_RIVET_ERROR_PREFIX,
|
|
@@ -31,6 +32,7 @@ export {
|
|
|
31
32
|
actorRestarting,
|
|
32
33
|
actorStopping,
|
|
33
34
|
decodeBridgeRivetError,
|
|
35
|
+
decodeBridgeRivetErrorPayload,
|
|
34
36
|
encodeBridgeRivetError,
|
|
35
37
|
forbiddenError,
|
|
36
38
|
internalError,
|
|
@@ -787,7 +787,7 @@ function isRivetErrorCode(error, group, code) {
|
|
|
787
787
|
// package.json
|
|
788
788
|
var package_default = {
|
|
789
789
|
name: "rivetkit",
|
|
790
|
-
version: "2.3.0-rc.
|
|
790
|
+
version: "2.3.0-rc.6",
|
|
791
791
|
description: "Lightweight libraries for building stateful actors on edge platforms",
|
|
792
792
|
license: "Apache-2.0",
|
|
793
793
|
keywords: [
|