Skip to content

Commit b6550f3

Browse files
authored
chore: kickoff release
2 parents 69ce4a2 + 441c5d5 commit b6550f3

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

AmplifyPlugins/API/Sources/AWSAPIPlugin/Core/AppSyncListProvider.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public class AppSyncListProvider<Element: Model>: ModelListProvider {
5959
elements: listResponse.items,
6060
nextToken: listResponse.nextToken,
6161
apiName: payload.apiName,
62+
authMode: payload.authMode,
6263
limit: payload.limit,
6364
filter: payload.graphQLFilter
6465
)

AmplifyPlugins/API/Tests/AWSAPIPluginTests/Core/AppSyncListProviderTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class AppSyncListProviderTests: XCTestCase {
6262
let appSyncPayload = AppSyncListPayload(
6363
graphQLData: json,
6464
apiName: "apiName",
65-
authMode: nil,
65+
authMode: .amazonCognitoUserPools,
6666
variables: variables
6767
)
6868
let provider = try AppSyncListProvider<Post4>(payload: appSyncPayload)
@@ -73,6 +73,7 @@ class AppSyncListProviderTests: XCTestCase {
7373
XCTAssertEqual(elements.count, 2)
7474
XCTAssertEqual(nextToken, "nextToken")
7575
XCTAssertEqual(provider.apiName, "apiName")
76+
XCTAssertEqual(provider.authMode, .amazonCognitoUserPools)
7677
XCTAssertEqual(provider.limit, 500)
7778
XCTAssertNotNil(filter)
7879
}

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let platforms: [SupportedPlatform] = [
99
.watchOS(.v9)
1010
]
1111
let dependencies: [Package.Dependency] = [
12-
.package(url: "https://github.com/awslabs/aws-sdk-swift", exact: "1.6.7"),
12+
.package(url: "https://github.com/awslabs/aws-sdk-swift", exact: "1.6.71"),
1313
.package(url: "https://github.com/stephencelis/SQLite.swift.git", exact: "0.15.3"),
1414
.package(url: "https://github.com/mattgallagher/CwlPreconditionTesting.git", from: "2.1.0"),
1515
.package(url: "https://github.com/aws-amplify/amplify-swift-utils-notifications.git", from: "1.1.0")

0 commit comments

Comments
 (0)