@temporary-name/shared 1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d → 1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6
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/index.d.mts +42 -6
- package/dist/index.d.ts +42 -6
- package/dist/index.mjs +4 -2
- package/package.json +3 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { MaybeOptionalOptions as MaybeOptionalOptions$1, ThrowableError as ThrowableError$1 } from '@temporary-name/shared';
|
|
2
|
-
import { Promisable } from 'type-fest';
|
|
3
|
-
export { IsEqual, IsNever, JsonValue, PartialDeep, Promisable } from 'type-fest';
|
|
4
2
|
import { Tracer, TraceAPI, ContextAPI, PropagationAPI, SpanOptions, Context, Span, AttributeValue, Exception } from '@opentelemetry/api';
|
|
5
3
|
export { group, guard, mapEntries, mapValues, omit, retry, sleep } from 'radash';
|
|
6
4
|
|
|
@@ -31,7 +29,7 @@ type OmitChainMethodDeep<T extends object, K extends keyof any> = {
|
|
|
31
29
|
|
|
32
30
|
declare const ORPC_NAME = "orpc";
|
|
33
31
|
declare const ORPC_SHARED_PACKAGE_NAME = "@temporary-name/shared";
|
|
34
|
-
declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.
|
|
32
|
+
declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6";
|
|
35
33
|
|
|
36
34
|
declare const ORPC_CLIENT_PACKAGE_NAME = "__ORPC_CLIENT_PACKAGE_NAME_PLACEHOLDER__";
|
|
37
35
|
declare const ORPC_CLIENT_PACKAGE_VERSION = "__ORPC_CLIENT_PACKAGE_VERSION_PLACEHOLDER__";
|
|
@@ -225,10 +223,46 @@ declare class SequentialIdGenerator {
|
|
|
225
223
|
generate(): string;
|
|
226
224
|
}
|
|
227
225
|
|
|
226
|
+
type StandardBody = undefined | unknown | Blob | URLSearchParams | FormData | AsyncIterator<unknown | void, unknown | void, undefined>;
|
|
227
|
+
interface StandardRequest {
|
|
228
|
+
method: string;
|
|
229
|
+
url: URL;
|
|
230
|
+
headers: Headers;
|
|
231
|
+
/**
|
|
232
|
+
* The body has been parsed based on the content-type header.
|
|
233
|
+
*/
|
|
234
|
+
body: StandardBody;
|
|
235
|
+
signal: AbortSignal | undefined;
|
|
236
|
+
}
|
|
237
|
+
interface StandardLazyRequest extends Omit<StandardRequest, 'body'> {
|
|
238
|
+
/**
|
|
239
|
+
* The body has been parsed based on the content-type header.
|
|
240
|
+
* This method can safely call multiple times (cached).
|
|
241
|
+
*/
|
|
242
|
+
body: () => Promise<StandardBody>;
|
|
243
|
+
}
|
|
244
|
+
interface StandardResponse {
|
|
245
|
+
status: number;
|
|
246
|
+
headers: Headers;
|
|
247
|
+
/**
|
|
248
|
+
* The body has been parsed based on the content-type header.
|
|
249
|
+
*/
|
|
250
|
+
body: StandardBody;
|
|
251
|
+
}
|
|
252
|
+
interface StandardLazyResponse extends Omit<StandardResponse, 'body'> {
|
|
253
|
+
/**
|
|
254
|
+
* The body has been parsed based on the content-type header.
|
|
255
|
+
* This method can safely call multiple times (cached).
|
|
256
|
+
*/
|
|
257
|
+
body: () => Promise<StandardBody>;
|
|
258
|
+
}
|
|
228
259
|
type HTTPPath = `/${string}`;
|
|
229
|
-
|
|
260
|
+
declare const HTTPMethods: readonly ["HEAD", "GET", "POST", "PUT", "DELETE", "PATCH"];
|
|
261
|
+
type HTTPMethod = (typeof HTTPMethods)[number];
|
|
262
|
+
type HTTPEndpoint = `${HTTPMethod} ${HTTPPath}`;
|
|
230
263
|
type ClientContext = Record<PropertyKey, any>;
|
|
231
264
|
interface ClientOptions<T extends ClientContext> {
|
|
265
|
+
request?: StandardLazyRequest;
|
|
232
266
|
signal?: AbortSignal;
|
|
233
267
|
lastEventId?: string | undefined;
|
|
234
268
|
context: T;
|
|
@@ -271,6 +305,8 @@ type ThrowableError = Registry extends {
|
|
|
271
305
|
throwableError: infer T;
|
|
272
306
|
} ? T : Error;
|
|
273
307
|
type InferAsyncIterableYield<T> = T extends AsyncIterable<infer U> ? U : never;
|
|
308
|
+
type IsEqual<A, B> = (<G>() => G extends (A & G) | G ? 1 : 2) extends <G>() => G extends (B & G) | G ? 1 : 2 ? true : false;
|
|
309
|
+
type Promisable<T> = T | PromiseLike<T>;
|
|
274
310
|
|
|
275
311
|
type InterceptableOptions = Record<string, any>;
|
|
276
312
|
type InterceptorOptions<TOptions extends InterceptableOptions, TResult> = Omit<TOptions, 'next'> & {
|
|
@@ -505,5 +541,5 @@ type SafeResult<TOutput, TError> = ([error: null, data: TOutput, isDefined: fals
|
|
|
505
541
|
declare function safe<TOutput, TError = ThrowableError$1>(promise: ClientPromiseResult<TOutput, TError>): Promise<SafeResult<TOutput, TError>>;
|
|
506
542
|
declare function toHttpPath(path: readonly string[]): HTTPPath;
|
|
507
543
|
|
|
508
|
-
export { AbortError, AsyncIdQueue, AsyncIteratorClass, COMMON_ORPC_ERROR_DEFS, EventPublisher, NullProtoObj, ORPCError, ORPC_CLIENT_PACKAGE_NAME, ORPC_CLIENT_PACKAGE_VERSION, ORPC_NAME, ORPC_SHARED_PACKAGE_NAME, ORPC_SHARED_PACKAGE_VERSION, SequentialIdGenerator, asyncIteratorToStream, asyncIteratorWithSpan, clone, createORPCErrorFromJson, defer, fallback, fallbackORPCErrorMessage, fallbackORPCErrorStatus, findDeepMatches, get, getConstructor, getGlobalOtelConfig, intercept, isAsyncIteratorObject, isDefinedError, isORPCErrorJson, isORPCErrorStatus, isObject, isPropertyKey, isTypescriptObject, onError, onFinish, onStart, onSuccess, once, overlayProxy, parseEmptyableJSON, preventNativeAwait, readAsBuffer, replicateAsyncIterator, resolveMaybeOptionalOptions, runInSpanContext, runWithSpan, safe, sequential, setGlobalOtelConfig, setSpanAttribute, setSpanError, splitInHalf, startSpan, streamToAsyncIteratorClass, stringifyJSON, toArray, toHttpPath, toORPCError, toOtelException, toSpanAttributeValue, tryDecodeURIComponent, value };
|
|
509
|
-
export type { AnyFunction, AsyncIdQueueCloseOptions, AsyncIteratorClassCleanupFn, AsyncIteratorClassNextFn, AsyncIteratorWithSpanOptions, Client, ClientContext, ClientLink, ClientOptions, ClientPromiseResult, ClientRest, CommonORPCErrorCode, EventPublisherOptions, EventPublisherSubscribeIteratorOptions, FriendlyClientOptions, HTTPMethod, HTTPPath, InferAsyncIterableYield, InferClientContext, InterceptableOptions, Interceptor, InterceptorOptions, IntersectPick, MaybeOptionalOptions, NestedClient, ORPCErrorCode, ORPCErrorJSON, ORPCErrorOptions, OmitChainMethodDeep, OnFinishState, OtelConfig, PromiseWithError, Registry, RunWithSpanOptions, SafeResult, Segment, SetOptional, SetSpanErrorOptions, ThrowableError, Value };
|
|
544
|
+
export { AbortError, AsyncIdQueue, AsyncIteratorClass, COMMON_ORPC_ERROR_DEFS, EventPublisher, HTTPMethods, NullProtoObj, ORPCError, ORPC_CLIENT_PACKAGE_NAME, ORPC_CLIENT_PACKAGE_VERSION, ORPC_NAME, ORPC_SHARED_PACKAGE_NAME, ORPC_SHARED_PACKAGE_VERSION, SequentialIdGenerator, asyncIteratorToStream, asyncIteratorWithSpan, clone, createORPCErrorFromJson, defer, fallback, fallbackORPCErrorMessage, fallbackORPCErrorStatus, findDeepMatches, get, getConstructor, getGlobalOtelConfig, intercept, isAsyncIteratorObject, isDefinedError, isORPCErrorJson, isORPCErrorStatus, isObject, isPropertyKey, isTypescriptObject, onError, onFinish, onStart, onSuccess, once, overlayProxy, parseEmptyableJSON, preventNativeAwait, readAsBuffer, replicateAsyncIterator, resolveMaybeOptionalOptions, runInSpanContext, runWithSpan, safe, sequential, setGlobalOtelConfig, setSpanAttribute, setSpanError, splitInHalf, startSpan, streamToAsyncIteratorClass, stringifyJSON, toArray, toHttpPath, toORPCError, toOtelException, toSpanAttributeValue, tryDecodeURIComponent, value };
|
|
545
|
+
export type { AnyFunction, AsyncIdQueueCloseOptions, AsyncIteratorClassCleanupFn, AsyncIteratorClassNextFn, AsyncIteratorWithSpanOptions, Client, ClientContext, ClientLink, ClientOptions, ClientPromiseResult, ClientRest, CommonORPCErrorCode, EventPublisherOptions, EventPublisherSubscribeIteratorOptions, FriendlyClientOptions, HTTPEndpoint, HTTPMethod, HTTPPath, InferAsyncIterableYield, InferClientContext, InterceptableOptions, Interceptor, InterceptorOptions, IntersectPick, IsEqual, MaybeOptionalOptions, NestedClient, ORPCErrorCode, ORPCErrorJSON, ORPCErrorOptions, OmitChainMethodDeep, OnFinishState, OtelConfig, Promisable, PromiseWithError, Registry, RunWithSpanOptions, SafeResult, Segment, SetOptional, SetSpanErrorOptions, StandardBody, StandardLazyRequest, StandardLazyResponse, StandardRequest, StandardResponse, ThrowableError, Value };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { MaybeOptionalOptions as MaybeOptionalOptions$1, ThrowableError as ThrowableError$1 } from '@temporary-name/shared';
|
|
2
|
-
import { Promisable } from 'type-fest';
|
|
3
|
-
export { IsEqual, IsNever, JsonValue, PartialDeep, Promisable } from 'type-fest';
|
|
4
2
|
import { Tracer, TraceAPI, ContextAPI, PropagationAPI, SpanOptions, Context, Span, AttributeValue, Exception } from '@opentelemetry/api';
|
|
5
3
|
export { group, guard, mapEntries, mapValues, omit, retry, sleep } from 'radash';
|
|
6
4
|
|
|
@@ -31,7 +29,7 @@ type OmitChainMethodDeep<T extends object, K extends keyof any> = {
|
|
|
31
29
|
|
|
32
30
|
declare const ORPC_NAME = "orpc";
|
|
33
31
|
declare const ORPC_SHARED_PACKAGE_NAME = "@temporary-name/shared";
|
|
34
|
-
declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.
|
|
32
|
+
declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6";
|
|
35
33
|
|
|
36
34
|
declare const ORPC_CLIENT_PACKAGE_NAME = "__ORPC_CLIENT_PACKAGE_NAME_PLACEHOLDER__";
|
|
37
35
|
declare const ORPC_CLIENT_PACKAGE_VERSION = "__ORPC_CLIENT_PACKAGE_VERSION_PLACEHOLDER__";
|
|
@@ -225,10 +223,46 @@ declare class SequentialIdGenerator {
|
|
|
225
223
|
generate(): string;
|
|
226
224
|
}
|
|
227
225
|
|
|
226
|
+
type StandardBody = undefined | unknown | Blob | URLSearchParams | FormData | AsyncIterator<unknown | void, unknown | void, undefined>;
|
|
227
|
+
interface StandardRequest {
|
|
228
|
+
method: string;
|
|
229
|
+
url: URL;
|
|
230
|
+
headers: Headers;
|
|
231
|
+
/**
|
|
232
|
+
* The body has been parsed based on the content-type header.
|
|
233
|
+
*/
|
|
234
|
+
body: StandardBody;
|
|
235
|
+
signal: AbortSignal | undefined;
|
|
236
|
+
}
|
|
237
|
+
interface StandardLazyRequest extends Omit<StandardRequest, 'body'> {
|
|
238
|
+
/**
|
|
239
|
+
* The body has been parsed based on the content-type header.
|
|
240
|
+
* This method can safely call multiple times (cached).
|
|
241
|
+
*/
|
|
242
|
+
body: () => Promise<StandardBody>;
|
|
243
|
+
}
|
|
244
|
+
interface StandardResponse {
|
|
245
|
+
status: number;
|
|
246
|
+
headers: Headers;
|
|
247
|
+
/**
|
|
248
|
+
* The body has been parsed based on the content-type header.
|
|
249
|
+
*/
|
|
250
|
+
body: StandardBody;
|
|
251
|
+
}
|
|
252
|
+
interface StandardLazyResponse extends Omit<StandardResponse, 'body'> {
|
|
253
|
+
/**
|
|
254
|
+
* The body has been parsed based on the content-type header.
|
|
255
|
+
* This method can safely call multiple times (cached).
|
|
256
|
+
*/
|
|
257
|
+
body: () => Promise<StandardBody>;
|
|
258
|
+
}
|
|
228
259
|
type HTTPPath = `/${string}`;
|
|
229
|
-
|
|
260
|
+
declare const HTTPMethods: readonly ["HEAD", "GET", "POST", "PUT", "DELETE", "PATCH"];
|
|
261
|
+
type HTTPMethod = (typeof HTTPMethods)[number];
|
|
262
|
+
type HTTPEndpoint = `${HTTPMethod} ${HTTPPath}`;
|
|
230
263
|
type ClientContext = Record<PropertyKey, any>;
|
|
231
264
|
interface ClientOptions<T extends ClientContext> {
|
|
265
|
+
request?: StandardLazyRequest;
|
|
232
266
|
signal?: AbortSignal;
|
|
233
267
|
lastEventId?: string | undefined;
|
|
234
268
|
context: T;
|
|
@@ -271,6 +305,8 @@ type ThrowableError = Registry extends {
|
|
|
271
305
|
throwableError: infer T;
|
|
272
306
|
} ? T : Error;
|
|
273
307
|
type InferAsyncIterableYield<T> = T extends AsyncIterable<infer U> ? U : never;
|
|
308
|
+
type IsEqual<A, B> = (<G>() => G extends (A & G) | G ? 1 : 2) extends <G>() => G extends (B & G) | G ? 1 : 2 ? true : false;
|
|
309
|
+
type Promisable<T> = T | PromiseLike<T>;
|
|
274
310
|
|
|
275
311
|
type InterceptableOptions = Record<string, any>;
|
|
276
312
|
type InterceptorOptions<TOptions extends InterceptableOptions, TResult> = Omit<TOptions, 'next'> & {
|
|
@@ -505,5 +541,5 @@ type SafeResult<TOutput, TError> = ([error: null, data: TOutput, isDefined: fals
|
|
|
505
541
|
declare function safe<TOutput, TError = ThrowableError$1>(promise: ClientPromiseResult<TOutput, TError>): Promise<SafeResult<TOutput, TError>>;
|
|
506
542
|
declare function toHttpPath(path: readonly string[]): HTTPPath;
|
|
507
543
|
|
|
508
|
-
export { AbortError, AsyncIdQueue, AsyncIteratorClass, COMMON_ORPC_ERROR_DEFS, EventPublisher, NullProtoObj, ORPCError, ORPC_CLIENT_PACKAGE_NAME, ORPC_CLIENT_PACKAGE_VERSION, ORPC_NAME, ORPC_SHARED_PACKAGE_NAME, ORPC_SHARED_PACKAGE_VERSION, SequentialIdGenerator, asyncIteratorToStream, asyncIteratorWithSpan, clone, createORPCErrorFromJson, defer, fallback, fallbackORPCErrorMessage, fallbackORPCErrorStatus, findDeepMatches, get, getConstructor, getGlobalOtelConfig, intercept, isAsyncIteratorObject, isDefinedError, isORPCErrorJson, isORPCErrorStatus, isObject, isPropertyKey, isTypescriptObject, onError, onFinish, onStart, onSuccess, once, overlayProxy, parseEmptyableJSON, preventNativeAwait, readAsBuffer, replicateAsyncIterator, resolveMaybeOptionalOptions, runInSpanContext, runWithSpan, safe, sequential, setGlobalOtelConfig, setSpanAttribute, setSpanError, splitInHalf, startSpan, streamToAsyncIteratorClass, stringifyJSON, toArray, toHttpPath, toORPCError, toOtelException, toSpanAttributeValue, tryDecodeURIComponent, value };
|
|
509
|
-
export type { AnyFunction, AsyncIdQueueCloseOptions, AsyncIteratorClassCleanupFn, AsyncIteratorClassNextFn, AsyncIteratorWithSpanOptions, Client, ClientContext, ClientLink, ClientOptions, ClientPromiseResult, ClientRest, CommonORPCErrorCode, EventPublisherOptions, EventPublisherSubscribeIteratorOptions, FriendlyClientOptions, HTTPMethod, HTTPPath, InferAsyncIterableYield, InferClientContext, InterceptableOptions, Interceptor, InterceptorOptions, IntersectPick, MaybeOptionalOptions, NestedClient, ORPCErrorCode, ORPCErrorJSON, ORPCErrorOptions, OmitChainMethodDeep, OnFinishState, OtelConfig, PromiseWithError, Registry, RunWithSpanOptions, SafeResult, Segment, SetOptional, SetSpanErrorOptions, ThrowableError, Value };
|
|
544
|
+
export { AbortError, AsyncIdQueue, AsyncIteratorClass, COMMON_ORPC_ERROR_DEFS, EventPublisher, HTTPMethods, NullProtoObj, ORPCError, ORPC_CLIENT_PACKAGE_NAME, ORPC_CLIENT_PACKAGE_VERSION, ORPC_NAME, ORPC_SHARED_PACKAGE_NAME, ORPC_SHARED_PACKAGE_VERSION, SequentialIdGenerator, asyncIteratorToStream, asyncIteratorWithSpan, clone, createORPCErrorFromJson, defer, fallback, fallbackORPCErrorMessage, fallbackORPCErrorStatus, findDeepMatches, get, getConstructor, getGlobalOtelConfig, intercept, isAsyncIteratorObject, isDefinedError, isORPCErrorJson, isORPCErrorStatus, isObject, isPropertyKey, isTypescriptObject, onError, onFinish, onStart, onSuccess, once, overlayProxy, parseEmptyableJSON, preventNativeAwait, readAsBuffer, replicateAsyncIterator, resolveMaybeOptionalOptions, runInSpanContext, runWithSpan, safe, sequential, setGlobalOtelConfig, setSpanAttribute, setSpanError, splitInHalf, startSpan, streamToAsyncIteratorClass, stringifyJSON, toArray, toHttpPath, toORPCError, toOtelException, toSpanAttributeValue, tryDecodeURIComponent, value };
|
|
545
|
+
export type { AnyFunction, AsyncIdQueueCloseOptions, AsyncIteratorClassCleanupFn, AsyncIteratorClassNextFn, AsyncIteratorWithSpanOptions, Client, ClientContext, ClientLink, ClientOptions, ClientPromiseResult, ClientRest, CommonORPCErrorCode, EventPublisherOptions, EventPublisherSubscribeIteratorOptions, FriendlyClientOptions, HTTPEndpoint, HTTPMethod, HTTPPath, InferAsyncIterableYield, InferClientContext, InterceptableOptions, Interceptor, InterceptorOptions, IntersectPick, IsEqual, MaybeOptionalOptions, NestedClient, ORPCErrorCode, ORPCErrorJSON, ORPCErrorOptions, OmitChainMethodDeep, OnFinishState, OtelConfig, Promisable, PromiseWithError, Registry, RunWithSpanOptions, SafeResult, Segment, SetOptional, SetSpanErrorOptions, StandardBody, StandardLazyRequest, StandardLazyResponse, StandardRequest, StandardResponse, ThrowableError, Value };
|
package/dist/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ function readAsBuffer(source) {
|
|
|
22
22
|
|
|
23
23
|
const ORPC_NAME = "orpc";
|
|
24
24
|
const ORPC_SHARED_PACKAGE_NAME = "@temporary-name/shared";
|
|
25
|
-
const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.
|
|
25
|
+
const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6";
|
|
26
26
|
|
|
27
27
|
const ORPC_CLIENT_PACKAGE_NAME = "__ORPC_CLIENT_PACKAGE_NAME_PLACEHOLDER__";
|
|
28
28
|
const ORPC_CLIENT_PACKAGE_VERSION = "__ORPC_CLIENT_PACKAGE_VERSION_PLACEHOLDER__";
|
|
@@ -852,6 +852,8 @@ function asyncIteratorToStream(iterator) {
|
|
|
852
852
|
});
|
|
853
853
|
}
|
|
854
854
|
|
|
855
|
+
const HTTPMethods = ["HEAD", "GET", "POST", "PUT", "DELETE", "PATCH"];
|
|
856
|
+
|
|
855
857
|
function tryDecodeURIComponent(value) {
|
|
856
858
|
try {
|
|
857
859
|
return decodeURIComponent(value);
|
|
@@ -894,4 +896,4 @@ function toHttpPath(path) {
|
|
|
894
896
|
return `/${path.map(encodeURIComponent).join("/")}`;
|
|
895
897
|
}
|
|
896
898
|
|
|
897
|
-
export { AbortError, AsyncIdQueue, AsyncIteratorClass, COMMON_ORPC_ERROR_DEFS, EventPublisher, NullProtoObj, ORPCError, ORPC_CLIENT_PACKAGE_NAME, ORPC_CLIENT_PACKAGE_VERSION, ORPC_NAME, ORPC_SHARED_PACKAGE_NAME, ORPC_SHARED_PACKAGE_VERSION, SequentialIdGenerator, asyncIteratorToStream, asyncIteratorWithSpan, clone, createORPCErrorFromJson, defer, fallback, fallbackORPCErrorMessage, fallbackORPCErrorStatus, findDeepMatches, get, getConstructor, getGlobalOtelConfig, intercept, isAsyncIteratorObject, isDefinedError, isORPCErrorJson, isORPCErrorStatus, isObject, isPropertyKey, isTypescriptObject, onError, onFinish, onStart, onSuccess, once, overlayProxy, parseEmptyableJSON, preventNativeAwait, readAsBuffer, replicateAsyncIterator, resolveMaybeOptionalOptions, runInSpanContext, runWithSpan, safe, sequential, setGlobalOtelConfig, setSpanAttribute, setSpanError, splitInHalf, startSpan, streamToAsyncIteratorClass, stringifyJSON, toArray, toHttpPath, toORPCError, toOtelException, toSpanAttributeValue, tryDecodeURIComponent, value };
|
|
899
|
+
export { AbortError, AsyncIdQueue, AsyncIteratorClass, COMMON_ORPC_ERROR_DEFS, EventPublisher, HTTPMethods, NullProtoObj, ORPCError, ORPC_CLIENT_PACKAGE_NAME, ORPC_CLIENT_PACKAGE_VERSION, ORPC_NAME, ORPC_SHARED_PACKAGE_NAME, ORPC_SHARED_PACKAGE_VERSION, SequentialIdGenerator, asyncIteratorToStream, asyncIteratorWithSpan, clone, createORPCErrorFromJson, defer, fallback, fallbackORPCErrorMessage, fallbackORPCErrorStatus, findDeepMatches, get, getConstructor, getGlobalOtelConfig, intercept, isAsyncIteratorObject, isDefinedError, isORPCErrorJson, isORPCErrorStatus, isObject, isPropertyKey, isTypescriptObject, onError, onFinish, onStart, onSuccess, once, overlayProxy, parseEmptyableJSON, preventNativeAwait, readAsBuffer, replicateAsyncIterator, resolveMaybeOptionalOptions, runInSpanContext, runWithSpan, safe, sequential, setGlobalOtelConfig, setSpanAttribute, setSpanError, splitInHalf, startSpan, streamToAsyncIteratorClass, stringifyJSON, toArray, toHttpPath, toORPCError, toOtelException, toSpanAttributeValue, tryDecodeURIComponent, value };
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporary-name/shared",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.3-alpha.
|
|
4
|
+
"version": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://www.stainless.com/",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
9
|
+
"url": "git+https://github.com/stainless-api/krusty.git",
|
|
10
10
|
"directory": "packages/shared"
|
|
11
11
|
},
|
|
12
12
|
"keywords": [
|
|
@@ -32,13 +32,10 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"radash": "^12.1.1"
|
|
36
|
-
"type-fest": "^5.0.1"
|
|
35
|
+
"radash": "^12.1.1"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
39
38
|
"@opentelemetry/api": "^1.9.0",
|
|
40
|
-
"arktype": "2.1.22",
|
|
41
|
-
"valibot": "^1.1.0",
|
|
42
39
|
"zod": "^4.1.11"
|
|
43
40
|
},
|
|
44
41
|
"scripts": {
|