Skip to content

Commit

Permalink
updated segment version (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdhingra07 authored Nov 28, 2023
1 parent 8fb420d commit 91bd9fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"repositoryURL": "https://github.com/segmentio/analytics-swift.git",
"state": {
"branch": null,
"revision": "26f23a2ae9b8dd47aeee1bdaa1e203f3bed6044e",
"version": "1.4.0"
"revision": "79fb17a5d4abf8f80e6a0935e57c7df7b670a6c0",
"version": "1.4.1"
}
},
{
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PackageDescription
let package = Package(
name: "SegmentMixpanel",
platforms: [
//.macOS("10.15"),
.macOS("10.15"),
.iOS("13.0"),
.tvOS("11.0"),
.watchOS("7.1")
Expand All @@ -23,7 +23,7 @@ let package = Package(
.package(
name: "Segment",
url: "https://github.com/segmentio/analytics-swift.git",
from: "1.4.0"
from: "1.4.1"
),
.package(
name: "Mixpanel",
Expand Down
5 changes: 2 additions & 3 deletions Sources/SegmentMixpanel/MixpanelDestination.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ import Mixpanel


@objc(SEGMixpanelDestination)
public class ObjCSegmentMixpanel: NSObject, ObjCDestination, ObjCDestinationShim {
public func instance() -> DestinationPlugin { return MixpanelDestination() }
public class ObjCSegmentMixpanel: NSObject, ObjCPlugin, ObjCPluginShim {
public func instance() -> EventPlugin { return MixpanelDestination() }
}


public class MixpanelDestination: DestinationPlugin, RemoteNotifications {
public let timeline = Timeline()
public let type = PluginType.destination
Expand Down

0 comments on commit 91bd9fe

Please sign in to comment.