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

feat: rename platformConnect/platformConnectPublic methods to connect/connectPublic #8

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

djenczewski
Copy link
Member

Description

Closes #3

Change method names in Connection.java:

  1. platformConnect -> connect
  2. platformConnectPublic -> connectPublic

PrivMX Endpoint

ADDITIONS

New methods:

  • connect(String userPrivKey, String solutionId, String bridgeUrl)
  • connectPublic(String solutionId, String bridgeUrl)

MODIFICATIONS

Methods mark as deprecated and will be removed in next major (3.x):

  • platformConnect(String userPrivKey, String solutionId, String platformUrl)
  • platformConnectPublic(String solutionId, String platformUrl)

PrivMX Endpoint Extra

MODIFICATIONS

Rename parameter platformUrl to bridgeUrl in creating connection methods and constructors

…nnect/connectPublic

Mark platformConnect/platformConnectPublic methods as deprecated
@djenczewski djenczewski requested a review from filipg43 December 6, 2024 09:52
@djenczewski djenczewski linked an issue Dec 6, 2024 that may be closed by this pull request
@djenczewski djenczewski merged commit 0fd664e into dev Dec 6, 2024
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.

[FEAT]: Update Connection method names
2 participants