Skip to content

Conversation

Vikrez22
Copy link

This PR updates the README documentation for the @solana/actions SDK to make it more comprehensive and user-friendly. Changes include:

Added clear links to the Typedoc documentation.
Included the npm installs badge for visibility.
Added example code snippets for commonly used functions, including:
createActionHeaders
Creating a typed actions.json payload
Creating typed GET and POST request/response payloads.
Improved overall formatting for readability and consistency.
Ensured that the root repo README and the @solana/actions package README are mirrored.
These changes aim to enhance the onboarding experience for developers using the SDK.

Testing:

Verified that the code snippets align with the current SDK functionality.
Checked all links to ensure they are working as expected.
Related Issue:
Closes #41.
This pull request was created for https://app.gib.work/bounties/a6ece26a-1d3d-4186-b072-70d244c43569 in an attempt to solve a bounty #41 . Payment for the bounty is immediately sent to the contributor after merge.

Copy link

@mooncitydev mooncitydev left a comment

Choose a reason for hiding this comment

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

This was so much of a distraction for me that, wow, I've distracted myself further by making this PR.

The word, "unknown" in this message is at best unneeded and at worst deceptive. The error is almost certainly known. It was passed to the catch. We could figure it out. We could code to it. What we're doing is punting, because writing a bunch of error detecting code would be a distraction here. So, let's be honest about it. An error occurred. It is not unknown. We're simply punting it out.

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.

update readme to include more useful information
2 participants