@orpc/client 0.0.0-next.c29cb6d → 0.0.0-next.c40d0c9

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.
@@ -0,0 +1,65 @@
1
+ import { Value } from '@orpc/shared';
2
+ import { S as StandardLinkPlugin, a as StandardLinkOptions } from '../shared/client.grRbC25r.js';
3
+ import { b as ClientOptions } from '../shared/client.C0lT7w02.js';
4
+ import '@orpc/standard-server';
5
+
6
+ interface ClientRetryPluginAttemptOptions {
7
+ lastEventRetry: number | undefined;
8
+ lastEventId: string | undefined;
9
+ attemptIndex: number;
10
+ error: unknown;
11
+ }
12
+ interface ClientRetryPluginContext {
13
+ /**
14
+ * Maximum retry attempts before throwing
15
+ * Use `Number.POSITIVE_INFINITY` for infinite retries (e.g., when handling Server-Sent Events).
16
+ *
17
+ * @default 0
18
+ */
19
+ retry?: Value<number, [
20
+ clientOptions: ClientOptions<ClientRetryPluginContext>,
21
+ path: readonly string[],
22
+ input: unknown
23
+ ]>;
24
+ /**
25
+ * Delay (in ms) before retrying.
26
+ *
27
+ * @default (o) => o.lastEventRetry ?? 2000
28
+ */
29
+ retryDelay?: Value<number, [
30
+ attemptOptions: ClientRetryPluginAttemptOptions,
31
+ clientOptions: ClientOptions<ClientRetryPluginContext>,
32
+ path: readonly string[],
33
+ input: unknown
34
+ ]>;
35
+ /**
36
+ * Determine should retry or not.
37
+ *
38
+ * @default true
39
+ */
40
+ shouldRetry?: Value<boolean, [
41
+ attemptOptions: ClientRetryPluginAttemptOptions,
42
+ clientOptions: ClientOptions<ClientRetryPluginContext>,
43
+ path: readonly string[],
44
+ input: unknown
45
+ ]>;
46
+ /**
47
+ * The hook called when retrying, and return the unsubscribe function.
48
+ */
49
+ onRetry?: (options: ClientRetryPluginAttemptOptions, clientOptions: ClientOptions<ClientRetryPluginContext>, path: readonly string[], input: unknown) => void | (() => void);
50
+ }
51
+ declare class ClientRetryPluginInvalidEventIteratorRetryResponse extends Error {
52
+ }
53
+ interface ClientRetryPluginOptions {
54
+ default?: ClientRetryPluginContext;
55
+ }
56
+ declare class ClientRetryPlugin<T extends ClientRetryPluginContext> implements StandardLinkPlugin<T> {
57
+ private readonly defaultRetry;
58
+ private readonly defaultRetryDelay;
59
+ private readonly defaultShouldRetry;
60
+ private readonly defaultOnRetry;
61
+ constructor(options?: ClientRetryPluginOptions);
62
+ init(options: StandardLinkOptions<T>): void;
63
+ }
64
+
65
+ export { ClientRetryPlugin, type ClientRetryPluginAttemptOptions, type ClientRetryPluginContext, ClientRetryPluginInvalidEventIteratorRetryResponse, type ClientRetryPluginOptions };
@@ -0,0 +1,131 @@
1
+ import { value, isAsyncIteratorObject } from '@orpc/shared';
2
+ import { getEventMeta } from '@orpc/standard-server';
3
+
4
+ class ClientRetryPluginInvalidEventIteratorRetryResponse extends Error {
5
+ }
6
+ class ClientRetryPlugin {
7
+ defaultRetry;
8
+ defaultRetryDelay;
9
+ defaultShouldRetry;
10
+ defaultOnRetry;
11
+ constructor(options = {}) {
12
+ this.defaultRetry = options.default?.retry ?? 0;
13
+ this.defaultRetryDelay = options.default?.retryDelay ?? ((o) => o.lastEventRetry ?? 2e3);
14
+ this.defaultShouldRetry = options.default?.shouldRetry ?? true;
15
+ this.defaultOnRetry = options.default?.onRetry;
16
+ }
17
+ init(options) {
18
+ options.interceptors ??= [];
19
+ options.interceptors.push(async (interceptorOptions) => {
20
+ const maxAttempts = await value(
21
+ interceptorOptions.options.context.retry ?? this.defaultRetry,
22
+ interceptorOptions.options,
23
+ interceptorOptions.path,
24
+ interceptorOptions.input
25
+ );
26
+ const retryDelay = interceptorOptions.options.context.retryDelay ?? this.defaultRetryDelay;
27
+ const shouldRetry = interceptorOptions.options.context.shouldRetry ?? this.defaultShouldRetry;
28
+ const onRetry = interceptorOptions.options.context.onRetry ?? this.defaultOnRetry;
29
+ if (maxAttempts <= 0) {
30
+ return interceptorOptions.next();
31
+ }
32
+ let lastEventId = interceptorOptions.options.lastEventId;
33
+ let lastEventRetry;
34
+ let unsubscribe;
35
+ let attemptIndex = 0;
36
+ const next = async (initial) => {
37
+ let current = initial;
38
+ while (true) {
39
+ const newClientOptions = { ...interceptorOptions.options, lastEventId };
40
+ if (current) {
41
+ if (attemptIndex >= maxAttempts) {
42
+ throw current.error;
43
+ }
44
+ const attemptOptions = {
45
+ attemptIndex,
46
+ error: current.error,
47
+ lastEventId,
48
+ lastEventRetry
49
+ };
50
+ const shouldRetryBool = await value(
51
+ shouldRetry,
52
+ attemptOptions,
53
+ newClientOptions,
54
+ interceptorOptions.path,
55
+ interceptorOptions.input
56
+ );
57
+ if (!shouldRetryBool) {
58
+ throw current.error;
59
+ }
60
+ unsubscribe = onRetry?.(
61
+ attemptOptions,
62
+ newClientOptions,
63
+ interceptorOptions.path,
64
+ interceptorOptions.input
65
+ );
66
+ const retryDelayMs = await value(
67
+ retryDelay,
68
+ attemptOptions,
69
+ newClientOptions,
70
+ interceptorOptions.path,
71
+ interceptorOptions.input
72
+ );
73
+ await new Promise((resolve) => setTimeout(resolve, retryDelayMs));
74
+ attemptIndex++;
75
+ }
76
+ try {
77
+ const output2 = await interceptorOptions.next({
78
+ ...interceptorOptions,
79
+ options: newClientOptions
80
+ });
81
+ return output2;
82
+ } catch (error) {
83
+ if (newClientOptions.signal?.aborted === true) {
84
+ throw error;
85
+ }
86
+ current = { error };
87
+ } finally {
88
+ unsubscribe?.();
89
+ unsubscribe = void 0;
90
+ }
91
+ }
92
+ };
93
+ const output = await next();
94
+ if (!isAsyncIteratorObject(output)) {
95
+ return output;
96
+ }
97
+ return async function* () {
98
+ let current = output;
99
+ try {
100
+ while (true) {
101
+ try {
102
+ const item = await current.next();
103
+ const meta = getEventMeta(item.value);
104
+ lastEventId = meta?.id ?? lastEventId;
105
+ lastEventRetry = meta?.retry ?? lastEventRetry;
106
+ if (item.done) {
107
+ return item.value;
108
+ }
109
+ yield item.value;
110
+ } catch (error) {
111
+ const meta = getEventMeta(error);
112
+ lastEventId = meta?.id ?? lastEventId;
113
+ lastEventRetry = meta?.retry ?? lastEventRetry;
114
+ const maybeEventIterator = await next({ error });
115
+ if (!isAsyncIteratorObject(maybeEventIterator)) {
116
+ throw new ClientRetryPluginInvalidEventIteratorRetryResponse(
117
+ "RetryPlugin: Expected an Event Iterator, got a non-Event Iterator"
118
+ );
119
+ }
120
+ current = maybeEventIterator;
121
+ }
122
+ }
123
+ } finally {
124
+ await current.return?.();
125
+ }
126
+ }();
127
+ });
128
+ }
129
+ }
130
+
131
+ export { ClientRetryPlugin, ClientRetryPluginInvalidEventIteratorRetryResponse };
@@ -0,0 +1,39 @@
1
+ import { Interceptor, ThrowableError } from '@orpc/shared';
2
+ import { StandardRequest, StandardLazyResponse } from '@orpc/standard-server';
3
+ import { a as ClientContext, b as ClientOptions, C as ClientLink } from './client.C0lT7w02.mjs';
4
+
5
+ interface StandardLinkCodec<T extends ClientContext> {
6
+ encode(path: readonly string[], input: unknown, options: ClientOptions<T>): Promise<StandardRequest>;
7
+ decode(response: StandardLazyResponse, options: ClientOptions<T>, path: readonly string[], input: unknown): Promise<unknown>;
8
+ }
9
+ interface StandardLinkClient<T extends ClientContext> {
10
+ call(request: StandardRequest, options: ClientOptions<T>, path: readonly string[], input: unknown): Promise<StandardLazyResponse>;
11
+ }
12
+
13
+ declare class InvalidEventIteratorRetryResponse extends Error {
14
+ }
15
+ interface StandardLinkPlugin<T extends ClientContext> {
16
+ init?(options: StandardLinkOptions<T>): void;
17
+ }
18
+ interface StandardLinkOptions<T extends ClientContext> {
19
+ interceptors?: Interceptor<{
20
+ path: readonly string[];
21
+ input: unknown;
22
+ options: ClientOptions<T>;
23
+ }, unknown, ThrowableError>[];
24
+ clientInterceptors?: Interceptor<{
25
+ request: StandardRequest;
26
+ }, StandardLazyResponse, ThrowableError>[];
27
+ plugins?: StandardLinkPlugin<T>[];
28
+ }
29
+ declare class StandardLink<T extends ClientContext> implements ClientLink<T> {
30
+ #private;
31
+ readonly codec: StandardLinkCodec<T>;
32
+ readonly sender: StandardLinkClient<T>;
33
+ private readonly interceptors;
34
+ private readonly clientInterceptors;
35
+ constructor(codec: StandardLinkCodec<T>, sender: StandardLinkClient<T>, options?: StandardLinkOptions<T>);
36
+ call(path: readonly string[], input: unknown, options: ClientOptions<T>): Promise<unknown>;
37
+ }
38
+
39
+ export { InvalidEventIteratorRetryResponse as I, type StandardLinkPlugin as S, type StandardLinkOptions as a, StandardLink as b, type StandardLinkCodec as c, type StandardLinkClient as d };
@@ -0,0 +1,103 @@
1
+ import { a as ClientContext, b as ClientOptions, d as HTTPMethod } from './client.C0lT7w02.mjs';
2
+ import { c as StandardLinkCodec, a as StandardLinkOptions } from './client.5813Ufvs.mjs';
3
+ import { Segment, Value } from '@orpc/shared';
4
+ import { StandardHeaders, StandardRequest, StandardLazyResponse } from '@orpc/standard-server';
5
+
6
+ declare const STANDARD_RPC_JSON_SERIALIZER_BUILT_IN_TYPES: {
7
+ readonly BIGINT: 0;
8
+ readonly DATE: 1;
9
+ readonly NAN: 2;
10
+ readonly UNDEFINED: 3;
11
+ readonly URL: 4;
12
+ readonly REGEXP: 5;
13
+ readonly SET: 6;
14
+ readonly MAP: 7;
15
+ };
16
+ type StandardRPCJsonSerializedMetaItem = readonly [type: number, ...path: Segment[]];
17
+ type StandardRPCJsonSerialized = [json: unknown, meta: StandardRPCJsonSerializedMetaItem[], maps: Segment[][], blobs: Blob[]];
18
+ interface StandardRPCCustomJsonSerializer {
19
+ type: number;
20
+ condition(data: unknown): boolean;
21
+ serialize(data: any): unknown;
22
+ deserialize(serialized: any): unknown;
23
+ }
24
+ interface StandardRPCJsonSerializerOptions {
25
+ customJsonSerializers?: readonly StandardRPCCustomJsonSerializer[];
26
+ }
27
+ declare class StandardRPCJsonSerializer {
28
+ private readonly customSerializers;
29
+ constructor(options?: StandardRPCJsonSerializerOptions);
30
+ serialize(data: unknown, segments?: Segment[], meta?: StandardRPCJsonSerializedMetaItem[], maps?: Segment[][], blobs?: Blob[]): StandardRPCJsonSerialized;
31
+ deserialize(json: unknown, meta: readonly StandardRPCJsonSerializedMetaItem[]): unknown;
32
+ deserialize(json: unknown, meta: readonly StandardRPCJsonSerializedMetaItem[], maps: readonly Segment[][], getBlob: (index: number) => Blob): unknown;
33
+ }
34
+
35
+ declare class StandardRPCSerializer {
36
+ #private;
37
+ private readonly jsonSerializer;
38
+ constructor(jsonSerializer: StandardRPCJsonSerializer);
39
+ serialize(data: unknown): object;
40
+ deserialize(data: unknown): unknown;
41
+ }
42
+
43
+ interface StandardRPCLinkCodecOptions<T extends ClientContext> {
44
+ /**
45
+ * Base url for all requests.
46
+ */
47
+ url: Value<string | URL, [
48
+ options: ClientOptions<T>,
49
+ path: readonly string[],
50
+ input: unknown
51
+ ]>;
52
+ /**
53
+ * The maximum length of the URL.
54
+ *
55
+ * @default 2083
56
+ */
57
+ maxUrlLength?: Value<number, [
58
+ options: ClientOptions<T>,
59
+ path: readonly string[],
60
+ input: unknown
61
+ ]>;
62
+ /**
63
+ * The method used to make the request.
64
+ *
65
+ * @default 'POST'
66
+ */
67
+ method?: Value<HTTPMethod, [
68
+ options: ClientOptions<T>,
69
+ path: readonly string[],
70
+ input: unknown
71
+ ]>;
72
+ /**
73
+ * The method to use when the payload cannot safely pass to the server with method return from method function.
74
+ * GET is not allowed, it's very dangerous.
75
+ *
76
+ * @default 'POST'
77
+ */
78
+ fallbackMethod?: Exclude<HTTPMethod, 'GET'>;
79
+ /**
80
+ * Inject headers to the request.
81
+ */
82
+ headers?: Value<StandardHeaders, [
83
+ options: ClientOptions<T>,
84
+ path: readonly string[],
85
+ input: unknown
86
+ ]>;
87
+ }
88
+ declare class StandardRPCLinkCodec<T extends ClientContext> implements StandardLinkCodec<T> {
89
+ private readonly serializer;
90
+ private readonly baseUrl;
91
+ private readonly maxUrlLength;
92
+ private readonly fallbackMethod;
93
+ private readonly expectedMethod;
94
+ private readonly headers;
95
+ constructor(serializer: StandardRPCSerializer, options: StandardRPCLinkCodecOptions<T>);
96
+ encode(path: readonly string[], input: unknown, options: ClientOptions<T>): Promise<StandardRequest>;
97
+ decode(response: StandardLazyResponse): Promise<unknown>;
98
+ }
99
+
100
+ interface StandardRPCLinkOptions<T extends ClientContext> extends StandardLinkOptions<T>, StandardRPCLinkCodecOptions<T>, StandardRPCJsonSerializerOptions {
101
+ }
102
+
103
+ export { STANDARD_RPC_JSON_SERIALIZER_BUILT_IN_TYPES as S, type StandardRPCJsonSerializedMetaItem as a, type StandardRPCJsonSerialized as b, type StandardRPCCustomJsonSerializer as c, type StandardRPCJsonSerializerOptions as d, StandardRPCJsonSerializer as e, type StandardRPCLinkOptions as f, type StandardRPCLinkCodecOptions as g, StandardRPCLinkCodec as h, StandardRPCSerializer as i };
@@ -0,0 +1,30 @@
1
+ import { PromiseWithError } from '@orpc/shared';
2
+
3
+ type HTTPPath = `/${string}`;
4
+ type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
5
+ type ClientContext = Record<PropertyKey, any>;
6
+ type FriendlyClientOptions<TClientContext extends ClientContext> = {
7
+ signal?: AbortSignal;
8
+ lastEventId?: string | undefined;
9
+ } & (Record<never, never> extends TClientContext ? {
10
+ context?: TClientContext;
11
+ } : {
12
+ context: TClientContext;
13
+ });
14
+ type ClientRest<TClientContext extends ClientContext, TInput> = Record<never, never> extends TClientContext ? undefined extends TInput ? [input?: TInput, options?: FriendlyClientOptions<TClientContext>] : [input: TInput, options?: FriendlyClientOptions<TClientContext>] : [input: TInput, options: FriendlyClientOptions<TClientContext>];
15
+ type ClientPromiseResult<TOutput, TError> = PromiseWithError<TOutput, TError>;
16
+ interface Client<TClientContext extends ClientContext, TInput, TOutput, TError> {
17
+ (...rest: ClientRest<TClientContext, TInput>): ClientPromiseResult<TOutput, TError>;
18
+ }
19
+ type NestedClient<TClientContext extends ClientContext> = Client<TClientContext, any, any, any> | {
20
+ [k: string]: NestedClient<TClientContext>;
21
+ };
22
+ type InferClientContext<T extends NestedClient<any>> = T extends NestedClient<infer U> ? U : never;
23
+ type ClientOptions<TClientContext extends ClientContext> = FriendlyClientOptions<TClientContext> & {
24
+ context: TClientContext;
25
+ };
26
+ interface ClientLink<TClientContext extends ClientContext> {
27
+ call: (path: readonly string[], input: unknown, options: ClientOptions<TClientContext>) => Promise<unknown>;
28
+ }
29
+
30
+ export type { ClientLink as C, FriendlyClientOptions as F, HTTPPath as H, InferClientContext as I, NestedClient as N, ClientContext as a, ClientOptions as b, ClientPromiseResult as c, HTTPMethod as d, ClientRest as e, Client as f };
@@ -0,0 +1,30 @@
1
+ import { PromiseWithError } from '@orpc/shared';
2
+
3
+ type HTTPPath = `/${string}`;
4
+ type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
5
+ type ClientContext = Record<PropertyKey, any>;
6
+ type FriendlyClientOptions<TClientContext extends ClientContext> = {
7
+ signal?: AbortSignal;
8
+ lastEventId?: string | undefined;
9
+ } & (Record<never, never> extends TClientContext ? {
10
+ context?: TClientContext;
11
+ } : {
12
+ context: TClientContext;
13
+ });
14
+ type ClientRest<TClientContext extends ClientContext, TInput> = Record<never, never> extends TClientContext ? undefined extends TInput ? [input?: TInput, options?: FriendlyClientOptions<TClientContext>] : [input: TInput, options?: FriendlyClientOptions<TClientContext>] : [input: TInput, options: FriendlyClientOptions<TClientContext>];
15
+ type ClientPromiseResult<TOutput, TError> = PromiseWithError<TOutput, TError>;
16
+ interface Client<TClientContext extends ClientContext, TInput, TOutput, TError> {
17
+ (...rest: ClientRest<TClientContext, TInput>): ClientPromiseResult<TOutput, TError>;
18
+ }
19
+ type NestedClient<TClientContext extends ClientContext> = Client<TClientContext, any, any, any> | {
20
+ [k: string]: NestedClient<TClientContext>;
21
+ };
22
+ type InferClientContext<T extends NestedClient<any>> = T extends NestedClient<infer U> ? U : never;
23
+ type ClientOptions<TClientContext extends ClientContext> = FriendlyClientOptions<TClientContext> & {
24
+ context: TClientContext;
25
+ };
26
+ interface ClientLink<TClientContext extends ClientContext> {
27
+ call: (path: readonly string[], input: unknown, options: ClientOptions<TClientContext>) => Promise<unknown>;
28
+ }
29
+
30
+ export type { ClientLink as C, FriendlyClientOptions as F, HTTPPath as H, InferClientContext as I, NestedClient as N, ClientContext as a, ClientOptions as b, ClientPromiseResult as c, HTTPMethod as d, ClientRest as e, Client as f };
@@ -0,0 +1,103 @@
1
+ import { a as ClientContext, b as ClientOptions, d as HTTPMethod } from './client.C0lT7w02.js';
2
+ import { c as StandardLinkCodec, a as StandardLinkOptions } from './client.grRbC25r.js';
3
+ import { Segment, Value } from '@orpc/shared';
4
+ import { StandardHeaders, StandardRequest, StandardLazyResponse } from '@orpc/standard-server';
5
+
6
+ declare const STANDARD_RPC_JSON_SERIALIZER_BUILT_IN_TYPES: {
7
+ readonly BIGINT: 0;
8
+ readonly DATE: 1;
9
+ readonly NAN: 2;
10
+ readonly UNDEFINED: 3;
11
+ readonly URL: 4;
12
+ readonly REGEXP: 5;
13
+ readonly SET: 6;
14
+ readonly MAP: 7;
15
+ };
16
+ type StandardRPCJsonSerializedMetaItem = readonly [type: number, ...path: Segment[]];
17
+ type StandardRPCJsonSerialized = [json: unknown, meta: StandardRPCJsonSerializedMetaItem[], maps: Segment[][], blobs: Blob[]];
18
+ interface StandardRPCCustomJsonSerializer {
19
+ type: number;
20
+ condition(data: unknown): boolean;
21
+ serialize(data: any): unknown;
22
+ deserialize(serialized: any): unknown;
23
+ }
24
+ interface StandardRPCJsonSerializerOptions {
25
+ customJsonSerializers?: readonly StandardRPCCustomJsonSerializer[];
26
+ }
27
+ declare class StandardRPCJsonSerializer {
28
+ private readonly customSerializers;
29
+ constructor(options?: StandardRPCJsonSerializerOptions);
30
+ serialize(data: unknown, segments?: Segment[], meta?: StandardRPCJsonSerializedMetaItem[], maps?: Segment[][], blobs?: Blob[]): StandardRPCJsonSerialized;
31
+ deserialize(json: unknown, meta: readonly StandardRPCJsonSerializedMetaItem[]): unknown;
32
+ deserialize(json: unknown, meta: readonly StandardRPCJsonSerializedMetaItem[], maps: readonly Segment[][], getBlob: (index: number) => Blob): unknown;
33
+ }
34
+
35
+ declare class StandardRPCSerializer {
36
+ #private;
37
+ private readonly jsonSerializer;
38
+ constructor(jsonSerializer: StandardRPCJsonSerializer);
39
+ serialize(data: unknown): object;
40
+ deserialize(data: unknown): unknown;
41
+ }
42
+
43
+ interface StandardRPCLinkCodecOptions<T extends ClientContext> {
44
+ /**
45
+ * Base url for all requests.
46
+ */
47
+ url: Value<string | URL, [
48
+ options: ClientOptions<T>,
49
+ path: readonly string[],
50
+ input: unknown
51
+ ]>;
52
+ /**
53
+ * The maximum length of the URL.
54
+ *
55
+ * @default 2083
56
+ */
57
+ maxUrlLength?: Value<number, [
58
+ options: ClientOptions<T>,
59
+ path: readonly string[],
60
+ input: unknown
61
+ ]>;
62
+ /**
63
+ * The method used to make the request.
64
+ *
65
+ * @default 'POST'
66
+ */
67
+ method?: Value<HTTPMethod, [
68
+ options: ClientOptions<T>,
69
+ path: readonly string[],
70
+ input: unknown
71
+ ]>;
72
+ /**
73
+ * The method to use when the payload cannot safely pass to the server with method return from method function.
74
+ * GET is not allowed, it's very dangerous.
75
+ *
76
+ * @default 'POST'
77
+ */
78
+ fallbackMethod?: Exclude<HTTPMethod, 'GET'>;
79
+ /**
80
+ * Inject headers to the request.
81
+ */
82
+ headers?: Value<StandardHeaders, [
83
+ options: ClientOptions<T>,
84
+ path: readonly string[],
85
+ input: unknown
86
+ ]>;
87
+ }
88
+ declare class StandardRPCLinkCodec<T extends ClientContext> implements StandardLinkCodec<T> {
89
+ private readonly serializer;
90
+ private readonly baseUrl;
91
+ private readonly maxUrlLength;
92
+ private readonly fallbackMethod;
93
+ private readonly expectedMethod;
94
+ private readonly headers;
95
+ constructor(serializer: StandardRPCSerializer, options: StandardRPCLinkCodecOptions<T>);
96
+ encode(path: readonly string[], input: unknown, options: ClientOptions<T>): Promise<StandardRequest>;
97
+ decode(response: StandardLazyResponse): Promise<unknown>;
98
+ }
99
+
100
+ interface StandardRPCLinkOptions<T extends ClientContext> extends StandardLinkOptions<T>, StandardRPCLinkCodecOptions<T>, StandardRPCJsonSerializerOptions {
101
+ }
102
+
103
+ export { STANDARD_RPC_JSON_SERIALIZER_BUILT_IN_TYPES as S, type StandardRPCJsonSerializedMetaItem as a, type StandardRPCJsonSerialized as b, type StandardRPCCustomJsonSerializer as c, type StandardRPCJsonSerializerOptions as d, StandardRPCJsonSerializer as e, type StandardRPCLinkOptions as f, type StandardRPCLinkCodecOptions as g, StandardRPCLinkCodec as h, StandardRPCSerializer as i };