@temporary-name/shared 1.9.3-alpha.b7ce8fb6e9463a26fd2564cb172dc612ae4de52d → 1.9.3-alpha.c13915862ce0feb161cb37a7c0da5ab7d57bd1bf
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 +4 -7
- package/dist/index.d.ts +4 -7
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -29,7 +29,7 @@ type OmitChainMethodDeep<T extends object, K extends keyof any> = {
|
|
|
29
29
|
|
|
30
30
|
declare const ORPC_NAME = "orpc";
|
|
31
31
|
declare const ORPC_SHARED_PACKAGE_NAME = "@temporary-name/shared";
|
|
32
|
-
declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.
|
|
32
|
+
declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.c13915862ce0feb161cb37a7c0da5ab7d57bd1bf";
|
|
33
33
|
|
|
34
34
|
declare const ORPC_CLIENT_PACKAGE_NAME = "__ORPC_CLIENT_PACKAGE_NAME_PLACEHOLDER__";
|
|
35
35
|
declare const ORPC_CLIENT_PACKAGE_VERSION = "__ORPC_CLIENT_PACKAGE_VERSION_PLACEHOLDER__";
|
|
@@ -223,14 +223,11 @@ declare class SequentialIdGenerator {
|
|
|
223
223
|
generate(): string;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
interface StandardHeaders {
|
|
227
|
-
[key: string]: string | string[] | undefined;
|
|
228
|
-
}
|
|
229
226
|
type StandardBody = undefined | unknown | Blob | URLSearchParams | FormData | AsyncIterator<unknown | void, unknown | void, undefined>;
|
|
230
227
|
interface StandardRequest {
|
|
231
228
|
method: string;
|
|
232
229
|
url: URL;
|
|
233
|
-
headers:
|
|
230
|
+
headers: Headers;
|
|
234
231
|
/**
|
|
235
232
|
* The body has been parsed based on the content-type header.
|
|
236
233
|
*/
|
|
@@ -246,7 +243,7 @@ interface StandardLazyRequest extends Omit<StandardRequest, 'body'> {
|
|
|
246
243
|
}
|
|
247
244
|
interface StandardResponse {
|
|
248
245
|
status: number;
|
|
249
|
-
headers:
|
|
246
|
+
headers: Headers;
|
|
250
247
|
/**
|
|
251
248
|
* The body has been parsed based on the content-type header.
|
|
252
249
|
*/
|
|
@@ -545,4 +542,4 @@ declare function safe<TOutput, TError = ThrowableError$1>(promise: ClientPromise
|
|
|
545
542
|
declare function toHttpPath(path: readonly string[]): HTTPPath;
|
|
546
543
|
|
|
547
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 };
|
|
548
|
-
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,
|
|
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
|
@@ -29,7 +29,7 @@ type OmitChainMethodDeep<T extends object, K extends keyof any> = {
|
|
|
29
29
|
|
|
30
30
|
declare const ORPC_NAME = "orpc";
|
|
31
31
|
declare const ORPC_SHARED_PACKAGE_NAME = "@temporary-name/shared";
|
|
32
|
-
declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.
|
|
32
|
+
declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.c13915862ce0feb161cb37a7c0da5ab7d57bd1bf";
|
|
33
33
|
|
|
34
34
|
declare const ORPC_CLIENT_PACKAGE_NAME = "__ORPC_CLIENT_PACKAGE_NAME_PLACEHOLDER__";
|
|
35
35
|
declare const ORPC_CLIENT_PACKAGE_VERSION = "__ORPC_CLIENT_PACKAGE_VERSION_PLACEHOLDER__";
|
|
@@ -223,14 +223,11 @@ declare class SequentialIdGenerator {
|
|
|
223
223
|
generate(): string;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
interface StandardHeaders {
|
|
227
|
-
[key: string]: string | string[] | undefined;
|
|
228
|
-
}
|
|
229
226
|
type StandardBody = undefined | unknown | Blob | URLSearchParams | FormData | AsyncIterator<unknown | void, unknown | void, undefined>;
|
|
230
227
|
interface StandardRequest {
|
|
231
228
|
method: string;
|
|
232
229
|
url: URL;
|
|
233
|
-
headers:
|
|
230
|
+
headers: Headers;
|
|
234
231
|
/**
|
|
235
232
|
* The body has been parsed based on the content-type header.
|
|
236
233
|
*/
|
|
@@ -246,7 +243,7 @@ interface StandardLazyRequest extends Omit<StandardRequest, 'body'> {
|
|
|
246
243
|
}
|
|
247
244
|
interface StandardResponse {
|
|
248
245
|
status: number;
|
|
249
|
-
headers:
|
|
246
|
+
headers: Headers;
|
|
250
247
|
/**
|
|
251
248
|
* The body has been parsed based on the content-type header.
|
|
252
249
|
*/
|
|
@@ -545,4 +542,4 @@ declare function safe<TOutput, TError = ThrowableError$1>(promise: ClientPromise
|
|
|
545
542
|
declare function toHttpPath(path: readonly string[]): HTTPPath;
|
|
546
543
|
|
|
547
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 };
|
|
548
|
-
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,
|
|
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.c13915862ce0feb161cb37a7c0da5ab7d57bd1bf";
|
|
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__";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporary-name/shared",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.9.3-alpha.
|
|
4
|
+
"version": "1.9.3-alpha.c13915862ce0feb161cb37a7c0da5ab7d57bd1bf",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://www.stainless.com/",
|
|
7
7
|
"repository": {
|