Skip to content

Commit d5ddada

Browse files
committed
Move typealiases to PusherConnection, where they are referenced
1 parent ad55e99 commit d5ddada

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Source/PusherConnection.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77
//
88

9+
public typealias PusherEventJSON = [String : AnyObject]
10+
public typealias PusherUserData = PresenceChannelMember
11+
912
public class PusherConnection {
1013
public let url: String
1114
public let key: String

Source/PusherSwift.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77

88
import Foundation
99

10-
public typealias PusherEventJSON = [String : AnyObject]
11-
public typealias PusherUserData = PresenceChannelMember
12-
1310
let PROTOCOL = 7
1411
let VERSION = "1.0.0"
1512
let CLIENT_NAME = "pusher-websocket-swift"

0 commit comments

Comments
 (0)