Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

chore: added versioning api header #169

Merged
merged 10 commits into from
Mar 15, 2023
Merged

Conversation

javiergarciavera
Copy link
Collaborator

No description provided.

@sonarcloud
Copy link

sonarcloud bot commented Mar 8, 2023

@sonarcloud
Copy link

sonarcloud bot commented Mar 9, 2023

@sonarcloud
Copy link

sonarcloud bot commented Mar 9, 2023

test/SDK.test.ts Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Mar 15, 2023

@salimtb
Copy link
Collaborator

salimtb commented Mar 15, 2023

can you pls add a regex check on the api version + test , let's say for example i'm a user and i'll try to put test as version or any other inexisting version , i should expect the following error message:
missing argument: Invalid api version. (location=\"[SDK.getOwnersByTokenAddress]\", code=MISSING_ARGUMENT, version=${version})

@salimtb
Copy link
Collaborator

salimtb commented Mar 15, 2023

pls update the usage.ts as well and include the use of the version , just to help users to understand how to use it

@sonarcloud
Copy link

sonarcloud bot commented Mar 15, 2023

Please retry analysis of this Pull-Request directly on SonarCloud.

@sonarcloud
Copy link

sonarcloud bot commented Mar 15, 2023

1 similar comment
@sonarcloud
Copy link

sonarcloud bot commented Mar 15, 2023

@sonarcloud
Copy link

sonarcloud bot commented Mar 15, 2023

1 similar comment
@sonarcloud
Copy link

sonarcloud bot commented Mar 15, 2023

@javiergarciavera javiergarciavera merged commit 5826c32 into dev Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
4 participants