-
Notifications
You must be signed in to change notification settings - Fork 43
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
Snap Support #446
Merged
Merged
Snap Support #446
Changes from all commits
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
eeb9f2d
feat: begin adding some group conversation features
nakajima 25edc2e
Use metadata instead of group context, remove redundant fields
nakajima 03022c1
Remove shared wallet
nakajima a46043f
cleanup
nakajima 8b39ad8
Add super basic test
nakajima e10adaa
unlink proto npm
nakajima 39d452a
Make sure we're not mutating when we don't wanna
nakajima 6cc1dc1
Update test to reflect group-ness being part of the conversation ID
nakajima ad6d582
Don't consider empty initialMembers as a group
nakajima 0061e3d
use local we already have
nakajima 6869df9
Simplify API for creating a new group convo
nakajima f632e70
Merge branch 'beta' into multi-invites
nakajima 748720e
Make sure creator address is in initial members and dedup
nakajima c0fb9af
Merge branch 'multi-invites' of https://github.com/xmtp/xmtp-js into …
nakajima 1746cca
Avoid self dh
nakajima 8ba9854
Introduce group content types
nakajima 513c7ec
Add a test for adding members
nakajima 8855108
Add additional assertion to make sure member adding actually works
nakajima 6f5d860
Update authority id
nakajima 0805413
remove unnecessary wrapper around newGroupConversation
nakajima 2fc86b9
punt on nicknames
nakajima 1bb882f
fix: no need for this change
nakajima 9884c6f
fix: no need for this change
nakajima 2a6229d
fix: crypto import
nakajima e2503ff
fix: crypto import
nakajima 6903495
feat: introduce dedicated group chat invitation topic
nakajima 94e9c2d
fix: topic prefixes can't have dashes
nakajima 786f8e6
Update src/conversations/Conversations.ts
nakajima 52e83e5
Merge branch 'multi-invites' into group-content-types
nakajima 6a29c2d
fix: add runtime validation
nakajima a4cd52b
fix: add upper bound to title
nakajima 9da20ac
Merge branch 'group-content-types' of https://github.com/xmtp/xmtp-js…
nakajima 8b2c3f6
fix: flip order
nakajima 7dba17c
fix: remove unnecessary property
nakajima 74c4ef1
Merge pull request #384 from xmtp/group-content-types
nakajima ff2a15b
fix: lint
nakajima 828b3dc
fix: handle case where group chat is enabled after initial convo loading
nakajima a9409b1
fix: topics must be ascii
nakajima 8718e99
fix: remove commented code
nakajima 995d556
Merge pull request #381 from xmtp/multi-invites
nakajima bde44e6
feat: add isGroup to Conversation interface
nakajima 781ed49
Merge pull request #387 from xmtp/add-is-group-conversation
nakajima fa3f753
fix: export group chat content types
nakajima 347a25d
Merge pull request #389 from xmtp/export-missing-content-types
nakajima 1f4bfb9
fix: include group conversations in conversations.stream()
nakajima 23c96b6
fix: stream group chat messages in streamAllMessages
nakajima 6f6379a
Merge pull request #390 from xmtp/stream-group-conversations
nakajima 2063235
fix: use proper contenttypeid definition for group chat types
nakajima e96a54f
fix: group conversations coming from stream should be marked isGroup
nakajima 127694a
fix: imports
nakajima 7ec8662
Merge branch 'beta' into fix-content-types
nakajima 3991968
Merge pull request #404 from xmtp/fix-content-types
nakajima 87f9636
docs: update README for group chat (#388)
nakajima b087b04
feat: initial snap provider
neekolas dbbe579
feat: update keystore provider
neekolas 7200366
feat: add new keystore methods
neekolas 1419a3b
docs: add coments
neekolas 48b9ab0
feat: add snap tests
neekolas 2edc286
fix: add full meta object
neekolas a41823e
feat: clean up proto imports
neekolas 106194d
build: add snap config
neekolas 222a943
build: release on snap branch
neekolas 1794726
build: fmt
neekolas 8dfc8cc
Merge pull request #409 from xmtp/snap-support
neekolas 2cfe3ff
fix: export SnapProvider
neekolas 01d7ef0
fix: add more logging
neekolas 2c450cc
fix: do not send empty params
neekolas f94d243
feat: use new GetV2ConversationsResponse
neekolas 858b39d
build: rename RPCs to be generic
neekolas e101b6f
fix: move around api defs
neekolas 5a8a4cd
Merge branch 'nmolnar/validate-private-key' into snap
neekolas 3d83e94
build: update package-lock
neekolas 13f8610
fix: export defaultKeystoreProviders
neekolas a8d2d85
fix: allow for empty strings to be sent
neekolas 585ba43
build: eslint disable
neekolas 262e048
feat: support group conversations
neekolas d6b6335
Merge branch 'beta' into snap
neekolas 9e4160a
feat: remove group chat stuff
neekolas 1777679
Merge branch 'beta' into nmolnar/merge-beta-to-snap
neekolas b282944
chore: make tests pass post-merge
neekolas 2185e6c
chore: update RPCs available
neekolas 0129b75
build: remove deployment from snap directory
neekolas 112930f
feat: improved feature detection for Snaps
neekolas 4ef2c6a
build: better typing for window.ethereum
neekolas 4296b1f
test: add tests for users without metamask
neekolas 77d0c90
chore: remove unused types
neekolas 9859610
chore: remove unused types
neekolas c856165
test: add tests for SnapProvider
neekolas 45c18ac
test: add one more assertion to tests
neekolas 5e0bc9c
chore: remove newline
neekolas 7f318b1
chore: add back newline
neekolas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉