Skip to content

Commit 5c5b003

Browse files
authored
chore: Update aws-crt-swift to 0.46.0 (#911)
1 parent feb6b41 commit 5c5b003

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ let package = Package(
5656
],
5757
dependencies: {
5858
var dependencies: [Package.Dependency] = [
59-
.package(url: "https://github.com/awslabs/aws-crt-swift.git", exact: "0.45.0"),
59+
.package(url: "https://github.com/awslabs/aws-crt-swift.git", exact: "0.46.0"),
6060
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
6161
]
6262
let isDocCEnabled = ProcessInfo.processInfo.environment["AWS_SWIFT_SDK_ENABLE_DOCC"] != nil

Sources/SmithyIdentity/AWSCredentialIdentityResolvers/StaticAWSCredentialIdentityResolver.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ public struct StaticAWSCredentialIdentityResolver: AWSCredentialIdentityResolved
2222
self.crtAWSCredentialIdentityResolver = try AwsCommonRuntimeKit.CredentialsProvider(source: .static(
2323
accessKey: credentials.accessKey,
2424
secret: credentials.secret,
25-
sessionToken: credentials.sessionToken
26-
), accountId: credentials.accountID)
25+
sessionToken: credentials.sessionToken,
26+
accountId: credentials.accountID
27+
))
2728
}
2829
}

Sources/SmithyIdentity/CRTAdapters/AWSCredentialIdentityUtilityInitializers.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public extension CRTAWSCredentialIdentity {
3737
accessKey: awsCredentialIdentity.accessKey,
3838
secret: awsCredentialIdentity.secret,
3939
sessionToken: awsCredentialIdentity.sessionToken,
40+
accountId: awsCredentialIdentity.accountID,
4041
expiration: awsCredentialIdentity.expiration
4142
)
4243
}

0 commit comments

Comments
 (0)