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

Subscriptions, mutations, and the counter example #16

Merged
merged 13 commits into from
Dec 5, 2024

Conversation

Twey
Copy link
Collaborator

@Twey Twey commented Nov 25, 2024

Adds support for subscriptions and mutations, as well as a frontend for the linera-protocol counter example that demonstrates the usage of both.

client/src/lib.rs Outdated Show resolved Hide resolved
@Twey Twey mentioned this pull request Nov 26, 2024
client/src/lib.rs Outdated Show resolved Hide resolved
Twey added 10 commits November 29, 2024 15:28
The client library we expect users to load in Web frontends is built
alongside the browser extension, so the communication protocol between
that library and the extension is now encapsulated: the only public
API we need to keep stable is the TypeScript API of the library, and
developers can pull in the library using their JavaScript package
manager of choice.

The client worker is now its own package independent of the extension:
this should make it easier to build demos like the where the client is
embedded directly into the frontend and the user gets a throwaway
wallet to play with.
client/package.json Outdated Show resolved Hide resolved
Copy link
Contributor

@jvff jvff left a comment

Choose a reason for hiding this comment

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

This is awesome! 🎉

examples/counter/.gitignore Outdated Show resolved Hide resolved
client/src/lib.rs Outdated Show resolved Hide resolved
@Twey Twey merged commit 2c0714b into linera-io:main Dec 5, 2024
1 check 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.

4 participants