@zayne-labs/callapi 1.11.27 → 1.11.29

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.ts CHANGED
@@ -1,3 +1,3 @@
1
- import "./validation-Dq--Q5zC.js";
2
- import { $ as PossibleHTTPError, B as CallApiExtraOptionsForHooks, G as GetExtendSchemaConfigContext, H as CallApiRequestOptions, I as BaseCallApiConfig, J as Register, K as InferExtendSchemaContext, L as BaseCallApiExtraOptions, Q as CallApiSuccessOrErrorVariant, R as CallApiConfig, S as SuccessContext, U as CallApiRequestOptionsForHooks, V as CallApiParameters, W as CallApiResultLoose, X as CallApiResultErrorVariant, Y as RetryOptions, Z as CallApiResultSuccessVariant, _ as RequestContext, a as BaseSchemaRouteKeyPrefixes, b as ResponseErrorContext, c as InferSchemaInput, ct as URLOptions, d as CallApiPlugin, et as PossibleJavaScriptError, f as PluginHooks, g as HooksOrHooksArray, h as Hooks, i as BaseCallApiSchemaRoutes, it as ResultModeType, l as InferSchemaOutput, lt as DedupeOptions, m as ErrorContext, n as createFetchClient, nt as PossibleValidationError, o as CallApiSchema, p as PluginSetupContext, q as InstanceContext, r as createFetchClientWithContext, rt as ResponseTypeType, s as CallApiSchemaConfig, st as InferParamsFromRoute, t as callApi, tt as PossibleJavaScriptOrValidationError, u as DefaultCallApiContext, v as RequestStreamContext, x as ResponseStreamContext, y as ResponseContext, z as CallApiExtraOptions } from "./index-HHFgKKcn.js";
1
+ import "./validation-Do6HBp6Z.js";
2
+ import { A as ErrorContext, B as CallApiPlugin, C as InferExtendSchemaContext, F as ResponseContext, G as BaseSchemaRouteKeyPrefixes, H as PluginSetupContext, I as ResponseErrorContext, J as InferSchemaInput, K as CallApiSchema, L as ResponseStreamContext, M as HooksOrHooksArray, N as RequestContext, O as RetryOptions, P as RequestStreamContext, R as SuccessContext, S as GetExtendSchemaConfigContext, T as Register, U as URLOptions, V as PluginHooks, W as BaseCallApiSchemaRoutes, X as InferParamsFromRoute, Y as InferSchemaOutput, _ as CallApiExtraOptionsForHooks, a as CallApiResultSuccessVariant, b as CallApiRequestOptionsForHooks, c as PossibleJavaScriptError, d as ResponseTypeType, f as ResultModeType, g as CallApiExtraOptions, h as CallApiConfig, i as CallApiResultErrorVariant, j as Hooks, k as DedupeOptions, l as PossibleJavaScriptOrValidationError, m as BaseCallApiExtraOptions, n as createFetchClient, o as CallApiSuccessOrErrorVariant, p as BaseCallApiConfig, q as CallApiSchemaConfig, r as createFetchClientWithContext, s as PossibleHTTPError, t as callApi, u as PossibleValidationError, v as CallApiParameters, w as InstanceContext, x as CallApiResultLoose, y as CallApiRequestOptions, z as DefaultCallApiContext } from "./index-CrJL7qOL.js";
3
3
  export { BaseCallApiConfig, BaseCallApiExtraOptions, BaseCallApiSchemaRoutes, BaseSchemaRouteKeyPrefixes, CallApiConfig, CallApiExtraOptions, CallApiExtraOptionsForHooks, CallApiParameters, CallApiPlugin, CallApiRequestOptions, CallApiRequestOptionsForHooks, CallApiResultLoose as CallApiResult, CallApiResultErrorVariant, CallApiResultSuccessVariant, CallApiSchema, CallApiSchemaConfig, CallApiSuccessOrErrorVariant, DedupeOptions, DefaultCallApiContext, ErrorContext, GetExtendSchemaConfigContext, Hooks, HooksOrHooksArray, InferExtendSchemaContext, InferParamsFromRoute, InferSchemaInput, InferSchemaOutput, InstanceContext, PluginHooks, PluginSetupContext, PossibleHTTPError, PossibleJavaScriptError, PossibleJavaScriptOrValidationError, PossibleValidationError, Register, RequestContext, RequestStreamContext, ResponseContext, ResponseErrorContext, ResponseStreamContext, ResponseTypeType, ResultModeType, RetryOptions, SuccessContext, URLOptions, callApi, createFetchClient, createFetchClientWithContext };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { n as requestOptionDefaults, r as defineEnum, t as extraOptionDefaults } from "./defaults-C6WKIXsf.js";
2
- import { _ as isReadableStream, a as isValidationErrorInstance, b as isValidJsonString, d as isBoolean, f as isFunction, g as isQueryString, h as isPromise, l as toQueryString, m as isPlainObject, n as isHTTPErrorInstance, o as HTTPError, p as isObject, s as ValidationError, u as isArray, v as isSerializable, y as isString } from "./guards-5Ij_loC1.js";
3
- import { n as fetchSpecificKeys, t as fallBackRouteSchemaKey } from "./validation-8gwacxHw.js";
1
+ import { n as requestOptionDefaults, r as defineEnum, t as extraOptionDefaults } from "./defaults-B-dOt2Dd.js";
2
+ import { _ as isReadableStream, a as isValidationErrorInstance, b as isValidJsonString, d as isBoolean, f as isFunction, g as isQueryString, h as isPromise, l as toQueryString, m as isPlainObject, n as isHTTPErrorInstance, o as HTTPError, p as isObject, s as ValidationError, u as isArray, v as isSerializable, y as isString } from "./guards-ZYV-Q_as.js";
3
+ import { n as fetchSpecificKeys, t as fallBackRouteSchemaKey } from "./validation-DbbofkNi.js";
4
4
 
5
5
  //#region src/auth.ts
6
6
  const resolveAuthValue = (value) => isFunction(value) ? value() : value;