Skip to content

Commit d66ba8e

Browse files
committed
Update repository references to observable-websocket
1 parent 497f040 commit d66ba8e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![spm-ready](https://img.shields.io/badge/spm-ready-b68f6a.svg?logo=gitlfs&logoColor=white)](https://developer.apple.com/documentation/xcode/swift-packages)
44
[![platforms](https://img.shields.io/badge/platforms-iOS%2017+%20%7C%20macOS%2014+%20-lightgrey.svg?logo=apple&logoColor=white)](https://en.wikipedia.org/wiki/List_of_Apple_operating_systems)
55
[![license](https://img.shields.io/badge/license-MIT-67ac5b.svg?logo=googledocs&logoColor=white)](https://en.wikipedia.org/wiki/MIT_License)
6-
[![release](https://github.com/thatfactory/observable-websocket-client/actions/workflows/release.yml/badge.svg)](https://github.com/thatfactory/observable-websocket-client/actions/workflows/release.yml)
6+
[![release](https://github.com/thatfactory/observable-websocket/actions/workflows/release.yml/badge.svg)](https://github.com/thatfactory/observable-websocket/actions/workflows/release.yml)
77

88
# ObservableWebSocket ⚡
99
A Swift package that establishes [WebSocket connections](https://en.wikipedia.org/wiki/WebSocket) and publishes received messages and errors from an [Observable Object](https://developer.apple.com/documentation/combine/observableobject).
@@ -98,7 +98,7 @@ wsClient.sendMessage("A String WebSocket message")
9898
## Demo
9999
In this demo app, the `ObservableWebSocket` connects to a [Kucoin WebSocket server](https://www.kucoin.com/docs/websocket/introduction) and sends `ping` messages every `pingTimerInterval` to keep the connection alive. The server responds with `welcome` and `pong` messages:
100100

101-
https://github.com/thatfactory/observable-websocket-client/assets/664951/2c8897e4-6d25-413b-9f12-d61b32ebbf0d
101+
https://github.com/thatfactory/observable-websocket/assets/664951/2c8897e4-6d25-413b-9f12-d61b32ebbf0d
102102

103103
## Integration
104104
### Xcode
@@ -112,8 +112,8 @@ In your `Package.swift`, add `ObservableWebSocket` as a dependency:
112112
```swift
113113
dependencies: [
114114
.package(
115-
url: "https://github.com/thatfactory/observable-websocket-client",
116-
from: "0.1.0"
115+
url: "https://github.com/thatfactory/observable-websocket",
116+
from: "0.2.0"
117117
)
118118
]
119119
```
@@ -127,12 +127,11 @@ targets: [
127127
dependencies: [
128128
.product(
129129
name: "ObservableWebSocket",
130-
package: "observable-websocket-client"
130+
package: "observable-websocket"
131131
)
132132
]
133133
)
134134
]
135135
```
136136

137137
Run: `swift build`
138-

0 commit comments

Comments
 (0)