359 Commits

Author SHA1 Message Date
Vivian Plasencia
6766a0940c Merge pull request #485 from bandada-infra/fix/api-sdk
Missing cascade remove for invites preventing deletion of groups
2024-04-10 10:05:50 +02:00
Jeeiii
557f2eaa40 fix: missing cascade remove for invites preventing deletion of groups 2024-04-10 09:59:14 +02:00
Vivian Plasencia
23e1f65843 chore: v2.2.6 2024-04-09 20:37:22 +02:00
Vivian Plasencia
8f577a6ece chore: v2.2.5 2024-04-09 19:20:38 +02:00
Vivian Plasencia
a1a8bc124a Merge pull request #483 from bandada-infra/fix/api-sdk
Missing `return` statements for removeGroup(s) API SDK methods
2024-04-09 19:04:43 +02:00
Jeeiii
79498512e9 fix: missing return statement for removeGroup(s) API SDK method 2024-04-09 18:55:35 +02:00
Vivian Plasencia
44662c4f4f chore: v2.2.4 2024-04-09 17:51:19 +02:00
Vivian Plasencia
917732b421 chore: v2.2.3 2024-04-08 13:23:08 +02:00
Jeeiii
841e44c43c fix: missing mapEntity on return and remove unnecessary parameter from invite response 2024-04-08 12:53:20 +02:00
Jeeiii
89c0cfc414 refactor: update return type for invite endpoints 2024-04-08 11:37:44 +02:00
Jeeiii
3ebd4de898 feat: add missing createInvite api endpoint 2024-04-04 23:34:01 +02:00
Vivian Plasencia
2920f64e0d chore: v2.2.2 2024-04-02 00:04:58 +02:00
Vivian Plasencia
2c5d0cdcda chore: v2.2.1 2024-04-01 22:20:46 +02:00
Vivian Plasencia
2adf60a4d6 fix(api-sdk): fix data object in createGroups request
Now the right data object is sent in the createGroups request in the API SDK. If the credentials
parameter is undefined, it will be set to null in the server. The group id is no longer part of the
parameters to create a group, the group ids will be managed on the server.

BREAKING CHANGE: The group id is no longer part of the parameters to create a group when using the
API SDK.

fix #466
2024-04-01 18:46:13 +02:00
Vivian Plasencia
0c997399f7 chore: v2.2.0 2024-04-01 10:24:45 +02:00
Vivian Plasencia
be90c45ab3 refactor(api): exclude the admins controller from the api docs instead of each endpoint separately 2024-03-30 23:12:12 +01:00
Vivian Plasencia
b4b7eea56b fix(api): prevent adding a member to a credential group by using an api key or a valid session
Users were able to add members to a credential group by using an api key or a valid session. Now
there is a new check to prevent them from doing so.

fix #462
2024-03-30 20:37:30 +01:00
Vivian Plasencia
ec478223ac fix(api): avoid running some functions twice if there are apikey and active session
There were some functions that would be executed twice if both api key and active session were
provided.
2024-03-30 18:53:09 +01:00
Vivian Plasencia
0d72962015 fix(api-sdk): fix api requests 2024-03-30 15:05:42 +01:00
Vivian Plasencia
fa7ceccd4a fix: remove the creation of an admin in the dashboard app
The admin must be created in the Bandada backend.

re #460
2024-03-30 13:36:59 +01:00
Vivian Plasencia
627c9f4e81 refactor: update some variable names and api sdk function docs 2024-03-30 13:07:08 +01:00
Vivian Plasencia
49ee657740 refactor(api): update api docs
Now it is easier to understand the new API endpoints when reading the API docs.
2024-03-29 23:24:11 +01:00
Vivian Plasencia
db90f70378 fix: enable access to some group endpoints
Remove @UseGuards(AuthGuard) to enable access to some group endpoints from outside the dashboard.
2024-03-29 20:50:15 +01:00
Vivian Plasencia
ada9610d22 fix: prevent access to admin info from outside the dashboard
Add @UseGuards to prevent access to admin info from outside the dashboard, exclude the admin
controller endpoints from the api docs and remove all the api requests related to the admins in the
api sdk.

re #460
2024-03-29 20:35:23 +01:00
Jeeiii
57fabe0de8 feat: add missing APIs endpoints on ApiSdk 2024-03-28 23:03:15 +01:00
Jeeiii
a1f1f3d131 refactor: separate manual vs apikey logic in group service 2024-03-28 23:03:15 +01:00
Jeeiii
fb852d3f10 refactor: update admin apikey for dashboard support 2024-03-28 23:03:13 +01:00
Jeeiii
e496fd6fd5 refactor: improve apikey admin api and store the admin on db after message verification in UI 2024-03-28 22:59:27 +01:00
Jeeiii
fa4792cbe0 refactor: add missing getAdmin API, move ApiKeyActions to utils 2024-03-28 22:59:26 +01:00
Jeeiii
1bdc04b8b9 feat: add update group with api key logic; optimize create / remove with api key 2024-03-28 22:59:03 +01:00
Jeeiii
638f57615f feat: add create / remove groups with api key logic 2024-03-28 22:59:03 +01:00
Jeeiii
784929c897 refactor: move apikey logic from group to admin 2024-03-28 22:59:03 +01:00
Jeeiii
496bbbb532 fix: add missing types for 'uuid' package 2024-03-28 22:59:03 +01:00
Vivian Plasencia
ee95cbc1e4 Merge pull request #456 from neel-ds/refactor/repo-link
Update Repo Link
2024-03-28 15:46:09 +01:00
Neel
cc404c2033 refactor: update repo link of assets 2024-03-28 17:19:17 +05:30
Neel
3bc6e2175f refactor: update repo link 2024-03-28 13:26:52 +05:30
Vivian Plasencia
fc7159d48e test: update test to support the new type of blockchainCredentialSupportedNetworks
re #451
2024-03-27 17:45:22 +01:00
Vivian Plasencia
9e77800332 feat: support avalanche c chain in the blockchain credential
The blockchainCredentialSupportedNetworks variable type changed to make it easier to identify a
network and display its name.

re #451
2024-03-27 17:29:28 +01:00
Vivian Plasencia
0c1128c76c refactor: rename blockchainCredentialNetworks -> blockchainCredentialSupportedNetworks
blockchainCredentialNetworks was renamed blockchainCredentialSupportedNetworks for clarity.

re #443
2024-03-25 14:30:21 +01:00
Vivian Plasencia
a08d082c77 refactor: move the blockchain credential supported networks to the bandada utils package
Since the supported networks are attached to the infrastructure and not to the credential package,
they have been to the bandada utils package.

re #443
2024-03-25 14:06:29 +01:00
Vivian Plasencia
646f88c120 docs(api): add comments to the rpc url variables
re #443
2024-03-24 20:57:45 +01:00
Vivian Plasencia
2b08f33634 feat: support several networks in the blockchain credential
now the blockchain credential supports polygon mumbai, optimism sepolia and arbitrum sepolia

re #443
2024-03-24 20:35:30 +01:00
Vivian Plasencia
105a42bec4 refactor: make network a parameter for blockchain validators
Now network is a required parameter for the blockchain validator criteria

BREAKING CHANGE: Now the network parameter for the blockchain validators is part of the credential
criteria

re #443
2024-03-24 18:01:58 +01:00
Vivian Plasencia
72cca868b5 Merge pull request #441 from bandada-infra/refactor/criterias
Make criterias from credentials validators context parameters
2024-03-19 11:21:15 +01:00
Jeeiii
289e7679ab refactor: make context option parameters as optional criterias
closes #411
2024-03-18 15:37:07 +01:00
Vivian Plasencia
69426fd99b chore: v2.1.1 2024-03-18 12:40:53 +01:00
Vivian Plasencia
275d4a1ab8 chore: v2.1.0 2024-03-08 20:20:02 +01:00
Vivian Plasencia
d77658e447 refactor(api): comment code related to contracts 2024-03-07 16:07:55 +01:00
Vivian Plasencia
59aea9cf0f chore: v2.0.0 2024-03-05 17:48:03 +01:00
Vivian Plasencia
0cd1124eb1 Merge branch 'main' into chore/merge-main-dev 2024-03-05 17:21:18 +01:00