@aws-sdk/client-amplifyuibuilder
Advanced tools
Comparing version 3.435.0 to 3.436.0
@@ -7,2 +7,3 @@ "use strict"; | ||
const client_sts_1 = require("@aws-sdk/client-sts"); | ||
const core_1 = require("@aws-sdk/core"); | ||
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node"); | ||
@@ -26,2 +27,3 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); | ||
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); | ||
(0, core_1.emitWarningIfUnsupportedVersion)(process.version); | ||
return { | ||
@@ -28,0 +30,0 @@ ...clientSharedValues, |
@@ -9,15 +9,17 @@ "use strict"; | ||
const endpointResolver_1 = require("./endpoint/endpointResolver"); | ||
const getRuntimeConfig = (config) => ({ | ||
apiVersion: "2021-08-11", | ||
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, | ||
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, | ||
disableHostPrefix: config?.disableHostPrefix ?? false, | ||
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, | ||
extensions: config?.extensions ?? [], | ||
logger: config?.logger ?? new smithy_client_1.NoOpLogger(), | ||
serviceId: config?.serviceId ?? "AmplifyUIBuilder", | ||
urlParser: config?.urlParser ?? url_parser_1.parseUrl, | ||
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, | ||
}); | ||
const getRuntimeConfig = (config) => { | ||
return { | ||
apiVersion: "2021-08-11", | ||
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, | ||
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, | ||
disableHostPrefix: config?.disableHostPrefix ?? false, | ||
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, | ||
extensions: config?.extensions ?? [], | ||
logger: config?.logger ?? new smithy_client_1.NoOpLogger(), | ||
serviceId: config?.serviceId ?? "AmplifyUIBuilder", | ||
urlParser: config?.urlParser ?? url_parser_1.parseUrl, | ||
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, | ||
}; | ||
}; | ||
exports.getRuntimeConfig = getRuntimeConfig; |
import packageInfo from "../package.json"; | ||
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; | ||
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; | ||
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; | ||
@@ -21,2 +22,3 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; | ||
const clientSharedValues = getSharedRuntimeConfig(config); | ||
awsCheckVersion(process.version); | ||
return { | ||
@@ -23,0 +25,0 @@ ...clientSharedValues, |
@@ -6,14 +6,16 @@ import { NoOpLogger } from "@smithy/smithy-client"; | ||
import { defaultEndpointResolver } from "./endpoint/endpointResolver"; | ||
export const getRuntimeConfig = (config) => ({ | ||
apiVersion: "2021-08-11", | ||
base64Decoder: config?.base64Decoder ?? fromBase64, | ||
base64Encoder: config?.base64Encoder ?? toBase64, | ||
disableHostPrefix: config?.disableHostPrefix ?? false, | ||
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, | ||
extensions: config?.extensions ?? [], | ||
logger: config?.logger ?? new NoOpLogger(), | ||
serviceId: config?.serviceId ?? "AmplifyUIBuilder", | ||
urlParser: config?.urlParser ?? parseUrl, | ||
utf8Decoder: config?.utf8Decoder ?? fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? toUtf8, | ||
}); | ||
export const getRuntimeConfig = (config) => { | ||
return { | ||
apiVersion: "2021-08-11", | ||
base64Decoder: config?.base64Decoder ?? fromBase64, | ||
base64Encoder: config?.base64Encoder ?? toBase64, | ||
disableHostPrefix: config?.disableHostPrefix ?? false, | ||
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, | ||
extensions: config?.extensions ?? [], | ||
logger: config?.logger ?? new NoOpLogger(), | ||
serviceId: config?.serviceId ?? "AmplifyUIBuilder", | ||
urlParser: config?.urlParser ?? parseUrl, | ||
utf8Decoder: config?.utf8Decoder ?? fromUtf8, | ||
utf8Encoder: config?.utf8Encoder ?? toUtf8, | ||
}; | ||
}; |
{ | ||
"name": "@aws-sdk/client-amplifyuibuilder", | ||
"description": "AWS SDK for JavaScript Amplifyuibuilder Client for Node.js, Browser and React Native", | ||
"version": "3.435.0", | ||
"version": "3.436.0", | ||
"scripts": { | ||
@@ -24,5 +24,5 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "3.0.0", | ||
"@aws-sdk/client-sts": "3.435.0", | ||
"@aws-sdk/core": "3.433.0", | ||
"@aws-sdk/credential-provider-node": "3.435.0", | ||
"@aws-sdk/client-sts": "3.436.0", | ||
"@aws-sdk/core": "3.436.0", | ||
"@aws-sdk/credential-provider-node": "3.436.0", | ||
"@aws-sdk/middleware-host-header": "3.433.0", | ||
@@ -29,0 +29,0 @@ "@aws-sdk/middleware-logger": "3.433.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
864452
21308
+ Added@aws-sdk/client-sso@3.436.0(transitive)
+ Added@aws-sdk/client-sts@3.436.0(transitive)
+ Added@aws-sdk/core@3.436.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.436.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.436.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.436.0(transitive)
- Removed@aws-sdk/client-sso@3.435.0(transitive)
- Removed@aws-sdk/client-sts@3.435.0(transitive)
- Removed@aws-sdk/core@3.433.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.435.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.435.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.435.0(transitive)
Updated@aws-sdk/client-sts@3.436.0
Updated@aws-sdk/core@3.436.0