This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: Add pin.add to ipfs-message-port #3575
Closed
Closed
Changes from 13 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
e8236c4
feat: add pin.add to ipfs-message-port
icidasset dd8fa53
chore: add interface-ipfs-core tests for pin to ipfs-message-port-client
icidasset 7ab685b
feat: add pin.ls and pin.rmAll to ipfs-message-port
icidasset c6e5fc5
chore: undo dep changes
Gozala d184a72
fix: in progress msgport pin API
Gozala 848da0e
chore: revert version change
Gozala 43b7a44
chore: update buffer deps
achingbrain 103f4f8
chore: dep updates
achingbrain 8282424
chore: switch to multiaddr named export
achingbrain f780d96
chore: update more deps
achingbrain c6381a4
chore: update types
achingbrain 46a76be
chore: linting
achingbrain 58def59
chore: update deps
achingbrain 7bef78d
chore: update deps
achingbrain 302f0c3
chore: fix up tests
achingbrain ae92293
chore: merge master
Gozala 3cd20f2
fix: regressions introduced by a merge
Gozala 81dbb83
fix: uintended api change
Gozala 1bec996
chore: undo uintended changes
Gozala c68dd94
fix: missed import update
Gozala 223853e
chore: align interface-datastore versions
Gozala d49191b
fix: align libp2p-interfaces versions
Gozala 3c26253
fix: import regressions
Gozala 9026ee4
fix: lint errors
Gozala d3ba7c3
fix: lint issue
Gozala 8a9d433
fix: remove libp2p-interfaces dependency
Gozala 3ac0bf9
chore: update deps, remove ts-ignores, fix linting
achingbrain e178955
chore: downgrade mock-ipfs-pinning-service
achingbrain de303dd
chore: fix up interface tests
achingbrain e842b5e
chore: demand non-broken datastore-pubsub
achingbrain 76067b7
chore: types
achingbrain ebb2f50
chore: remove redundunt types
Gozala ed8e1f0
chore: merge chore/update-buffer-deps
Gozala 29a7aad
fix: type missmatch
Gozala 0a5a214
fix: address regressions in normaliseInput
Gozala 0a21541
Merge remote-tracking branch 'upstream/master' into feat/pin-msgport
Gozala 66cb5db
chore: undo unintended changes
Gozala 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 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* @template {Iterable<any>} T | ||
* @template U | ||
* @param {T|U} value | ||
* @returns {value is T} | ||
*/ | ||
const isIterable = (value) => | ||
// @ts-ignore | ||
value && value[Symbol.iterator] | ||
|
||
/** | ||
* @template {AsyncIterable<any>} T | ||
* @template U | ||
* @param {T|U} value | ||
* @returns {value is T} | ||
*/ | ||
const isAsyncIterable = value => | ||
// @ts-ignore | ||
value && value[Symbol.asyncIterator] | ||
|
||
module.exports = { isIterable, isAsyncIterable } |
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.
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.
Otherwise