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

Chore/sign message clarificaitons #33

Conversation

tsmbl
Copy link
Collaborator

@tsmbl tsmbl commented Sep 30, 2024

Update readme with clarifications on SignMessage data formatting, inspired by https://github.com/phantom/sign-in-with-solana, but

chore:

  • configure workspaces
  • fix contributors

Copy link
Member

@nickfrosty nickfrosty left a comment

Choose a reason for hiding this comment

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

thanks for addressing all of this @tsmbl! just a few minor nits/typo fixes

packages/actions-spec/README.md Outdated Show resolved Hide resolved
packages/actions-spec/README.md Outdated Show resolved Hide resolved
packages/actions-spec/README.md Outdated Show resolved Hide resolved
packages/actions-spec/README.md Outdated Show resolved Hide resolved
@@ -29,7 +29,7 @@ export interface CreateActionPostResponseArgs<
TransactionType = Transaction | VersionedTransaction,
> {
/** POST response fields per the Solana Actions spec. */
fields: Omit<ActionPostResponse, "transaction"> & {
fields: Omit<TransactionResponse, "transaction"> & {
Copy link
Member

Choose a reason for hiding this comment

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

this works for now since the createPostResponse does not yet support the recently added optional transactions and external links are not supported at all in the current version of @solana/actions

either way, this will also require updating the spec package inside the @solana/actions package.
I just opened an issue to track it and will complete the update in a different PR: #34

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

agreed, just wanted to address existing build errors

thanks for creating the issue

packages/solana-actions/test/signMessageData.test.ts Outdated Show resolved Hide resolved
packages/solana-actions/test/signMessageData.test.ts Outdated Show resolved Hide resolved
packages/solana-actions/test/signMessageData.test.ts Outdated Show resolved Hide resolved
packages/solana-actions/test/signMessageData.test.ts Outdated Show resolved Hide resolved
packages/solana-actions/test/signMessageData.test.ts Outdated Show resolved Hide resolved
@tsmbl tsmbl requested a review from nickfrosty October 2, 2024 15:37
@tsmbl tsmbl marked this pull request as ready for review October 2, 2024 15:37
@nickfrosty nickfrosty merged commit 6f88487 into solana-developers:main Oct 2, 2024
3 checks passed
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.

2 participants