generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] SyncEngine for specific protocols + delegate sync. #836
Merged
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e182aaa - Browse repository at this point
Copy the full SHA e182aaaView commit details -
PermissionsApi for Agent,
permissions
API forWeb5
(#833)This refactors a lot of what's in #824 with regards to creating/fetching grants. Satisfies: #827 Introduces a `PermissionsApi` interface and an `AgentPermissionsApi` concrete implementation. The interface implements the following methods `fetchGrants`, `fetchRequests`, `isGrantRevoked`, `createGrant`, `createRequest`, `createRevocation` as convenience methods for dealing with the built-in permission protocol records. The `AgentPermissionsApi` implements an additional static method `matchGrantFromArray` which was moved from a `PermissionsUtil` class, which is used to find the appropriate grant to use when authoring a message. A Private API usedin a connected state to find and cache the correct grants to use for the request. A Permissions API which implements `request`, `grant`, `queryRequests`, and `queryGrants` that a user can utilize The `Web5` permissions api introduces 3 helper classes to represent permissions: Class to represent a permission request record. It implements convenience methods similar to the `Record` class where you can `store()`, `import()` or `send()` the underlying request record. Additionally a `grant()` method will create a `PermissionGrant` object. Class to represent a grant record. It implements convenience methods similar to the `Record` class where you can `store()`, `import()` or `send()` the underlying grant record. Additionally a `revoke()` method will create a `GrantRevocation` object, and `isRevoked()` will check if the underlying grant has been revoked. Class to represent a permission grant revocation record. It implements convenience methods similar to the `Record` class where you can `store()` or `send()` the underlying revocation record.
Configuration menu - View commit details
-
Copy full SHA for 22e4947 - Browse repository at this point
Copy the full SHA 22e4947View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e0c041 - Browse repository at this point
Copy the full SHA 9e0c041View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03fecb6 - Browse repository at this point
Copy the full SHA 03fecb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f44081b - Browse repository at this point
Copy the full SHA f44081bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10699af - Browse repository at this point
Copy the full SHA 10699afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3734cf9 - Browse repository at this point
Copy the full SHA 3734cf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0ecae1 - Browse repository at this point
Copy the full SHA a0ecae1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a10732 - Browse repository at this point
Copy the full SHA 7a10732View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2734c3 - Browse repository at this point
Copy the full SHA b2734c3View commit details -
getPermissions does not return unefined, throws if there is an error …
…getting a permission
Configuration menu - View commit details
-
Copy full SHA for b3e74c6 - Browse repository at this point
Copy the full SHA b3e74c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed24f2d - Browse repository at this point
Copy the full SHA ed24f2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f856d7f - Browse repository at this point
Copy the full SHA f856d7fView commit details -
assign specific protocols to sync based on the results of processing …
…the grants from wallet connect
Configuration menu - View commit details
-
Copy full SHA for 58cc290 - Browse repository at this point
Copy the full SHA 58cc290View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34ad0f7 - Browse repository at this point
Copy the full SHA 34ad0f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1adf942 - Browse repository at this point
Copy the full SHA 1adf942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96944b7 - Browse repository at this point
Copy the full SHA 96944b7View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.