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

Merged
merged 4 commits into from
May 20, 2024
Merged

feat: support json payload #32

merged 4 commits into from
May 20, 2024

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.

@ukstv ukstv force-pushed the feat/support-json-payload branch from 46840fc to e5a42d5 Compare May 20, 2024 14:46
@ukstv ukstv merged commit 4aa087f into main May 20, 2024
0 of 2 checks passed
@ukstv ukstv deleted the feat/support-json-payload branch May 20, 2024 14:58
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