@aws-sdk/core
Advanced tools
@@ -7,3 +7,3 @@ const { HttpResponse, HttpRequest } = require("@smithy/core/protocols"); | ||
| const getDateHeader = (response) => HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined; | ||
| const getDateHeader = (response) => HttpResponse.isInstance(response) ? (response.headers?.date ?? response.headers?.Date) : undefined; | ||
@@ -10,0 +10,0 @@ const getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset); |
| import { HttpResponse } from "@smithy/core/protocols"; | ||
| export const getDateHeader = (response) => HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined; | ||
| export const getDateHeader = (response) => HttpResponse.isInstance(response) ? (response.headers?.date ?? response.headers?.Date) : undefined; |
@@ -49,3 +49,3 @@ import { determineTimestampFormat } from "@smithy/core/protocols"; | ||
| const item = value[name]; | ||
| const targetKey = this.settings.jsonName ? member.getMergedTraits().jsonName ?? name : name; | ||
| const targetKey = this.settings.jsonName ? (member.getMergedTraits().jsonName ?? name) : name; | ||
| const serializableValue = this.writeValue(member, item); | ||
@@ -52,0 +52,0 @@ if (item != null || member.isIdempotencyToken()) { |
@@ -57,3 +57,3 @@ import { determineTimestampFormat } from "@smithy/core/protocols"; | ||
| const v = record[k]; | ||
| const t = jsonName ? nameMap[k] ?? k : k; | ||
| const t = jsonName ? (nameMap[k] ?? k) : k; | ||
| if (!(t in out)) { | ||
@@ -60,0 +60,0 @@ out[t] = v; |
@@ -73,3 +73,3 @@ import { determineTimestampFormat } from "@smithy/core/protocols"; | ||
| const v = record[k]; | ||
| const targetKey = jsonName ? nameMap[k] ?? k : k; | ||
| const targetKey = jsonName ? (nameMap[k] ?? k) : k; | ||
| if (!(targetKey in out)) { | ||
@@ -76,0 +76,0 @@ out[targetKey] = this._write(15, v); |
@@ -101,4 +101,4 @@ import { parseXML } from "@aws-sdk/xml-builder"; | ||
| const xmlObjectKey = !memberTraits.httpPayload | ||
| ? memberSchema.getMemberTraits().xmlName ?? memberName | ||
| : memberTraits.xmlName ?? memberSchema.getName(); | ||
| ? (memberSchema.getMemberTraits().xmlName ?? memberName) | ||
| : (memberTraits.xmlName ?? memberSchema.getName()); | ||
| if (union) { | ||
@@ -105,0 +105,0 @@ unionSerde.mark(xmlObjectKey); |
@@ -58,4 +58,4 @@ import { XmlNode, XmlText } from "@aws-sdk/xml-builder"; | ||
| const name = ns.isMemberSchema() && !traits.httpPayload | ||
| ? ns.getMemberTraits().xmlName ?? ns.getMemberName() | ||
| : traits.xmlName ?? ns.getName(); | ||
| ? (ns.getMemberTraits().xmlName ?? ns.getMemberName()) | ||
| : (traits.xmlName ?? ns.getName()); | ||
| if (!name || !ns.isStructSchema()) { | ||
@@ -129,6 +129,6 @@ throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`); | ||
| const struct = this.writeStruct(listValueSchema, value, xmlns); | ||
| container.addChildNode(struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member")); | ||
| container.addChildNode(struct.withName(flat ? (listTraits.xmlName ?? listMember.getMemberName()) : (listValueTraits.xmlName ?? "member"))); | ||
| } | ||
| else { | ||
| const listItemNode = XmlNode.of(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? "member"); | ||
| const listItemNode = XmlNode.of(flat ? (listTraits.xmlName ?? listMember.getMemberName()) : (listValueTraits.xmlName ?? "member")); | ||
| this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns); | ||
@@ -135,0 +135,0 @@ container.addChildNode(listItemNode); |
@@ -61,6 +61,2 @@ export { | ||
| } from "@aws-sdk/core/protocols"; | ||
| export { | ||
| JsonSettings, | ||
| QuerySerializerSettings, | ||
| XmlSettings, | ||
| } from "@aws-sdk/core/protocols"; | ||
| export { JsonSettings, QuerySerializerSettings, XmlSettings } from "@aws-sdk/core/protocols"; |
| import { Provider } from "@smithy/types"; | ||
| import { AccountIdEndpointMode } from "./AccountIdEndpointModeConstants"; | ||
| export interface AccountIdEndpointModeInputConfig { | ||
| accountIdEndpointMode?: | ||
| | AccountIdEndpointMode | ||
| | Provider<AccountIdEndpointMode>; | ||
| accountIdEndpointMode?: AccountIdEndpointMode | Provider<AccountIdEndpointMode>; | ||
| } | ||
@@ -13,4 +11,4 @@ interface PreviouslyResolved {} | ||
| export declare const resolveAccountIdEndpointModeConfig: <T>( | ||
| input: T & AccountIdEndpointModeInputConfig & PreviouslyResolved | ||
| input: T & AccountIdEndpointModeInputConfig & PreviouslyResolved, | ||
| ) => T & AccountIdEndpointModeResolvedConfig; | ||
| export {}; |
| export type AccountIdEndpointMode = "disabled" | "preferred" | "required"; | ||
| export declare const DEFAULT_ACCOUNT_ID_ENDPOINT_MODE = "preferred"; | ||
| export declare const ACCOUNT_ID_ENDPOINT_MODE_VALUES: AccountIdEndpointMode[]; | ||
| export declare function validateAccountIdEndpointMode( | ||
| value: any | ||
| ): value is AccountIdEndpointMode; | ||
| export declare function validateAccountIdEndpointMode(value: any): value is AccountIdEndpointMode; |
| import { LoadedConfigSelectors } from "@smithy/core/config"; | ||
| import { AccountIdEndpointMode } from "./AccountIdEndpointModeConstants"; | ||
| export declare const ENV_ACCOUNT_ID_ENDPOINT_MODE = | ||
| "AWS_ACCOUNT_ID_ENDPOINT_MODE"; | ||
| export declare const CONFIG_ACCOUNT_ID_ENDPOINT_MODE = | ||
| "account_id_endpoint_mode"; | ||
| export declare const ENV_ACCOUNT_ID_ENDPOINT_MODE = "AWS_ACCOUNT_ID_ENDPOINT_MODE"; | ||
| export declare const CONFIG_ACCOUNT_ID_ENDPOINT_MODE = "account_id_endpoint_mode"; | ||
| export declare const NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS: LoadedConfigSelectors<AccountIdEndpointMode>; |
@@ -25,7 +25,4 @@ export declare const emitWarningIfUnsupportedVersion: symbol; | ||
| export { recursionDetectionMiddleware } from "./middleware-recursion-detection/recursionDetectionMiddleware.browser"; | ||
| export { DEFAULT_UA_APP_ID, resolveUserAgentConfig } from "./middleware-user-agent/configurations"; | ||
| export { | ||
| DEFAULT_UA_APP_ID, | ||
| resolveUserAgentConfig, | ||
| } from "./middleware-user-agent/configurations"; | ||
| export { | ||
| UserAgentInputConfig, | ||
@@ -81,7 +78,4 @@ UserAgentResolvedConfig, | ||
| export { ErrorRuleObject } from "./util-endpoints/types/ErrorRuleObject"; | ||
| export { RuleSetRules, TreeRuleObject } from "./util-endpoints/types/TreeRuleObject"; | ||
| export { | ||
| RuleSetRules, | ||
| TreeRuleObject, | ||
| } from "./util-endpoints/types/TreeRuleObject"; | ||
| export { | ||
| DeprecatedObject, | ||
@@ -108,6 +102,3 @@ ParameterObject, | ||
| export { resolveRegionConfig } from "./region-config-resolver/awsRegionConfig"; | ||
| export { | ||
| RegionInputConfig, | ||
| RegionResolvedConfig, | ||
| } from "./region-config-resolver/awsRegionConfig"; | ||
| export { RegionInputConfig, RegionResolvedConfig } from "./region-config-resolver/awsRegionConfig"; | ||
| export { stsRegionDefaultResolver } from "./region-config-resolver/stsRegionDefaultResolver.browser"; | ||
@@ -114,0 +105,0 @@ export declare const stsRegionWarning: symbol; |
@@ -1,5 +0,2 @@ | ||
| export { | ||
| emitWarningIfUnsupportedVersion, | ||
| state, | ||
| } from "./emitWarningIfUnsupportedVersion"; | ||
| export { emitWarningIfUnsupportedVersion, state } from "./emitWarningIfUnsupportedVersion"; | ||
| export { getLongPollPlugin } from "./longPollMiddleware"; | ||
@@ -27,7 +24,4 @@ export { setCredentialFeature } from "./setCredentialFeature"; | ||
| export { recursionDetectionMiddleware } from "./middleware-recursion-detection/recursionDetectionMiddleware"; | ||
| export { DEFAULT_UA_APP_ID, resolveUserAgentConfig } from "./middleware-user-agent/configurations"; | ||
| export { | ||
| DEFAULT_UA_APP_ID, | ||
| resolveUserAgentConfig, | ||
| } from "./middleware-user-agent/configurations"; | ||
| export { | ||
| UserAgentInputConfig, | ||
@@ -85,7 +79,4 @@ UserAgentResolvedConfig, | ||
| export { ErrorRuleObject } from "./util-endpoints/types/ErrorRuleObject"; | ||
| export { RuleSetRules, TreeRuleObject } from "./util-endpoints/types/TreeRuleObject"; | ||
| export { | ||
| RuleSetRules, | ||
| TreeRuleObject, | ||
| } from "./util-endpoints/types/TreeRuleObject"; | ||
| export { | ||
| DeprecatedObject, | ||
@@ -114,7 +105,4 @@ ParameterObject, | ||
| } from "./region-config-resolver/awsRegionConfig"; | ||
| export { RegionInputConfig, RegionResolvedConfig } from "./region-config-resolver/awsRegionConfig"; | ||
| export { | ||
| RegionInputConfig, | ||
| RegionResolvedConfig, | ||
| } from "./region-config-resolver/awsRegionConfig"; | ||
| export { | ||
| stsRegionDefaultResolver, | ||
@@ -121,0 +109,0 @@ warning as stsRegionWarning, |
@@ -25,7 +25,4 @@ export declare const emitWarningIfUnsupportedVersion: symbol; | ||
| export { recursionDetectionMiddleware } from "./middleware-recursion-detection/recursionDetectionMiddleware.native"; | ||
| export { DEFAULT_UA_APP_ID, resolveUserAgentConfig } from "./middleware-user-agent/configurations"; | ||
| export { | ||
| DEFAULT_UA_APP_ID, | ||
| resolveUserAgentConfig, | ||
| } from "./middleware-user-agent/configurations"; | ||
| export { | ||
| UserAgentInputConfig, | ||
@@ -81,7 +78,4 @@ UserAgentResolvedConfig, | ||
| export { ErrorRuleObject } from "./util-endpoints/types/ErrorRuleObject"; | ||
| export { RuleSetRules, TreeRuleObject } from "./util-endpoints/types/TreeRuleObject"; | ||
| export { | ||
| RuleSetRules, | ||
| TreeRuleObject, | ||
| } from "./util-endpoints/types/TreeRuleObject"; | ||
| export { | ||
| DeprecatedObject, | ||
@@ -108,6 +102,3 @@ ParameterObject, | ||
| export { resolveRegionConfig } from "./region-config-resolver/awsRegionConfig"; | ||
| export { | ||
| RegionInputConfig, | ||
| RegionResolvedConfig, | ||
| } from "./region-config-resolver/awsRegionConfig"; | ||
| export { RegionInputConfig, RegionResolvedConfig } from "./region-config-resolver/awsRegionConfig"; | ||
| export { stsRegionDefaultResolver } from "./region-config-resolver/stsRegionDefaultResolver.native"; | ||
@@ -114,0 +105,0 @@ export declare const stsRegionWarning: symbol; |
@@ -8,9 +8,7 @@ import { | ||
| } from "@smithy/types"; | ||
| export declare const longPollMiddleware: () => < | ||
| Output extends MetadataBearer = MetadataBearer | ||
| >( | ||
| export declare const longPollMiddleware: () => <Output extends MetadataBearer = MetadataBearer>( | ||
| next: InitializeHandler<any, Output>, | ||
| context: HandlerExecutionContext | ||
| context: HandlerExecutionContext, | ||
| ) => InitializeHandler<any, Output>; | ||
| export declare const longPollMiddlewareOptions: InitializeHandlerOptions; | ||
| export declare const getLongPollPlugin: (options: {}) => Pluggable<any, any>; |
@@ -16,15 +16,11 @@ import { | ||
| export declare function resolveHostHeaderConfig<T>( | ||
| input: T & PreviouslyResolved & HostHeaderInputConfig | ||
| input: T & PreviouslyResolved & HostHeaderInputConfig, | ||
| ): T & HostHeaderResolvedConfig; | ||
| export declare const hostHeaderMiddleware: < | ||
| Input extends object, | ||
| Output extends object | ||
| >( | ||
| options: HostHeaderResolvedConfig | ||
| export declare const hostHeaderMiddleware: <Input extends object, Output extends object>( | ||
| options: HostHeaderResolvedConfig, | ||
| ) => BuildMiddleware<Input, Output>; | ||
| export declare const hostHeaderMiddlewareOptions: BuildHandlerOptions & | ||
| AbsoluteLocation; | ||
| export declare const hostHeaderMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation; | ||
| export declare const getHostHeaderPlugin: ( | ||
| options: HostHeaderResolvedConfig | ||
| options: HostHeaderResolvedConfig, | ||
| ) => Pluggable<any, any>; | ||
| export {}; |
@@ -9,10 +9,7 @@ import { | ||
| } from "@smithy/types"; | ||
| export declare const loggerMiddleware: () => < | ||
| Output extends MetadataBearer = MetadataBearer | ||
| >( | ||
| export declare const loggerMiddleware: () => <Output extends MetadataBearer = MetadataBearer>( | ||
| next: InitializeHandler<any, Output>, | ||
| context: HandlerExecutionContext | ||
| context: HandlerExecutionContext, | ||
| ) => InitializeHandler<any, Output>; | ||
| export declare const loggerMiddlewareOptions: InitializeHandlerOptions & | ||
| AbsoluteLocation; | ||
| export declare const loggerMiddlewareOptions: InitializeHandlerOptions & AbsoluteLocation; | ||
| export declare const getLoggerPlugin: (options: any) => Pluggable<any, any>; |
| import { AbsoluteLocation, BuildHandlerOptions } from "@smithy/types"; | ||
| export declare const recursionDetectionMiddlewareOptions: BuildHandlerOptions & | ||
| AbsoluteLocation; | ||
| export declare const recursionDetectionMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation; |
| import { Pluggable } from "@smithy/types"; | ||
| export declare const getRecursionDetectionPlugin: ( | ||
| options: any | ||
| ) => Pluggable<any, any>; | ||
| export declare const getRecursionDetectionPlugin: (options: any) => Pluggable<any, any>; |
| import { Pluggable } from "@smithy/types"; | ||
| export declare const getRecursionDetectionPlugin: ( | ||
| options: any | ||
| ) => Pluggable<any, any>; | ||
| export declare const getRecursionDetectionPlugin: (options: any) => Pluggable<any, any>; |
| import { BuildMiddleware } from "@smithy/types"; | ||
| export declare const recursionDetectionMiddleware: () => BuildMiddleware< | ||
| any, | ||
| any | ||
| >; | ||
| export declare const recursionDetectionMiddleware: () => BuildMiddleware<any, any>; |
| import { BuildMiddleware } from "@smithy/types"; | ||
| export declare const recursionDetectionMiddleware: () => BuildMiddleware< | ||
| any, | ||
| any | ||
| >; | ||
| export declare const recursionDetectionMiddleware: () => BuildMiddleware<any, any>; |
| import { BuildMiddleware } from "@smithy/types"; | ||
| export declare const recursionDetectionMiddleware: () => BuildMiddleware< | ||
| any, | ||
| any | ||
| >; | ||
| export declare const recursionDetectionMiddleware: () => BuildMiddleware<any, any>; |
| import { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint"; | ||
| import { AwsHandlerExecutionContext } from "@aws-sdk/types"; | ||
| import { | ||
| AwsCredentialIdentityProvider, | ||
| BuildHandlerArguments, | ||
| Provider, | ||
| } from "@smithy/types"; | ||
| import { AwsCredentialIdentityProvider, BuildHandlerArguments, Provider } from "@smithy/types"; | ||
| type PreviouslyResolved = Partial<{ | ||
@@ -18,4 +14,4 @@ credentials?: AwsCredentialIdentityProvider; | ||
| config: PreviouslyResolved, | ||
| args: BuildHandlerArguments<any> | ||
| args: BuildHandlerArguments<any>, | ||
| ): Promise<void>; | ||
| export {}; |
@@ -19,4 +19,4 @@ import { Logger, Provider, UserAgent } from "@smithy/types"; | ||
| export declare function resolveUserAgentConfig<T>( | ||
| input: T & PreviouslyResolved & UserAgentInputConfig | ||
| input: T & PreviouslyResolved & UserAgentInputConfig, | ||
| ): T & UserAgentResolvedConfig; | ||
| export {}; |
@@ -12,11 +12,8 @@ import { AwsHandlerExecutionContext } from "@aws-sdk/types"; | ||
| export declare const userAgentMiddleware: ( | ||
| options: UserAgentResolvedConfig | ||
| options: UserAgentResolvedConfig, | ||
| ) => <Output extends MetadataBearer>( | ||
| next: BuildHandler<any, any>, | ||
| context: HandlerExecutionContext | AwsHandlerExecutionContext | ||
| context: HandlerExecutionContext | AwsHandlerExecutionContext, | ||
| ) => BuildHandler<any, any>; | ||
| export declare const getUserAgentMiddlewareOptions: BuildHandlerOptions & | ||
| AbsoluteLocation; | ||
| export declare const getUserAgentPlugin: ( | ||
| config: UserAgentResolvedConfig | ||
| ) => Pluggable<any, any>; | ||
| export declare const getUserAgentMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation; | ||
| export declare const getUserAgentPlugin: (config: UserAgentResolvedConfig) => Pluggable<any, any>; |
@@ -7,3 +7,3 @@ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; | ||
| export declare const getAwsRegionExtensionConfiguration: ( | ||
| runtimeConfig: RegionExtensionRuntimeConfigType | ||
| runtimeConfig: RegionExtensionRuntimeConfigType, | ||
| ) => { | ||
@@ -14,3 +14,3 @@ setRegion(region: Provider<string>): void; | ||
| export declare const resolveAwsRegionExtensionConfiguration: ( | ||
| awsRegionExtensionConfiguration: AwsRegionExtensionConfiguration | ||
| awsRegionExtensionConfiguration: AwsRegionExtensionConfiguration, | ||
| ) => RegionExtensionRuntimeConfigType; |
| import { LocalConfigOptions } from "@smithy/core/config"; | ||
| export declare function stsRegionDefaultResolver( | ||
| loaderConfig?: LocalConfigOptions | ||
| loaderConfig?: LocalConfigOptions, | ||
| ): import("@smithy/types").Provider<string>; | ||
@@ -5,0 +5,0 @@ export declare const warning: { |
@@ -1,11 +0,6 @@ | ||
| import { | ||
| AttributedAwsCredentialIdentity, | ||
| AwsSdkCredentialsFeatures, | ||
| } from "@aws-sdk/types"; | ||
| export declare function setCredentialFeature< | ||
| F extends keyof AwsSdkCredentialsFeatures | ||
| >( | ||
| import { AttributedAwsCredentialIdentity, AwsSdkCredentialsFeatures } from "@aws-sdk/types"; | ||
| export declare function setCredentialFeature<F extends keyof AwsSdkCredentialsFeatures>( | ||
| credentials: AttributedAwsCredentialIdentity, | ||
| feature: F, | ||
| value: AwsSdkCredentialsFeatures[F] | ||
| value: AwsSdkCredentialsFeatures[F], | ||
| ): AttributedAwsCredentialIdentity; |
@@ -5,3 +5,3 @@ import { AwsHandlerExecutionContext, AwsSdkFeatures } from "@aws-sdk/types"; | ||
| feature: F, | ||
| value: AwsSdkFeatures[F] | ||
| value: AwsSdkFeatures[F], | ||
| ): void; |
@@ -5,3 +5,3 @@ import { AttributedTokenIdentity, AwsSdkTokenFeatures } from "@aws-sdk/types"; | ||
| feature: F, | ||
| value: AwsSdkTokenFeatures[F] | ||
| value: AwsSdkTokenFeatures[F], | ||
| ): AttributedTokenIdentity; |
| export declare const isVirtualHostableS3Bucket: ( | ||
| value: string, | ||
| allowSubDomains?: boolean | ||
| allowSubDomains?: boolean, | ||
| ) => boolean; |
@@ -25,5 +25,5 @@ import { EndpointPartition } from "@smithy/types"; | ||
| partitionsInfo: PartitionsInfo, | ||
| userAgentPrefix?: string | ||
| userAgentPrefix?: string, | ||
| ) => void; | ||
| export declare const useDefaultPartitionInfo: () => void; | ||
| export declare const getUserAgentPrefix: () => string; |
@@ -1,8 +0,2 @@ | ||
| import { | ||
| Endpoint, | ||
| EndpointParameters, | ||
| EndpointV2, | ||
| Logger, | ||
| Provider, | ||
| } from "@smithy/types"; | ||
| import { Endpoint, EndpointParameters, EndpointV2, Logger, Provider } from "@smithy/types"; | ||
| export type DefaultAwsRegionalEndpointsInputConfig = { | ||
@@ -20,3 +14,3 @@ endpoint?: unknown; | ||
| logger?: Logger; | ||
| } | ||
| }, | ||
| ) => EndpointV2; | ||
@@ -33,5 +27,5 @@ }; | ||
| export declare const resolveDefaultAwsRegionalEndpointsConfig: <T>( | ||
| input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved | ||
| input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved, | ||
| ) => T & DefaultAwsRegionalEndpointsResolvedConfig; | ||
| export declare const toEndpointV1: (endpoint: EndpointV2) => Endpoint; | ||
| export {}; |
@@ -1,5 +0,1 @@ | ||
| export { | ||
| DeprecatedObject, | ||
| ParameterObject, | ||
| RuleSetObject, | ||
| } from "@smithy/core/endpoints"; | ||
| export { DeprecatedObject, ParameterObject, RuleSetObject } from "@smithy/core/endpoints"; |
@@ -7,4 +7,2 @@ import { UserAgent } from "@smithy/types"; | ||
| clientVersion, | ||
| }: DefaultUserAgentOptions) => ( | ||
| config?: PreviouslyResolved | ||
| ) => Promise<UserAgent>; | ||
| }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>; |
@@ -10,5 +10,3 @@ import { Provider, UserAgent } from "@smithy/types"; | ||
| clientVersion, | ||
| }: DefaultUserAgentOptions) => ( | ||
| config?: PreviouslyResolved | ||
| ) => Promise<UserAgent>; | ||
| }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>; | ||
| export declare const fallback: { | ||
@@ -21,4 +19,2 @@ os(ua: string): string | undefined; | ||
| clientVersion, | ||
| }: DefaultUserAgentOptions) => ( | ||
| config?: PreviouslyResolved | ||
| ) => Promise<UserAgent>; | ||
| }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>; |
@@ -9,10 +9,6 @@ import { Provider, UserAgent } from "@smithy/types"; | ||
| clientVersion, | ||
| }: DefaultUserAgentOptions) => ( | ||
| config?: PreviouslyResolved | ||
| ) => Promise<UserAgent>; | ||
| }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>; | ||
| export declare const defaultUserAgent: ({ | ||
| serviceId, | ||
| clientVersion, | ||
| }: DefaultUserAgentOptions) => ( | ||
| config?: PreviouslyResolved | ||
| ) => Promise<UserAgent>; | ||
| }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>; |
@@ -13,10 +13,6 @@ import { Provider, UserAgent } from "@smithy/types"; | ||
| clientVersion, | ||
| }: DefaultUserAgentOptions) => ( | ||
| config?: PreviouslyResolved | ||
| ) => Promise<UserAgent>; | ||
| }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>; | ||
| export declare const defaultUserAgent: ({ | ||
| serviceId, | ||
| clientVersion, | ||
| }: DefaultUserAgentOptions) => ( | ||
| config?: PreviouslyResolved | ||
| ) => Promise<UserAgent>; | ||
| }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>; |
| import { LoadedConfigSelectors } from "@smithy/core/config"; | ||
| export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; | ||
| export declare const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; | ||
| export declare const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors< | ||
| string | undefined | ||
| >; | ||
| export declare const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors<string | undefined>; |
@@ -1,5 +0,2 @@ | ||
| import { | ||
| AwsCredentialIdentity, | ||
| HttpRequest as IHttpRequest, | ||
| } from "@smithy/types"; | ||
| import { AwsCredentialIdentity, HttpRequest as IHttpRequest } from "@smithy/types"; | ||
| import { AwsSdkSigV4Signer } from "./AwsSdkSigV4Signer"; | ||
@@ -10,4 +7,4 @@ export declare class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer { | ||
| identity: AwsCredentialIdentity, | ||
| signingProperties: Record<string, unknown> | ||
| signingProperties: Record<string, unknown>, | ||
| ): Promise<IHttpRequest>; | ||
| } |
@@ -22,3 +22,3 @@ import { | ||
| export declare const validateSigningProperties: ( | ||
| signingProperties: Record<string, unknown> | ||
| signingProperties: Record<string, unknown>, | ||
| ) => Promise<AwsSdkSigV4AuthSigningProperties>; | ||
@@ -29,10 +29,8 @@ export declare class AwsSdkSigV4Signer implements HttpSigner { | ||
| identity: AwsCredentialIdentity, | ||
| signingProperties: Record<string, unknown> | ||
| signingProperties: Record<string, unknown>, | ||
| ): Promise<IHttpRequest>; | ||
| errorHandler( | ||
| signingProperties: Record<string, unknown> | ||
| ): (error: Error) => never; | ||
| errorHandler(signingProperties: Record<string, unknown>): (error: Error) => never; | ||
| successHandler( | ||
| httpResponse: HttpResponse | unknown, | ||
| signingProperties: Record<string, unknown> | ||
| signingProperties: Record<string, unknown>, | ||
| ): void; | ||
@@ -39,0 +37,0 @@ } |
@@ -8,7 +8,4 @@ export { | ||
| export { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS"; | ||
| export { resolveAwsSdkSigV4AConfig, NODE_SIGV4A_CONFIG_OPTIONS } from "./resolveAwsSdkSigV4AConfig"; | ||
| export { | ||
| resolveAwsSdkSigV4AConfig, | ||
| NODE_SIGV4A_CONFIG_OPTIONS, | ||
| } from "./resolveAwsSdkSigV4AConfig"; | ||
| export { | ||
| AwsSdkSigV4AAuthInputConfig, | ||
@@ -18,7 +15,4 @@ AwsSdkSigV4APreviouslyResolved, | ||
| } from "./resolveAwsSdkSigV4AConfig"; | ||
| export { resolveAwsSdkSigV4Config, resolveAWSSDKSigV4Config } from "./resolveAwsSdkSigV4Config"; | ||
| export { | ||
| resolveAwsSdkSigV4Config, | ||
| resolveAWSSDKSigV4Config, | ||
| } from "./resolveAwsSdkSigV4Config"; | ||
| export { | ||
| AwsSdkSigV4AuthInputConfig, | ||
@@ -25,0 +19,0 @@ AwsSdkSigV4Memoized, |
| import { LoadedConfigSelectors } from "@smithy/core/config"; | ||
| export declare const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: LoadedConfigSelectors< | ||
| string[] | ||
| >; | ||
| export declare const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: LoadedConfigSelectors<string[]>; |
| import { LoadedConfigSelectors } from "@smithy/core/config"; | ||
| import { Provider } from "@smithy/types"; | ||
| export interface AwsSdkSigV4AAuthInputConfig { | ||
| sigv4aSigningRegionSet?: | ||
| | string[] | ||
| | undefined | ||
| | Provider<string[] | undefined>; | ||
| sigv4aSigningRegionSet?: string[] | undefined | Provider<string[] | undefined>; | ||
| } | ||
@@ -14,6 +11,4 @@ export interface AwsSdkSigV4APreviouslyResolved {} | ||
| export declare const resolveAwsSdkSigV4AConfig: <T>( | ||
| config: T & AwsSdkSigV4AAuthInputConfig & AwsSdkSigV4APreviouslyResolved | ||
| config: T & AwsSdkSigV4AAuthInputConfig & AwsSdkSigV4APreviouslyResolved, | ||
| ) => T & AwsSdkSigV4AAuthResolvedConfig; | ||
| export declare const NODE_SIGV4A_CONFIG_OPTIONS: LoadedConfigSelectors< | ||
| string[] | undefined | ||
| >; | ||
| export declare const NODE_SIGV4A_CONFIG_OPTIONS: LoadedConfigSelectors<string[] | undefined>; |
@@ -16,11 +16,7 @@ import { MergeFunctions } from "@aws-sdk/types"; | ||
| credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider; | ||
| signer?: | ||
| | RequestSigner | ||
| | ((authScheme?: AuthScheme) => Promise<RequestSigner>); | ||
| signer?: RequestSigner | ((authScheme?: AuthScheme) => Promise<RequestSigner>); | ||
| signingEscapePath?: boolean; | ||
| systemClockOffset?: number; | ||
| signingRegion?: string; | ||
| signerConstructor?: new ( | ||
| options: SignatureV4Init & SignatureV4CryptoInit | ||
| ) => RequestSigner; | ||
| signerConstructor?: new (options: SignatureV4Init & SignatureV4CryptoInit) => RequestSigner; | ||
| } | ||
@@ -33,5 +29,3 @@ export type AwsSdkSigV4Memoized = { | ||
| export interface AwsSdkSigV4PreviouslyResolved { | ||
| credentialDefaultProvider?: ( | ||
| input: any | ||
| ) => MemoizedProvider<AwsCredentialIdentity>; | ||
| credentialDefaultProvider?: (input: any) => MemoizedProvider<AwsCredentialIdentity>; | ||
| region: string | Provider<string>; | ||
@@ -57,12 +51,9 @@ sha256: ChecksumConstructor | HashConstructor; | ||
| export declare const resolveAwsSdkSigV4Config: <T>( | ||
| config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved | ||
| config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved, | ||
| ) => T & AwsSdkSigV4AuthResolvedConfig; | ||
| export interface AWSSDKSigV4AuthInputConfig | ||
| extends AwsSdkSigV4AuthInputConfig {} | ||
| export interface AWSSDKSigV4PreviouslyResolved | ||
| extends AwsSdkSigV4PreviouslyResolved {} | ||
| export interface AWSSDKSigV4AuthResolvedConfig | ||
| extends AwsSdkSigV4AuthResolvedConfig {} | ||
| export interface AWSSDKSigV4AuthInputConfig extends AwsSdkSigV4AuthInputConfig {} | ||
| export interface AWSSDKSigV4PreviouslyResolved extends AwsSdkSigV4PreviouslyResolved {} | ||
| export interface AWSSDKSigV4AuthResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {} | ||
| export declare const resolveAWSSDKSigV4Config: <T>( | ||
| config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved | ||
| config: T & AwsSdkSigV4AuthInputConfig & AwsSdkSigV4PreviouslyResolved, | ||
| ) => T & AwsSdkSigV4AuthResolvedConfig; |
| export declare const getUpdatedSystemClockOffset: ( | ||
| clockTime: string, | ||
| currentSystemClockOffset: number | ||
| currentSystemClockOffset: number, | ||
| ) => number; |
@@ -1,4 +0,1 @@ | ||
| export declare const isClockSkewed: ( | ||
| clockTime: number, | ||
| systemClockOffset: number | ||
| ) => boolean; | ||
| export declare const isClockSkewed: (clockTime: number, systemClockOffset: number) => boolean; |
@@ -27,3 +27,3 @@ import { SmithyRpcV2CborProtocol } from "@smithy/core/cbor"; | ||
| input: Input, | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer, | ||
| ): Promise<HttpRequest>; | ||
@@ -35,4 +35,4 @@ protected handleError( | ||
| dataObject: any, | ||
| metadata: ResponseMetadata | ||
| metadata: ResponseMetadata, | ||
| ): Promise<never>; | ||
| } |
| import { SerdeFunctions } from "@smithy/types"; | ||
| export declare const collectBodyString: ( | ||
| streamBody: any, | ||
| context: SerdeFunctions | ||
| context: SerdeFunctions, | ||
| ) => Promise<string>; |
@@ -27,6 +27,2 @@ export { AwsSmithyRpcV2CborProtocol } from "./cbor/AwsSmithyRpcV2CborProtocol"; | ||
| export { XmlShapeSerializer } from "./xml/XmlShapeSerializer"; | ||
| export { | ||
| parseXmlBody, | ||
| parseXmlErrorBody, | ||
| loadRestXmlErrorCode, | ||
| } from "./xml/parseXmlBody"; | ||
| export { parseXmlBody, parseXmlErrorBody, loadRestXmlErrorCode } from "./xml/parseXmlBody"; |
@@ -1,3 +0,1 @@ | ||
| export declare const awsExpectUnion: ( | ||
| value: unknown | ||
| ) => Record<string, any> | undefined; | ||
| export declare const awsExpectUnion: (value: unknown) => Record<string, any> | undefined; |
@@ -38,3 +38,3 @@ import { RpcProtocol } from "@smithy/core/protocols"; | ||
| input: Input, | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer, | ||
| ): Promise<HttpRequest>; | ||
@@ -48,4 +48,4 @@ getPayloadCodec(): JsonCodec; | ||
| dataObject: any, | ||
| metadata: ResponseMetadata | ||
| metadata: ResponseMetadata, | ||
| ): Promise<never>; | ||
| } |
@@ -34,3 +34,3 @@ import { HttpBindingProtocol } from "@smithy/core/protocols"; | ||
| input: Input, | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer, | ||
| ): Promise<HttpRequest>; | ||
@@ -40,3 +40,3 @@ deserializeResponse<Output extends MetadataBearer>( | ||
| context: HandlerExecutionContext & SerdeFunctions, | ||
| response: HttpResponse | ||
| response: HttpResponse, | ||
| ): Promise<Output>; | ||
@@ -48,5 +48,5 @@ protected handleError( | ||
| dataObject: any, | ||
| metadata: ResponseMetadata | ||
| metadata: ResponseMetadata, | ||
| ): Promise<never>; | ||
| protected getDefaultContentType(): string; | ||
| } |
@@ -8,6 +8,3 @@ import { Codec, CodecSettings } from "@smithy/types"; | ||
| }; | ||
| export declare class JsonCodec | ||
| extends SerdeContextConfig | ||
| implements Codec<string, string> | ||
| { | ||
| export declare class JsonCodec extends SerdeContextConfig implements Codec<string, string> { | ||
| readonly settings: JsonSettings; | ||
@@ -14,0 +11,0 @@ constructor(settings: JsonSettings); |
@@ -6,3 +6,3 @@ export declare function jsonReviver( | ||
| source?: string; | ||
| } | ||
| }, | ||
| ): any; |
@@ -17,7 +17,3 @@ import { NormalizedSchema } from "@smithy/core/schema"; | ||
| writeDiscriminatedDocument(schema: Schema, value: unknown): void; | ||
| protected _write( | ||
| schema: Schema, | ||
| value: unknown, | ||
| container?: NormalizedSchema | ||
| ): any; | ||
| protected _write(schema: Schema, value: unknown, container?: NormalizedSchema): any; | ||
| } |
| import { HttpResponse, SerdeFunctions } from "@smithy/types"; | ||
| export declare const parseJsonBody: ( | ||
| streamBody: any, | ||
| context: SerdeFunctions | ||
| ) => any; | ||
| export declare const parseJsonErrorBody: ( | ||
| errorBody: any, | ||
| context: SerdeFunctions | ||
| ) => Promise<any>; | ||
| export declare const loadRestJsonErrorCode: ( | ||
| output: HttpResponse, | ||
| data: any | ||
| ) => string | undefined; | ||
| export declare const parseJsonBody: (streamBody: any, context: SerdeFunctions) => any; | ||
| export declare const parseJsonErrorBody: (errorBody: any, context: SerdeFunctions) => Promise<any>; | ||
| export declare const loadRestJsonErrorCode: (output: HttpResponse, data: any) => string | undefined; | ||
| export declare const loadJsonRpcErrorCode: ( | ||
| output: HttpResponse, | ||
| data: any, | ||
| queryCompat?: boolean | ||
| queryCompat?: boolean, | ||
| ) => string | undefined; |
@@ -18,3 +18,3 @@ import { ServiceException as SDKBaseServiceException } from "@smithy/core/client"; | ||
| defaultContentType: string, | ||
| inputSchema: NormalizedSchema | ||
| inputSchema: NormalizedSchema, | ||
| ): string | undefined; | ||
@@ -27,6 +27,3 @@ getErrorSchemaOrThrowBaseException( | ||
| metadata: ResponseMetadata, | ||
| getErrorSchema?: ( | ||
| registry: TypeRegistry, | ||
| errorName: string | ||
| ) => StaticErrorSchema | ||
| getErrorSchema?: (registry: TypeRegistry, errorName: string) => StaticErrorSchema, | ||
| ): Promise<{ | ||
@@ -36,21 +33,11 @@ errorSchema: StaticErrorSchema; | ||
| }>; | ||
| compose( | ||
| composite: TypeRegistry, | ||
| errorIdentifier: string, | ||
| defaultNamespace: string | ||
| ): void; | ||
| compose(composite: TypeRegistry, errorIdentifier: string, defaultNamespace: string): void; | ||
| decorateServiceException<E extends SDKBaseServiceException>( | ||
| exception: E, | ||
| additions?: Record<string, any> | ||
| additions?: Record<string, any>, | ||
| ): E; | ||
| setQueryCompatError( | ||
| output: Record<string, any>, | ||
| response: IHttpResponse | ||
| ): void; | ||
| setQueryCompatError(output: Record<string, any>, response: IHttpResponse): void; | ||
| queryCompatOutput(queryCompatErrorData: any, errorData: any): void; | ||
| findQueryCompatibleError( | ||
| registry: TypeRegistry, | ||
| errorName: string | ||
| ): StaticErrorSchema; | ||
| findQueryCompatibleError(registry: TypeRegistry, errorName: string): StaticErrorSchema; | ||
| } | ||
| export {}; |
@@ -38,3 +38,3 @@ import { RpcProtocol } from "@smithy/core/protocols"; | ||
| input: Input, | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer, | ||
| ): Promise<HttpRequest>; | ||
@@ -44,3 +44,3 @@ deserializeResponse<Output extends MetadataBearer>( | ||
| context: HandlerExecutionContext & SerdeFunctions, | ||
| response: IHttpResponse | ||
| response: IHttpResponse, | ||
| ): Promise<Output>; | ||
@@ -53,8 +53,5 @@ protected useNestedResult(): boolean; | ||
| dataObject: any, | ||
| metadata: ResponseMetadata | ||
| metadata: ResponseMetadata, | ||
| ): Promise<never>; | ||
| protected loadQueryErrorCode( | ||
| output: IHttpResponse, | ||
| data: any | ||
| ): string | undefined; | ||
| protected loadQueryErrorCode(output: IHttpResponse, data: any): string | undefined; | ||
| protected loadQueryError(data: any): any | undefined; | ||
@@ -61,0 +58,0 @@ protected loadQueryErrorMessage(data: any): string; |
@@ -17,3 +17,3 @@ import { Schema, ShapeSerializer } from "@smithy/types"; | ||
| ec2QueryName?: unknown, | ||
| keySource?: string | ||
| keySource?: string, | ||
| ): string; | ||
@@ -20,0 +20,0 @@ protected writeKey(key: string): void; |
@@ -31,3 +31,3 @@ import { HttpBindingProtocol } from "@smithy/core/protocols"; | ||
| input: Input, | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer | ||
| context: HandlerExecutionContext & SerdeFunctions & EndpointBearer, | ||
| ): Promise<IHttpRequest>; | ||
@@ -37,3 +37,3 @@ deserializeResponse<Output extends MetadataBearer>( | ||
| context: HandlerExecutionContext & SerdeFunctions, | ||
| response: IHttpResponse | ||
| response: IHttpResponse, | ||
| ): Promise<Output>; | ||
@@ -45,3 +45,3 @@ protected handleError( | ||
| dataObject: any, | ||
| metadata: ResponseMetadata | ||
| metadata: ResponseMetadata, | ||
| ): Promise<never>; | ||
@@ -48,0 +48,0 @@ protected getDefaultContentType(): string; |
| import { HttpResponse, SerdeContext } from "@smithy/types"; | ||
| export declare const parseXmlBody: ( | ||
| streamBody: any, | ||
| context: SerdeContext | ||
| ) => any; | ||
| export declare const parseXmlErrorBody: ( | ||
| errorBody: any, | ||
| context: SerdeContext | ||
| ) => Promise<any>; | ||
| export declare const loadRestXmlErrorCode: ( | ||
| output: HttpResponse, | ||
| data: any | ||
| ) => string | undefined; | ||
| export declare const parseXmlBody: (streamBody: any, context: SerdeContext) => any; | ||
| export declare const parseXmlErrorBody: (errorBody: any, context: SerdeContext) => Promise<any>; | ||
| export declare const loadRestXmlErrorCode: (output: HttpResponse, data: any) => string | undefined; |
| import { HttpRequest } from "@smithy/types"; | ||
| export declare function formatUrl( | ||
| request: Pick<HttpRequest, Exclude<keyof HttpRequest, "headers" | "method">> | ||
| request: Pick<HttpRequest, Exclude<keyof HttpRequest, "headers" | "method">>, | ||
| ): string; |
+64
-64
| { | ||
| "name": "@aws-sdk/core", | ||
| "version": "3.975.2", | ||
| "version": "3.975.3", | ||
| "description": "Core functions & classes shared by multiple AWS SDK clients.", | ||
| "scripts": { | ||
| "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", | ||
| "build:cjs": "node ../../scripts/compilation/inline && premove ./dist-cjs/api-extractor-type-index.js", | ||
| "build:es": "premove dist-es && tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js", | ||
| "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", | ||
| "build:types": "premove dist-types && premove dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json", | ||
| "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", | ||
| "clean": "premove dist-cjs dist-es dist-types", | ||
| "extract:docs": "api-extractor run --local", | ||
| "lint": "node ../../scripts/validation/submodules-linter.js", | ||
| "prebuild": "yarn lint", | ||
| "test": "yarn g:vitest run", | ||
| "test:watch": "yarn g:vitest watch", | ||
| "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:temp:retry", | ||
| "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts", | ||
| "test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec" | ||
| "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core", | ||
| "license": "Apache-2.0", | ||
| "author": { | ||
| "name": "AWS SDK for JavaScript Team", | ||
| "url": "https://aws.amazon.com/sdk-for-javascript/" | ||
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/aws/aws-sdk-js-v3.git", | ||
| "directory": "packages-internal/core" | ||
| }, | ||
| "files": [ | ||
| "./account-id-endpoint.d.ts", | ||
| "./account-id-endpoint.js", | ||
| "./client.d.ts", | ||
| "./client.js", | ||
| "./httpAuthSchemes.d.ts", | ||
| "./httpAuthSchemes.js", | ||
| "./protocols.d.ts", | ||
| "./protocols.js", | ||
| "./util.d.ts", | ||
| "./util.js", | ||
| "dist-*/**" | ||
| ], | ||
| "sideEffects": [ | ||
| "./dist-es/submodules/client/util-endpoints/aws.js", | ||
| "./dist-cjs/submodules/client/util-endpoints/aws.js" | ||
| ], | ||
| "main": "./dist-cjs/index.js", | ||
| "module": "./dist-es/index.js", | ||
| "browser": { | ||
| "./dist-es/submodules/client/index.js": "./dist-es/submodules/client/index.browser.js" | ||
| }, | ||
| "types": "./dist-types/index.d.ts", | ||
| "typesVersions": { | ||
| "<4.5": { | ||
| "dist-types/*": [ | ||
| "dist-types/ts3.4/*" | ||
| ], | ||
| "*": [ | ||
| "dist-types/ts3.4/submodules/*/index.d.ts" | ||
| ] | ||
| } | ||
| }, | ||
| "react-native": { | ||
| "./dist-es/submodules/client/index.js": "./dist-es/submodules/client/index.native.js" | ||
| }, | ||
| "exports": { | ||
@@ -77,36 +104,25 @@ ".": { | ||
| }, | ||
| "browser": { | ||
| "./dist-es/submodules/client/index.js": "./dist-es/submodules/client/index.browser.js" | ||
| "scripts": { | ||
| "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", | ||
| "build:cjs": "node ../../scripts/compilation/inline && premove ./dist-cjs/api-extractor-type-index.js", | ||
| "build:es": "premove dist-es && tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js", | ||
| "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", | ||
| "build:types": "premove dist-types && premove dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json", | ||
| "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", | ||
| "clean": "premove dist-cjs dist-es dist-types", | ||
| "extract:docs": "api-extractor run --local", | ||
| "lint": "node ../../scripts/validation/submodules-linter.js", | ||
| "prebuild": "yarn lint", | ||
| "test": "yarn g:vitest run", | ||
| "test:watch": "yarn g:vitest watch", | ||
| "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:temp:retry", | ||
| "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts", | ||
| "test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec" | ||
| }, | ||
| "react-native": { | ||
| "./dist-es/submodules/client/index.js": "./dist-es/submodules/client/index.native.js" | ||
| }, | ||
| "files": [ | ||
| "./account-id-endpoint.d.ts", | ||
| "./account-id-endpoint.js", | ||
| "./client.d.ts", | ||
| "./client.js", | ||
| "./httpAuthSchemes.d.ts", | ||
| "./httpAuthSchemes.js", | ||
| "./protocols.d.ts", | ||
| "./protocols.js", | ||
| "./util.d.ts", | ||
| "./util.js", | ||
| "dist-*/**" | ||
| ], | ||
| "sideEffects": [ | ||
| "./dist-es/submodules/client/util-endpoints/aws.js", | ||
| "./dist-cjs/submodules/client/util-endpoints/aws.js" | ||
| ], | ||
| "author": { | ||
| "name": "AWS SDK for JavaScript Team", | ||
| "url": "https://aws.amazon.com/sdk-for-javascript/" | ||
| }, | ||
| "license": "Apache-2.0", | ||
| "dependencies": { | ||
| "@aws-sdk/types": "^3.974.1", | ||
| "@aws-sdk/xml-builder": "^3.972.35", | ||
| "@aws-sdk/types": "^3.974.2", | ||
| "@aws-sdk/xml-builder": "^3.972.36", | ||
| "@aws/lambda-invoke-store": "^0.3.0", | ||
| "@smithy/core": "^3.29.3", | ||
| "@smithy/signature-v4": "^5.6.3", | ||
| "@smithy/core": "^3.29.4", | ||
| "@smithy/signature-v4": "^5.6.5", | ||
| "@smithy/types": "^4.16.1", | ||
@@ -125,19 +141,3 @@ "bowser": "^2.11.0", | ||
| "node": ">=20.0.0" | ||
| }, | ||
| "typesVersions": { | ||
| "<4.5": { | ||
| "dist-types/*": [ | ||
| "dist-types/ts3.4/*" | ||
| ], | ||
| "*": [ | ||
| "dist-types/ts3.4/submodules/*/index.d.ts" | ||
| ] | ||
| } | ||
| }, | ||
| "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/aws/aws-sdk-js-v3.git", | ||
| "directory": "packages-internal/core" | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
480051
-0.07%11468
-1.53%Updated
Updated
Updated