Skip to content
This repository was archived by the owner on Jul 21, 2020. It is now read-only.

Commit 4307daf

Browse files
committed
Updated URLs back to mixer.com
1 parent f45ae41 commit 4307daf

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

MixerAPI.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Pod::Spec.new do |s|
22
s.name = "MixerAPI"
3-
s.version = "1.6.4"
3+
s.version = "1.6.5"
44
s.summary = "An interface to communicate with Mixer's backend."
55
s.homepage = "https://github.com/mixer/mixer-client-swift"
66
s.license = "MIT"
77
s.author = { "Jack Cook" => "[email protected]" }
88

99
s.requires_arc = true
1010
s.ios.deployment_target = "8.2"
11-
s.source = { :git => "https://github.com/mixer/mixer-client-swift.git", :tag => "1.6.4" }
11+
s.source = { :git => "https://github.com/mixer/mixer-client-swift.git", :tag => "1.6.5" }
1212
s.source_files = "Pod/Classes/**/*"
1313

1414
s.dependency "Starscream", "~> 2.0"

Pod/Classes/Clients/ConstellationClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class ConstellationClient: WebSocketDelegate {
3737
public func connect(_ delegate: ConstellationClientDelegate) {
3838
self.delegate = delegate
3939

40-
socket = WebSocket(url: URL(string: "wss://constellation.beam.pro")!)
40+
socket = WebSocket(url: URL(string: "wss://constellation.mixer.com")!)
4141
socket?.delegate = self
4242
socket?.headers["User-Agent"] = "IOSApp/\(MixerRequest.version) (iOS; \(MixerRequest.deviceName()))"
4343
socket?.connect()

Pod/Classes/Routes/ChannelsRoutes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public class ChannelsRoutes {
340340
:param: completion An optional completion block with the retrieved emoticon packs' data.
341341
*/
342342
public func getDefaultEmoticons(_ completion: ((_ packs: [MixerEmoticonPack]?, _ error: MixerRequestError?) -> Void)?) {
343-
MixerRequest.dataRequest("https://beam.pro/_latest/emoticons/manifest.json") { (data, error) in
343+
MixerRequest.dataRequest("https://mixer.com/_latest/emoticons/manifest.json") { (data, error) in
344344
guard let data = data, let packs = JSON(data: data).dictionary else {
345345
completion?(nil, error)
346346
return

Pod/Classes/Routes/ChatRoutes.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public class ChatRoutes {
191191
:returns: The finished spacesuit image.
192192
*/
193193
public func getSpaceSuit(_ userId: Int) -> UIImage? {
194-
let imageUrl = "https://beam.pro/api/v1/users/\(userId)/avatar?w=64&h=64"
194+
let imageUrl = "https://mixer.com/api/v1/users/\(userId)/avatar?w=64&h=64"
195195

196196
guard let url = URL(string: imageUrl) else {
197197
return nil

Pod/Classes/Utilities/MixerRequest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class MixerRequest {
4545
:param: completion An optional completion block with retrieved JSON data.
4646
*/
4747
public class func request(_ endpoint: String, requestType: String = "GET", headers: [String: String] = [String: String](), params: [String: String] = [String: String](), body: AnyObject? = nil, options: MixerRequestOptions = [], completion: ((_ json: JSON?, _ error: MixerRequestError?) -> Void)?) {
48-
MixerRequest.dataRequest("https://beam.pro/api/v1\(endpoint)", requestType: requestType, headers: headers, params: params, body: body, options: options) { (data, error) in
48+
MixerRequest.dataRequest("https://mixer.com/api/v1\(endpoint)", requestType: requestType, headers: headers, params: params, body: body, options: options) { (data, error) in
4949
guard let data = data else {
5050
completion?(nil, error)
5151
return

0 commit comments

Comments
 (0)