File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
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 :
" 0.7 .0-RC1" ),
34+ .
package (
url :
" [email protected] :appwrite/sdk-for-apple.git" ,
from :
" 1.0 .0-RC1" ),
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 " : " 0.7 .0-RC1" ,
26+ " x-sdk-version " : " 1.0 .0-RC1" ,
2727 " X-Appwrite-Response-Format " : " 1.0.0-RC1 "
2828 ]
2929
Original file line number Diff line number Diff line change @@ -227,7 +227,6 @@ open class Avatars: Service {
227227 /// @param String name
228228 /// @param Int width
229229 /// @param Int height
230- /// @param String color
231230 /// @param String background
232231 /// @throws Exception
233232 /// @return array
@@ -236,15 +235,13 @@ open class Avatars: Service {
236235 name: String ? = nil ,
237236 width: Int ? = nil ,
238237 height: Int ? = nil ,
239- color: String ? = nil ,
240238 background: String ? = nil
241239 ) async throws -> ByteBuffer {
242240 let path : String = " /avatars/initials "
243241 let params : [ String : Any ? ] = [
244242 " name " : name,
245243 " width " : width,
246244 " height " : height,
247- " color " : color,
248245 " background " : background,
249246 " project " : client. config [ " project " ]
250247 ]
@@ -515,7 +512,6 @@ open class Avatars: Service {
515512 /// @param String name
516513 /// @param Int width
517514 /// @param Int height
518- /// @param String color
519515 /// @param String background
520516 /// @throws Exception
521517 /// @return array
@@ -525,7 +521,6 @@ open class Avatars: Service {
525521 name: String ? = nil ,
526522 width: Int ? = nil ,
527523 height: Int ? = nil ,
528- color: String ? = nil ,
529524 background: String ? = nil ,
530525 completion: ( ( Result < ByteBuffer , AppwriteError > ) -> Void ) ? = nil
531526 ) {
@@ -535,7 +530,6 @@ open class Avatars: Service {
535530 name: name,
536531 width: width,
537532 height: height,
538- color: color,
539533 background: background
540534 )
541535 completion ? ( . success( result) )
You can’t perform that action at this time.
0 commit comments