@temporary-name/shared 1.9.3-alpha.0d2fa3247b6b23bbc2e3097a95f631b86740e4d8 → 1.9.3-alpha.121f1a14eceb7f2aa23c6993c2adce0ccca377db

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 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.0d2fa3247b6b23bbc2e3097a95f631b86740e4d8";
32
+ declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.121f1a14eceb7f2aa23c6993c2adce0ccca377db";
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__";
@@ -271,6 +269,8 @@ type ThrowableError = Registry extends {
271
269
  throwableError: infer T;
272
270
  } ? T : Error;
273
271
  type InferAsyncIterableYield<T> = T extends AsyncIterable<infer U> ? U : never;
272
+ type IsEqual<A, B> = (<G>() => G extends (A & G) | G ? 1 : 2) extends <G>() => G extends (B & G) | G ? 1 : 2 ? true : false;
273
+ type Promisable<T> = T | PromiseLike<T>;
274
274
 
275
275
  type InterceptableOptions = Record<string, any>;
276
276
  type InterceptorOptions<TOptions extends InterceptableOptions, TResult> = Omit<TOptions, 'next'> & {
@@ -506,4 +506,4 @@ declare function safe<TOutput, TError = ThrowableError$1>(promise: ClientPromise
506
506
  declare function toHttpPath(path: readonly string[]): HTTPPath;
507
507
 
508
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 };
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, IsEqual, MaybeOptionalOptions, NestedClient, ORPCErrorCode, ORPCErrorJSON, ORPCErrorOptions, OmitChainMethodDeep, OnFinishState, OtelConfig, Promisable, PromiseWithError, Registry, RunWithSpanOptions, SafeResult, Segment, SetOptional, SetSpanErrorOptions, 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.0d2fa3247b6b23bbc2e3097a95f631b86740e4d8";
32
+ declare const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.121f1a14eceb7f2aa23c6993c2adce0ccca377db";
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__";
@@ -271,6 +269,8 @@ type ThrowableError = Registry extends {
271
269
  throwableError: infer T;
272
270
  } ? T : Error;
273
271
  type InferAsyncIterableYield<T> = T extends AsyncIterable<infer U> ? U : never;
272
+ type IsEqual<A, B> = (<G>() => G extends (A & G) | G ? 1 : 2) extends <G>() => G extends (B & G) | G ? 1 : 2 ? true : false;
273
+ type Promisable<T> = T | PromiseLike<T>;
274
274
 
275
275
  type InterceptableOptions = Record<string, any>;
276
276
  type InterceptorOptions<TOptions extends InterceptableOptions, TResult> = Omit<TOptions, 'next'> & {
@@ -506,4 +506,4 @@ declare function safe<TOutput, TError = ThrowableError$1>(promise: ClientPromise
506
506
  declare function toHttpPath(path: readonly string[]): HTTPPath;
507
507
 
508
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 };
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, IsEqual, MaybeOptionalOptions, NestedClient, ORPCErrorCode, ORPCErrorJSON, ORPCErrorOptions, OmitChainMethodDeep, OnFinishState, OtelConfig, Promisable, PromiseWithError, Registry, RunWithSpanOptions, SafeResult, Segment, SetOptional, SetSpanErrorOptions, 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.0d2fa3247b6b23bbc2e3097a95f631b86740e4d8";
25
+ const ORPC_SHARED_PACKAGE_VERSION = "1.9.3-alpha.121f1a14eceb7f2aa23c6993c2adce0ccca377db";
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,12 +1,12 @@
1
1
  {
2
2
  "name": "@temporary-name/shared",
3
3
  "type": "module",
4
- "version": "1.9.3-alpha.0d2fa3247b6b23bbc2e3097a95f631b86740e4d8",
4
+ "version": "1.9.3-alpha.121f1a14eceb7f2aa23c6993c2adce0ccca377db",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.stainless.com/",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/unnoq/krusty.git",
9
+ "url": "git+https://github.com/stainless-api/krusty.git",
10
10
  "directory": "packages/shared"
11
11
  },
12
12
  "keywords": [
@@ -32,8 +32,7 @@
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",