-
Notifications
You must be signed in to change notification settings - Fork 23
feat: createContexts #368
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
Merged
Merged
feat: createContexts #368
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c86e00b
Squashed branch 'create-contexts' (https://github.com/FilOzone/synaps…
wjmelements 1b75a25
mockServiceProviderRegistry: getProvidersByProductType
wjmelements 53e4374
update tests: create data set is now delayed until first add piece
wjmelements 20d92b9
Merge remote-tracking branch 'origin/master' into wjmelements/create-…
wjmelements 7411bd0
use smartSelectProvider for the remaining providers
wjmelements 178073d
add broken test
wjmelements 55c324d
fix the test by converting bigint to number
wjmelements 9511a10
Revert "fix the test by converting bigint to number"
wjmelements 6afaa65
fix the test by fixing the types
wjmelements 21bb003
it can attempt to create numerous contexts, returning fewer
wjmelements c821d6f
min doc and check Error type
wjmelements 4163bd6
add failing test
wjmelements 44f0488
dedupe with Set
wjmelements cd2e364
add failing test
wjmelements ca3b3f3
fix test with excludeDataSetIds
wjmelements 4d20f3a
doc & test createContext won't return multiple contexts for the same …
wjmelements b0e4b03
document the priority of the createContext options
wjmelements ecdc24e
cleanup createDataSet mocking no longer needed
wjmelements b6e9064
skipProviderIds sooner
wjmelements 06eb886
skipProviderIds even sooner
wjmelements fe71415
test default params
wjmelements 2adac93
rm providerAddresses
wjmelements a4f631a
Merge remote-tracking branch 'origin/master' into wjmelements/create-…
wjmelements 95a69ce
fix imports
wjmelements 6515fb0
Merge remote-tracking branch 'origin/master' into wjmelements/create-…
wjmelements 21aa5e2
async selection where possible
wjmelements 85299bf
only check each provider once
wjmelements 2e65e15
nonnull these args earlier
wjmelements e36fca4
filter by dev and ipni before selectProviderWithPing async generator
wjmelements fb23990
rewrite doc for synapse.storage.createContexts
wjmelements 877f4ed
Update packages/synapse-sdk/src/storage/context.ts
wjmelements 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
This file contains hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.