Skip to content

Commit

Permalink
fix: updating gist dependency version
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahroz16 committed Oct 31, 2022
1 parent 36c1b81 commit 0b8569c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CustomerIOMessagingInApp.podspec
Expand Up @@ -21,5 +21,5 @@ Pod::Spec.new do |spec|
spec.module_name = "CioMessagingInApp" # the `import X` name when using SDK in Swift files

spec.dependency "CustomerIOTracking", "= #{spec.version.to_s}"
spec.dependency "Gist", '~> 2.1.3'
spec.dependency "Gist", '~> 2.2.0'
end
4 changes: 2 additions & 2 deletions Package.resolved
Expand Up @@ -6,8 +6,8 @@
"repositoryURL": "https://gitlab.com/bourbonltd/gist-apple.git",
"state": {
"branch": null,
"revision": "31c95f0c7c535ce75c07e806e993c4c603613b34",
"version": "2.1.3"
"revision": "0a17c71f7d642ddf296eec4d4d7ef631f77d5589",
"version": "2.2.0"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Expand Up @@ -24,7 +24,7 @@ let package = Package(
dependencies: [
// Help for the format of declaring SPM dependencies:
// https://web.archive.org/web/20220525200227/https://www.timc.dev/posts/understanding-swift-packages/
.package(name: "Gist", url: "https://gitlab.com/bourbonltd/gist-apple.git", from: "2.1.3"),
.package(name: "Gist", url: "https://gitlab.com/bourbonltd/gist-apple.git", from: "2.2.0"),
],
targets: [
// Common - Code used by multiple modules in the SDK project.
Expand Down
2 changes: 1 addition & 1 deletion Sources/MessagingInApp/MessagingInApp.swift
Expand Up @@ -110,7 +110,7 @@ extension MessagingInApp: GistDelegate {
logger.error("error with in-app message. \(message.describeForLogs)")
}

public func action(message: Message, currentRoute: String, action: String) {
public func action(message: Message, currentRoute: String, action: String, name: String) {
logger.debug("in-app action made. \(action), \(message.describeForLogs)")

// a close action does not count as a clicked action.
Expand Down

0 comments on commit 0b8569c

Please sign in to comment.