Repository navigation
feat: SDK update for version 22.3.0 - #76
Conversation
🔵 Tier A · Mergeable after minor fixes
This SDK update adds passkey account, user, and project-policy endpoints, along with the associated response models and usage examples. It also updates the package documentation and client SDK version to 22.3.0.
Fix with agent prompt### Issue 1
docs/examples/project/update-passkey-policy.md:11
**Avoid redeclaring `project` in this example**
This example already declares `project` above, so the second declaration is rejected by Swift as an invalid redeclaration. Using a different name for the returned project lets readers compile the example as written.
```suggestion
let updatedProject = try await project.updatePasskeyPolicy(
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 13
Reviewed |
|
|
||
| let project = Project(client) | ||
|
|
||
| let project = try await project.updatePasskeyPolicy( |
There was a problem hiding this comment.
Avoid redeclaring project in this example
This example already declares project above, so the second declaration is rejected by Swift as an invalid redeclaration. Using a different name for the returned project lets readers compile the example as written.
| let project = try await project.updatePasskeyPolicy( | |
| let updatedProject = try await project.updatePasskeyPolicy( |
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/examples/project/update-passkey-policy.md
Line: 11
Comment:
**Avoid redeclaring `project` in this example**
This example already declares `project` above, so the second declaration is rejected by Swift as an invalid redeclaration. Using a different name for the returned project lets readers compile the example as written.
```suggestion
let updatedProject = try await project.updatePasskeyPolicy(
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟡 Minor · documentation · Reply if this doesn't apply.
This PR contains updates to the SDK for version 22.3.0.
What's Changed
accountpasskey methodslistPasskeys,createPasskey,getPasskey,updatePasskey,deletePasskeyandupdatePasskeyVerificationaccount.createPasskeyTokenandaccount.updatePasskeyTokenfor passkey sign-inusers.listPasskeys,users.getPasskey,users.updatePasskeyandusers.deletePasskeyproject.updatePasskeyPolicyto configure passkey sign-inPasskey,PasskeyList,PasskeyChallengeandTokenSecretmodelsPasskeys only, patched onto
main: the diff of the SDK generated with and without the passkey methods, three-way merged onto the release. Everything else on the release is unchanged, including itsX-Appwrite-Response-Format.