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

Expose global stacks.js instance on stacks.js.org #1641

Open
kyranjamie opened this issue Feb 27, 2024 · 3 comments
Open

Expose global stacks.js instance on stacks.js.org #1641

kyranjamie opened this issue Feb 27, 2024 · 3 comments
Labels
docs Impacts docs or requires updated documentation

Comments

@kyranjamie
Copy link
Contributor

Not sure if supported by typedoc tool, but would be helpful if you could access the globals here.

Example use case

await LeatherProvider.request('stx_signMessage', { 
  messageType: 'structured', 
  message: stacks.serializeCV(stacks.stringCV('test')), 
  domain: stacks.serializeCV(stacks.tupleCV({}))
})
@kyranjamie kyranjamie added the feature Brand new functionality. New pages, workflows, endpoints, etc. label Feb 27, 2024
@janniks
Copy link
Collaborator

janniks commented Feb 29, 2024

What do you mean here? Is this just a documentation change request? Or adding features to the console (as a playground?) to the .org docs site?

@kyranjamie
Copy link
Contributor Author

As in, on the docs site, make the packages available via the global object (window) available in console.

@janniks
Copy link
Collaborator

janniks commented Mar 4, 2024

Cool idea, will check how easy it is to add

@andresgalante andresgalante added docs Impacts docs or requires updated documentation and removed feature Brand new functionality. New pages, workflows, endpoints, etc. labels Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Impacts docs or requires updated documentation
Projects
Status: 📋 Backlog
Status: 🆕 New
Development

No branches or pull requests

3 participants