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: manage collections at seller level #630

Merged
merged 12 commits into from
Dec 15, 2023
Merged

Conversation

levalleux-ludo
Copy link
Member

@levalleux-ludo levalleux-ludo commented Dec 13, 2023

Description

fixes #547

How to test

new e2e tests core-sdk-collections.test.ts

@levalleux-ludo levalleux-ludo changed the title feat: 547 manage collections feat: manage collections at seller level Dec 13, 2023
@levalleux-ludo levalleux-ludo marked this pull request as ready for review December 14, 2023 19:02
Copy link
Collaborator

@albertfolch-redeemeum albertfolch-redeemeum left a comment

Choose a reason for hiding this comment

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

LGTM

packages/common/src/types/accounts.ts Outdated Show resolved Hide resolved
web3Lib: args.web3Lib
});
if (!isAvailable) {
const uuid = Math.floor(Math.random() * 100000000).toFixed(0);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
const uuid = Math.floor(Math.random() * 100000000).toFixed(0);
const uuid = crypto.randomUUID();

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Copy link
Member Author

Choose a reason for hiding this comment

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

I've finally reverted as the crypto symbol is not resolved in tests...

packages/subgraph/src/mappings/account-handler.ts Outdated Show resolved Hide resolved
Copy link

codecov bot commented Dec 15, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (79983d1) 84.49% compared to head (3a7bbf2) 84.88%.
Report is 27 commits behind head on main.

Files Patch % Lines
packages/core-sdk/src/orchestration/handler.ts 60.00% 2 Missing ⚠️
packages/core-sdk/src/orchestration/interface.ts 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #630      +/-   ##
==========================================
+ Coverage   84.49%   84.88%   +0.39%     
==========================================
  Files         137      137              
  Lines        4076     4182     +106     
  Branches      716      737      +21     
==========================================
+ Hits         3444     3550     +106     
  Misses        632      632              
Flag Coverage Δ
common 85.11% <ø> (ø)
core-sdk 49.84% <27.27%> (-0.26%) ⬇️
e2e 84.01% <95.45%> (+0.45%) ⬆️
eth-connect-sdk 18.30% <ø> (ø)
ethers-sdk 67.63% <ø> (ø)
ipfs-storage 94.02% <ø> (ø)
metadata 94.44% <ø> (ø)
unittests 53.61% <27.27%> (-0.32%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@levalleux-ludo levalleux-ludo merged commit f9b264e into main Dec 15, 2023
6 checks passed
@levalleux-ludo levalleux-ludo deleted the 547-manage-collections branch December 15, 2023 16:33
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.

manage collections at seller level
2 participants