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

Removes client dependency from primary functions #521

Merged
merged 2 commits into from
Jan 17, 2023

Conversation

douglance
Copy link
Contributor

No description provided.

Copy link
Contributor

@alex-miller-0 alex-miller-0 left a comment

Choose a reason for hiding this comment

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

Looks great overall. A few minor comments/suggestions

src/__test__/unit/encoders.test.ts Show resolved Hide resolved
src/__test__/unit/validators.test.ts Show resolved Hide resolved
src/__test__/utils/builders.ts Show resolved Hide resolved
src/__test__/utils/builders.ts Outdated Show resolved Hide resolved
src/__test__/utils/builders.ts Outdated Show resolved Hide resolved
src/__test__/utils/builders.ts Outdated Show resolved Hide resolved
src/client.ts Outdated Show resolved Hide resolved
src/constants.ts Show resolved Hide resolved

// Form the object
const payloadData: LatticeSecureEncryptedRequestPayloadData = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why remove this? I think it's more clarifying for a reader when you use types, even if it isn't necessary.

Copy link
Contributor Author

@douglance douglance Jan 17, 2023

Choose a reason for hiding this comment

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

That object actually isn't required. We can remove it entirely.

13b6f80

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes I know. I added it for reader clarification. I guess it's fine to remove but I thought it would be helpful

src/shared/validators.ts Outdated Show resolved Hide resolved
@alex-miller-0 alex-miller-0 self-requested a review January 17, 2023 20:25
@douglance douglance merged commit ecd2759 into protocol-refactor Jan 17, 2023
@alex-miller-0 alex-miller-0 deleted the dl/proto branch January 17, 2023 21:10
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.

3 participants