Skip to content

Commit adbb8c1

Browse files
committed
Release candidate 4 for 1.5.x
1 parent 9c484cb commit adbb8c1

39 files changed

+330
-81
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![Swift Package Manager](https://img.shields.io/github/v/release/appwrite/sdk-for-apple.svg?color=green&style=flat-square)
44
![License](https://img.shields.io/github/license/appwrite/sdk-for-apple.svg?style=flat-square)
5-
![Version](https://img.shields.io/badge/api%20version-1.4.13-blue.svg?style=flat-square)
5+
![Version](https://img.shields.io/badge/api%20version-1.5.0-blue.svg?style=flat-square)
66
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
77
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
88
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -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: "5.0.0-rc.3"),
34+
.package(url: "[email protected]:appwrite/sdk-for-apple.git", from: "5.0.0-rc.4"),
3535
],
3636
```
3737

Sources/Appwrite/Client.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ open class Client {
2525
"x-sdk-name": "Apple",
2626
"x-sdk-platform": "client",
2727
"x-sdk-language": "apple",
28-
"x-sdk-version": "5.0.0-rc.3",
28+
"x-sdk-version": "5.0.0-rc.4",
2929
"x-appwrite-response-format": "1.5.0"
3030
]
3131

Sources/Appwrite/Services/Messaging.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import AppwriteModels
99
open class Messaging: Service {
1010

1111
///
12-
/// Create a subscriber.
12+
/// Create a subscriber
13+
///
14+
/// Create a new subscriber.
1315
///
1416
/// @param String topicId
1517
/// @param String subscriberId
@@ -48,7 +50,9 @@ open class Messaging: Service {
4850
}
4951

5052
///
51-
/// Delete a subscriber.
53+
/// Delete a subscriber
54+
///
55+
/// Delete a subscriber by its unique ID.
5256
///
5357
/// @param String topicId
5458
/// @param String subscriberId

docs/examples/account/create-email-token.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ let account = Account(client)
88

99
let token = try await account.createEmailToken(
1010
userId: "[USER_ID]",
11-
11+
12+
phrase: false // optional
1213
)
1314

docs/examples/account/create-magic-u-r-l-token.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ let account = Account(client)
88

99
let token = try await account.createMagicURLToken(
1010
userId: "[USER_ID]",
11-
11+
12+
url: "https://example.com", // optional
13+
phrase: false // optional
1214
)
1315

docs/examples/account/create-o-auth2session.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ let client = Client()
88
let account = Account(client)
99

1010
let success = try await account.createOAuth2Session(
11-
provider: .amazon
11+
provider: .amazon,
12+
success: "https://example.com", // optional
13+
failure: "https://example.com", // optional
14+
token: false, // optional
15+
scopes: [] // optional
1216
)
1317

docs/examples/account/create-push-target.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ let account = Account(client)
88

99
let target = try await account.createPushTarget(
1010
targetId: "[TARGET_ID]",
11-
identifier: "[IDENTIFIER]"
11+
identifier: "[IDENTIFIER]",
12+
providerId: "[PROVIDER_ID]" // optional
1213
)
1314

docs/examples/account/create.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ let account = Account(client)
99
let user = try await account.create(
1010
userId: "[USER_ID]",
1111
12-
password: ""
12+
password: "",
13+
name: "[NAME]" // optional
1314
)
1415

docs/examples/account/list-identities.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ let client = Client()
66

77
let account = Account(client)
88

9-
let identityList = try await account.listIdentities()
9+
let identityList = try await account.listIdentities(
10+
queries: [] // optional
11+
)
1012

docs/examples/account/list-logs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ let client = Client()
66

77
let account = Account(client)
88

9-
let logList = try await account.listLogs()
9+
let logList = try await account.listLogs(
10+
queries: [] // optional
11+
)
1012

0 commit comments

Comments
 (0)