@smithy/core 3.29.1 → 3.29.2

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.
Files changed (34) hide show
  1. package/dist-es/index.js +5 -5
  2. package/dist-es/legacy-root-exports/middleware-http-auth-scheme/index.js +3 -3
  3. package/dist-es/legacy-root-exports/middleware-http-signing/index.js +2 -2
  4. package/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.js +3 -3
  5. package/dist-es/legacy-root-exports/util-identity-and-auth/index.js +3 -3
  6. package/dist-es/submodules/cbor/index.js +3 -3
  7. package/dist-es/submodules/endpoints/index.browser.js +1 -1
  8. package/dist-es/submodules/endpoints/index.js +1 -1
  9. package/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/index.js +1 -1
  10. package/dist-es/submodules/endpoints/util-endpoints/debug/index.js +2 -2
  11. package/dist-es/submodules/endpoints/util-endpoints/lib/index.js +11 -11
  12. package/dist-es/submodules/endpoints/util-endpoints/types/index.js +1 -7
  13. package/dist-es/submodules/endpoints/util-endpoints/utils/index.js +2 -2
  14. package/dist-es/submodules/protocols/index.js +13 -13
  15. package/dist-es/submodules/schema/index.js +14 -14
  16. package/dist-types/index.d.ts +7 -5
  17. package/dist-types/legacy-root-exports/middleware-http-auth-scheme/index.d.ts +4 -3
  18. package/dist-types/legacy-root-exports/middleware-http-signing/index.d.ts +2 -2
  19. package/dist-types/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -3
  20. package/dist-types/legacy-root-exports/util-identity-and-auth/index.d.ts +4 -3
  21. package/dist-types/submodules/cbor/index.d.ts +3 -3
  22. package/dist-types/submodules/client/util-waiter/waiter.d.ts +1 -1
  23. package/dist-types/submodules/endpoints/index.browser.d.ts +2 -1
  24. package/dist-types/submodules/endpoints/index.d.ts +2 -1
  25. package/dist-types/submodules/endpoints/middleware-endpoint/service-customizations/index.d.ts +1 -1
  26. package/dist-types/submodules/endpoints/util-endpoints/debug/index.d.ts +2 -2
  27. package/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +12 -11
  28. package/dist-types/submodules/endpoints/util-endpoints/types/index.d.ts +7 -7
  29. package/dist-types/submodules/endpoints/util-endpoints/utils/index.d.ts +2 -2
  30. package/dist-types/submodules/protocols/index.d.ts +13 -13
  31. package/dist-types/submodules/schema/index.d.ts +14 -14
  32. package/dist-types/submodules/transport/httpRequest.d.ts +2 -2
  33. package/dist-types/submodules/transport/index.d.ts +2 -1
  34. package/package.json +2 -2
package/dist-es/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export { getSmithyContext } from "@smithy/core/transport";
2
- export * from "./legacy-root-exports/middleware-http-auth-scheme";
3
- export * from "./legacy-root-exports/middleware-http-signing";
4
- export * from "./normalizeProvider";
2
+ export { getHttpAuthSchemeEndpointRuleSetPlugin, getHttpAuthSchemePlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, httpAuthSchemeMiddleware, httpAuthSchemeMiddlewareOptions, } from "./legacy-root-exports/middleware-http-auth-scheme";
3
+ export { getHttpSigningPlugin, httpSigningMiddleware, httpSigningMiddlewareOptions, } from "./legacy-root-exports/middleware-http-signing";
4
+ export { normalizeProvider } from "./normalizeProvider";
5
5
  export { createPaginator } from "./legacy-root-exports/pagination/createPaginator";
6
6
  export { requestBuilder } from "@smithy/core/protocols";
7
- export * from "./setFeature";
8
- export * from "./legacy-root-exports/util-identity-and-auth";
7
+ export { setFeature } from "./setFeature";
8
+ export { DefaultIdentityProviderConfig, EXPIRATION_MS, HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from "./legacy-root-exports/util-identity-and-auth";
@@ -1,3 +1,3 @@
1
- export * from "./httpAuthSchemeMiddleware";
2
- export * from "./getHttpAuthSchemeEndpointRuleSetPlugin";
3
- export * from "./getHttpAuthSchemePlugin";
1
+ export { httpAuthSchemeMiddleware } from "./httpAuthSchemeMiddleware";
2
+ export { getHttpAuthSchemeEndpointRuleSetPlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, } from "./getHttpAuthSchemeEndpointRuleSetPlugin";
3
+ export { getHttpAuthSchemePlugin, httpAuthSchemeMiddlewareOptions } from "./getHttpAuthSchemePlugin";
@@ -1,2 +1,2 @@
1
- export * from "./httpSigningMiddleware";
2
- export * from "./getHttpSigningMiddleware";
1
+ export { httpSigningMiddleware } from "./httpSigningMiddleware";
2
+ export { getHttpSigningPlugin, httpSigningMiddlewareOptions } from "./getHttpSigningMiddleware";
@@ -1,3 +1,3 @@
1
- export * from "./httpApiKeyAuth";
2
- export * from "./httpBearerAuth";
3
- export * from "./noAuth";
1
+ export { HttpApiKeyAuthSigner } from "./httpApiKeyAuth";
2
+ export { HttpBearerAuthSigner } from "./httpBearerAuth";
3
+ export { NoAuthSigner } from "./noAuth";
@@ -1,3 +1,3 @@
1
- export * from "./DefaultIdentityProviderConfig";
2
- export * from "./httpAuthSchemes";
3
- export * from "./memoizeIdentityProvider";
1
+ export { DefaultIdentityProviderConfig } from "./DefaultIdentityProviderConfig";
2
+ export { HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner } from "./httpAuthSchemes";
3
+ export { EXPIRATION_MS, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from "./memoizeIdentityProvider";
@@ -1,5 +1,5 @@
1
1
  export { cbor } from "./cbor";
2
2
  export { tag, tagSymbol } from "./cbor-types";
3
- export * from "./parseCborBody";
4
- export * from "./SmithyRpcV2CborProtocol";
5
- export * from "./CborCodec";
3
+ export { buildHttpRpcRequest, checkCborResponse, dateToTag, loadSmithyRpcV2CborErrorCode, parseCborBody, parseCborErrorBody, } from "./parseCborBody";
4
+ export { SmithyRpcV2CborProtocol } from "./SmithyRpcV2CborProtocol";
5
+ export { CborCodec, CborShapeDeserializer, CborShapeSerializer } from "./CborCodec";
@@ -11,7 +11,7 @@ export { isIpAddress } from "./util-endpoints/lib/isIpAddress";
11
11
  export { isValidHostLabel } from "@smithy/core/transport";
12
12
  export { customEndpointFunctions } from "./util-endpoints/utils/customEndpointFunctions";
13
13
  export { resolveEndpoint } from "./util-endpoints/resolveEndpoint";
14
- export * from "./util-endpoints/types";
14
+ export { EndpointError } from "./util-endpoints/types";
15
15
  export const getEndpointFromInstructions = bindGetEndpointFromInstructions(getEndpointFromConfig);
16
16
  export const resolveEndpointConfig = bindResolveEndpointConfig(getEndpointFromConfig);
17
17
  export const endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
@@ -11,7 +11,7 @@ export { isIpAddress } from "./util-endpoints/lib/isIpAddress";
11
11
  export { isValidHostLabel } from "@smithy/core/transport";
12
12
  export { customEndpointFunctions } from "./util-endpoints/utils/customEndpointFunctions";
13
13
  export { resolveEndpoint } from "./util-endpoints/resolveEndpoint";
14
- export * from "./util-endpoints/types";
14
+ export { EndpointError } from "./util-endpoints/types";
15
15
  export const getEndpointFromInstructions = bindGetEndpointFromInstructions(getEndpointFromConfig);
16
16
  export const resolveEndpointConfig = bindResolveEndpointConfig(getEndpointFromConfig);
17
17
  export const endpointMiddleware = bindEndpointMiddleware(getEndpointFromConfig);
@@ -1 +1 @@
1
- export * from "./s3";
1
+ export { DOT_PATTERN, S3_HOSTNAME_PATTERN, isArnBucketName, isDnsCompatibleBucketName, resolveParamsForS3 } from "./s3";
@@ -1,2 +1,2 @@
1
- export * from "./debugId";
2
- export * from "./toDebugString";
1
+ export { debugId } from "./debugId";
2
+ export { toDebugString } from "./toDebugString";
@@ -1,12 +1,12 @@
1
- export * from "./booleanEquals";
2
- export * from "./coalesce";
3
- export * from "./getAttr";
4
- export * from "./isSet";
1
+ export { booleanEquals } from "./booleanEquals";
2
+ export { coalesce } from "./coalesce";
3
+ export { getAttr } from "./getAttr";
4
+ export { isSet } from "./isSet";
5
5
  export { isValidHostLabel } from "@smithy/core/transport";
6
- export * from "./ite";
7
- export * from "./not";
8
- export * from "./parseURL";
9
- export * from "./split";
10
- export * from "./stringEquals";
11
- export * from "./substring";
12
- export * from "./uriEncode";
6
+ export { ite } from "./ite";
7
+ export { not } from "./not";
8
+ export { parseURL } from "./parseURL";
9
+ export { split } from "./split";
10
+ export { stringEquals } from "./stringEquals";
11
+ export { substring } from "./substring";
12
+ export { uriEncode } from "./uriEncode";
@@ -1,7 +1 @@
1
- export * from "./EndpointError";
2
- export * from "./EndpointFunctions";
3
- export * from "./EndpointRuleObject";
4
- export * from "./ErrorRuleObject";
5
- export * from "./RuleSetObject";
6
- export * from "./TreeRuleObject";
7
- export * from "./shared";
1
+ export { EndpointError } from "./EndpointError";
@@ -1,2 +1,2 @@
1
- export * from "./customEndpointFunctions";
2
- export * from "./evaluateRules";
1
+ export { customEndpointFunctions } from "./customEndpointFunctions";
2
+ export { evaluateRules, evaluateTreeRule, group } from "./evaluateRules";
@@ -1,16 +1,16 @@
1
- export * from "./collect-stream-body";
2
- export * from "./extended-encode-uri-component";
3
- export * from "./HttpBindingProtocol";
4
- export * from "./HttpProtocol";
5
- export * from "./RpcProtocol";
6
- export * from "./requestBuilder";
7
- export * from "./resolve-path";
8
- export * from "./serde/FromStringShapeDeserializer";
9
- export * from "./serde/HttpInterceptingShapeDeserializer";
10
- export * from "./serde/HttpInterceptingShapeSerializer";
11
- export * from "./serde/ToStringShapeSerializer";
12
- export * from "./serde/determineTimestampFormat";
13
- export * from "./SerdeContext";
1
+ export { collectBody } from "./collect-stream-body";
2
+ export { extendedEncodeURIComponent } from "./extended-encode-uri-component";
3
+ export { HttpBindingProtocol } from "./HttpBindingProtocol";
4
+ export { HttpProtocol } from "./HttpProtocol";
5
+ export { RpcProtocol } from "./RpcProtocol";
6
+ export { RequestBuilder, requestBuilder } from "./requestBuilder";
7
+ export { resolvedPath } from "./resolve-path";
8
+ export { FromStringShapeDeserializer } from "./serde/FromStringShapeDeserializer";
9
+ export { HttpInterceptingShapeDeserializer } from "./serde/HttpInterceptingShapeDeserializer";
10
+ export { HttpInterceptingShapeSerializer } from "./serde/HttpInterceptingShapeSerializer";
11
+ export { ToStringShapeSerializer } from "./serde/ToStringShapeSerializer";
12
+ export { determineTimestampFormat } from "./serde/determineTimestampFormat";
13
+ export { SerdeContext } from "./SerdeContext";
14
14
  export { Field } from "./protocol-http/Field";
15
15
  export { Fields } from "./protocol-http/Fields";
16
16
  export { HttpRequest } from "@smithy/core/transport";
@@ -1,14 +1,14 @@
1
- export * from "./deref";
2
- export * from "./middleware/getSchemaSerdePlugin";
3
- export * from "./schemas/ListSchema";
4
- export * from "./schemas/MapSchema";
5
- export * from "./schemas/OperationSchema";
6
- export * from "./schemas/operation";
7
- export * from "./schemas/ErrorSchema";
8
- export * from "./schemas/NormalizedSchema";
9
- export * from "./schemas/Schema";
10
- export * from "./schemas/SimpleSchema";
11
- export * from "./schemas/StructureSchema";
12
- export * from "./schemas/sentinels";
13
- export * from "./schemas/translateTraits";
14
- export * from "./TypeRegistry";
1
+ export { deref } from "./deref";
2
+ export { deserializerMiddlewareOption, getSchemaSerdePlugin, serializerMiddlewareOption, } from "./middleware/getSchemaSerdePlugin";
3
+ export { ListSchema, list } from "./schemas/ListSchema";
4
+ export { MapSchema, map } from "./schemas/MapSchema";
5
+ export { OperationSchema, op } from "./schemas/OperationSchema";
6
+ export { operation } from "./schemas/operation";
7
+ export { ErrorSchema, error } from "./schemas/ErrorSchema";
8
+ export { NormalizedSchema, isStaticSchema, simpleSchemaCacheN, simpleSchemaCacheS } from "./schemas/NormalizedSchema";
9
+ export { Schema } from "./schemas/Schema";
10
+ export { SimpleSchema, sim, simAdapter } from "./schemas/SimpleSchema";
11
+ export { StructureSchema, struct } from "./schemas/StructureSchema";
12
+ export { SCHEMA } from "./schemas/sentinels";
13
+ export { traitsCache, translateTraits } from "./schemas/translateTraits";
14
+ export { TypeRegistry } from "./TypeRegistry";
@@ -1,12 +1,14 @@
1
1
  export { getSmithyContext } from "@smithy/core/transport";
2
- export * from "./legacy-root-exports/middleware-http-auth-scheme";
3
- export * from "./legacy-root-exports/middleware-http-signing";
4
- export * from "./normalizeProvider";
2
+ export { getHttpAuthSchemeEndpointRuleSetPlugin, getHttpAuthSchemePlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, httpAuthSchemeMiddleware, httpAuthSchemeMiddlewareOptions, } from "./legacy-root-exports/middleware-http-auth-scheme";
3
+ export type { PreviouslyResolved } from "./legacy-root-exports/middleware-http-auth-scheme";
4
+ export { getHttpSigningPlugin, httpSigningMiddleware, httpSigningMiddlewareOptions, } from "./legacy-root-exports/middleware-http-signing";
5
+ export { normalizeProvider } from "./normalizeProvider";
5
6
  export { createPaginator } from "./legacy-root-exports/pagination/createPaginator";
6
7
  /**
7
8
  * Backwards compatibility re-export.
8
9
  * @internal
9
10
  */
10
11
  export { requestBuilder } from "@smithy/core/protocols";
11
- export * from "./setFeature";
12
- export * from "./legacy-root-exports/util-identity-and-auth";
12
+ export { setFeature } from "./setFeature";
13
+ export { DefaultIdentityProviderConfig, EXPIRATION_MS, HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from "./legacy-root-exports/util-identity-and-auth";
14
+ export type { MemoizedIdentityProvider } from "./legacy-root-exports/util-identity-and-auth";
@@ -1,3 +1,4 @@
1
- export * from "./httpAuthSchemeMiddleware";
2
- export * from "./getHttpAuthSchemeEndpointRuleSetPlugin";
3
- export * from "./getHttpAuthSchemePlugin";
1
+ export { httpAuthSchemeMiddleware } from "./httpAuthSchemeMiddleware";
2
+ export type { PreviouslyResolved } from "./httpAuthSchemeMiddleware";
3
+ export { getHttpAuthSchemeEndpointRuleSetPlugin, httpAuthSchemeEndpointRuleSetMiddlewareOptions, } from "./getHttpAuthSchemeEndpointRuleSetPlugin";
4
+ export { getHttpAuthSchemePlugin, httpAuthSchemeMiddlewareOptions } from "./getHttpAuthSchemePlugin";
@@ -1,2 +1,2 @@
1
- export * from "./httpSigningMiddleware";
2
- export * from "./getHttpSigningMiddleware";
1
+ export { httpSigningMiddleware } from "./httpSigningMiddleware";
2
+ export { getHttpSigningPlugin, httpSigningMiddlewareOptions } from "./getHttpSigningMiddleware";
@@ -1,3 +1,3 @@
1
- export * from "./httpApiKeyAuth";
2
- export * from "./httpBearerAuth";
3
- export * from "./noAuth";
1
+ export { HttpApiKeyAuthSigner } from "./httpApiKeyAuth";
2
+ export { HttpBearerAuthSigner } from "./httpBearerAuth";
3
+ export { NoAuthSigner } from "./noAuth";
@@ -1,3 +1,4 @@
1
- export * from "./DefaultIdentityProviderConfig";
2
- export * from "./httpAuthSchemes";
3
- export * from "./memoizeIdentityProvider";
1
+ export { DefaultIdentityProviderConfig } from "./DefaultIdentityProviderConfig";
2
+ export { HttpApiKeyAuthSigner, HttpBearerAuthSigner, NoAuthSigner } from "./httpAuthSchemes";
3
+ export { EXPIRATION_MS, createIsIdentityExpiredFunction, doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, } from "./memoizeIdentityProvider";
4
+ export type { MemoizedIdentityProvider } from "./memoizeIdentityProvider";
@@ -1,5 +1,5 @@
1
1
  export { cbor } from "./cbor";
2
2
  export { tag, tagSymbol } from "./cbor-types";
3
- export * from "./parseCborBody";
4
- export * from "./SmithyRpcV2CborProtocol";
5
- export * from "./CborCodec";
3
+ export { buildHttpRpcRequest, checkCborResponse, dateToTag, loadSmithyRpcV2CborErrorCode, parseCborBody, parseCborErrorBody, } from "./parseCborBody";
4
+ export { SmithyRpcV2CborProtocol } from "./SmithyRpcV2CborProtocol";
5
+ export { CborCodec, CborShapeDeserializer, CborShapeSerializer } from "./CborCodec";
@@ -1,5 +1,5 @@
1
1
  import type { WaiterConfiguration } from "@smithy/types";
2
- export { WaiterConfiguration };
2
+ export type { WaiterConfiguration };
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -6,7 +6,8 @@ export { isIpAddress } from "./util-endpoints/lib/isIpAddress";
6
6
  export { isValidHostLabel } from "@smithy/core/transport";
7
7
  export { customEndpointFunctions } from "./util-endpoints/utils/customEndpointFunctions";
8
8
  export { resolveEndpoint } from "./util-endpoints/resolveEndpoint";
9
- export * from "./util-endpoints/types";
9
+ export { EndpointError } from "./util-endpoints/types";
10
+ export type { ConditionObject, DeprecatedObject, EndpointFunctions, EndpointObject, EndpointObjectHeaders, EndpointObjectProperties, EndpointParams, EndpointResolverOptions, EndpointRuleObject, ErrorRuleObject, EvaluateOptions, Expression, FunctionArgv, FunctionObject, FunctionReturn, ParameterObject, ReferenceObject, ReferenceRecord, RuleSetObject, RuleSetRules, TreeRuleObject, } from "./util-endpoints/types";
10
11
  export declare const getEndpointFromInstructions: <T extends import("@smithy/types").EndpointParameters, CommandInput extends object, Config extends object>(commandInput: CommandInput, instructionsSupplier: import("./middleware-endpoint/adaptors/getEndpointFromInstructions").EndpointParameterInstructionsSupplier, clientConfig: Partial<import("./middleware-endpoint/resolveEndpointConfig").EndpointResolvedConfig<T>> & Config, context?: import("@smithy/types").HandlerExecutionContext) => Promise<import("@smithy/types").EndpointV2>;
11
12
  export declare const resolveEndpointConfig: <T, P extends import("@smithy/types").EndpointParameters = import("@smithy/types").EndpointParameters>(input: T & import("./middleware-endpoint/resolveEndpointConfig").EndpointInputConfig<P> & import("./middleware-endpoint/resolveEndpointConfig").PreviouslyResolved<P>) => T & import("./middleware-endpoint/resolveEndpointConfig").EndpointResolvedConfig<P>;
12
13
  export declare const endpointMiddleware: <T extends import("@smithy/types").EndpointParameters>({ config, instructions, }: {
@@ -6,7 +6,8 @@ export { isIpAddress } from "./util-endpoints/lib/isIpAddress";
6
6
  export { isValidHostLabel } from "@smithy/core/transport";
7
7
  export { customEndpointFunctions } from "./util-endpoints/utils/customEndpointFunctions";
8
8
  export { resolveEndpoint } from "./util-endpoints/resolveEndpoint";
9
- export * from "./util-endpoints/types";
9
+ export { EndpointError } from "./util-endpoints/types";
10
+ export type { ConditionObject, DeprecatedObject, EndpointFunctions, EndpointObject, EndpointObjectHeaders, EndpointObjectProperties, EndpointParams, EndpointResolverOptions, EndpointRuleObject, ErrorRuleObject, EvaluateOptions, Expression, FunctionArgv, FunctionObject, FunctionReturn, ParameterObject, ReferenceObject, ReferenceRecord, RuleSetObject, RuleSetRules, TreeRuleObject, } from "./util-endpoints/types";
10
11
  export declare const getEndpointFromInstructions: <T extends import("@smithy/types").EndpointParameters, CommandInput extends object, Config extends object>(commandInput: CommandInput, instructionsSupplier: import("./middleware-endpoint/adaptors/getEndpointFromInstructions").EndpointParameterInstructionsSupplier, clientConfig: Partial<import("./middleware-endpoint/resolveEndpointConfig").EndpointResolvedConfig<T>> & Config, context?: import("@smithy/types").HandlerExecutionContext) => Promise<import("@smithy/types").EndpointV2>;
11
12
  export declare const resolveEndpointConfig: <T, P extends import("@smithy/types").EndpointParameters = import("@smithy/types").EndpointParameters>(input: T & import("./middleware-endpoint/resolveEndpointConfig").EndpointInputConfig<P> & import("./middleware-endpoint/resolveEndpointConfig").PreviouslyResolved<P>) => T & import("./middleware-endpoint/resolveEndpointConfig").EndpointResolvedConfig<P>;
12
13
  export declare const endpointMiddleware: <T extends import("@smithy/types").EndpointParameters>({ config, instructions, }: {
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * @internal
3
3
  */
4
- export * from "./s3";
4
+ export { DOT_PATTERN, S3_HOSTNAME_PATTERN, isArnBucketName, isDnsCompatibleBucketName, resolveParamsForS3 } from "./s3";
@@ -1,2 +1,2 @@
1
- export * from "./debugId";
2
- export * from "./toDebugString";
1
+ export { debugId } from "./debugId";
2
+ export { toDebugString } from "./toDebugString";
@@ -1,12 +1,13 @@
1
- export * from "./booleanEquals";
2
- export * from "./coalesce";
3
- export * from "./getAttr";
4
- export * from "./isSet";
1
+ export { booleanEquals } from "./booleanEquals";
2
+ export { coalesce } from "./coalesce";
3
+ export { getAttr } from "./getAttr";
4
+ export type { GetAttrValue } from "./getAttr";
5
+ export { isSet } from "./isSet";
5
6
  export { isValidHostLabel } from "@smithy/core/transport";
6
- export * from "./ite";
7
- export * from "./not";
8
- export * from "./parseURL";
9
- export * from "./split";
10
- export * from "./stringEquals";
11
- export * from "./substring";
12
- export * from "./uriEncode";
7
+ export { ite } from "./ite";
8
+ export { not } from "./not";
9
+ export { parseURL } from "./parseURL";
10
+ export { split } from "./split";
11
+ export { stringEquals } from "./stringEquals";
12
+ export { substring } from "./substring";
13
+ export { uriEncode } from "./uriEncode";
@@ -1,7 +1,7 @@
1
- export * from "./EndpointError";
2
- export * from "./EndpointFunctions";
3
- export * from "./EndpointRuleObject";
4
- export * from "./ErrorRuleObject";
5
- export * from "./RuleSetObject";
6
- export * from "./TreeRuleObject";
7
- export * from "./shared";
1
+ export { EndpointError } from "./EndpointError";
2
+ export type { EndpointFunctions } from "./EndpointFunctions";
3
+ export type { EndpointObject, EndpointObjectHeaders, EndpointObjectProperties, EndpointRuleObject, } from "./EndpointRuleObject";
4
+ export type { ErrorRuleObject } from "./ErrorRuleObject";
5
+ export type { DeprecatedObject, ParameterObject, RuleSetObject } from "./RuleSetObject";
6
+ export type { RuleSetRules, TreeRuleObject } from "./TreeRuleObject";
7
+ export type { ConditionObject, EndpointParams, EndpointResolverOptions, EvaluateOptions, Expression, FunctionArgv, FunctionObject, FunctionReturn, ReferenceObject, ReferenceRecord, } from "./shared";
@@ -1,2 +1,2 @@
1
- export * from "./customEndpointFunctions";
2
- export * from "./evaluateRules";
1
+ export { customEndpointFunctions } from "./customEndpointFunctions";
2
+ export { evaluateRules, evaluateTreeRule, group } from "./evaluateRules";
@@ -1,16 +1,16 @@
1
- export * from "./collect-stream-body";
2
- export * from "./extended-encode-uri-component";
3
- export * from "./HttpBindingProtocol";
4
- export * from "./HttpProtocol";
5
- export * from "./RpcProtocol";
6
- export * from "./requestBuilder";
7
- export * from "./resolve-path";
8
- export * from "./serde/FromStringShapeDeserializer";
9
- export * from "./serde/HttpInterceptingShapeDeserializer";
10
- export * from "./serde/HttpInterceptingShapeSerializer";
11
- export * from "./serde/ToStringShapeSerializer";
12
- export * from "./serde/determineTimestampFormat";
13
- export * from "./SerdeContext";
1
+ export { collectBody } from "./collect-stream-body";
2
+ export { extendedEncodeURIComponent } from "./extended-encode-uri-component";
3
+ export { HttpBindingProtocol } from "./HttpBindingProtocol";
4
+ export { HttpProtocol } from "./HttpProtocol";
5
+ export { RpcProtocol } from "./RpcProtocol";
6
+ export { RequestBuilder, requestBuilder } from "./requestBuilder";
7
+ export { resolvedPath } from "./resolve-path";
8
+ export { FromStringShapeDeserializer } from "./serde/FromStringShapeDeserializer";
9
+ export { HttpInterceptingShapeDeserializer } from "./serde/HttpInterceptingShapeDeserializer";
10
+ export { HttpInterceptingShapeSerializer } from "./serde/HttpInterceptingShapeSerializer";
11
+ export { ToStringShapeSerializer } from "./serde/ToStringShapeSerializer";
12
+ export { determineTimestampFormat } from "./serde/determineTimestampFormat";
13
+ export { SerdeContext } from "./SerdeContext";
14
14
  export { Field } from "./protocol-http/Field";
15
15
  export { Fields, type FieldsOptions } from "./protocol-http/Fields";
16
16
  export { type HttpHandler, type HttpHandlerUserInput } from "./protocol-http/httpHandler";
@@ -1,14 +1,14 @@
1
- export * from "./deref";
2
- export * from "./middleware/getSchemaSerdePlugin";
3
- export * from "./schemas/ListSchema";
4
- export * from "./schemas/MapSchema";
5
- export * from "./schemas/OperationSchema";
6
- export * from "./schemas/operation";
7
- export * from "./schemas/ErrorSchema";
8
- export * from "./schemas/NormalizedSchema";
9
- export * from "./schemas/Schema";
10
- export * from "./schemas/SimpleSchema";
11
- export * from "./schemas/StructureSchema";
12
- export * from "./schemas/sentinels";
13
- export * from "./schemas/translateTraits";
14
- export * from "./TypeRegistry";
1
+ export { deref } from "./deref";
2
+ export { deserializerMiddlewareOption, getSchemaSerdePlugin, serializerMiddlewareOption, } from "./middleware/getSchemaSerdePlugin";
3
+ export { ListSchema, list } from "./schemas/ListSchema";
4
+ export { MapSchema, map } from "./schemas/MapSchema";
5
+ export { OperationSchema, op } from "./schemas/OperationSchema";
6
+ export { operation } from "./schemas/operation";
7
+ export { ErrorSchema, error } from "./schemas/ErrorSchema";
8
+ export { NormalizedSchema, isStaticSchema, simpleSchemaCacheN, simpleSchemaCacheS } from "./schemas/NormalizedSchema";
9
+ export { Schema } from "./schemas/Schema";
10
+ export { SimpleSchema, sim, simAdapter } from "./schemas/SimpleSchema";
11
+ export { StructureSchema, struct } from "./schemas/StructureSchema";
12
+ export { SCHEMA } from "./schemas/sentinels";
13
+ export { traitsCache, translateTraits } from "./schemas/translateTraits";
14
+ export { TypeRegistry } from "./TypeRegistry";
@@ -1,4 +1,4 @@
1
- import { HttpRequest as IHttpRequest, type HeaderBag, type HttpMessage, type QueryParameterBag, type URI } from "@smithy/types";
1
+ import type { HeaderBag, HttpMessage, HttpRequest as IHttpRequest, QueryParameterBag, URI } from "@smithy/types";
2
2
  type HttpRequestOptions = Partial<HttpMessage> & Partial<URI> & {
3
3
  method?: string;
4
4
  };
@@ -17,7 +17,7 @@ export interface HttpRequest extends IHttpRequest {
17
17
  /**
18
18
  * @public
19
19
  */
20
- export { IHttpRequest };
20
+ export type { IHttpRequest };
21
21
  /**
22
22
  * @public
23
23
  */
@@ -1,5 +1,6 @@
1
1
  export { getSmithyContext } from "./getSmithyContext";
2
- export { HttpRequest, IHttpRequest } from "./httpRequest";
2
+ export { HttpRequest } from "./httpRequest";
3
+ export type { IHttpRequest } from "./httpRequest";
3
4
  export { HttpResponse } from "./httpResponse";
4
5
  export { isValidHostLabel } from "./isValidHostLabel";
5
6
  export { isValidHostname } from "./isValidHostname";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.29.1",
3
+ "version": "3.29.2",
4
4
  "scripts": {
5
5
  "benchmark:cbor": "node ./scripts/cbor-perf.mjs",
6
6
  "benchmark:checksum": "node ./scripts/checksum-perf.mjs",
@@ -170,7 +170,7 @@
170
170
  "license": "Apache-2.0",
171
171
  "sideEffects": false,
172
172
  "dependencies": {
173
- "@smithy/types": "^4.15.1",
173
+ "@smithy/types": "^4.16.0",
174
174
  "tslib": "^2.6.2"
175
175
  },
176
176
  "devDependencies": {