feat: add @wraith-protocol/sdk-svelte Svelte companion package#92
Open
Meet-hybrid wants to merge 3 commits into
Open
feat: add @wraith-protocol/sdk-svelte Svelte companion package#92Meet-hybrid wants to merge 3 commits into
Meet-hybrid wants to merge 3 commits into
Conversation
…raith-protocol#45) * perf(stellar): prefilter scans with public view tags * test(stellar): cover legacy view-tag scanner
- Scaffold packages/sdk-vue/ with package.json, tsconfig, tsup config - 5 composables: useWraith, useStellarStealthKeys, useEvmStealthKeys, useSolanaStealthKeys, useStealthMetaAddress - 28 tests across 5 test files (all passing) - Example app: examples/vue-stellar-app/ (Vite + Vue 3) - pnpm-workspace.yaml for monorepo support - README with usage examples and API reference Closes wraith-protocol#70
|
@Meet-hybrid Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
Same scope + rebase issues as #91:
git fetch origin
git rebase origin/develop
git push --force-with-leaseFinal diff should be only |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Following the release of sdk-react (#5), Vue 3 developers require equivalent composables. The goal is to mirror the React API surface in Vue 3 Composition API style, ensuring parity and smooth integration for Vue projects.
Scope
New workspace package: packages/sdk-vue/
Composables matching React hook surface (useStellarStealthKeys, etc.)
Target Vue 3.5+ with Composition API
Example app under examples/vue-stellar-app/
Publish package to npm registry
Documentation aligned with sdk-react
Requirements
Define roles and responsibilities for composables.
Implement 5 core composables equivalent to React hooks.
Ensure API parity with sdk-react.
Provide unit tests and integration tests.
Scaffold example app demonstrating usage.
Publish package and update docs.
Acceptance Criteria
packages/sdk-vue/ scaffolded and functional.
At least 5 composables implemented and tested.
Example app (examples/vue-stellar-app/) runs successfully.
Package published to npm.
Documentation matches sdk-react in structure and clarity.
Implementation Hints
Reference packages/sdk-react/ for parity.
Use Vue Composition API patterns (ref, computed, watchEffect).
Ensure TypeScript typings align with React SDK.
Provide clear error handling and developer ergonomics.
Testing
Unit tests for each composable.
Integration tests in example app.
Verify parity with React SDK outputs.
Milestone
M2 — ABI Registry
Branch
feat/sdk-vue
Closes #71