Skip to content

Commit

Permalink
Add mutate layout
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHearst committed Feb 26, 2024
1 parent e99b6c4 commit 938a9e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ let package = Package(
],
targets: [
.target(
name: "ScryfallKit",
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency")
]
name: "ScryfallKit"
),
.testTarget(
name: "ScryfallKitTests",
Expand Down
2 changes: 1 addition & 1 deletion Sources/ScryfallKit/Models/Card/Card+enums.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ extension Card {
///
/// [Scryfall documentation](https://scryfall.com/docs/api/layouts)
public enum Layout: String, CaseIterable, Codable, Sendable {
case normal, split, flip, transform, meld, leveler, saga, adventure, planar, scheme, vanguard, token, emblem, augment, host, `class`, battle, `case`, unknown
case normal, split, flip, transform, meld, leveler, saga, adventure, planar, scheme, vanguard, token, emblem, augment, host, `class`, battle, `case`, mutate, unknown
case modalDfc = "modal_dfc"
case doubleSided = "double_sided"
case doubleFacedToken = "double_faced_token"
Expand Down
2 changes: 1 addition & 1 deletion Tests/ScryfallKitTests/SmokeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ final class SmokeTests: XCTestCase {
page += 1
results = try await client.searchCards(filters: [filter], page: page)
checkForUnknowns(in: results.data)
usleep(500000) // Wait for 0.5 seconds
try await Task.sleep(for: .milliseconds(500))
}
}

Expand Down

0 comments on commit 938a9e3

Please sign in to comment.