Skip to content
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

react-native-sdk: add swarm connect to ipfs api #159

Merged
merged 4 commits into from
Oct 17, 2019

Conversation

flyskywhy
Copy link
Contributor

@flyskywhy flyskywhy commented Oct 2, 2019

@flyskywhy
Copy link
Contributor Author

@asutula , since android-textile has been set to v2.0.9 and ios-textile has been set to v2.0.11 , it's possible to merge this PR 😝

@@ -39,6 +39,25 @@ public void run() {
});
}

@ReactMethod
public void connect(final String multiaddr, final Promise promise) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just update this to swarmConnect everywhere for consistency with the native sdks?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just named it for consistency with the js-http-client sdk , ref to https://github.com/textileio/js-http-client/blob/5f8b3a421ca682b3ba5ed3d4af96bca1d0913a39/src/modules/ipfs.ts#L58 ... So should we still update this to swarmConnect?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, that makes sense. Let's just leave this as is then.

@asutula asutula merged commit 9584dc9 into textileio:master Oct 17, 2019
@asutula
Copy link
Member

asutula commented Oct 17, 2019

Ok 3.0.13 is released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants