Skip to content

Conversation

@whoabuddy
Copy link
Contributor

Description

When setting up the sign-message script for aibtcdev/agent-tools-ts, we ran into an issue where we could not pass the type StructuredDataSignature to either of the getPublicKeyFromSignature methods.

After experimenting with this it was working in our initial tests, so we added the updated code back with a test to confirm it.

Breaking change?

More like an unblocking change 😉

Example

You can now pass either MessageSignature | StructuredDataSignature to the getPublicKeyFromSignature method, detailed example is in the test file.


Checklist

  • Unit tested updated code paths
  • Tagging @janniks based on our discussion in Discord

@vercel
Copy link

vercel bot commented Mar 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stacksjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2024 3:11am

Copy link
Contributor

@janniks janniks left a comment

Choose a reason for hiding this comment

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

♥️

@janniks janniks merged commit 20c1aaf into stx-labs:main Mar 12, 2024
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