@stedi/sdk-client-exchange-credentials
Advanced tools
Comparing version 0.1.27 to 0.1.28
@@ -8,3 +8,2 @@ "use strict"; | ||
region: options.region ?? "us", | ||
stage: options.stage ?? "production", | ||
defaultSigningName: "exchangecredentials", | ||
@@ -11,0 +10,0 @@ }; |
@@ -16,4 +16,3 @@ "use strict"; | ||
type: "String", | ||
required: true, | ||
default: "production", | ||
required: false, | ||
}, | ||
@@ -58,13 +57,5 @@ Endpoint: { | ||
{ | ||
documentation: "Template the region into the URI when region is set", | ||
documentation: "Template the region into the URI when region is valid", | ||
conditions: [ | ||
{ | ||
fn: "isSet", | ||
argv: [ | ||
{ | ||
ref: "Region", | ||
}, | ||
], | ||
}, | ||
{ | ||
fn: "substring", | ||
@@ -114,3 +105,3 @@ argv: [ | ||
{ | ||
documentation: "Fallback when region is unset", | ||
documentation: "Fallback when region is invalid", | ||
conditions: [], | ||
@@ -117,0 +108,0 @@ error: "Region must be set to resolve a valid endpoint", |
@@ -5,5 +5,4 @@ export const resolveClientEndpointParameters = (options) => { | ||
region: options.region ?? "us", | ||
stage: options.stage ?? "production", | ||
defaultSigningName: "exchangecredentials", | ||
}; | ||
}; |
@@ -13,4 +13,3 @@ export const ruleSet = { | ||
type: "String", | ||
required: true, | ||
default: "production", | ||
required: false, | ||
}, | ||
@@ -55,13 +54,5 @@ Endpoint: { | ||
{ | ||
documentation: "Template the region into the URI when region is set", | ||
documentation: "Template the region into the URI when region is valid", | ||
conditions: [ | ||
{ | ||
fn: "isSet", | ||
argv: [ | ||
{ | ||
ref: "Region", | ||
}, | ||
], | ||
}, | ||
{ | ||
fn: "substring", | ||
@@ -111,3 +102,3 @@ argv: [ | ||
{ | ||
documentation: "Fallback when region is unset", | ||
documentation: "Fallback when region is invalid", | ||
conditions: [], | ||
@@ -114,0 +105,0 @@ error: "Region must be set to resolve a valid endpoint", |
@@ -97,3 +97,3 @@ { | ||
}, | ||
"version": "0.1.27" | ||
"version": "0.1.28" | ||
} |
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
235232
4623