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: support json payload #32

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: support json payload #32

wants to merge 4 commits into from

Conversation

oed
Copy link
Member

@oed oed commented Mar 23, 2024

This PR extends the codec according to what's described in this forum post

Will need a corresponding change in:

@oed oed requested review from ukstv and dbcfd March 23, 2024 09:55
@oed oed self-assigned this Mar 23, 2024
src/signing.ts Outdated
}
}

function replaceCIDs(data: Record<string, any> | any): Record<string, any> | any {
Copy link
Contributor

Choose a reason for hiding this comment

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

might want a data != null at the top here or in isObject (unless TS is doing something I'm unfamiliar with with typeof)

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, added in isObject.

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.

None yet

2 participants