File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Add the package to your `Package.swift` dependencies:
3131
3232``` swift
3333 dependencies: [
34- .
package (
url :
" [email protected] :appwrite/sdk-for-apple.git" ,
from :
" 1.0.0-RC1 " ),
34+ .
package (
url :
" [email protected] :appwrite/sdk-for-apple.git" ,
from :
" 1.0.0-RC2 " ),
3535 ],
3636```
3737
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ open class Client {
2323 " x-sdk-name " : " Apple " ,
2424 " x-sdk-platform " : " client " ,
2525 " x-sdk-language " : " swiftclient " ,
26- " x-sdk-version " : " 1.0.0-RC1 " ,
26+ " x-sdk-version " : " 1.0.0-RC2 " ,
2727 " X-Appwrite-Response-Format " : " 1.0.0-RC1 "
2828 ]
2929
Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ public class RealtimeCallback {
2424public class RealtimeResponseEvent {
2525 public let events : [ String ] ?
2626 public let channels : [ String ] ?
27- public let timestamp : Int64 ?
27+ public let timestamp : String ?
2828 public var payload : [ String : Any ] ?
2929
3030 init (
3131 events: [ String ] ,
3232 channels: [ String ] ,
33- timestamp: Int64 ,
33+ timestamp: String ,
3434 payload: [ String : Any ]
3535 ) {
3636 self . events = events
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ extension Realtime: WebSocketClientDelegate {
209209 let response = RealtimeResponseEvent (
210210 events: events,
211211 channels: channels,
212- timestamp: data [ " timestamp " ] as! Int64 ,
212+ timestamp: data [ " timestamp " ] as! String ,
213213 payload: payload
214214 )
215215 subscription. value. callback ( response)
You can’t perform that action at this time.
0 commit comments